Deploying the custom code-based applications to development environments
BMC Helix Platform 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 Platform. 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 Platform server to a deployment package.
To create a deployment package, perform the following tasks:
On the command prompt, navigate to the application's parent project directory.
For example:\projects> cd suggestion-box
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 Platform.
To deploy a package to the same environment, perform the following tasks:
On the command prompt, navigate to the application's parent project directory.
For example:\projects> cd suggestion-box
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 Platform. 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
Comments
Log in or register to comment.