zowe / sample-spring-boot-api-service

Zowe REST API service SDK and sample API service that integrates with Zowe API Mediation Layer
Other
26 stars 18 forks source link

Problems registering Zowe Sample API Service #118

Closed dsegoviaMF closed 3 years ago

dsegoviaMF commented 4 years ago

When we try to register our service in APIML, we have the following EUREKA errors:

image image image image

arxioly commented 4 years ago

Hello,

According to the application code in messages (ZWEASA1) these errors related to Zowe Sample API Service. @plavjanik, @JirkaAichler, @pj892031 could you please look on it?

Thank you.

plavjanik commented 4 years ago

Hello @dsegoviaMF,

based on the messages that you have provided the service tries to register with APIML that is running on localhost host with Discovery Service running on port 10011.

Are you using the https://github.com/zowe/sample-spring-boot-api-service? How did you deploy and configure it to run on z/OS?

If you have used zowe-api-dev config --name zos --parameter port=10180, what is in the application.yml.hbs?

Line 30 (https://github.com/zowe/sample-spring-boot-api-service/blob/master/zowe-rest-api-sample-spring/config/zos/application.yml.hbs#L30) should point to the Zowe discovery service. For example: https://yourHostname: 7553 and keystore.p12 needs to have a server certificate that is trusted by Zowe or Zowe needs to be configured to not validate the certificates of services by using verifyCertificatesOfServices=false in zowe-install.yaml.

Best regards, Petr

jandadav commented 4 years ago

@dsegoviaMF Has Petr's suggestions helped you resolve the problem or are you still facing issues?

plavjanik commented 3 years ago

Hello @dsegoviaMF, do you need any help?

plavjanik commented 3 years ago

Closed because of inactivity. It can be reopened if the problem still occurs.