This repository provides multiple example usecases for SAG webMethods API Gateway. The repo uses the docker images from SAG, available on Software AG's Docker Repo.
It is expected that Docker, Python, npm and newman (via npm) are installed on your system.
Docker images required:
- sagcr.azurecr.io/apigateway:10.11
- jboss/keycloak
The repo can be used by running the docker-compose file via commandline:
docker compose up -d
Once Docker is started and you pulled the corresponding images, you can run the run_docker_gw.py file using the following syntax:
python run_docker_gw.py {example_name}
The currently available {example_name} are given when entering a wrong {example_name}.
List of available examples:
- [empty] or default - imports all available examples
- keycloak
- data_masking
- context_routing
- dynamic_routing
- websocket
- api_mashup
- client_cert
If you didn't change any configurations in the YML-files, you can access the products on the following ports:
Product | Port |
---|---|
API GW 1 | 9072 |
IS 1 - HTTP | 5555 |
IS 1 - HTTPS | 5543 |
API GW 2 | 19072 |
IS 2 - HTTP | 15555 |
Keycloak | 8080 |
API Portal | 18101 |