-
Notifications
You must be signed in to change notification settings - Fork 2
Home
-
Run Eureka Server http://localhost:8761
-
Run Account Create Service with multiple instance as below:
java -jar -Dserver.port=8080 account-create-service-0.0.1-SNAPSHOT.jar
java -jar -Dserver.port=8081 account-create-service-0.0.1-SNAPSHOT.jar
-
Run Notification Service with multiple instance as below:
java -jar -Dserver.port=8082 notification-service-0.0.1-SNAPSHOT.jar
java -jar -Dserver.port=8083 notification-service-0.0.1-SNAPSHOT.jar
-
Run zuul gateway http://Dynamic IP ADDRESS:8762
-
Check Account Create Service,Notification Service, zuul gateway are registered with Eureka Server or not.
-
Call user registration api via zuul gateway URL: http://Dynamic IP ADDRESS:8762/registration/user/createAccount
Method: POST
Content-Type: application/json
Body:{ "firstName":"Piyush", "lastName":"Chaudhari", "email":"[email protected]", "password":"XXX", "age":25 }