https://github.com/johnpcarter/e2eapigatewayagent
https://github.com/johnpcarter/e2eapigatewayagent
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/johnpcarter/e2eapigatewayagent
- Owner: johnpcarter
- Created: 2021-07-07T18:06:47.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-19T13:02:07.000Z (over 4 years ago)
- Last Synced: 2025-11-09T02:36:51.339Z (8 months ago)
- Language: Java
- Size: 25.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## e2e Agent for API Gateway
Example project to showcase e2e tracing from API Gateway.
source code is under /src/com/softwareag/e2e/agent/api/
All other classes are clones from the UHM project and are here only for research purposes and not used.
# Setup
Install the WmE2eAPIAgent from ./build/source/packages to the packages directory of your integration Server that includes the API Gateway.
Add the following lines to your /profiles/IS_Default/configuration/custom_wrapper.conf
```
wrapper.java.additional.505=-Xbootclasspath/a:/opt/softwareag/IntegrationServer/instances/default/packages/WmE2eAPIAgent/resources/uhm-apm-agent.jar:"%JAVA_BOOT_CLASSPATH%"
wrapper.java.additional.510=-javaagent:/opt/softwareag/IntegrationServer/instances/default/packages/WmE2eAPIAgent/resources/uhm-apm-agent.jar
```
Make sure to update the path to reflect your installation.
You will need to move a jar file so that agent can access the API Gateway objects.
```
$ cd /opt/softwareag/IntegrationServer/instances/default/packages/WmAPIGateway/code/jars
$ mv apigateway-runtime-base.jar static
```
Update the back-end server in the file
```
/opt/softwareag/IntegrationServer/instances/default/packages/WmE2eAPIAgent/resources/config/agent.config
```
Then restart your server.
# Usage
Add a tag "e2e" to your API.
