Continuous Deployment: Testing Packages in CI/CD Process
After deploying your Martini packages, it's essential to verify their status and ensure they are running correctly. This guide describes how to use the Martini Server Runtime API to test the presence and status of your packages.
Using the Martini Server Runtime API
The Martini Server Runtime API allows you to check the status of your deployed packages. You can perform this check using the API Explorer available at [host]/api-explorer
.
Steps to Test a Package
-
Access API Explorer:
- Open the API Explorer at
[host]/api-explorer
.
- Open the API Explorer at
-
Invoke the GET /esbapi/packages/{name} Operation:
- Use the
GET /esbapi/packages/{name}
operation to retrieve information about the package you want to test. - Replace
{name}
with the name of the package you wish to check.
- Use the
-
Review the Response:
- The response body will provide detailed information about the package. Here is an example of the response format:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
|