Creating A Connection Via The TIBCO Scribe® Online API Allows A Duplicate Connection Alias
book
Article ID: KB0078812
calendar_today
Updated On:
Products
Versions
TIBCO Cloud Integration - Connect ( Scribe )
-
Description
A Connection is the configuration, including the login and other parameters, needed to connect to any datastore used by TIBCO Scribe® Online. For example, the Connector for Salesforce connects to the Salesforce API to read and write data. The credentials that permit that Connector to communicate with the Salesforce API are stored in a Connection.
When you create a new Connection, an alias based on the Connection name is automatically created. The alias is required by TIBCO Scribe® Online Integrations to ensure that TIBCO Scribe® Online can determine the entities associated with a selected Connection in the Formula Editor.
TIBCO Scribe® Online automatically removes any special characters in the Connection name to generate the Connection Alias, which can cause the API to allow a duplicate alias. For example, if you have a Connection with the Connection Alias SQL1 and you create a new Connection via the API named SQL***1, TIBCO Scribe® Online removes the asterisks (***) and creates the Connection Alias SQL1. No error is generated by the API. (D2476)
In the TIBCO Scribe® Online User Interface, this would not be permitted and an error would be generated.
If you create a Connection with a duplicate alias via the TIBCO Scribe® Online API, you will see errors in the TIBCO Scribe® Online User Interface.
Issue/Introduction
If you create a new Connection using the TIBCO Scribe® Online API POST /v1/orgs/{orgId}/connections endpoint, the API allows a duplicate Connection Alias.