openBackhaul / RegistryOffice

Apache License 2.0
2 stars 8 forks source link

/v1/deregister-application does not remove preceeding-application-information in application-data.json file #415

Closed IswaryaaS closed 1 year ago

IswaryaaS commented 1 year ago

While triggering /v1/deregister-application of an application, it is expected to remove all information of that particular application from the application which includes application-data as well.

In application-data, we have two objects like preceding-application-information and application-registration-time. During application registration, both object will be created for the application.

When getting deregistered, application-registration-time is correctly getting removed but not preceding-application-information. preceding-application-information needs to be removed as it wont be necessary any further.