...
Apart from the exhaustive list of pre-built servicesMicroservices, custom services Microservices can be written, built, and deployed into the Fiorano Platform by developers. To aid developers in service creation, the platform provides a template engine to generate the skeleton code for custom services in Java, C, C++, C# (.Net). User can create a component in any language, add the business logic and deploy it in the Fiorano environment.
Anchor | ||||
---|---|---|---|---|
|
...
Microservice
To create a new service, go to Tools > Create Service Component to open the Micro Service Creation Wizard (Figure 2).
...
All the details related to the creation of a new service must be specified in this wizard. Various steps in service creation are illustrated below.
...
Microservice Location
This is the location where the component source code and other required files to be generated has to be saved.
...
Figure 2: Service Location Panel in the Micro Service creation wizard
Basic Details
The basic details of the service need to be provided here.
...
Tip |
---|
Location and Basic Details panel are the only panels in which the details are mandatory. Service definition can be finished any time by clicking the Finish button after the minimum required details are specified in these panels. |
Ports Information
The input and output ports of the service can be configured here.
...
Generate XML Beans option can be used to generate model objects based on the port schemas.
Resources
The resources required by the service (either during configuration time or runtime) can be added in this panel. Resources can be of any file type which is used by the component; there is no restriction on the type of file. Typically, resource files are of types – dll, zip, jar, so, exe..
...
Figure 8: Resources panel
Dependencies
Dependencies are predefined. Every component or system library registered can be added as a dependency. The dependencies are referenced from the existing location and are not copied locally into the component folder.
...
Tip |
---|
In the Resources and Dependencies panels, no resources or dependencies need to be specified for C/C++ components as they are built using static libraries and do not need any resources or libraries during runtime. |
Log Modules
Logging is a practice of writing out the messages indicating the state of component, actions performed and any other related data. Logging is used for different purposes including:
...
Figure 10: Log Modules Panel
Execution Information
This panel allows the user to specify the execution details of the component. A component while executing, might require parameters to execute different request or details of handling different request. There are two ways of passing this information to the component:
...
Figure 11: Execution Information panel
Advanced Information Configuration
This panel has the following properties:
...
Figure 12: Advanced Configuration panel
Finishing Creation
Click the Finish button (see the figure above) to complete the process of creation.
...