-
Notifications
You must be signed in to change notification settings - Fork 69
Create ApiMediationClient.isRegistered Interface #762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create ApiMediationClient.isRegistered Interface #762
Conversation
Uses EurekaClient.getInstanceRemoteStatus to test for registration with the Discovery Service. Signed-off-by: Carson Cook <carson.cook@ibm.com>
Creates a new endpoint to test registration to the Discovery Service via the API Mediation Client. Signed-off-by: Carson Cook <carson.cook@ibm.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>
…ok/isEurekaRegisteredWithDiscoveryInterface
…e' of github.com:CarsonCook/api-layer into user/carsoncook/isEurekaRegisteredWithDiscoveryInterface
…e' of github.com:CarsonCook/api-layer into user/carsoncook/isEurekaRegisteredWithDiscoveryInterface
Signed-off-by: Carson Cook <carson.cook@ibm.com>
…e' of github.com:CarsonCook/api-layer into user/carsoncook/isEurekaRegisteredWithDiscoveryInterface
Signed-off-by: Carson Cook <carson.cook@ibm.com>
|
Can you please fix the sonar smells? We try to minimize those. |
|
Hi Carson, I am looking at the test you wrote to discoverable client. Am i correct to understand that you are trying to spin another Eureka client instance within Discoverable client and connect and disconnect it? |
Yes, the new endpoint has a separate Eureka instance within Discoverable client and registers a different dummy service, then un-registers it. |
discoverable-client/src/main/java/org/zowe/apiml/client/service/ApiMediationClientService.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Carson Cook <carson.cook@ibm.com>
Signed-off-by: Carson Cook <carson.cook@ibm.com>
…ok/isEurekaRegisteredWithDiscoveryInterface
…e' of github.com:CarsonCook/api-layer into user/carsoncook/isEurekaRegisteredWithDiscoveryInterface
|
Kudos, SonarCloud Quality Gate passed!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Carson!
Description
Creates ApiMediationClient.isRegistered method that allows for extending code to test for successful registration with the Discovery Service.
Fixes #307
Type of change
Please delete options that are not relevant.
Checklist:
For more details about how should the code look like read the Contributing guideline