Skip to content

SoftwareAG/sagdevops-ansible-apigateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sagdevops-ansible-apigateway

Ansible roles specific to webMethods APIGateway

Roles:

  • apigateway-files-configurator
    • These are configuration tasks that modify the files on webMethods APIGateway server(s) (and as such, these tasks must be run on the target APIGateway servers)
  • apigateway-rest-configurator
    • These are configuration tasks that strictly leverage the REST APIs provided by webMethods APIGateway (and as such, these tasks can be run from anywhere with network access to the target webMethods APIGateway REST endpoints)

Note: For a sample Infrastructure-as-Code (IaC) project that leverages these roles, head on over to webmethods-ansible-api-gateway, maintained by SoftwareAG Government Solutions's

Authors

Fabien Sanglier

Project dependencies:

Some of the tasks in these roles will have dependencies on roles defined in sagdevops-ansible-common-utils As such, make sure to include sagdevops-ansible-common-utils in your automation solution.

Role: apigateway-files-configurator

Documentation Details TBD

Role: apigateway-rest-configurator

Documentation Details TBD

Using Containers

Building the containers

To build containers for the configurators

First set some environment variables to specify the build arguments:

export REG=
export TAG=0.0.1
export SAGDEVOPS_BASE_ANSIBLE=${REG}sagdevops-ansible-common-utils:0.0.1

Then, build the configurators by running:

docker build --rm -f Dockerfile.rest -t ${REG}apigateway-rest-configurator:${TAG} --build-arg BASE_ANSIBLE_IMAGE=${SAGDEVOPS_BASE_ANSIBLE} .

docker build --rm -f Dockerfile.files -t ${REG}apigateway-files-configurator:${TAG} --build-arg BASE_ANSIBLE_IMAGE=${SAGDEVOPS_BASE_ANSIBLE} .

This will create 2 containers:

  • ${REG}apigateway-rest-configurator:${TAG}
  • ${REG}apigateway-rest-configurator:${TAG}

Testing validity of the containers

Test apigateway-rest-configurator:

docker run ${REG}apigateway-rest-configurator:${TAG} ping.yml

Test apigateway-files-configurator:

docker run ${REG}apigateway-files-configurator:${TAG} ping.yml

These tools are provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.


For more information you can Ask a Question in the TECHcommunity Forums.

You can find additional information in the Software AG TECHcommunity.


Contact us at TECHcommunity if you have any questions.