How to upgrade TPCL in TIBCO ActiveMatrix BusinessWorks™ Plug-in for Google Cloud Storage 6.0.0

How to upgrade TPCL in TIBCO ActiveMatrix BusinessWorks™ Plug-in for Google Cloud Storage 6.0.0

book

Article ID: KB0073375

calendar_today

Updated On:

Products Versions
TIBCO Flogo Connector for Google Cloud Storage 6.0.0

Description

TIBCO ActiveMatrix BusinessWorks™ Plug-in for Google Cloud Storage 6.0.0 is bundled with TPCL version 1.114.0.

You can upgrade this plugin to make use of the latest TPCL that is available.  You can visit the below-mentioned link and check that if there is a new version of this jar (TPCL) and download it.

https://mvnrepository.com/artifact/com.google.cloud/google-cloud-storage    

It is assumed that you have Maven installed on your system, if not then please download Maven and set it in your machine. You can refer to the following mentioned article for installing maven.

https://mkyong.com/maven/how-to-install-maven-in-windows/

To get the new version of TPCL for Google Cloud Storage, you need to create a Maven project in Eclipse IDE and include the below dependency in pom.xml, and mention the version which you want to download:
When creating a Maven project, give groupId as any package name. Example: com.test.proj
And artifactId as Name of Project. Example: TestProj

Below is the complete pom.xml of ‘TestProj’ - Name of Maven project. 
(replace it in your maven project and change artifactid if your project name is different):
===================
<project xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.test.proj</groupId>
    <artifactId>TestProj</artifactId>
    <version>0.0.1-SNAPSHOT</version>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.google.cloud</groupId>
                <artifactId>libraries-bom</artifactId>
                <version>19.0.0</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <dependencies>

        <!-- https://mvnrepository.com/artifact/com.google.cloud/google-cloud-storage -->
        <dependency>
            <groupId>com.google.cloud</groupId>
            <artifactId>google-cloud-storage</artifactId>
            <version>1.114.0</version> <!-- change TPCL version here -->
        </dependency>

    </dependencies>
</project>
===================

Right-click on pom.xml and select the option 'Run as'.

User-added image

Go to Maven Build -> right click and create a new configuration and write the goal as 'dependency:copy-dependencies' and click on the 'Run' button.

User-added image

After this, all TPCL jars will get downloaded to the 'target/dependency' folder of the base directory of that project.

Once you have done the above steps then you can update this new TPCL in Google Cloud Storage Plugin installation. 

How to update TPCL in TIBCO home, please refer to the attached TIBCO ActiveMatrix BusinessWorks™ Plug-in for Google Cloud Storage Installation Guide section "Updating Google Cloud Storage Client Libraries" for more details.

 

Issue/Introduction

Upgrade TPCL in TIBCO ActiveMatrix BusinessWorks™ Plug-in for Google Cloud Storage 6.0.0

Environment

All supported platforms

Attachments

How to upgrade TPCL in TIBCO ActiveMatrix BusinessWorksâ„¢ Plug-in for Google Cloud Storage 6.0.0 get_app