Compile the agent plugin
After you complete your implementation, compile all your classes into a single JAR file. The agent loads this JAR as a plugin at runtime.
Prerequisites
GatewayManagerimplemented andMETA-INF/servicesfile created (see Implement GatewayManager)- Java build tooling configured (Maven, Gradle, or the
jarCLI tool)
Compile the JAR
-
Build your project to produce a JAR file containing all your implementation classes.
For instructions on building a JAR, see the Oracle Java documentation.
-
Verify that the
META-INF/services/com.boomi.controlplane.agent.api.GatewayManagerfile is present inside the JAR. If it is missing, the agent cannot load your plugin. -
Record the directory path to your JAR file. You will need it when you register your gateway in API Control Plane.
Was this topic helpful?