Goal:
Trying to integrate the JCLCheck REST API with Zowe API Mediation Layer.
Issue:
When verifying the connection with the API Mediation Layer in the JCLCheck REST Server log, the IP address in API ML section is not the one specified in the JCLCheck YAML file.
API ML configuration in the jclcheck.yml file:
The JCLCheck REST Server log section "Registering to API Mediation Layer" shows:
Release : 12.0
Product: JCLCheck Workload Automation
Component : JCLCheck REST API
Indentation is important in the YAML files. In this case, all the properties under service need to be indented as follows:
apiml:
enabled: true
service:
hostname: <hostname>
ipAddress: ###.#.#.#
discoveryServiceUrls:
- https://<hostname>:nnnnn/eureka
Reference:
Integrate the REST API with API Mediation Layer