Import Deployment

Using REST you can import an application using the specified CDD, EAR, and site. It is supported only when you are using deployment with TIBCO Enterprise Administrator mode.

Here is a generic cURL example that imports an Archive

curl -u <USER>:<PASSWORD> -X POST -H
"Accept: application/json" -H "Content-Type: multipart/form-data"
-v
"<BROKER_URL>:<BROKER_PORT>/livecluster/rest/v1/sf/engines/
<DAEMON_ID>/<ENGINE_INSTANCE>/archives"
-F "archiveFile=@<ARCHIVE_FILE>" -F
"COMMAND=importdeployment" -F "STFILE=<ST_FILE>" -F"
"CDD=<CDD_FILE>

Here,

ST_FILE: The name of the site topology file.