The ft_create_default_promotes script is used to create default promotes for a Fluid Topics project.
Command template:
ft_create_default_promotes -t $TENANT_ID -u $TENANT_URL [-H $BACK_OFFICE_HOSTNAME] [-https] [--port $WEBSERVER_PORT] [--ws-login WS_LOGIN] [--ws-password [WS_PASSWORD]] [--api-key API_KEY] [-v] [-h]
Command example:
ft_create_default_promotes -t myFluidTopics -u https://myFluidTopics.com -H Fluid_BackOffice --ws-login mylogin --ws-password mypassword
Command arguments:
- -t: Expects the ID of the tenant. It corresponds to the name given to the tenant configuration directory. It is case-sensitive. Can also be written --tenant-id.
- -u: Expects the full URL of the Fluid Topics tenant. Can also be written --url.
- -H: Expects the hostname of the Back Office server ("localhost" by default if the command is run on the server hosting the Back Office environment). Can also be written --host.
- --ws-login: Expects the login of the user authorized to launch the web service (by default, "antidot").
- --ws-password: Expects the password of the user authorized to launch the web service (by default, it is the default password of the "antidot" Back Office user).
- -https: Enables the use of HTTPS protocol. Can also be written --secure.
- --port: Expects the port number used to access the Back Office server.
- --api-key: Expects the API key of the Back Office user.
- -h: Displays the help and lists all available optional arguments for the command. Can also be written --help.
- -v: Activates verbose mode. Can also be written --verbose.
The script is available in the antidot-fluidtopics-reply package.