Skip to content

Buildpack Scripts for TIBCO BusinessWorks™ Container Edition

License

Notifications You must be signed in to change notification settings

TIBCOSoftware/bwce-buildpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buildpack Scripts for TIBCO BusinessWorks™ Container Edition

The TIBCO BusinessWorks™ Container Edition buildpack is a highly extensible [Cloud Foundry] buildpack for running TIBCO BusinessWorks™ Container Edition applications. This buildpack can be customized for supported third-party drivers, OSGI bundles, integration with application configuration management systems, application certificate management etc.

TIBCO BusinessWorks(TM) Container Edition allows customers to leverage the power and functionality of TIBCO ActiveMatrix BusinessWorks(TM) in order to build cloud-native applications with an API-first approach and to deploy it to container-based PaaS platforms such as Cloud Foundry(TM).

To find more about TIBCO BusinessWorks™ Container Edition, visit Documentation

These buildpack scripts are subject to the license shared as part of the repository. Review the license before using or downloading these buildpack scripts.

Version

  • For TIBCO BusinessWorks Container Edition 2.3.2 and prior versions, use bwce-buildpack script from branch 2.3.2.
  • For TIBCO BusinessWorks Container Edition 2.3.3 and later versions, use bwce-buildpack script from branch master.

Prerequisite

Download TIBCO BusinessWorks™ Container Edition

Download appropriate TIBCO BusinessWorks™ Container Edition 2.3.2 artifacts from https://edelivery.tibco.com. It contains TIBCO BusinessWorks™ Container Edition runtime (bwce-runtime-<version>.zip, e.g. bwce-runtime-2.3.2.zip).

Create buildpack

  1. Clone this repository onto your local machine.
  2. Locate bwce.zip file from the downloaded artifacts and run /build/createBuildpack.sh. This will create TIBCO BusinessWorks™ Container Edition buildpack(bwce-buildpack.zip) inside build directory.

Buildpack Extension

You can customize the buildpack to add supported third-party drivers e.g. Oracle JDBC driver, OSGified bundles or runtime of certified Plug-ins in TIBCO BusinessWorks™ Container Edition runtime. It can also be customized for application certificate management as well as to integrate with application configuration management services.

  • Provision suppported JDBC drivers:
    • Run bwinstall[.exe] help from <BWCE_HOME>/bin and follow instructions to add the driver to BWCE installation.
    • Copy the appropriate driver bundle from <BWCE_HOME>/config/drivers/shells/<driverspecific runtime>/runtime/plugins/ to <Your-local-buildpack-repo>/resources/addons/jars folder.
  • Provision OSGi bundle jar(s): Copy OSGified bundle jar(s) into <Your-local-buildpack-repo>/resources/addons/jars
  • Application Configuration Management: We support Spring Cloud Config (both as managed and as CUPS) and Zuul Config (as CUPS) management systems out of the box. Refer Documentation for CUPS support.
  • Certificate Management: There are use cases where you need to use certificates into your application to connect to different systems. For example, a certificate to connect to SpringCloud 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, you can copy your certificates into the <Your-local-buildpack-repo>/resources/addons/certs folder. Once the certificates expire, you can copy the new certificates into the buildpack without rebuilding your application. Just push 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 TIBCO BusinessWorks™ Container Edition Plug-in Runtime:
    • TIBCO Certified Plug-Ins: The TIBCO BusinessWorks™ Container Edition 1.0.1 and above release has added support for certified plug-ins. Contact TIBCO Support for list of all supported plug-ins. To add a plug-in runtime into your buildpack:
      • Download appropriate the plug-in packaging e.g. TIBCO ActiveMatrix BusinessWorks(TM) Plug-in for WebSphere MQ from https://edelivery.tibco.com
      • Locate the plug-in zip file e.g. <ProductID>_ePaas.zip or TIB_<ProductID>_<ProductionVersion>_<BuildNumber>_bwce-runtime.zip file from the downloaded artifacts and copy into <Your-local-buildpack-repo>/resources/addons/plugins
  • Plug-ins created using TIBCO ActiveMatrix BusinessWorks™ Plug-in Development Kit: For Plug-ins created using TIBCO ActiveMatrix BusinessWorks™ Plug-in Development Kit, their runtime must be added to the buildpack. To add the plug-in runtime into your buildpack:
    • Install Plug-In if not already installed
    • Navigate to the <TIBCO-HOME>/bwce/palettes/<plugin-name>/<plugin-version> directory and zip lib and runtime folders into <plugin-name>.zip file. Copy <plugin-name>.zip into <Your-local-buildpack-repo>/resources/addons/plugins folder.
  • Copy any OSGi bundles required by the plug-in e.g. Thirdparty Driver bundles etc. into <Your-local-buildpack-repo>/resources/addons/jars

Run /build/createBuildpack.sh to create the customized buildpack.

Push buildpack to CloudFoundry environment

Test buildpack

  • Login to your Cloud Foundry environment
  • Push buildpack to Cloud Foundry if not already done
  • Go to test directory and run testBuildpack.sh. If valid buildpack is created and uploaded, Buildpack test Passed !! message will be printed. In case of failure, inspect logs for tibco.bwce.sample.http application.

License

These buildpack scripts are released under 3-clause BSD license.

About

Buildpack Scripts for TIBCO BusinessWorks™ Container Edition

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages