|
It is recommended that you use the OAuth services in the WorkflowSubsystem in ThingWorx Composer to load or delete OAuths.
|
Parameter
|
Description
|
Data Type
|
---|---|---|
--log,-l
|
Sets the log level.
|
[String] [default: “info”]
|
--version
|
Displays the version number of the ThingWorx Flow Deploy Utility.
|
[Boolean]
|
--help
|
Displays help for various commands, subcommands, and parameters that can be provided to the command.
|
[Boolean]
|
Parameter
|
Description
|
Data Type
|
---|---|---|
--sourceDir,-s
(Required)
|
Root directory of the custom connector project.
|
[String]
|
--targetDir,-t
(Required)
|
ThingWorx Flow installation directory, defaults to C:\ThingWorxOrchestration.
|
[String]
|
--allow_schema_overwrite
|
The flow-deploy tool does not allow overwriting input and output schema properties found in the metadata JSON files of an existing action, connection, and trigger. If this were allowed, any flows that were created using the old schema would break. However, during development, you can overwrite input and output schema properties. Set this flag to overwrite the existing schema with the new schema from the connector project.
|
-
|
Parameter
|
Description
|
Data Type
|
---|---|---|
--sourceDir,-s
(Required)
|
ThingWorx Flow installation directory, defaults to C:\ThingWorxOrchestration.
|
[String]
|
--Database username, -u
(Required)
|
User name for the ThingWorx Flow database.
|
[String]
|
--Database password, -p
(Required)
|
Password for the ThingWorx Flow database.
|
-
|
|
It is recommended that you use the OAuth services in the WorkflowSubsystem in ThingWorx Composer to load or delete OAuths.
|
Parameter
|
Description
|
Data Types
|
---|---|---|
--username,-u
|
ThingWorx administrator user name
|
[String]
|
--password,-p
|
ThingWorx administrator password
|
[String]
|
--app-key,-a
|
ThingWorx application key
|
[String]
|
--twx-url,-t
|
ThingWorx base URL in the https://<hostName:port>/Thingworx format.
|
[String]
|
Parameter
|
Description
|
Data Type
|
---|---|---|
--file, -f
|
Name of the OAuth configuration data file
|
[String]
|
Parameter
|
Description
|
Data Type
|
---|---|---|
--name, -n
(Required)
|
Name of the connector. This name is available in the OAuth configuration file.
|
[String]
|
--title
(Required)
|
Title of the OAuth-provider. This title is available in the OAuth configuration file.
|
[String]
|
Parameter
|
Description
|
Data Types
|
---|---|---|
--username,-u
|
ThingWorx administrator user name
|
[String]
|
--password,-p
|
ThingWorx administrator password
|
[String]
|
--app-key,-a
|
ThingWorx application key
|
[String]
|
--twx-url,-t
|
ThingWorx base URL in the https://<hostName:port>/Thingworx format.
|
[String]
|
--connector,-c
|
Connector name
|
[String]
|
--file,-f
|
Path to connector settings file
|
[String]
|
--systemid,-s
|
Custom System ID
|
[String]
|
--default, -d
|
Default System ID
|
[String]
|
Parameter
|
Description
|
Data Type
|
---|---|---|
--fileId
|
File ID of the file that you want to upload. This name is available in the connector settings definition file.
|
[String]
|
|
Before you execute this command, create a configuration settings JSON file and use the -f parameter to provide the path to this file. If the settings in this file match the schema, the settings are successfully uploaded; otherwise you get an error message that provides the required schema.
|
Parameter
|
Description
|
Data Type
|
---|---|---|
--fileId
|
File ID of the file that you want to upload. This name is available in the connector settings definition file.
|
[String]
|
--contentType
|
Content type of the file.
|
[String]
|