Monday, 2 October 2017

[question] Data-contracts between two (or more services)?

For instance: my queue listener expects a message to have client.contactInformation.firstNameand it will send a message that has the inbound message plus client.contactInformation.unsubscribed. Etc. There are many of these fields.We have many of these services; they all take in a message, modify it then send it to someone else.Question is: how can I centrally store a list of "this service takes in this message 'shape' and outputs this other message 'shape'" so that other services will know what my messages look like and, more importantly, will be able to go to one place to get a diff of changes to that contract?I feel like I need some sort of central contract library that all services can pull in and validate all inbound messages against. Surely something like this exists; I'm not sure how to find it though.

Submitted October 02, 2017 at 06:38PM by jdub_pdx

No comments:

Post a Comment