After the creation of Microservice component following actions can be taken:
Post Creation Action | Description |
---|---|
None | Generate the source code and do nothing else |
Build | Generate the source and build the sources |
Build and Deploy | Generate the source, build the source and register with Fiorano Enterprise Server |
Building the Microservice
To build the component created, execute command ant
in the component directory. This compiles the source files, builds the required archives and creates a file export.zip containing all the files /details required for the components. export.zip can be imported using FSSM or Studio, for details regarding importing of a business component refer the Deploying in Enterprise Server section.
Deploying the Microservice
Deploying the component means registering the component on a Fiorano Enterprise Server. Any component created before it can use in developing event process(s) has to be registered with the Fiorano Enterprise Server.
To deploy the developed component, execute the following command from the command line in the component directory.
The details of the enterprise server on which the component should be deployed are specified in build.properties file
Figure 1: Build.properties file content showing details of enterprise server on which component has to be deployed
Check the presence of new microservice in eStudio under Micro Service Repository and Micro Service Palette.
Figure 2: New microservice appearing under the Micro Service Repository and Micro Service Palette