-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract a base microservice layer to reuse for all our services #1666
Comments
@humphd, did you plan on updating the image service first with this architecture? |
It might be smart, what do you think? Then others can focus on their service features vs. solving these problems. |
Agreed, plus we can add a base Dockerfile into Logging means getting Kibana configured and in the mix, perhaps exploring https://medium.com/the-sysadmin/visualize-traefik-logs-in-kibana-c53fb2aac070 would be beneficial. I can do that today perhaps so we work in parallel and I submit PRs against your POC again? |
OK, great. I like your idea of always copying the root Yeah, I really want to get Kibana/Elastic/??? tied in with all these services and Traefik so we have visibility into what's happening. #1348 is related. |
I'll start on #1348, based on the work we are doing here |
Finished with https://github.com/Seneca-CDOT/satellite and used in the new image service, see src/api/image. |
In #1636 @raygervais and I have been iterating on our first microservice, a simple image service. As we start to work on other services (#1627) we're going to have to solve the same problems over and over again:
app
I'm sure there's more, and added to this we'll have to maintain versions of all the dependencies.
Let's find a way to write this code once and then use it as a base for all of our apps. I'm imagining something like this:
In
service-1
you'd do something like this:What I'm not sure about is the implications for dockerizing the code when we do this. Probably @raygervais knows how, and can guide us.
I'd love for each service to as simple as possible, and focused on the endpoint requirements alone.
We can probably start this by making the image service in #1636 work this way, then use it in the next services.
The text was updated successfully, but these errors were encountered: