tibco api exchange gateway release notes · updating ms sql server database ... (gtm). throttles...

26
TIBCO ® API Exchange Gateway Release Notes Software Release 2.2.1 December 2015 Two-Second Advantage ®

Upload: phungtuyen

Post on 19-Sep-2018

234 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

TIBCO® API Exchange GatewayRelease NotesSoftware Release 2.2.1December 2015

Two-Second Advantage®

Page 2: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

Important Information

SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCHEMBEDDED OR BUNDLED TIBCO SOFTWARE IS SOLELY TO ENABLE THE FUNCTIONALITY (ORPROVIDE LIMITED ADD-ON FUNCTIONALITY) OF THE LICENSED TIBCO SOFTWARE. THEEMBEDDED OR BUNDLED SOFTWARE IS NOT LICENSED TO BE USED OR ACCESSED BY ANYOTHER TIBCO SOFTWARE OR FOR ANY OTHER PURPOSE.

USE OF TIBCO SOFTWARE AND THIS DOCUMENT IS SUBJECT TO THE TERMS ANDCONDITIONS OF A LICENSE AGREEMENT FOUND IN EITHER A SEPARATELY EXECUTEDSOFTWARE LICENSE AGREEMENT, OR, IF THERE IS NO SUCH SEPARATE AGREEMENT, THECLICKWRAP END USER LICENSE AGREEMENT WHICH IS DISPLAYED DURING DOWNLOADOR INSTALLATION OF THE SOFTWARE (AND WHICH IS DUPLICATED IN THE LICENSE FILE)OR IF THERE IS NO SUCH SOFTWARE LICENSE AGREEMENT OR CLICKWRAP END USERLICENSE AGREEMENT, THE LICENSE(S) LOCATED IN THE “LICENSE” FILE(S) OF THESOFTWARE. USE OF THIS DOCUMENT IS SUBJECT TO THOSE TERMS AND CONDITIONS, ANDYOUR USE HEREOF SHALL CONSTITUTE ACCEPTANCE OF AND AN AGREEMENT TO BEBOUND BY THE SAME.

This document contains confidential information that is subject to U.S. and international copyright lawsand treaties. No part of this document may be reproduced in any form without the writtenauthorization of TIBCO Software Inc.

TIBCO and Two-Second Advantage are either registered trademarks or trademarks of TIBCO SoftwareInc. in the United States and/or other countries.

Enterprise Java Beans (EJB), Java Platform Enterprise Edition (Java EE), Java 2 Platform EnterpriseEdition (J2EE), and all Java-based trademarks and logos are trademarks or registered trademarks ofOracle Corporation in the U.S. and other countries.

All other product and company names and marks mentioned in this document are the property of theirrespective owners and are mentioned for identification purposes only.

THIS SOFTWARE MAY BE AVAILABLE ON MULTIPLE OPERATING SYSTEMS. HOWEVER, NOTALL OPERATING SYSTEM PLATFORMS FOR A SPECIFIC SOFTWARE VERSION ARE RELEASEDAT THE SAME TIME. SEE THE README FILE FOR THE AVAILABILITY OF THIS SOFTWAREVERSION ON A SPECIFIC OPERATING SYSTEM PLATFORM.

THIS DOCUMENT IS PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.

THIS DOCUMENT COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICALERRORS. CHANGES ARE PERIODICALLY ADDED TO THE INFORMATION HEREIN; THESECHANGES WILL BE INCORPORATED IN NEW EDITIONS OF THIS DOCUMENT. TIBCOSOFTWARE INC. MAY MAKE IMPROVEMENTS AND/OR CHANGES IN THE PRODUCT(S)AND/OR THE PROGRAM(S) DESCRIBED IN THIS DOCUMENT AT ANY TIME.

THE CONTENTS OF THIS DOCUMENT MAY BE MODIFIED AND/OR QUALIFIED, DIRECTLY ORINDIRECTLY, BY OTHER DOCUMENTATION WHICH ACCOMPANIES THIS SOFTWARE,INCLUDING BUT NOT LIMITED TO ANY RELEASE NOTES AND "READ ME" FILES.

Copyright © 2004-2016 TIBCO Software Inc. All rights reserved.

TIBCO Software Inc. Confidential Information

2

TIBCO® API Exchange Gateway Release Notes

Page 3: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

Contents

TIBCO Documentation and Support Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4

New Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

New Features in Version 2.2.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

New Features in Version 2.2.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Changes in Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

Changes in Functionality in Version 2.2.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

Changes in Functionality in Version 2.2.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

Deprecated and Removed Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14

Migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

Migration Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

Migrating the Project Configuration and Properties Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

