openBackhaul / RegistryOffice

Apache License 2.0
2 stars 8 forks source link

integer-profile shall be added for maximumWaitTimeToReceiveOperationKey #570

Closed IswaryaaS closed 1 month ago

IswaryaaS commented 6 months ago

In RegistryOffice, we have /v1/regard-updated-approval-status, in which few callbacks gets triggered after receiving /v1/update-operation-key. In such cases, the service waits till the operation-key for specified operation-client is being received. In order to prevent from infinite waiting of the service, we have a "maximumWaitTimeToReceiveOperationKey" for specifying maximum waiting time. For this purpose, we shall need to include a integer profile as below.

              {
                    "uuid": "ro-2-1-0-integer-p-001",
                    "profile-name": "integer-profile-1-0:PROFILE_NAME_TYPE_INTEGER_PROFILE",
                    "integer-profile-1-0:integer-profile-pac": {
                        "integer-profile-capability": {
                            "integer-name": "maximumWaitTimeToReceiveOperationKey",
                            "unit": "second",
                            "minimum": 60,
                            "maximum": 1800
                        },
                        "integer-profile-configuration": {
                            "integer-value": 600
                        }
                    }
                }
IswaryaaS commented 1 month ago

Closing the issue as the integer-profile for maximumWaitTimeToReceiveOperationKey is already available in config file