Register into Service Discovery

Service discovery

IndustryApps use Netflix Eureka as the service discovery system

Option 1: Eureka Rest Operations

You can use Eureka REST operations as given here https://github.com/Netflix/eureka/wiki/Eureka-REST-operations in your app

Please go through "Keep your application sync with application registry"

Option 2: Pre-built side car

You can download a pre-built side car from below

java -jar discoveryClientSideCar-1.0.0.jar --appCode=<<Application Code>> --statusPageUrl=https://484c-14-142-179-182.ngrok.io/ --hostname=484c-14-142-179-182.ngrok.io

appCode is your App Code as we noted previously

statusPageUrl is your app’s landing page URL / URL for status check

Hostname is your hostname running your app

Please refer below screenshots for executing sidecar

After register using sidecar you will be getting registration status as 204

After service registry IndustryApp platform can show new app inside Platform

You can check the status of your app using the following URL https://servicediscovery.uat.industryapps.net/eureka/apps/<your_app_code>

Check Status is "UP"

Last updated