Wie gehe ich mit instabilen Schnittstellen (in Bezug auf die Spezifikation) um?

Ist die Schnittstelle instabil (wird also oft geändert), dann muss ich zusehen, dass der Service, den ich in meinem Programm aufrufe, so globale Informationen wie möglich übergeben bekommt, damit ich möglichst alle in Zukunft nötigen Daten nachladen kann.

Ein konkretes Beispiel: ich übergeben die Vertrags-Id und nicht nur die Vertragsposition-Id, die eigentlich im Augenblick ausreichende Informationen liefern würde.

Damit muss ich dann nicht jedesmal die aufrufenden Services mit anpassen. Die Anpassung beschränkt sich dann auf den Service, der die Schnittstelle benutzt.

Post new comment

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post PHP code. You should include <?php ?> tags.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Images can be added to this post.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.