Skip to content

Latest commit

 

History

History
58 lines (49 loc) · 2.43 KB

File metadata and controls

58 lines (49 loc) · 2.43 KB

Local Development

Local Dependencies

After following instructions in Spring Enterprise setup to obtain the JAR.

This will set up the following for you for local development

  • Config Server

    • Config in TAS is created by a Repo backed tile. For local development, included docker-compose.yml will start up an instance of config-server on port 8888.
  • Eureka Server

    • Spring boot apps (Identify, Catalog, Payment, Assist) communicate via TAS service registry. For local development, included docker-compose.yml starts up a local instance of Eureka discovery server on port 8761.
  • Local Tanzu Authorization Server

  • Commercial Spring Cloud Gateway

cd local-development
docker compose -p acme-fitness up -d

Boot up each of the local application following their README

  • acme-cart
    • build local running image
    • local docker compose to run locally
  • acme-catalog
    • local docker compose dependency
    • start locally via gradle wrapper or / IDE (with local active profile)
  • acme-assist
    • local docker compose dependency
    • start locally via maven wrapper / IDE (with local active profile)
  • acme-identity
    • start locally via gradle wrapper or / IDE (with local active profile)
  • acme-payment
    • start locally via gradle wrapper or / IDE (with local property)
  • acme-order
    • local docker compose dependency
    • DotNet run or start via IDE
  • acme-shopping
    • npm install and npm run start

Run E2E Test

Run the Cypress test in the e2e directory.

Local Development Ports

localhost:8080 - acme-shopping - Frontend
localhost:8081 - acme-assist - SpringBoot - AI integtegration
localhost:8082 - acme-catalog - SpringBoot - CrudRepository
localhost:8083 - acme-identity - SpringBoot - Token Resource server
localhost:8084 - acme-payment - SpringBoot -  Service related to checkout
localhost:8085 - acme-cart - Python server -  Service for Management of Cart
localhost:8086 - acme-order - DotNet application
localhost:8090 - spring-cloud-gateway 
localhost:8761 - local discovery server
localhost:8888 - spring local config server 
localhost:9000 - spring local authorization