davpin / cf-SpringBootTrader

Microservice version of the Spring Trader app using Spring Boot and Spring Cloud.
Apache License 2.0
104 stars 105 forks source link

Some micro services don't run locally. #1

Closed davpin closed 9 years ago

davpin commented 9 years ago

Some micro services cannot run locally, any that depend on user-provided services. The services use spring cloud connectors to know about each other and only the cloud foundry connectors have been implemented.

davpin commented 9 years ago

A few issues is: connectorCreators only defined for CloudFoundry, only default profile, manifest files with no spring profile defined, etc

davpin commented 9 years ago

Fixed this issue. Current default profile is "local" which requires some variables to be set and environment level. All these variables are defined in the application.yml files for each service. Each service has a different server.port number so they can be ran on same host.