Versions Compared

Key

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

...

To build the component created, execute the 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 component means registering the component on a Fiorano Enterprise Server. Any component created before created before it can use be used in developing event process(s) has to be registered with the Fiorano Enterprise Server.

Deployment can be done in the command prompt or eStudio as explained in the following sections.

Info

In the Offline perspective of Fiorano eStudio, deploying just brings the new service to the Micro Service Palette and the Microservice Repository.

Command Prompt

To deploy the developed component, execute the following command from the command line in the component directory.

...


Figure 1: Build.properties file content showing details of enterprise server on which component has to be deployed

eStudio

Note

Before starting with the below steps, ensure that you have imported the service(s)/project(s) to the workspace.

To deploy the developed component, perform the following actions in eStudio.

  1. Open Ant view using any one of the following ways:
    1. Navigating through Window > Show View > Other > Ant > Ant
    2. Click Show View as a Fast View Image Added icon and navigate through Other > Ant > Ant.
  2. In the Ant view, right-click and select Add Buildfiles option.

    Image Added 
    Figure 2: Adding Build files from Ant view
     
  3. In the Buildfile Selection pop-up, select build.xml node and click OK to add the Build XML files to the Ant view

    Image Added
    Figure 3: Selecting Build.xml node
     
  4. Expand the node with the new service name that appears and do the following as per the perspective:
    • Offline Event Process Development Perspective (perform any one action below)
      1. Double-click deployToStudio node
      2. Click deployToStudio node and click the Run the Selected Target Image Added icon.
    • Online Event Process Development Perspective (perform any one action below)
      1. Double-click register node
      2. Click register node and click the Run the Selected Target Image Added icon.
         
    Image Added
    Figure 4: Deploying/Registering the new component

    A console panel appears, displaying a series of messages to indicate generation of various files. The message saying "Build Successful" confirms the deployment of the service.

    Image Added 
    Figure 5: Messages appearing in the Console view

Viewing the Microservice

Check the presence of new microservice in eStudio under Micro Service Microservice Repository and Micro Service Palette.

Note

Reload the services by clicking the Refresh button present in the Micro Service Palette to see the newly added services. New services appear in the Micro Service Palette as well as Micro Service Repository.


Figure 26: New microservice appearing under the Micro Service Repository and Micro Service Palette

...

titleUn-register and Re-register

...

Unregister and Reregister

Command Prompt

Unregister

 To unregister a custom component that is already registered with the enterprise server, execute the following command from the command line in the component directory.

Code Block
titleUnregister
 ant unregister 

Reregister

To redeploy a component that is already registered with enterprise server in case any changes are made to the component, execute the following command from the command line in the component directory.

Code Block
titleReregister
ant reregister

eStudio

Unregister

To unregister a custom component that is already registered with the enterprise server

...

, perform any one of the following in Console view:

    1. Double-click unregister node
    2. Click unregister node and click the Run the Selected Target Image Added icon.

Reregister

To redeploy a component that is already registered with enterprise server in case any changes are made to the component, perform any one of the following in Console view:

    1. Double-click register node
    2. Click register node and click the Run the Selected Target Image Added icon.

Image Added
Figure 7: Unregistering/Reregistering a deployed component

Adaptavist ThemeBuilder EngineAtlassian Confluence