Third-Floor-CSIS / cs4337-Big-Data-Group

0 stars 1 forks source link

Api gateway services #37

Closed faad555 closed 1 week ago

faad555 commented 3 weeks ago

created three Api-services I followed MVC structure. each have it's controller where we can add deferent actions later example ../profile/view, ../profile/create etc and each service have its own model that have its methods.

M-Byte480 commented 3 weeks ago

I wish the project had a bit more structure as in the microservices: image I am confused on the duplication, and also the apps in the upper half dont seem to read the properties. Is this meant to be a guideline?

Also I am struggling to see where the redirects would occur. Can you post a screenshot or two on what is supposed to happen? For me even though you have 8081 specified, it is not read: image

This is a note for me (and potentially you): https://medium.com/@ankithahjpgowda/api-gateway-in-spring-boot-3ea804003021

M-Byte480 commented 3 weeks ago

I feel like there is a bit of confusion what the API-Gateway is supposed to be doing.

It takes in the request and maps it to the correct Microservice. It is supposed to be an independent API, not a collection of 3 (which is not your responsibility).

M-Byte480 commented 1 week ago

Closed as it is no longer used