HGustavs / LenaSYS

Code Viewer and Course Organization System used in some courses at University of Skövde
69 stars 31 forks source link

Some microservices use php includes instead of calling other microservices. #16350

Open HGustavs opened 1 month ago

HGustavs commented 1 month ago

One of the most pervasive issues is the calling of services from other services.

Currently in some places other microservices are not called using for instance a call microservice function or something similar, but called using normal php include statements.

This is not correct, the purpose of having microservices is that we can divide services into smaller microservices that can then be reused.

For instance if we have a courseed service that uses an include to read the data, we want to splut this data retrieval into a micro service that we call normally instead of just including the php file direcftly.

HGustavs commented 1 month ago

Unsure how widespread this practice is.

A reasonable first step would be to investigate and document the size of the problem.

This came up as a non-functional requirement problem at the end of the final presentation last year.

We do not know the size of the problem.