Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

This operation is included in the importIntegration operation. You don't need to put updateConnections or activateIntegration in your workflow after the importIntegration operation.

This page is the best source of information about the way that connection information can be updated at deploy time.

There is a blog article about replacements as well - https://flexagon.com/2019/01/flexdeploy-loves-oic-manage-connection-property-replacement/

Either FDOIC_CLOUD_ACCOUNT_CODE environment instance property value or FDOIC_INP_CLOUD_ACCOUNT_CODE plugin input value should exist. When both exists, plugin input value will take precedence. See Creating/Editing a Cloud Account and Provider for details on how to setup Cloud Account for OIC.

Updates connection properties in an OIC Instance.  Connection metadata should be in json format.  If properties have attachments, those attachments will be uploaded as well.  

...

titleCreating New Connections

...

  This operation is intended to work in tandem with exportConnections but it is not required.  This operation

...

can be utilized as long as there is a connections.json file in FD_ARTIFACTS_DIR.  If there are attachments that need to be uploaded as well they should be at the same level as the connections.json and follow the same directory format as seen in the attachments section here.

Environment/Instance Properties

Property Name

Property Code

Required

Description

OIC Base URIAccountFDOIC_CLOUD_INSTANCEACCOUNT_BASE_URICODEYesNoThe REST Base URI of a running OIC Instance
OIC UserFDOIC_USERNAMEYesThe user to connect to OIC as
OIC PasswordFDOIC_PASSWORDYesThe password for the OIC User
OIC account with all the required properties like Base URI, Username and Password for running OIC Instance.

Project Properties

Property Name

Property Code

Required

Description





Insert excerpt
OIC Cloud Account Properties
OIC Cloud Account Properties
nopaneltrue

Inputs

Input Name

Input Code

Required

Description

FDOIC_INP_CLOUD_ACCOUNT_CODENoThe OIC account with all the required properties like Base URI, Username and Password for running OIC Instance.
OIC Connection Plan FileFDOIC_INP_CONNECTION_FILEPLANNo

Optional Input input to specify a different connection configuration plan file name.   The default is 'connections.json'. Allows absolute path or Default 'connectionPlan.properties'. An absolute path can be specified otherwise it is relative to the artifacts directory.

If left blank then artifactsDir/connectionPlan.properties is assumed.

Outputs

Output Name

Required

Description




...

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.

Special Considerations

Attachments

This operation will also import any relevant attachments for the connections that may have been pulled during the 'exportConnections' operation.  

Property Replacement

...

Valid Artifact Directories

The below examples are all valid connection directory structures that will result in a successful execution.  Note that if you used exportConnections you do not need to worry about the directory structure.

Info
titleExample 1

12343/12345/artifacts/HR_SOAP_CONNECTION/connections.json

12343/12345/artifacts/HR_SOAP_CONNECTION/attachments/HR_SOAP_CONNECTION/targetWSDLURL/hr.wsdl

12343/12345/artifacts/MY_REST_ENDPOINT_INTERFAC/connections.json


Info
titleExample 2

12343/12345/artifacts/myFolder/connections.json

12343/12345/artifacts/myFolder/attachments/HR_SOAP_CONNECTION/targetWSDLURL/hr.wsdl

12343/12345/artifacts/myFolder/attachments/EBS_SOAP_CONNECTION/targetWSDLURL/ebs.wsdl

12343/12345/artifacts/myFolder/connectionPlan.properties


Info
titleExample 3

12343/12345/artifacts/connections.json

12343/12345/artifacts/connectionPlan.properties

Connection Plans and Property Replacement

Prior to updating connections, the connection plan file is applied if present to to update environment specific properties.