1.1.0 • Published 2 years ago

anypoint-platform-automation v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

anypoint-platform-automation

Interact with anypoint platform via Anypoint Platform API

oclif Version CircleCI Downloads/week License

Usage

$ npm install -g anypoint-platform-automation
$ apauto COMMAND
running command...
$ apauto (-v|--version|version)
anypoint-platform-automation/1.1.0 win32-x64 node-v16.13.0
$ apauto --help [COMMAND]
USAGE
  $ apauto COMMAND
...

Commands

apauto create

Create list of target asset

USAGE
  $ apauto create

DESCRIPTION
  ...
  User can choose to create Applications, APIs or Anypoint MQs

See code: src/commands/create.js

apauto delete

Delete list of chosen asset

USAGE
  $ apauto delete

OPTIONS
  -a, --all  Delete all asset from config file of the chosen asset type

DESCRIPTION
  ...
  User can select to delete API, Application or Anypoint MQ

See code: src/commands/delete.js

apauto get

Get list of chosen asset

USAGE
  $ apauto get

DESCRIPTION
  ...
  User can select to get API, Application or AnypointMQ

See code: src/commands/get.js

apauto help [COMMAND]

display help for apauto

USAGE
  $ apauto help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

Samples and Notes

Sample of yaml file

Check sample.yaml file to be used as main settings for Create, Update actions

Deploy new applications

  • Each application needs a jar file for deployment. The file need to be in same folder with the yaml file
  • Settings part corresponds to the appInfoJson of multipart/form-data body as described here CloudhubAPI-Create-Application