Disable Individual Network Service Descriptor issue 2.6.1-fix-plu
Disable Individual Network Service Descriptor
[Documentation] Test ID: 5.3.1.2.3
... Test title: Disable Individual Network Service Descriptor
... Test objective: The objective is to test the disabling of an individual Network Service Descriptor and perform a JSON schema and content validation of the collected data structure
... Pre-conditions: One or more Network Service Descriptors are onboarded in the NFVO in enabled operational state.
... Reference: Clause 5.4.3.3.4 - ETSI GS NFV-SOL 005 [3] v2.6.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The Network Service Descriptor is in operational state DISABLED and usage state is not modified
Send PATCH to disable Individual Network Service Descriptor
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is NsdInfoModification
Check Postcondition Network Service Descriptor is in operational state DISABLED
Check Postcondition Network Service Descriptor usage state is unmodified (Implicit)
Between these 2 lines: Check Postcondition Network Service Descriptor is in operational state DISABLED Check Postcondition Network Service Descriptor usage state is unmodified (Implicit)
There should be an intermediary GET Request querying the ns descriptor with that id, otherwise in the primitive method "Check Postcondition Network Service Descriptor usage state " evaluation is applied on the previous response object witch is NsdInfoModifications type and not NsdInfo type.
Suggested fix: Check Postcondition Network Service Descriptor is in operational state DISABLED GET Individual Network Service Descriptor Information Check Postcondition Network Service Descriptor usage state is unmodified (Implicit)