How to properly document your system integrations?

5362 read •  •  Posted in  •  Share


If after the endless meeting with the final users related to new system integration requirements, the business analyst, developers and testers only have paragraphs of information in a word as deliverable, this post is for you.

I will show you how to document and conduce the integration to the system events with the aim to have a readable and measurable list or backlog ready to be designed and implemented.

The problem

System integrations inside of a company are so important to reduce the user manually tasks or time required to complete some business process. Design and develop system integrations are not like the common requirements : web form or rest apis developments.

And summing to that if the system integration requirements are not well understood or correctly explained and argued to the final user, the only way is to implement a P2P (point to point) or request driven integration which is the most common and easy to develop but is a double-edged sword.

The requirement

Let’s imagine this current workflow:

For any new employee in the HR system:

The user exports and excel and share to some IT guy who loads the an excel to the Google Cloud Directory

And then for each employee which is a developer, an account should be created manually in github

What does the user need?

SO after the endless meetings, the analyst team should deliver some kind of document with the landed requirements to the development team. So that’s the question? How to map properly and intuitively the required integrations

Drive the integrations to a system events

I got the idea from here: https://tyk.io/blog/api-design-methodologies/

and I complemented with a developed platform called “Eventhos” which I will talk about in another post.

Basically is a simple matrix:

This may seem simple, repetitive, or even a waste of time, but it is very helpful to estimate the development and to implement the integration driven to an events, not a p2p or request driven

How to map the internal conditionals

Each row of the previous matrix will be an integration, but How can we map properly the internal flows or conditionals of each integration?

A simple flow chart and UML comes to our rescue:

  • Flow chart
  • Sequence diagram

If someone clap me, I will share my Plantuml templates

Flow chart

Describes the logic required in this integration

In the used example, the conditional to create a github account will be:

If the employee is a software developer

Sequence Diagram

This diagram represents the interaction between objects, components, artifact, etc over a specific period of time for this specific integration

Lecture and image References

  • Front page initially image from : https://www.janbasktraining.com/blog/business-analysis-documentation/
  • https://tyk.io/blog/api-design-methodologies/
  • https://www.youtube.com/watch?v=WeEyg9QCeC0
  • https://workspaceupdates.googleblog.com/2021/12/
  • https://beyondplm.com/2015/06/18/how-plm-can-avoid-cloud-integration-spaghetti/

Conclusion

If your analyst team is able to create the proposed matrix and for each row the respective flow chart and sequence diagram, before the development, I guarantee you that your developers will thank you because everything is well defined without a chance of doubts before to start the source code.

Also if you choose an event drive integration instead of p2p or request driven, your architecture will grow orderly, easy to maintain avoiding the so terrifying spaghetti integration

In the next post I will talk about my own event driven platform and how it could help you to avoid the spaghetti integration


Until the next,
JRichardsz

JRichardszs-signature