Migrating ASG_DefaultImplementation Project Customizations (Optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

Migrating CDD Files (Optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

Migrating TRA Files (Optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

Update Database Schema for Central Logger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16

Updating Oracle Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17

Updating MS SQL Server Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

Updating MySQL Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18

Updating DB2 Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

Updating Foreign Key Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19

Closed Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21

Closed Issues in Version 2.2.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

Closed Issues in Version 2.2.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

Known Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25

3

TIBCO® API Exchange Gateway Release Notes

Page 4: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

TIBCO Documentation and Support Services

Documentation for this and other TIBCO products is available on the TIBCO Documentation site. Thissite is updated more frequently than any documentation that might be included with the product. Toensure that you are accessing the latest available help topics, please visit:

https://docs.tibco.com

Product-Specific Documentation

Documentation for TIBCO products is not bundled with the software. Instead, it is available on theTIBCO Documentation site. To directly access documentation for this product, double-click thefollowing file:

The following documents for this product can be found on the TIBCO Documentation site:

● Installation

● User's Guide

How to Contact TIBCO Support

For comments or problems with this manual or the software it addresses, contact TIBCO Support:

● For an overview of TIBCO Support, and information about getting started with TIBCO Support,visit this site:

http://www.tibco.com/services/support

● If you already have a valid maintenance or support contract, visit this site:

https://support.tibco.com

Entry to this site requires a user name and password. If you do not have a user name, you canrequest one.

How to Join TIBCOmmunity

TIBCOmmunity is an online destination for TIBCO customers, partners, and resident experts. It is aplace to share and access the collective experience of the TIBCO community. TIBCOmmunity offersforums, blogs, and access to a variety of resources. To register, go to the following web address:

https://www.tibcommunity.com

4

TIBCO® API Exchange Gateway Release Notes

Page 5: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

New Features

This section lists features added in the named releases of TIBCO API Exchange Gateway.

Version 2.2.1The following new features have been added to version 2.2.1 of TIBCO API Exchange Gateway.

Java 8

This release adds support for Java 8.

Upgrading to Java 8 is optional and should be performed after the installation of TIBCO API ExchangeGateway 2.2.1 is complete.

If Java 8 is installed on your system and you would like to update Gateway to use it, you must openthe .tra files under ASG_HOME/bin directory in a editor and change the following environmentvariables to point to your Java 8 installation location.

● tibco.env.TIB_JAVA_HOME=JAVA8_HOME

● tibco.env.JVM_LIB_PATH=JAVA8_HOME/bin/server/jvm.dll

● tibco.env.JVM_LIB_DIR=JAVA8_HOME/bin/server

Be sure to change the variables in all of the following files:

● asg-engine.tra

● asg-portal-engine.tra

● asg-password-obfuscator.tra

● asg-password-hasher.java

● asg-configui.tra

● asg-config-cleanup.tra

● asg-tools.tra

Runtime Changes

This release adds support for the following platforms:

● Java 8

Upgrading to Java 8 is optional and should be performed after the installation of TIBCOAPI Exchange Gateway 2.2.1 is complete.

● Native HTTP channel now uses Tomcat 7.0.64 libraries

● Microsoft SQL Server 2014

Identification of a Partner from the JMS Channel

The gateway can now use an API Key or other JMS message information to identify a partner.

To allow identification of partners through the JMS Channel, add ApiKey to the JMS header whensending a request to a JMS queue. The value of the API Key is used to retrieve the partner configuredwith the matching Partner API Key. When configuring Partner API Key, the Identify Partner should beset to true (checked) for the API key to be used to identify the partner.

5

TIBCO® API Exchange Gateway Release Notes

Page 6: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

Multiple Configurations for Facade JMS

Multiple JMS Facade operations can now be configured for each JMS channel. To use this feature,configure multiple facade operations in Config UI, each with a different SOAP action. Note that SOAPactions for ESB facade operations must begin with /ESB to be able to differentiate between HTTP andESB.

A client sending a SOAP/JMS request must set the SOAP action in the Operation header of the ESBrequest.

Use a Temporary Queue for JMS Response

To enable the use of temporary queues for target interactions in the ESB, perform the following steps.

1. Set property tibco.clientVar.ASG/Endpoint/ESB*/enableTempQueueResponse to true. Thisenables temporary queues on an ESB destination. Note the value of * is 0,1,2 in the out-of-the-boxdefaultimplementation project.

2. Set the ESB channel property to use the same number as * (in step 1) where the temporary queueswere enabled.

All responses from the backend using that channel are then routed through temporary queues.

Identification Using the SPNEGO Username

You can now retrieve an Owner Id from an incoming assertion for SPNEGO authentication. See thesample policy located here:

{CONFIG HOME}/asg/default/security/policy/AuthenticationBySubjectPassword.policy

In the policy file, if you specify <ns:Username>${subject.name.identifier}</ns:Username> asshown, the place holder will be substituted by the subject name ID from the authentication assertion.

Substitution of Client Credentials from Request Parameters

You can now substitute the Client_ID and Client_Secret fields in an Authentication policy withincoming request parameters. See the sample policy located here:

{CONFIG HOME}/asg/default/security/policy/AuthenticationBySubjectPassword.policy

In the policy file, if you specify the following lines as shown, ${client.id} will be replace byclient_id from the query string and ${client.secret} will be replaced by client_secret from thequery string.<tpa:ClientID>${client.id}</tpa:ClientID> <tpa:ClientSecret>${client.secret}</tpa:ClientSecret>

Ability to Transform a Non-XML Target Request

You can now apply a Payload transformation to a non-XML text request payload before forwarding itto a target operation.

Obfuscated Passwords

Config UI now obfuscates passwords in all configuration files. To disable obfuscation, add thefollowing property in the TRA file:java.property.asg.config.password.obfuscation=false

6

TIBCO® API Exchange Gateway Release Notes

Page 7: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

New FeaturesThe following new features have been added to version 2.2.0 of TIBCO API Exchange Gateway.

Log Privacy Policies

Log masking policies are able to remove or mask private or sensitive information from messages beforethey are sent to the Central Logger or system logs. The masking policies auto-detect XML and JSON, orform URL encoded messages.

Throttles

The TIBCO API Exchange Gateway clusters now use the data grid for coordinating throttles instead ofthe TIBCO Rendezvous-based Global Throttle Manager (GTM).

Throttles now leverage a shared counter providing a highly accurate counter across a cluster. Earlierbehavior can be enabled with the new setting Use Approximate Monitor.

Quota throttles now release limit if requests fail.

Message Policies

Anti-Virus Scanning of Payloads

TIBCO API Exchange Gateway can call a virus scanner to block malicious messages. TIBCO APIExchange Gateway scans the request or response messages for viruses and other malware byintegrating with anti-virus servers through ICAP. TIBCO API Exchange Gateway supports McAfeeWeb Gateway.

Correlation ID SupportTIBCO API Exchange Gateway generates a correlation identifier such as X-Request-ID to grouprelated transactions and messages for debugging, auditing and analysis.

Custom Authentication

TIBCO API Exchange Gateway provides an extensible authentication framework to support non-standard authentication. For example, when you want to extract user credentials from a request that arestored in a proprietary way or verify the credentials against a custom identity store, you can extend thebase login module. An authentication policy defines a custom shared resource using this custommodule.

New Global Variables

Support SSLv3 for native HTTP ChannelThe following global variables have been added to enable SSLv3 for the native HTTP Channel tosupport facade operation requests:

tibco.clientVar.DefaultImplementation/Connections/HTTP/FacadeHTTPSSLConnection/SSLServerProtocolstibco.clientVar.DefaultImplementation/Connections/HTTP/OAuthWebappsSSLConnection/SSLServerProtocols

Set Hostname for native HTTP ChannelThe following global variable has been added to set the hostname for the native HTTP channel:

tibco.clientVar.DefaultImplementation/Connections/HTTP/FacadeHTTPConnection/Host

Access Config UI using HTTPS for Mutual SSL

7

TIBCO® API Exchange Gateway Release Notes

Page 8: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

The following global variables have been added to configure the Config UI for mutual SSL.java.property.com.tibco.asg.designtime.configui.launcher.secure=falsejava.property.com.tibco.asg.designtime.configui.launcher.scheme=httpjava.property.com.tibco.asg.designtime.configui.launcher.keyAlias=tomcatjava.property.com.tibco.asg.designtime.configui.launcher.keystorePass=changeitjava.property.com.tibco.asg.designtime.configui.launcher.keystoreFile=java.property.com.tibco.asg.designtime.configui.launcher.keystoreType=JKSjava.property.com.tibco.asg.designtime.configui.launcher.clientAuth=falsejava.property.com.tibco.asg.designtime.configui.launcher.sslProtocol=TLSjava.property.com.tibco.asg.designtime.configui.launcher.SSLEnabled=falsejava.property.com.tibco.asg.designtime.configui.launcher.server=Apachejava.property.com.tibco.asg.designtime.configui.launcher.truststoreFile=java.property.com.tibco.asg.designtime.configui.launcher.truststorePass=changeitjava.property.com.tibco.asg.designtime.configui.launcher.truststoreType=JKS

Payload Size LimitThe following global variables have been added to limit the size of payload at which logging istruncated.tibco.clientVar.ASG/ForwardLargePayloadLimit=10000tibco.clientVar.ASG/ReverseLargePayloadLimit=10000

Enhancement of OAuth Validation APIThe following global variable has been added to enable the OAuth validation API to return the extraattributes of access token.tibco.clientVar.oauth.access.token.attributes=true

Access plan type to HTTP Header

TIBCO API Exchange Gateway adds the plan type to HTTP header using the XSLT file. To include theplan type as an HTTP request header with the header name as X-Plan-Type, include the following inthe request mapper:<h:override-header name="X-Plan-Type"><xsl:value-of select="mapperUtils:getProperty($requestId,'X-Plan-Type')" xmlns:mapperUtils="java:com.tibco.asg.tools.MapperProperties"/></h:override-header>

Optional Client Secret for OAuth Password Credential Flow

The client secret is now optional during the token request for public clients using the OAuth PasswordCredential flow. For example, if you are using the file based client adapter, the third column (reserved)of ASG_HOME\examples\OAuth\resources\client.properties file must be explicitly set topublic since the default is confidential. Refer to the following entry:

#[name]|[password]|(confidential|public)|[attribute=value]*|scopes

OAuth

The OAuth 2.0 Implicit Grant Flow is now supported.

Custom Error Message on Failure of the OAuth User Credential Grant

The new Java system property oauth.error.use.adapter.message gives the option to return acustom error message from the adapter. If the adapters (owner or client) returns an error, and thesystem property is set to true, then the authorization server returns the error message from the owneror client authentication. To enable and disable error from the adapter:

Set java.property.oauth.error.use.adapter.message=true to enable.

Set java.property.oauth.error.use.adapter.message=false to disable.

8

TIBCO® API Exchange Gateway Release Notes

Page 9: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

Performance Improvements

● Optimization for Payload Handling

TIBCO API Exchange Gateway skips the logging and payload processing for request or responsepayloads over the Payload Size Limit.

● Throughput and latency improvements

PingIdentity Authorization Server

TIBCO API Exchange Gateway supports PingIdentity authorization server for OAuth policies.

Partner Identification for native HTTPS Channel

TIBCO API Exchange Gateway supports partner identification using the client certificate for the nativeHTTPS channel.

New APIs for Config UI

TIBCO API Exchange Gateway provides new APIs to support the Config UI functionality.

Analytics

The analytics provided by the TIBCO Spotfire Server components has been enhanced to display thefollowing fields:

● Operation URI

● HTTP Headers

● SOAP Action

● Request Payload Size

● Response Payload Size

ASG_KPI Table with the Time of the Period End

The ASG_KPI table now includes the time of the period end making it easier to use third-partyreporting tools.

Logging

Access Logging for native HTTP and HTTPS ChannelTIBCO API Exchange Gateway now provides access logging. Previously this was only availablethrough the Apache HTTP Server.

Storing Request HeadersTIBCO API Exchange Gateway logs the service URI, complete HTTP headers, and SOAP Action of therequest message in the Central Logger database when the detail level logging is enabled.

Asynchronous Option for Target Operations

TIBCO API Exchange Gateway provides new asynchronous option for target operations to improve thegateway resource utilization when large numbers of concurrent long services are running.

New Platforms and Third Party Software

Support for the following third party software has been added in this release:

9

TIBCO® API Exchange Gateway Release Notes

Page 10: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

Third Party Software

● Oracle 12c

● McAfee Web Gateway 7.4.2

Support for XML JSON Mediation

XML to JSON schema based conversion

To convert XML to JSON using a schema, call the following function from your mapper:public static String convertXMLToJSONWithXsd(String xmlString, String xsd, boolean removeRoot, boolean badgerfish, boolean strictBadgerfish, boolean forwardSlashEscaping, boolean ignoredSpecialSign, boolean ignoredNamespace, boolean empty2null, boolean validateInput, boolean checkEmptyElement)

For example:<xsl:variable name="jsonBody"> <xsl:value-ofselect="mapperUtils:convertXMLToJSONWithXsd($httpPayload,'~/MapperTest/BookStoreParse.xsd',not(true()),not(true()),not(true()),not(true()),not(true()),not(true()),not(true()),true(),not(true()))"xmlns:mapperUtils="java:com.tibco.asg.saxon.mapper.PayloadMapper"/></xsl:variable>

XML to JSON non schema based conversion

To convert XML to JSON without a schema, call the following function from your mapper:public static String convertXMLToJSON(String xmlString,boolean removeRoot, boolean badgerfish, boolean strictBadgerfish, boolean forwardSlashEscaping, boolean ignoredSpecialSign, boolean ignoredNamespace, boolean empty2null)

For example:<xsl:variable name="jsonBody"><xsl:value-of select="mapperUtils:convertXMLToJSON($httpPayload, true(),not(true()),not(true()),not(true()),not(true()),not(true()),not(true()))" xmlns:mapperUtils="java:com.tibco.asg.saxon.mapper.PayloadMapper"/></xsl:variable>

JSON to XML, schema based conversion

To convert JSON to XML using a schema, call the following function from your mapper:public static String convertJSONToXMLWithXsd (String jsonString, String xsd, boolean validateOutput, boolean badgerfish, boolean strictBadgerfish, boolean forwardSlashEscaping, boolean ignoredSpecialSign)

For example:<xsl:variable name="xmlBody"><xsl:value-of select="mapperUtils:convertJSONToXMLWithXsd($httpPayload,'~/MapperTest/BookStoreParse.xsd',true(),not(true()),not(true()),not(true()),not(true()))" xmlns:mapperUtils="java:com.tibco.asg.saxon.mapper.PayloadMapper"/></xsl:variable>

JSON to XML non schema based conversion

To convert JSON to XML without a schema, call the following function from your mapper:public static String convertJSONToXML (String jsonString, String jsonRoot, boolean badgerfish, boolean strictBadgerfish, boolean forwardSlashEscaping, boolean ignoredSpecialSign)

For example:<xsl:variable name="xmlBody"><xsl:value-of select="mapperUtils:convertJSONToXML($httpPayload,'BookStore',not(true()),not(true()),not(true()),not(true()))"

10

TIBCO® API Exchange Gateway Release Notes

Page 11: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

xmlns:mapperUtils="java:com.tibco.asg.saxon.mapper.PayloadMapper"/></xsl:variable>

Config UI

Search fields available on each tab make it easier to locate desired entries.

Choose operation features from a drop-down menu.

The New Reload Project Configuration button reloads project configuration files from a disk.

11

TIBCO® API Exchange Gateway Release Notes

Page 12: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

Changes in Functionality

This section lists changes in functionality in the named releases of TIBCO API Exchange Gateway.

Version 2.2.1The following are changes in functionality in version 2.2.1 of TIBCO API Exchange Gateway.

Obfuscated Passwords

By default, Config UI now obfuscates passwords in all configuration files. To disable obfuscation, addthe following property in the TRA file:java.property.asg.config.password.obfuscation=false

Configuration Publish

Publishing a configuration from Config UI to the gateways may take considerably longer due toadditional validation checks that are being performed.

Partial Installer

This release provides a partial product installation. It requires prior installation of the 2.2.0 TIBCO APIExchange Gateway.

Version 2.2.0The following are changes in functionality in version 2.2.0 of TIBCO API Exchange Gateway.

Central Logger Database Schema ChangesThe Central Logger database tables schema has been changed. The following new columns have beenadded to the database schema:

Database Table Changes

Table Name Columns

ASG_TRANSACTIONS● TRN_REQUEST_PAYLOAD_SIZE

● TRN_RESPONSE_PAYLOAD_SIZE

● TRN_CORRELATION_ID

ASG_KPI● KPI_END_TIMESTAMP

ASG_TRANSACTION_DETAILS● DET_SERVICEURI

● DET_SOAPACTION

● DET_HTTPHEADERS

● DET_PAYLOAD_SIZE

Replacing TIBCO Rendezvous with TIBCO ActiveSpaces for Transport

12

TIBCO® API Exchange Gateway Release Notes

Page 13: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

TIBCO API Exchange Gateway uses TIBCO ActiveSpaces instead of TIBCO Rendezvous as the defaulttransport for communication between various components of the gateway.

Error Handling

Error responses in JSON now include error codes (same as the XML error responses). When a requestfails due to Partner or API Key not being authorized, a fault transform, if available, is now applied.

13

TIBCO® API Exchange Gateway Release Notes

Page 14: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

Deprecated and Removed Features

The following tables list any features that have been deprecated or removed as of version 2.2.1 ofTIBCO API Exchange Gateway.

For deprecated features, if relevant, useful alternatives are listed. Any use of a deprecated featureshould be discontinued because it might be removed in a future release. To avoid becoming dependenton deprecated features, ensure that you become familiar with the suggested alternative features.

Deprecated Features

AffectedComponent Description

DeprecatedRelease

Reporting Support for Spotfire 6.0 has been deprecated.

Support for Spotfire 5.5 has been removed.

2.2.0

14

TIBCO® API Exchange Gateway Release Notes

Page 15: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

Migration

This section explains the migration process to migrate TIBCO API Exchange Gateway product from aprevious release to version 2.2.1.

Migration ProcessNo special migration steps are necessary when moving from version 2.2.0 of TIBCO API ExchangeGateway to version 2.2.1. However, if you are on a version of TIBCO API Exchange Gateway prior toversion 2.2.0, you must migrate to version 2.2.0 before you can upgrade to version 2.2.1.

You must migrate to version 2.2.0 before installing the current version of TIBCO API ExchangeGateway. There is no direct migration from versions older than 2.2.0 to 2.2.1. All Gateway and Managerversions prior to 2.2.0 must first be upgraded to 2.2.0 following all of the applicable migration stepsdocumented here.

Perform the following tasks to migrate from a previous version TIBCO API Exchange Gateway toTIBCO API Exchange Gateway 2.2.0.

1. Stop the existing version of TIBCO API Exchange Gateway.

2. Install TIBCO API Exchange Gateway 2.2.0.

3. Migrate the ASG configuration directory, including the project configuration and properties files.See Migrating the Project Configuration and Properties Files.

After completion, manually update the substitution variables %TIBCO_ASG_CONFIG_HOME_ESC% and%TIBCO_ASG_HOME_ESC% in the asg.properties and asg_portal.properties files.

If you are installing both TIBCO API Exchange Gateway and TIBCO API ExchangeManager, perform this step when installing TIBCO API Exchange Manager.

4. Manually migrate customizations made to the ASG_DefaultImplementation project. See MigrateASG_DefaultImplementation Project Customizations (Optional).

5. Manually migrate customizations made to the CDD files. See Migrate CDD Files.

6. Manually migrate customizations made to the TRA files. See Migrating TRA Files (Optional).

7. Update the database schema. See Update Database Schema for Central Logger.

8. Install TIBCO API Exchange Gateway 2.2.1.

9. Start TIBCO API Exchange Gateway 2.2.1.

If you are installing both TIBCO API Exchange Gateway and TIBCO API ExchangeManager, start after installing TIBCO API Exchange Manager.

Migrating the Project Configuration and Properties FilesUse the migration tool to migrate the project configuration containing the *.cfg files and runtimeproperties files.

Procedure

1. Navigate to the TIBCO_HOME/asg/2.2/bin directory.

2. Type the following command to run the tool:asg-tools -u migrate-config -cc Source_Configuration_Directory -dc Destination_Configuration_Directory -sv Source_Version

The arguments of the asg-tools migration tool are defined as follows:

15

TIBCO® API Exchange Gateway Release Notes

Page 16: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

● cc : specifies the full path of the source configuration directory to be migrated.

For example, this is the configuration directory for a previous release such as 2.1.0.● dc: specifies the full path of the destination configuration directory where the migratedconfiguration is stored.

For example, this is the configuration directory for the current release such as 2.2.0.● sv: specifies the release version of the source configuration directory to be migrated.

For example, this is the version for a previous release such as 2.1.0.For example, on the Windows platform, run the tool as follows to migrate the project configurationand runtime properties files from version 2.1.0 to version 2.2.0:

Any changes made to the project configuration or properties files in the directory specifiedby -dc parameter are overwritten by the asg-tools tool. Any change to be made to theconfiguration directory as specified by the -dc parameter have to be made aftercompleting the migration process.

The original configuration files are saved in <TIBCO Config Home>/tibco/cfgmgmt/asg/../asg.bak/asg.

asg-tools.exe -u migrate-config -cc C:/TIBCO_CONFIG/tibco/cfgmgmt/asg/../asg.bak -dc C:/TIBCO_CONFIG/tibco/cfgmgmt/asg -sv 2.1.0

3. Replace the internal configuration files. These are not automatically converted by the migration tool,and must be manually restored.

Copy the files listed below from {TIBCO_CONFIG}/tibco/cfgmgmt/asg/default to yourdestination configuration directory.

● InternalFacadeAccess.cfg

● InternalFacadeOperation.cfg

● InternalRouting.cfg

● InternalTargertOperation.cfg

Migrating ASG_DefaultImplementation Project Customizations (Optional)You must migrate the ASG_DefaultImplementation project only if you have made any customchanges to the default ASG_DefaultImplementation project to extend the default behavior of CoreEngine in a previous release.

If you have made any changes to the ASG_DefaultImplementation Project, redo the changes manuallyin the ASG_DefaultImplementation project of TIBCO API Exchange Gateway 2.2.x.

Migrating CDD Files (Optional)If you have made any changes to the CDD files, redo the changes manually in the CDD files of TIBCOAPI Exchange Gateway 2.2.x.

Migrating TRA Files (Optional)You must manually migrate any changes made to the TRA files located in the ASG_HOME/bindirectory.

If you have made any changes in the TRA files (for example, ASG_HOME/bin/asg_engine.tra) in aprevious release, redo the changes manually in the TRA files of TIBCO API Exchange Gateway 2.2.x.

Update Database Schema for Central LoggerTIBCO API Exchange Gateway 2.2 introduces few changes to the database schema of asgstat databaseused by the Central Logger.

The schema for the following tables have been changed:

16

TIBCO® API Exchange Gateway Release Notes

Page 17: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

● ASG_KPI

● ASG_TRANSACTION_DETAILS

● ASG_TRANSACTIONS

ASG_KPI Table Changes

The following column has been added to the ASG_KPI table in the asgstat database:

● KPI_END_TIMESTAMP

ASG_TRANSACTION_DETAILS Table Changes

The following columns have been added to the ASG_TRANSACTION_DETAILS table in the asgstatdatabase:

● DET_SERVICEURI

● DET_SOAPACTION

● DET_HTTPHEADERS

● DET_PAYLOAD_SIZE

ASG_TRANSACTIONS Table Changes

The following columns have been added to the ASG_TRANSACTIONS table in the asgstat database:

● TRN_CORRELATION_ID

● TRN_REQUEST_PAYLOAD_SIZE

● TRN_RESPONSE_PAYLOAD_SIZE

This section explains the steps required to migrate the existing databases from a previous version (suchas 2.0.0) to version 2.2.x of TIBCO API Exchange Gateway.

Updating Oracle Database

Complete the following steps to upgrade the oracle database with the schema changes.

Procedure

1. Back up the existing data in the ASG_KPI, ASG_TRANSACTION_DETAILS, and ASG_TRANSACTIONStable of the database.

2. Execute the following SQL statements on the asgstat database:

ALTER TABLE ASGSTAT.ASG_KPI ADD KPI_END_TIMESTAMP TIMESTAMP;

ALTER TABLE ASGSTAT.ASG_TRANSACTION_DETAILS ADD (DET_SERVICEURI VARCHAR(256),DET_SOAPACTION VARCHAR(256), DET_HTTPHEADERS CLOB, DET_PAYLOAD_SIZE INTEGER);

ALTER TABLE ASGSTAT.ASG_TRANSACTIONS ADD (TRN_CORRELATION_IDVARCHAR(256), TRN_REQUEST_PAYLOAD_SIZE INTEGER, TRN_RESPONSE_PAYLOAD_SIZEINTEGER);

Updating MS SQL Server Database

Complete the following steps to upgrade the MS SQL Server database with the schema changes.

17

TIBCO® API Exchange Gateway Release Notes

Page 18: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

Procedure

1. Back up the existing data in the ASG_KPI, ASG_TRANSACTION_DETAILS, and ASG_TRANSACTIONStable of the database.

2. Execute the following SQL statements on the asgstat database:

ALTER TABLE ASG_KPI ADD KPI_END_TIMESTAMP DATETIME default getdate();

ALTER TABLE ASG_TRANSACTION_DETAILS ADD DET_SERVICEURI VARCHAR(256), DET_SOAPACTION VARCHAR(256), DET_HTTPHEADERS NVARCHAR(max), DET_PAYLOAD_SIZE BIGINT;

ALTER TABLE ASG_TRANSACTIONS ADD TRN_CORRELATION_ID VARCHAR(256), TRN_REQUEST_PAYLOAD_SIZE BIGINT, TRN_RESPONSE_PAYLOAD_SIZE BIGINT;

Updating MySQL Database

Complete the following steps to upgrade the MySQL database with the schema changes.

Procedure

1. Back up the existing data in the ASG_KPI, ASG_TRANSACTION_DETAILS, and ASG_TRANSACTIONStable of the database.

2. Execute the following SQL statements on the asgstat database:

ALTER TABLE ASG_KPI ADD COLUMN KPI_END_TIMESTAMP TIMESTAMP NULLAFTER KPI_TIMESTAMP;

ALTER TABLE ASG_TRANSACTION_DETAILS ADD (DET_SERVICEURI VARCHAR(256),DET_SOAPACTION VARCHAR(256), DET_HTTPHEADERS MEDIUMTEXT, DET_PAYLOAD_SIZEBIGINT);

ALTER TABLE ASG_TRANSACTIONS ADD (TRN_CORRELATION_ID VARCHAR(256),TRN_REQUEST_PAYLOAD_SIZE INTEGER, TRN_RESPONSE_PAYLOAD_SIZE INTEGER);

Updating DB2 Database

Complete the following steps to upgrade the DB2 database with the schema changes.

Procedure

1. Back up the existing data in the ASG_KPI, ASG_TRANSACTION_DETAILS, and ASG_TRANSACTIONStable of the database.

2. Execute the following SQL statements on the asgstat database:

ALTER TABLE ASGSTAT.ASG_KPI ADD KPI_END_TIMESTAMP TIMESTAMP;

ALTER TABLE ASGSTAT.ASG_TRANSACTION_DETAILS ADD COLUMN DET_SERVICEURIVARCHAR(256) ADD COLUMN DET_SOAPACTION VARCHAR(256) ADD COLUMN DET_HTTPHEADERSCLOB ADD COLUMN DET_PAYLOAD_SIZE BIGINT;

ALTER TABLE ASGSTAT.ASG_TRANSACTIONS ADD COLUMN TRN_CORRELATION_IDVARCHAR(256) ADD COLUMN TRN_REQUEST_PAYLOAD_SIZE BIGINT ADD COLUMNTRN_RESPONSE_PAYLOAD_SIZE BIGINT;

18

TIBCO® API Exchange Gateway Release Notes

Page 19: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

Updating Foreign Key Constraints

The foreign key constraints on the tables of the asgstat database has been updated to include the ONDELETE CASCADE clause.Execute the following steps to update the foriegn key constraints of database tables:

Procedure

1. Back up the existing data of ASG_TRANSACTION_KEYS , ASG_TRANSACTION_MESSAGES, andASG_TRANSACTION_DETAILS tables.

2. Depending on the database server, execute the following SQL statements on the asgstat database:

Oracle

ALTER TABLE ASGSTAT.ASG_TRANSACTION_KEYS DROP CONSTRAINT ASG_TRANSACTION_KEYS_FK;ALTER TABLE ASGSTAT.ASG_TRANSACTION_KEYS ADD (constraint ASG_TRANSACTION_KEYS_FK foreign key (KEY_TRN_GUID) references ASGSTAT.ASG_TRANSACTIONS (TRN_GUID) ON DELETE CASCADE);

ALTER TABLE ASGSTAT.ASG_TRANSACTION_MESSAGES DROP CONSTRAINT ASG_TRANSACTION_MESSAGES_FK;ALTER TABLE ASGSTAT.ASG_TRANSACTION_MESSAGES ADD (constraint ASG_TRANSACTION_MESSAGES_FK foreign key (MSG_TRN_GUID) references ASGSTAT.ASG_TRANSACTIONS (TRN_GUID) ON DELETE CASCADE);

ALTER TABLE ASGSTAT.ASG_TRANSACTION_DETAILS DROP CONSTRAINT ASG_TRANSACTION_DETAILS_FK;ALTER TABLE ASGSTAT.ASG_TRANSACTION_DETAILS ADD (constraint ASG_TRANSACTION_DETAILS_FK foreign key (DET_TRN_GUID) references ASGSTAT.ASG_TRANSACTIONS (TRN_GUID) ON DELETE CASCADE);

MS SQL Server

ALTER TABLE [ASGSTAT].[DBO].ASG_TRANSACTION_KEYS DROP CONSTRAINT ASG_TRANSACTION_KEYS_FK;ALTER TABLE [ASGSTAT].[DBO].ASG_TRANSACTION_KEYS ADD CONSTRAINT ASG_TRANSACTION_KEYS_FK foreign key (KEY_TRN_GUID) references [asgstat].[dbo].[ASG_TRANSACTIONS] (TRN_GUID) ON DELETE CASCADE;

ALTER TABLE [ASGSTAT].[DBO].ASG_TRANSACTION_MESSAGES DROP CONSTRAINT ASG_TRANSACTION_MESSAGES_FK;ALTER TABLE [ASGSTAT].[DBO].ASG_TRANSACTION_MESSAGES ADD CONSTRAINT ASG_TRANSACTION_MESSAGES_FK foreign key (MSG_TRN_GUID) references [asgstat].[dbo].[ASG_TRANSACTIONS] (TRN_GUID) ON DELETE CASCADE;

ALTER TABLE [ASGSTAT].[DBO].ASG_TRANSACTION_DETAILS DROP CONSTRAINT ASG_TRANSACTION_DETAILS_FK;ALTER TABLE [ASGSTAT].[DBO].ASG_TRANSACTION_DETAILS ADD CONSTRAINT ASG_TRANSACTION_DETAILS_FK foreign key (DET_TRN_GUID) references [asgstat].[dbo].[ASG_TRANSACTIONS] (TRN_GUID) ON DELETE CASCADE;

MySQL

ALTER TABLE ASG_TRANSACTION_KEYS DROP FOREIGN KEYASG_TRANSACTION_KEYS_FK;ALTER TABLE ASG_TRANSACTION_KEYS ADD (CONSTRAINT ASG_TRANSACTION_KEYS_FK

19

TIBCO® API Exchange Gateway Release Notes

Page 20: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

foreign key (KEY_TRN_GUID)references ASG_TRANSACTIONS (TRN_GUID) ON DELETE CASCADE);

ALTER TABLE ASG_TRANSACTION_MESSAGES DROP FOREIGN KEY ASG_TRANSACTION_MESSAGES_FK;ALTER TABLE ASG_TRANSACTION_MESSAGES ALTER ADD (CONSTRAINT ASG_TRANSACTION_MESSAGES_FK foreign key (MSG_TRN_GUID) references ASG_TRANSACTIONS (TRN_GUID) ON DELETE CASCADE);

ALTER TABLE ASG_TRANSACTION_DETAILS DROP FOREIGN KEY ASG_TRANSACTION_DETAILS_FK;ALTER TABLE ASG_TRANSACTION_KEYS ADD (CONSTRAINT ASG_TRANSACTION_DETAILS_FK foreign key (KEY_TRN_GUID) references ASG_TRANSACTIONS (TRN_GUID) ON DELETE CASCADE);

DB2

ALTER TABLE ASGSTAT.ASG_TRANSACTION_KEYS DROP FOREIGN KEY ASG_TRANSACTION_KEYS_FK;ALTER TABLE ASGSTAT.ASG_TRANSACTION_KEYS ADD CONSTRAINT ASG_TRANSACTION_KEYS_FK foreign key (KEY_TRN_GUID) references ASGSTAT.ASG_TRANSACTIONS (TRN_GUID) ON DELETE CASCADE;

ALTER TABLE ASGSTAT.ASG_TRANSACTION_MESSAGES DROP FOREIGN KEY ASG_TRANSACTION_MESSAGES_FK;ALTER TABLE ASGSTAT.ASG_TRANSACTION_MESSAGES ADD CONSTRAINT ASG_TRANSACTION_MESSAGES_FK foreign key (MSG_TRN_GUID) references ASGSTAT.ASG_TRANSACTIONS (TRN_GUID) ON DELETE CASCADE;

ALTER TABLE ASGSTAT.ASG_TRANSACTION_DETAILS DROP FOREIGN KEY ASG_TRANSACTION_DETAILS_FK;ALTER TABLE ASGSTAT.ASG_TRANSACTION_DETAILS ADD CONSTRAINT ASG_TRANSACTION_DETAILS_FK foreign key (DET_TRN_GUID) references ASGSTAT.ASG_TRANSACTIONS (TRN_GUID) ON DELETE CASCADE;

20

TIBCO® API Exchange Gateway Release Notes

Page 21: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

Closed Issues

This section lists the issues that were closed in the named releases of TIBCO API Exchange Gateway.

Version 2.2.1The table lists closed issues in version 2.2.1 of TIBCO API Exchange Gateway.

Key Summary

ASG-7567 Client Credential Flow no longer requires a callback URL.

ASG-7538 Config API swagger specification for the response did not match the actual JSONinterface. This has been fixed.

ASG-7529 Under load, Gateway threw IndexOutOfBoundsException while identifying theroute for the RoundRobin algorithm. This has been fixed.

ASG-7524 Fixed an issued that caused an Operation Not Found error to be thrown when aSOAP Action had a value with 2 or more slashes.

ASG-6944 When a transformation was applied to a request with the isBinary option, thegateway did not decode the reply payload for non-200 HTTP response from back-end service. This has been fixed.

ASG-6446 The Fault transform was not getting executed if a partner or apiKey was notauthorized to access a facade operation. This has been fixed. (This is a port ofASG-7541.)

Version 2.2.0The table lists closed issues in version 2.2.0 of TIBCO API Exchange Gateway.

Key Summary

ASG-7306 With 2.1.1_HF-001, Gateway did not recognise HTTP Status 204 - No Content(Content-Length=Zero) in Response and threw Service Timeout errors.

ASG-7288 ConfigUI successfully validated a Project with blank values for mandatory fields.

ASG-7235 Keystores were corrupted when published from the portal to the gateway.

ASG-7294 Throttle's maxCount was set to 0 causing Premature Throttle error

ASG-6915 Error message "Rate Throttle reached for throttle <MONITOR_NAME>" was beingthrown even when the Rate Monitor was valid.

ASG-6879 TIBCO API Exchange Gateway did not search for the correct format of OAuthaccess token in the header of the request.

ASG-6847 The Config UI did not allow the users to login when the authentication wasconfigured to use the LDAP server with SSL connectivity.

21

TIBCO® API Exchange Gateway Release Notes

Page 22: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

Key Summary

ASG-6817 The update configuration did not work for the remote project settings when thekeystore and shared resource files were updated to the master project settings.

ASG-6816 The header buffer size was too small when TIBCO API Exchange Gatewayprocessed the requests using Kerberos SPNEGO authentication mechanism.

ASG-6800 TIBCO API Exchange Gateway did not support the redirect with POST methodusing the authorization code flow of OAuth server.

ASG-6794 TIBCO API Exchange Gateway did not support the substitution of ownerID valuesin the OAuth authentication policy.

ASG-6786 The Studio could not open the CONSTANTS scorecard for editing.

ASG-6769 TIBCO API Exchange Gateway reset the 403 HTTP status code generated by thegateway to 500 HTTP status code when the request was sent to the gatewaythrough the Apache module.

ASG-6711 TIBCO API Exchange Gateway did not support SOAP 1.2 protocol for credentialmapping policies.

ASG-6488 For SOAP/HTTP and REST/HTTP requests, Client IP / Host / SOAPAction /ServiceURI of incoming request to APIX was not logged for a lower log level.

ASG-6547 TIBCO API Exchange Gateway OAuth server generated the access token when thedatabase as backing store was not available.

ASG-6511 TIBCO API Exchange Gateway did not provide an option to specify the OAuthaccess token in the header of the request. To generate the OAuth access token in therequest header, specify {access_token} in the headersToForward field of an facadeoperation request.

ASG-6399 The updated configuration was incomplete for the OAuth security binding entrieswhen the user tried to publish the master configuration settings to remote gatewayinstances from the portal Config UI of TIBCO API Exchange Manager.

ASG-6451 TIBCO API Exchange Gateway did not include the special characters in theparameter values of the query string for a facade operation request.

ASG-6432 /ASG-6479

TIBCO API Exchange Gateway did not support a property to set the timeout valuefor HTTP native transport when the target service took more than one minute tosend the response to client.

ASG-6431 /ASG-6059

TIBCO API Exchange Gateway did not set the Content-Length header when theclient sent a HTTP request with 1.0 or 0.9 protocol version.

ASG-6414 TIBCO API Exchange Gateway did not provide a script to purge the log data forMicrosoft SQL Server database.

ASG-6407 TIBCO API Exchange Gateway did not forward the Authorization header nameto the target service when the Headers To Forward field of the request containedthe Authorization header name.

22

TIBCO® API Exchange Gateway Release Notes

Page 23: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

Key Summary

ASG-6392 TIBCO API Exchange returned a misleading Operation Not Found error messagewhen a request with an invalid or missing API Key was sent to the gateway.

ASG-6391 /ASG-6419

TIBCO API Exchange did not export the data from Spotfire analytics dashboard toPDF, CSV and PPT formats correctly.

ASG-6276 TIBCO API Exchange Gateway returned an error response when the client sent arequest with no user name and password in HTTP header for HTTP basicauthentication using non-preemptive mode.

ASG-6234 The purge database script for MySQL shipped with TIBCO API Exchange Gatewaymay throw a foreign key constraint error.

ASG-6226 The value set in the items per page field under Pagination of Config UI did notwork as expected.

For example, the page entries only displayed 10 entries per page irrespective of thevalue set in the items per page field.

ASG-6221 The Kerberos SPNEGO authentication did not work correctly in TIBCO APIExchange Gateway.

ASG-1193 TIBCO API Exchange Manager displayed an alert error for Linked Data Reportwhen the report was opened with TIBCO Spotfire. The error report referred toinvalid column in the ASG_TRANSACTION_MESSAGES table of Central Loggerdatabase.

ASG-1103 The Central Logger of TIBCO API Exchange Gateway threw a null pointerexception when it was deployed in cluster mode.

ASG-6243 TIBCO API Exchange Gateway did not handle the responses correctly whencontent-typewas multipart or mixed.

ASG-6217 TIBCO API Exchange Gateway did not provide the properties on the Config UI tosupport SSL V3 for native HTTP channel.

ASG-6215(ASG-6297)

When AS channels were enabled, TIBCO API Exchange Gateway did not use theasg.properties file specified with -p parameter of asg-engine command to startCore Engine, and it searched for ASG_CONFIG_HOME/asg.properties file.

ASG-6195 An error WSS AuthN Failure - Request is not authenticated withusername token was thrown by TIBCO API Exchange Gateway if the multiplerequests were processed for WSS authentication.

ASG-6156 TIBCO API Exchange Gateway did not correctly encode the query parameters inthe facade operation URL of northbound request.

ASG-6137(ASG-6294)

TIBCO API Exchange Gateway did not provide the properties in theASG_CONFIG_HOME/asg.properties file to enable the SSLv3 support for thenorthbound request received through the native HTTP channel.

ASG-6114 TIBCO API Exchange Gateway did not log the Client IP, Host, SOAPAction, andServiceURI headers of the incoming request at the INFO level.

23

TIBCO® API Exchange Gateway Release Notes

Page 24: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

Key Summary

ASG-6107 The REST serializer of TIBCO API Exchange Gateway used the payload as NULL ifthe Transfer-Encoding: Chunked header was set instead of the Content-Lengthheader.

ASG-6106 When the token API was used to retrieve an access token details, the status of theaccess token was shown Active in the response message for an expired token.

ASG-5422 TIBCO API Exchange Gateway returned different response messages to clientswhen the request was sent to the gateway using the facade HTTP channel insteadof being sent using the Apache module.

ASG-5264 Using the Config UI, when the new target operations are added and saved onTarget Operation Groups tab, they were not shown in the Target OperationGroups tab.

ASG-4352 When a remote configuration update was done from the Config UI, TIBCO APIExchange Gateway did not push the keystore and shared resource files to remoteconfiguration from the master configuration.

ASG-4006 TIBCO API Exchange Gateway did not support mutual SSL authentication forHTTPS transport.

ASG-3813 The event payload validation did not work with Apache RV module of TIBCO APIExchange Gateway.

ASG-6252 TIBCO API Exchange Gateway threw an ActiveSpaces error when the field namestarting with the underscore (_) character causes AS error when backingstore isenabled on response cache.

ASG-5689 The Central Logger threw the following runtime exception :

java.lang.RuntimeException: com.mysql.jdbc.MysqlDataTruncation: Data

truncation: Data too long for column 'THM_MESSAGE'.

ASG-3988 The Config UI did not allow user to change the value of Request Transform fieldfor a facade access due to the incorrect validation.

ASG-4826 The CLASSPATH variable in the asg-engine.tra file did not includeTIBCO_HOME/tools/lib directory.

ASG-6231 TIBCO API Exchange Gateway changed the user-defined Partner Timeout value todefault vlaue (25 seconds) for a facade access when a new user, application or APIkey was created from TIBCO API Exchange Manager for the API associated withthe product.

ASG-6555 The Config UI did not validate a project before the publish configuration wasexecuted. The publish configuration deleted data from configuration of a gatewayinstance when the data was published to multiple gateway instances.

ASG-6446 TIBCO API Exchange Gateway did not execute the fault transform for a requestwhen the processing of request failed due to the partner or API key not beingauthorized.

24

TIBCO® API Exchange Gateway Release Notes

Page 25: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

Known Issues

The table lists known issues in version 2.2.1 of TIBCO API Exchange Gateway.

Key Summary

ASG-5262 Summary: Unable to start Apache HTTP 2.4.9 as a Windows Service whenmod_RV is included in HTTP config.

Workaround: Instead of using the Windows Service, use Apache scripts to start theApache HTTP server.

ASG-7066 Summary: Importing the default ASG_DefaultImplementation project in theStudio gives the resource validation errors.

Workaround: Update the asg_core.projlib project library file. To update theproject library file, follow these steps:

1. Open the Studio.

2. Import ASG_DefaultImplementation project in the Studio.

3. Click Project > Properties.

4. Select Build Path.

5. Click Project Libraries.

6. Expand the Project library node.

7. Select the existing ASG_HOME/lib/projectlib/asg_core.projlib file, thenclick Remove.

8. Click Add Library.

9. Browse the file path and select ASG_HOME/lib/projectlib/asg_core.projlib file.

10. Click OK.

11. Click Yes to rebuild your project after changing the build path.

12. Verify that the resource validation errors are resolved.

13. Click Project > Build Enterprise Archive to generate the EAR file, if needed.

25

TIBCO® API Exchange Gateway Release Notes

Page 26: TIBCO API Exchange Gateway Release Notes · Updating MS SQL Server Database ... (GTM). Throttles now leverage a shared counter providing a highly accurate counter across a cluster

Key Summary

ASG-7106 Summary: The asg-tools migration tool gives the following error when thedefault ASG_DefaultImplementation project is migrated:

java.lang.IllegalArgumentException: CDD file content is not valid,

at: ASG_HOME_211/projects/ASG_DefaultImplementation/default.cdd

Workaround: Use the cep-common.jar from an installation prior to TIBCO APIExchange Gateway 2.2.0 (such as 2.1.1) in the CLASSPATH of asg-tools migrationtool.

Update the CLASSPATH in the ASG_HOME/bin/asg-tools.tra file, as follows:

tibco.env.CUSTOM_EXT_PREPEND_CP=TIBCO_HOME/be/5.1/lib/cep-common.jar

%PSP%%ASG_HOME%/lib%PSP%%ASG_HOME%/lib/ext/hotfix%PSP%%ASG_HOME

%/lib/ext/per%PSP%%ASG_HOME%/lib/ext/tibco%PSP%%ASG_HOME%/lib/ext/

tpcl

Ensure that the location of cep-common.jar points to an installationprior to TIBCO API Exchange Gateway 2.2.0 release.

26

TIBCO® API Exchange Gateway Release Notes