No description
Find a file
Kasper van Maasdam 5355ed7c6d Merge branch 'dev' into 'main'
Week 8 merge to main

See merge request cse2115/2023-2024/group-12/team-12a!90
2024-01-18 17:36:29 +01:00
.gitlab Add lab template 2023-11-17 18:19:46 +01:00
config Checkstyle was so outdated my plugin didn't work. This updates it. It is still the default google checkstyle with indentation and linelength changed to be according to the original. 2023-12-03 16:16:11 +01:00
Documents Merge branch 'dev' into 'main' 2024-01-18 17:36:29 +01:00
gradle/wrapper Add lab template 2023-11-17 18:19:46 +01:00
instructions Adds the images used in the readme to the repo. 2024-01-18 16:54:12 +01:00
order-microservice Fixed peak order and popular dishes time bug 2024-01-18 16:26:44 +01:00
.gitattributes Add lab template 2023-11-17 18:19:46 +01:00
.gitignore Orders need an ID as a parameter before to be created, now I have changed it to be created sequentially starting from 1. 2023-12-18 13:06:32 +01:00
.gitlab-ci.yml Remove example-microservice from pipeline too. 2024-01-11 08:32:55 +01:00
gradlew Add lab template 2023-11-17 18:19:46 +01:00
gradlew.bat Add lab template 2023-11-17 18:19:46 +01:00
lombok.config Add lab template 2023-11-17 18:19:46 +01:00
README.md Adds the images used in the readme to the repo. 2024-01-18 16:54:12 +01:00
settings.gradle Renamed the project. 2024-01-11 08:30:00 +01:00

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

How to add dev to your profiles

image1

image2

image3

image4

image5