No description
|
||
---|---|---|
.gitlab | ||
config | ||
Documents | ||
gradle/wrapper | ||
instructions | ||
order-microservice | ||
.gitattributes | ||
.gitignore | ||
.gitlab-ci.yml | ||
gradlew | ||
gradlew.bat | ||
lombok.config | ||
README.md | ||
settings.gradle |
Note on mocking the responses to other microservices
For the implementation of mocked services to be injected, you need to use a dev
profile in the run configuration. Those mocked services retrun hard coded values when calling endpoints such as "parseRole" of other microservices in order to facilitate testing through postman.
For example, we have the following
- customerIds: 1, 2, 3, 4
- vendorIds: 5, 6, 7, 8
- adminId: 9