The TIBCO BusinessWorks™ Container Edition Buildpack
The TIBCO BusinessWorks™ Container Edition buildpack must be uploaded in your Cloud Foundry environment before deploying any applications.
This buildpack can be customized for the supported third-party drivers, OSGI bundles, integration with application configuration management systems, and application certificate management.
Procedure
-
Download the TIBCO BusinessWorks™ Container Edition build pack zip file from
http://edelivery.tibco.com.
To download this file:
- Extract the contents of the zip file to a temporary location.
-
Customize the build pack for the database drivers.
- Follow steps outlined in JBDC Connection in the Bindings and Palettes Reference guide.
- Copy the appropriate driver bundle from TIBCO_HOME/bwce/version/config/drivers/shells/<driverspecific runtime>/runtime/plugins/ to the <your local buildpack repo>/resources/addons/jars folder in your temporary location.
-
Provision the OSGi bundle jar(s).
Copy OSGi bundle jar(s) into <your buildpack repo>/resources/addons/jars folder in your temporary location.
-
Application Configuration Management
For more information, see Using Configurations from Configuration Management Services.
-
Certificate Management
Certificates are used by applications to connect to different systems. For example, a certificate to connect to Spring Cloud Config service or a certificate to connect to TIBCO Enterprise Message Service.Bundling certificates with your application is not a good idea as you would need to rebuild your application when the certificates expire. To avoid that, copy your certificates into the <your local buildpack repo>/resources/addons/certs folder in your temporary location.Once the certificates expire, you can copy the new certificates into the buildpack without rebuilding your application. Just deploy your application with the new buildpack. To access the certificates folder from your application, use the environment variable BW_KEYSTORE_PATH. For example, #BW_KEYSTORE_PATH#/mycert.jks in your application property.
-
Provision the BusinessWorks Container Edition Plug-in Runtime
To add TIBCO certified plug-ins:
- Download appropriate Plug-in packaging, for example TIBCO ActiveMatrix BusinessWorks™ Plug-in for WebSphere MQ, from https://edelivery.tibco.com.
- Locate the plug-in zip file, <product id>_ePaas.zip or TIB_<version>_<build number>_bwce-runtime.zip from the downloaded artifacts and copy into <your local buildpack repo>/resources/addons/plugins.
To add a plug-ins created using TIBCO ActiveMatrix BusinessWorks™ Plug-in Development Kit to runtime into your buildpack:Copy any required OSGi bundles e.g. driver bundles into <your buildpack repo>/resources/addons/jars - Provision to add third-party client installation at runtime
-
Provision to add custom JDBC driver
- Follow steps outlined in Enabling Custom Drivers section of JDBC Connection topic in the Bindings and Palette Reference guide.
- After the project has been exported as a plug-in to the location you specified, locate the JAR file in the plug-in folder, and copy paste the JAR to <YOUR-BUILDPACK-REPO>/resources/addons/jars folder.
-
Provision to add custom JMS driver
- Follow steps outlined in Enabling Custom Drivers section of JNDI Connection topic in the Bindings and Palette Reference guide.
- After the project has been exported as a plug-in to the location you specified, locate the JAR file in the pulg-in folder, and copy paste the JAR to <YOUR-BUILDPACK-REPO>/resources/addons/jars folder.
- Provision to use custom logs
- Zip the contents of the temporary location to create the TIBCO BusinessWorks™ Container Edition buildpack zip file.
- Push the buildpack to the Cloud Foundry environment.
Copyright © Cloud Software Group, Inc. All rights reserved.