Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
__RefHeading__142_1632981089
__RefHeading__142_1632981089
Creating a new Microservice

To create a new servicemicroservice, 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 microservice must be specified in this wizard. Various steps in service microservice creation are illustrated below.

...

A new folder with the name specified for Destination Directory will be created in the Parent Directory specified, which will be the final location for the service microservice files generated by the wizard. 

...

Basic Details

The basic details of the service microservice need to be provided here.

  • Service Guid: Provide a name using which the system uniquely identifies the Servicemicroservice
  • Name: Display Name of the servicemicroservice.
  • Version: This value will be pre-populated and it can be edited as well.


    Figure 3: Basic Details panel

...

    • If enabled, component listens, understands and responds to control events from Peer Server. It allows components launched as a separate process to cleanup when stopping.
    • If disabled, component does not handle control events from the Peer Server. The Peer Server will not send any control event to component. Component launched in separate process is issued a destroy command to stop and the component process will be killed instantly without any cleanup.

      Note

      This property will not be editable while editing the service microservice from eStudio.

Tip

Location and Basic Details panel are the only panels in which the details are mandatory. Service Microservice definition can be finished any time by clicking the Finish button after the minimum required details are specified in these panels.

...

The input and output ports of the service microservice can be configured here.

A new port can be added by clicking the Add button. By default, Port Type is 'Inport'. The Port Type and other port properties can be changed in the Wizard as required.

...

The resources required by the service microservice (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..

...

When the wizard is finished, sources are generated in src directory which would be placed under the folder specified in the Service Location page. It also creates necessary files to build and deploy the components.

Note

The service microservice will be physically present in eStudio (in the Micro Service Palette and Micro Service Repository) after applying codes and logic as per requirement and then finally by deploying the service. Go through the next sections to understand these.

Adaptavist ThemeBuilder EngineAtlassian Confluence