openBackhaul / AdministratorAdministration

Administrates the list of administrators of the application layer.
Apache License 2.0
5 stars 8 forks source link

Request to add description of call backs that ends subscription of old release, if new-application is of same release and same application name for /v1/bequeath-your-data-and-die service #232

Closed vanithavalluripalli9 closed 1 year ago

vanithavalluripalli9 commented 1 year ago

Problem Description:

Scenario : Same Release of application but deployed in different address and port.

When a same release but deployed in different address and port of existing application is registered , it will update the http-c , tcp-c of old Release in config file of New application with the preceding application information provided in request body.

Once the application is approved and receives “embed-yourself” , a callback will be triggered to the old application’s “/v1/bequeath-your-data-and-die” .

When /v1/bequeath-your-data-and-die is executed,it will update the NewRelease http-c,tcp-c with the new application details.

Then during series of call backs following callbacks should not be sent

PromptForBequeathingDataCausesRObeingRequestedToStopNotificationsToOldRelease promptForBequeathingDataCausesRequestForDeregisteringOfOldRelease As, it will lead to end of subscriptions of same application .

Solution:

To add description for callbacks mentioned below :

As ,

Call back will not be sent, if new-application-name == application name in -http-s-000 and new-application-address == address in -http-s-000

vanithavalluripalli9 commented 1 year ago

Closing the issue , based on the decision made in the issue https://github.com/openBackhaul/ExecutionAndTraceLog/issues/260