macaw application

cfxDimensions Platform Application Management:

macaw application command provides very comprehensive CLI options to view, provision, de-provision or delete, start or stop application services. Additionally, it allows user to invoke application APIs using this command line. This provides an ability to create automated scripts to provision, de-provision or upgrade application services using Macaw CLI interface.
Below step is a pre-requisite to use macaw application and to execute API calls using CLI.
Run the below command to generate an API key for Platform admin user and the generated API key is stored inside platform.cfg file which will be used while making API calls from CLI.
Use --insecure option as shown below when the cfxDimensions platform is NOT deployed with CA signed certificates. --insecure option works with self-signed certificates which are installed by default during cfxDimensions platform setup and configuration.
1
macaw platform --insecure access-key-gen --user [email protected] --password macaw1234 --store-config
Copied!
1
macaw platform access-key-gen --help
2
3
usage: macaw platform access-key-gen [-h] [--debug] --user USER --password
4
PASSWORD [--store-config]
5
6
optional arguments:
7
-h, --help show this help message and exit
8
--debug Enable debug logs
9
--user USER User for whom the access-key is to be generated
10
--password PASSWORD Password to use for login during access-key generation
11
--store-config Store the generated access key into the platform
12
configuration
Copied!
Below command lists the available published catalog of application blue-prints for cfxDimensions platform.
1
macaw application --insecure catalog
Copied!
macaw application catalog (sample output)
The available application blue-prints for cfxDimensions platform is categorized into 'Groups'. Below are available groups.
  • Production
  • QA
  • Demo (Deprecated)
  • Datasets (Deprecated)
  • Individual Services (Deprecated)
For production deployments, user need to pick the catalog of application blue-prints from Production group. QA group is primarily used for Demos, Release Candidate version or POCs
Below command lists the Production group catalog which has currently available GA (general available) releases for cfxAIA, cfxOIA, cfxGenie and cfxPulse (deprecated) applications.
1
macaw application --insecure catalog --group Production
Copied!
To list the configuration properties of a published blue-print of an application (cfxAIA, cfxOIA, cfxGenie and cfxPulse (deprecated)), execute the below command. It requires blue-print id as an input which can be obtained from above command. (macaw application --insecure catalog)
1
macaw application --insecure show-blueprint <blue-print-id>
Copied!
macaw application show-blueprint (sample output)
Below command shows, currently deployed cfxDimensions applications and their status. It includes application ID, blue-print name, application service name & status and on which service node it is running etc...
1
macaw application --insecure status
Copied!
When multiple cfxDimensions applications are installed, below command can be used to view specific application information. It requires application id as an argument which can be found in 'macaw application status' command output.
1
macaw application --insecure status --app-id <app-id>
Copied!
Below commands can be used to stop or start a specific application service. (It requires application id as an argument which can be found in 'macaw application status' command output.)
1
macaw application --insecure stop <appid>
2
macaw application --insecure start <appid>
Copied!
Below command provide configuration information of a currently deployed cfxDimensions applications. It requires application ID as an argument to show the configuration. (Please refer 'macaw application status' command output.)
1
macaw application --insecure show-config <appid>
Copied!
macaw application show-config (sample output)
To delete/un-install a deployed cfxDimensions application, below command can be executed.
macaw application delete CLI operation is a disruptive operation. It is recommended to take full system backup in Production environment before this command can be executed.
1
macaw application --insecure delete <appid>
Copied!
Copy link