This documentation supports the 21.02 version of BMC Helix Innovation Studio.

To view an earlier version, select the version from the Product version menu.

Deploying the custom code-based applications to development environments

BMC Helix Innovation Studio enables you to deploy the custom code-based applications to BMC Helix Innovation Studio. After you customize an application, you must create a deployment package, that contains all definitions, data, and code required by the application or library, and deploy the package to BMC Helix Innovation Studio. This capability enables you to move application customization and data across environments quickly and easily.

Before you begin

Ensure that you create a deployment package of the custom code-based application, so that you can deploy the custom application and data to development environments.

To create a deployment package

When you create a deployment package, the application definitions and data is exported from the BMC Helix Innovation Studio server to a deployment package.

To create a deployment package, perform the following tasks:

  1. On the command prompt, navigate to the application's parent project directory. 
    For example:

    \projects> cd suggestion-box
  2. Run the following command:

    mvn install -Pexport  

    For example:

    \projects\suggestion-box> mvn install -Pexport  

The deployment package, that contains the project source code, is created as a ZIP file at the target directory of the project. For example, \projects\suggestion-box\package\target\com.example.suggestion-box-1.0.0.SHAPSHOT.zip file. The application definitions and data are exported to the ZIP file, which contains a db folder and all individual object definition files. For example, \projects\<application name>\package\target\db folder. All individual object definition files are available in the following folders:

  • association
  • configuration
  • named-list
  • process
  • record
  • rule
  • view

Note

When you export the definitions and data to a deployment package, if there is an existing db folder, the new db folder overwrites the data of the existing db folder.

To deploy code-based applications

After you create deployment package for a custom code-based application or library, you can deploy the deployment package to BMC Helix Innovation Studio.

To deploy a package to the same environment, perform the following tasks:

  1. On the command prompt, navigate to the application's parent project directory. 
    For example:

    \projects> cd suggestion-box
  2. Run the following command:

    mvn clean install -Pdeploy

    For example:

    \projects\suggestion-box> mvn clean install -Pdeploy

The deployment package, that contains all definitions, data, and code required by an application or a library, is deployed to BMC Helix Innovation Studio. After an application is deployed, only the application developer and an administrator can view the application.

Note

The administrator can use the containerrolepermission REST API to provide access to users as well as remove access from specific users for any licensed application. For information about the containerrolepermission REST API, see Platform REST API documentation.

To undeploy code-based applications

On the command prompt, navigate to the application parent directory and run the following command:

mvn com.bmc.arsys:rx-sdk-maven-plugin:undeploy -N

For example:

\projects\suggestion-box> mvn com.bmc.arsys:rx-sdk-maven-plugin:undeploy -N

Related topics

Releasing a version of your bundle  

Undeploying your application

Was this page helpful? Yes No Submitting... Thank you

Comments