An open API service indexing awesome lists of open source software.

https://github.com/johnpcarter/e2eapigatewayagent


https://github.com/johnpcarter/e2eapigatewayagent

Last synced: 22 days ago
JSON representation

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.

![Skywalking trace](skywalking-trace.png)