2 ms·
> My point is that one microservice cannot easily generate links for another. Right, if these are all REST services, then one service should not be generating
by naasking 5y ago
> My point is that one microservice cannot easily generate links for another.
Right, if these are all REST services, then one service should not be generating links for another, it should be obtaining those links from the service itself.
> How does the customer microservice (that wants to be hypermediaful), generate a deep link into the order microservice, e.g perhaps to obtain the latest order for a customer?
It asks the service for a link via a call to a link it obtained from the service's stable entry point. Pretty standard stuff when you're reasoning about encapsulated systems.