Closed PrathibaJee closed 9 months ago
Forwardings
shall just be executed IF (oldReleaseApplicationName != "OldRelease") AND (HttpClient for oldReleaseApplicationName exists in RO)
Changes required:
Create 2.1.1_spec branch and publish changes into it.
Changed as agreed during call at January 18th, 2024.
Now, we have a new embedding sequence in the RegistryOffice(RO).
If , there is any problem in creating this link , RO => OR://v1/update-client-of-subsequent-release , Then the whole embedding process will be stopped
There are 2 usecases in which we shall not stop the embedding process and proceed further even if there is a failure in the above mentioned step.
Usecase#1 : If the registered application is the very first version and don’t have a previous version , then, the application-name of the old-release is OldRelease.
So, the response of the /v1/inform-about-preceding-release will be something like this ,
In RO’s configuration , a http-client instance with application-name=”OldRelease” shall not be found , which result in the failure of the forwarding ApprovingApplicationCausesPreparingTheEmbedding.CreateLinkToUpdateNewReleaseClient.
Usecase#2 : Lets say , for some reason , if the old version of an application is completly removed from the ApplicationLayer , then the detail of that old application will not be available in the RegistryOffice.
In such case also , RO shall not able to identify the http-client of the old version which result in the failure of the forwarding ApprovingApplicationCausesPreparingTheEmbedding.CreateLinkToUpdateNewReleaseClient.
Proposal : In case , if the http-instance of the old version of an application is not found in the RegistryOffice’s configuration file , then, RegistryOffice shall skip processing this forwarding ApprovingApplicationCausesPreparingTheEmbedding.CreateLinkToUpdateNewReleaseClient.