Skip to content

A container that can easily configure various functions of webmethods-apigateway from environment variable values passed in.

License

Notifications You must be signed in to change notification settings

sag-gov-integration-unit/webmethods-apigateway-configurator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webmethods-apigateway-configurator

A container that can easily configure various functions of SoftwareAG webmethods-apigateway from environment variable values passed in.

As a high level description of how it works, this container strcitly uses REST calls to the SoftwareAG APIGateway System APIs to perform all its functions.

An explanation / walk-through video (10 min) was created to highlight usage: https://youtu.be/M306IGQ-qQ4

Supported Configs / Actions

The following configuration items / actions are currently supported (new functions added as needed)

  • apigateway availability checker (wait for apigateway to be available on target port -- NOTE: this checker is enable on all actions by default)
  • update admin password
  • set/update extended settings
  • set/update external loadbalancer urls
  • set/update cert stores (keystore, truststore)
  • set/update ports (different types - http, https, internal, external)
  • set/update developer portal destination
  • set/update promotion stages
  • set/update SAML configs
  • set/update LDAP configs
  • set/update API Gateway Local auth Server (oAuth, JWT)
  • set event destinations (elastic,apiportal,apigateway,auditlogs,email,jdbc,snmp,des,centrasite,centrasite_snmp)
  • create/update users
  • create/update groups (and assign the users)
  • create/update teams (and assign the groups)
  • import apigateway archive
  • set/update aliases (different types)
  • set/update api metadata (descriptions, grouping, maturity, tags)
  • set/update api plans
  • set/update api packages (and link to plans)
  • set/update api applications (and link to apis)
  • publish apis to developer portal
  • publish api packages to developer portal
  • activate/deactivate apis
  • activate/deactivate applications
  • activate/deactivate packages

Head over to Using/Testing the webmethods-apigateway-configurator for a detail tutorial on how to use the configurator to apply all the supported config items.

Trying the configurator

Head over to Using/Testing the webmethods-apigateway-configurator for a detail tutorial on how to use the configurator to apply all the supported config items.

How it's made

To build on the ansible roles already created for APIGateway, this container also uses Ansible to operate the various actions strictly via REST calls (here, no concept of remoting into the APIGateway container to update files etc...)

For the various REST calls, this project makes use of the existing Ansible roles sagdevops-ansible-apigateway to perform all the needed REST calls to APIGateway.

Building the container image

The image is published on DockerHub at: https://hub.docker.com/r/saggs/webmethods-apigateway-configurator

But if you want to try anbd build it yourself, a simple command is:

docker build -t saggs/webmethods-apigateway-configurator:10.15 .

Authors

Fabien Sanglier

Licensing - Apache-2.0

This project is Licensed under the Apache License, Version 2.0 (the "License"); You may not use this project except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

A container that can easily configure various functions of webmethods-apigateway from environment variable values passed in.

Resources

License

Stars

Watchers

Forks

Packages

No packages published