Skip to content

sharmatanish14/microservices_ecommerce

Repository files navigation

microservices_ecommerce

Get the eureka server at localhost:8761

if server.port=0 spring initialize application at random port Allow to run multiple instances of application in Intellij

  1. vault server -dev
  2. vault kv put secret/order-service @order-service.json
  3. vault kv put secret/product-service @product-service.json
  4. vault kv get secret/order-service

Change spring.cloud.vault.token property in product-service and order-service as per your machine

To run rabbit mq on docker run below command

docker run -d -p 5672:5672 -p 15672:15672 --name my-rabbit rabbitmq:3-management

You can access RabbitMQ dashboard at http://localhost:15672 user username and password as guest

Keycloak start: standalone.bat -Djboss.http.port=8180

To resolve html login form from resource server first hit the localhost:8080 and after successful login pass new header Cookie: SESSION=session_id in postman header

For viewing dashboard:

  1. Vault : http://localhost:8200
  2. Eureka server : http://localhost:8761
  3. RabbitMQ: http://localhost:15672
  4. Keycloak : http://localhost:8180

Open application in below order :

  1. configuration-server
  2. discovery-server
  3. api-gateway-service
  4. order-service
  5. product-service
  6. inventory-service

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages