Release image version 1.12.2
[testsuite.git] / robot / resources / demo_preload.robot
index 3f5100b..f2bba38 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}
@@ -184,18 +168,6 @@ Get Persona Model Id
     ${persona_model_id}=   Get From DIctionary   ${resp.json()['service-instance'][0]}    model-invariant-id
     [Return]   ${persona_model_id}
 
-APPC Mount Point
-    [Arguments]   ${vf_module_name}
-    Run Openstack Auth Request    auth
-    ${status}   ${stack_info}=   Run Keyword and Ignore Error    Wait for Stack to Be Deployed    auth    ${vf_module_name}   timeout=120s
-    Run Keyword if   '${status}' == 'FAIL'   FAIL   ${vf_module_name} Stack is not found
-    ${stack_id}=    Get From Dictionary    ${stack_info}    id
-    ${server_list}=    Get Openstack Servers    auth
-    ${vpg_name_0}=    Get From Dictionary    ${stack_info}    vpg_name_0
-    ${vnf_id}=    Get From Dictionary    ${stack_info}    vnf_id
-    ${vpg_public_ip}=    Get Server Ip    ${server_list}    ${stack_info}   vpg_name_0    network_name=${GLOBAL_INJECTED_OPENSTACK_PUBLIC_NETWORK}
-    ${appc}=    Create Mount Point In APPC    ${vnf_id}    ${vpg_public_ip}
-
 Instantiate VNF
     [Arguments]   ${service}   ${vf_module_label}=NULL
     ${tenant_id}    ${tenant_name}=    Setup Orchestrate VNF    ${GLOBAL_AAI_CLOUD_OWNER}    SharedNode    OwnerType    v1    CloudZone
@@ -213,9 +185,6 @@ Instantiate VNF
     \    ${model_invariant_id}=    Set Variable If    '${vf_module_label}' in '${vf_module}'   ${generic_vnf['model-invariant-id']}    ${model_invariant_id}
     Log   Update old vFWCL Policy for ModelInvariantID=${model_invariant_id}
     ${status}   ${value}=   Run Keyword And Ignore Error  Update vFWCL Operational and Monitoring Policies    ${model_invariant_id}
-    :FOR  ${vf_module_name}  IN   @{vf_module_name_list}
-    \   Log   APPC Mount Point for VNF Module Name=${vf_module_name}
-    \   ${status}   ${value}=   Run Keyword And Ignore Error  APPC Mount Point    ${vf_module_name}
     Log   Update Tca ControlLoopName
     Update Tca ControlLoopName    ${model_invariant_id}
 
@@ -242,7 +211,6 @@ Instantiate Demo VNF
     \    ${model_invariant_id}=    Set Variable If    '${vf_module_label}' in '${vf_module}'   ${generic_vnf['model-invariant-id']}    ${model_invariant_id}
     Log   ModelInvariantID=${model_invariant_id}
     ${status}   ${value}=   Run Keyword And Ignore Error  Update vFWCL Operational and Monitoring Policies    ${model_invariant_id}
-    ${status}   ${value}=   Run Keyword And Ignore Error  APPC Mount Point    ${vf_module_name}
 
 Save For Delete
     [Documentation]   Create a variable file to be loaded for save for delete