POST Peer Entity with permitted authorization scope
[Documentation]Test ID: 8.3.1.8.19
...Test title: POST Peer Entity with permitted authorization scope
...Test objective: The objective is to create in the producer NFV-MANO functional entity a new peer entity resource with permitted authorization scope.
...Pre-conditions: none
...Reference: clause 5.5.13.3.1 - ETSI GS NFV-SOL 009 [7] v4.5.1
...Config ID: Config_prod_NFV-MANO
...Applicability: none
...Post-Conditions: Peer Entity is created
Send Post request for Peer Entity with permitted authorization scope
Check HTTP Response Status Code Is201
Check HTTP Response Body Json Schema IsPeerEntity
Check HTTP Response Header Contains Location
Check Postcondition Peer Entity Resource is created
POST Peer Entity with not permitted authorization scope
[Documentation]Test ID: 8.3.1.8.20
...Test title: POST Peer Entity with not permitted authorization scope
...Test objective: The objective is to test that creation in the producer NFV-MANO functional entity of a new peer entity resource fails with not permitted authorization scope.
...Pre-conditions: none
...Reference: clause 5.5.13.3.1 - ETSI GS NFV-SOL 009 [7] v4.5.1
...Config ID: Config_prod_NFV-MANO
...Applicability: none
...Post-Conditions: Peer Entity is created
Send Post request for Peer Entity with not permitted authorization scope
Check HTTP Response Status Code Is201
Check HTTP Response Body Json Schema IsPeerEntity
Check HTTP Response Header Contains Location
Check Postcondition Peer Entity Resource is created