Skip to main content
gries's user avatar
gries's user avatar
gries's user avatar
gries
  • Member for 8 years, 7 months
  • Last seen more than a month ago
revised
Loading…
comment
How to test a service that only connects other services
hi I don't know why you and others in the comments think its about microservices, its about a service class I never mentioned microservices
comment
How to test a service that only connects other services
so @RikD your suggestion is to just copy the three lines of code in this service to several different places where this sync should be triggerd OR implement a pub/sub queue ?
awarded
comment
How to test a service that only connects other services
so please explain to me how putting all three steps that are completely different tasks into one class would help me in unit testing the code? I'd have a dependency to a persistence layer, a dependecy to an async queue that would not make writing tests any easier also that has nothing todo with microservices
comment
How to test a service that only connects other services
I have multiple occasions where I want to trigger the three steps described above and I dont want to duplicate the three steps
revised
Loading…
Loading…
awarded
revised
Loading…
awarded
awarded
awarded
awarded
comment
Should Micro services talk to the monolith that they where extracted from?
Hi thanks for the clarification. I don't think it's irrelevant, that's why I'm asking for bad practices and not hard limits. Of course it has to be done, but if this creates a larger amount of technical dept it can influence the decision to extract related services earlier to avoid this technical dept that accumulates.
comment
comment
Loading…