Building and Deploying TIBCO BusinessWorks Container Edition Applications

You can build and deploy TIBCO BusinessWorks Container Edition applications in TIBCO Business Studio for BusinessWorks to data plane using the deploy maven goal.

Note: This feature is available only when the Deployment Target in TIBCO Business Studio for BusinessWorks is set to Container.
    Procedure
  1. In TIBCO Business Studio for BusinessWorks, right-click the .application file and select Generate POM for Application.
  2. From the Generate POM for Application window, select Platform as Deploy Options and click Next.
  3. Specify the values for the following fields:

    Build name: The name of the build.

    Application name: The name of the application.

    Profile: Select the profiles from the dropdown the are available for the applications.

    Replicas: The number of instances started for the application.

    Enable Auto Scaling: Select the checkbox to enable auto scaling for an application.

    Enable Service Mesh: Select the checkbox to enable Service Mesh for an application.

    EULA: Select the EULA checkbox to deploy applications to the TIBCO Control Plane.

  4. Click Finish.
    It converts the existing projects to Maven type and a new project *.application.parent, is added. It also creates a pom.xml file.
  5. To run the Maven goal, right-click the .parent application, and select Run As > Maven build.

  6. Provide the Maven goal deploy in the Goals field, then click Apply and Run.

ResultOnce the build is successful, you can view the app build in the App Builds tab on the TIBCO BusinessWorks Container Edition capabilities page. You can also view the running applications on the data plane details page.

 

The deploy maven goal has five parameters that you must pass when adding the goal.

deploy -DdpUrl="Dp_URL" -DauthToken="Authentication_Token" -DbaseVersion="Base_Version" -DbaseImageTag="Base_Image_Tag" -Dnamespace="Dp_Namespace"

For example, deploy -DdpUrl="https://api.bw-dp.us-west.epass-dev.dataplanes.pro/tibco/bwce/" -DauthToken="CIC~E5FepWqSbUr7rUXS9N82Kk9x" -DbaseVersion="2.9.0" -DbaseImageTag="94-2.9.0-V23.2-GA-temurin" -Dnamespace="dp-bw-dev-ns"

To deploy apps to data plane from TIBCO Business Studio for BusinessWorks using helm deployment, use the maven command:
deploy -DplatformDeployViaHelm=true -DdpUrl="DP URL" -DauthToken="Authentication_Token" -Dnamespace="Dp_Namespace" -DvaluesYamlPath="yaml file path"

To use the deploy maven goal, configure the following parameters:

  • Dp URL: The data plane URL. To copy the URL, click the copy icon of the Public API Path for your data plane.

  • Authentication Token: Generate this token from Settings when you log in to your data plane.

  • Base Version: The TIBCO BusinessWorks Container Edition base version details available for the TIBCO BusinessWorks Container Edition Provision on the data plane page.

  • Base Image Tags: The base image tag name details available for the TIBCO BusinessWorks Container Edition provisioned on the data plane page.

  • Namespace: The namespace of the data plane. To copy the namespace, click the copy icon .

You can also perform specific actions using the flags below:

  • Build: To create app build on platform use the maven command,
    deploy -DplatformBuild=true -DdpUrl="Dp_URL" -DauthToken="Authentication_Token" -DbaseVersion="Base_Version" -DbaseImageTag="Base_Image_Tag" -Dnamespace="Dp_Namespace"

  • Deploy: To create app instance of build use the maven command,
    deploy -DplatformDeploy=true -DdpUrl="Dp_URL" -DauthToken="Authentication_Token" -DbaseVersion="Base_Version" -DbaseImageTag="Base_Image_Tag" -Dnamespace="Dp_Namespace - DbuildId="Buid_ID" -Deula=true

  • Scale: To scale the apps use the maven command,
    deploy -DplatformScale=true -DdpUrl="Dp_URL" -DappId="App ID" -Dreplicas=1 -DauthToken="Authentication_Token" -Dnamespace="Dp_Namespace"

  • Upgrade: To upgrade the apps use the maven command,
    deploy -DplatformUpgrade=true -DdpUrl="Dp_URL" -DauthToken="Authentication_Token" -DbuildId="Buid_ID" -DbaseVersion="Base_Version" -DbaseImageTag="Base_Image_Tag" -Dnamespace="Dp_Namespace" -Deula=true