openBackhaul / TypeApprovalRegister

Administrates the list of approvals of Applications.
Apache License 2.0
1 stars 8 forks source link

To include GENERIC_RESPONSE_PROFILE instance for the release "2.1.1" #372

Closed PrathibaJee closed 1 month ago

PrathibaJee commented 1 month ago

For each entry in the release history list in the http-server-capability , there will be a GENERIC_RESPONSE_PROFILE for the API /v1/inform-about-release-history-in-generic-representation , In the current config file , for release "2.1.1" , the GENERIC_RESPONSE_PROFILE entry is missing. Proposing to include the following GENERIC_RESPONSE_PROFILE instance(that points to the 2nd index of the release-history array)

 {
                    "uuid": "tar-2-1-0-response-p-010",
                    "profile-name": "response-profile-1-0:PROFILE_NAME_TYPE_GENERIC_RESPONSE_PROFILE",
                    "response-profile-1-0:response-profile-pac": {
                        "response-profile-capability": {
                            "operation-name": "/v1/inform-about-release-history-in-generic-representation",
                            "field-name": {
                                "field-name-reference": "/core-model-1-4:control-construct/logical-termination-point=tar-2-1-0-http-s-000/layer-protocol=0/http-server-interface-1-0:http-server-interface-pac/http-server-interface-capability/release-list=2/release-number"
                            },
                            "description": "List of release numbers and changes",
                            "datatype": "string"
                        },
                        "response-profile-configuration": {
                            "value": {
                                "value-reference": "/core-model-1-4:control-construct/logical-termination-point=tar-2-1-0-http-s-000/layer-protocol=0/http-server-interface-1-0:http-server-interface-pac/http-server-interface-capability/release-list=2/changes"
                            }
                        }
                    }
                }

Note : This issues is not blocking. Fixed this in the server side in this issue https://github.com/openBackhaul/TypeApprovalRegister/issues/358.

openBackhaul commented 1 month ago

Covered in pull-request #386