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/
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. 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.
OIC Base URI
The REST Base URI of a running OIC Instance
|OIC User||Yes||The user to connect to OIC as|
|OIC Password||Yes||The password for the OIC User|
|OIC Connection Plan File||No|
Optional input to specify a different connection plan file name. 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.
This operation consumes artifacts from the artifacts repository.
This operation will select all available endpoints associated to the environment/instance.
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
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.
Connection Plans and Property Replacement
Prior to updating connections, the connection plan file is applied if present to to update environment specific properties.