[TEST] Do not use VID API in pnf-registrate test 29/124829/3 1.9.0
authorKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Tue, 12 Oct 2021 08:07:13 +0000 (10:07 +0200)
committerMichal Jagiello <michal.jagiello@t-mobile.pl>
Tue, 12 Oct 2021 08:43:24 +0000 (08:43 +0000)
Since VID is not supported in the pnf-registrate test we should not use its API

Issue-ID: TEST-364
Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Change-Id: Ia8976592b34d25ab286a6b0236ef3d27602ecde5

robot/resources/demo_preload.robot

index 3f5100b..9137ac0 100644 (file)
@@ -34,25 +34,9 @@ ${VPKG_MODULE_LABEL}    base_vpkg
 Load Customer And Models
     [Documentation]   Use ONAP to Orchestrate a service.
     [Arguments]    ${customer_name}
-    Load OwningEntity  lineOfBusiness  LOB-${customer_name}
-    Load OwningEntity  platform  Platform-${customer_name}
-    Load OwningEntity  project  Project-${customer_name}
-    Load OwningEntity  owningEntity  OE-${customer_name}
     Load Customer  ${customer_name}
     Load Models  ${customer_name}
 
-Load OwningEntity
-    [Documentation]   Use ONAP to Orchestrate a service.
-    [Arguments]    ${parameter}   ${name}
-    ${data_path}=  Set Variable  /maintenance/category_parameter/${parameter}
-    ${vid_data}=  Set Variable  {"options":["${name}"]}
-    ${auth}=  Create List  ${GLOBAL_VID_USERNAME}    ${GLOBAL_VID_PASSWORD}
-    Log    Creating session ${data_path}
-    ${session}=    Create Session       vid    ${VID_ENDPOINT}${VID_ENV}     auth=${auth}
-    ${uuid}=    Generate UUID4
-    ${headers}=  Create Dictionary     Accept=application/json    Content-Type=application/json    USER_ID=${GLOBAL_VID_USERNAME}    X-TransactionId=${GLOBAL_APPLICATION_ID}-${uuid}    X-FromAppId=${GLOBAL_APPLICATION_ID}
-    ${resp}=   Post Request    vid     ${data_path}   data=${vid_data}    headers=${headers}
-
 Load Customer
     [Documentation]   Use ONAP to Orchestrate a service.
     [Arguments]    ${customer_name}