importApplicationProcess
Import an application process
Format
udclient [global-args...] [global-flags...]
importApplicationProcess [parameters] [filename]
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
application | string | true | Name or ID of the application |
processUpgradeType | string | false | Supported values are, CREATE_NEW_IF_EXISTS, FAIL_IF_DOESNT_EXIST, FAIL_IF_EXISTS, UPGRADE_IF_EXISTS, USE_EXISTING_IF_EXISTS. |
Command to import application process from a JSON file
udclient -username jsmith -password passwd
-weburl https://deployserver.example.com:8443
importApplicationProcess
-application JPetStore
./application-process-Deploy\ JPetStore.json
Response
{
"id": "187b908b-570f-1121-b943-e058185063d5",
"name": "Deploy JPetStore",
"description": "",
"active": true,
"inventoryManagementType": "AUTOMATIC",
"offlineAgentHandling": "PRE_EXECUTION_CHECK",
"versionCount": 4,
"version": 4,
"commit": 963,
"path": "applications\/187b908b-3bc1-0bcb-0233-abff5fa79d79\/processes\/187b908b-570f-1121-b943-e058185063d5",
"deleted": false,
"metadataType": "applicationProcess",
"disableSnapshots": false
}
Example command to print available options
udclient -username jsmith -password passwd
-weburl https://deployserver.example.com:8443
importApplicationProcess -h
Related REST command: Import an application process from a file.