Commit 526c4aca authored by Frank Bryden's avatar Frank Bryden Committed by Frank Bryden
Browse files

Removed duplicate decleration of keywords

parent 33b77cd7
Loading
Loading
Loading
Loading
+0 −13
Original line number Original line Diff line number Diff line
@@ -444,18 +444,6 @@ Check Response is NsdOnboardingNotification
    Log    Json Schema Validation OK
    Log    Json Schema Validation OK




Check Post Condition NSD Content has been Uploaded
    Log    Checking NsdOnboardingNotification Recieved
    Wait Until Keyword Succeeds    ${retry}    ${interval}  Check Response is NsdOnboardingNotification

Check Response is NsdOnboardingNotification
    ${response}=    Output    response body
    Should Contain    ${response['headers']['Content-Type']}    application/json
    ${schema} =    Catenate    SEPARATOR=    NsdOnboardingNotification    .schema.json
    Validate Json    ${schema}    ${response['body']}
    Log    Json Schema Validation OK


Check Postcondition NSD Content is uploaded and available in the NFVO
Check Postcondition NSD Content is uploaded and available in the NFVO
    Get single file NSD Content in Plain or Zip Format
    Get single file NSD Content in Plain or Zip Format
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
@@ -740,7 +728,6 @@ Get PNFD Content with conflict due to onboarding state


Send PUT Request to upload PNFD Content as plain text file
Send PUT Request to upload PNFD Content as plain text file
    Log    Trying to perform a PUT. This method upload the content of a PNFD
    Log    Trying to perform a PUT. This method upload the content of a PNFD
    Create Session    github         http://api.github.com
    Create Session      pnfd     ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT}      headers={"Accept": "${ACCEPT_PLAIN}", "Content-Type": "${ACCEPT_PLAIN}", "Authorization": "${AUTHORIZATION}"}      verify=False
    Create Session      pnfd     ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT}      headers={"Accept": "${ACCEPT_PLAIN}", "Content-Type": "${ACCEPT_PLAIN}", "Authorization": "${AUTHORIZATION}"}      verify=False
    ${body}=  Get Binary File  ${contentZipFile}
    ${body}=  Get Binary File  ${contentZipFile}
    ${response}=    Put Request     pnfd     ${apiRoot}/${apiName}/${apiVersion}/pnf_descriptors/${pnfdInfoUpld}/pnfd_content     data=${body}
    ${response}=    Put Request     pnfd     ${apiRoot}/${apiName}/${apiVersion}/pnf_descriptors/${pnfdInfoUpld}/pnfd_content     data=${body}