how to automate the installation of JVMmetric assertions to CA APIGW v9.3 in AWS
book
Article ID: 102914
calendar_today
Updated On:
Products
STARTER PACK-7CA Rapid App SecurityCA API Gateway
Issue/Introduction
currently user has to do the following manually but they want to be able to automate the below. find /opt/SecureSpan -name "*c3p0*.jar" /opt/SecureSpan/Gateway/runtime/lib/c3p0-0.9.1.2.jar /opt/SecureSpan/EnterpriseManager/lib/c3p0-0.9.1.2.jar
Steps to install JVMmetric assertions Note for prior to v9.0 see vendor doc 1. PM >Tasks> Extension and Add-ons > Manage Server Modules Files 2. upload the JvmMetricsAssertion-[version].sjar and name it "JVM Metrics" (without the quotes) 3. service ssg restart 4. PM >Assertions >search: JV, you should now be able to see 'Get JVm Metrics' assertions available for use
Environment
ENV: Gateway 9.3
Resolution
SMFs should be importable with RESTman (see reference in FAQ): https://docops.ca.com/ca-api-gateway/9-3/en/security-configuration-in-policy-manager/tasks-menu-security-options/manage-server-module-files
User needs to post a server module file as a restman payload. Please have them consult the restman docs at /restman/1.0/doc/restDoc.html#1.0/serverModuleFiles They could upload the JVM Metrics assertion to one machine, then export the server module file with restman, then use the entity in that payload to automate installation on other machines. This is fixed via auto-provisioning bundle