Skip to content

n-ablePrivateLimitedColomboSriLanka/apic-ci-scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Toolkit Scripts

change-owner folder:

  • Change the owner of an Organization, Catalog or Space. IBM API Connect v10 web UI contains these functions.

Docs

hybrid-gwy

  • Hybrid Gateways contains the document and supporting scripts to set up a hybrid API Gateway. The scripts will be useful for DevOps oriented IBM clients. The scripts were verified on IBM API Connect (k8s) v10.0.3.

Governance & DevOps

bash and batch folders:

The scripts demonstrate the use of the toolkit commands to build and remove API Connect artifacts. These files must be executed in the order listed below.

  • bash scripts run in a Unix/Linux/Cygwyn bash shell
  • batch scripts run in a Windows command shell.

In each directory, there are two yaml files which define an API and Product, and a txt file with configuration information to create a Provider Organization admin user. Each script takes the host address of the APIC CMC instance as the first command line argument. The doapic-org script takes a second argument, the CMC admin user password.

doapic-org:

  • Create a Provider Organization admin user
  • Create a Provider Organization
  • Configure the default sandbox catalog to use one or more gateways

doapic-prod:

  • Create draft APIs and Products
  • Publish Products
  • Replace an existing published product with a new version
  • Delete a product

doapic-consumer:

  • Create a Consumer Organization admin user
  • Create a Consumer Organization
  • Create a new consumer app
  • Subscribe the new app to an existing published product

doapic-manprod:

  • Stages a new product version
  • Supercedes the existing published product with the new one
  • Configures subscription migration
  • Migrates existing subscriptions from the old product to the new product

For convenience, two files undo the work performed by the others.

undoapic-consumer:

  • Deletes the consumer app, thus breaking subscriptions
  • Deletes the Consumer Organization
  • Deletes the Consumer Organization admin user from the user registry

undoapic-org:

  • Deletes all published products
  • Deletes the Provider Organization, thus deleting the associated catalog
  • Deletes the Provider Organization admin user from the user registry

Obtaining the v2018 toolkit

The scripts in bash and batch folders were developed on API Connect v2018. Please see Working with the toolkit for information about downloading and using the toolkit.

About

Create and manage organizations, users, apps, products and APIs with these scripts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%