Skip to content
Snippets Groups Projects
Commit 7229c8df authored by Najam UI Hassan's avatar Najam UI Hassan
Browse files

fix for issue 121

parent ec254083
No related branches found
No related tags found
3 merge requests!199Merge "3.3.1 dev" into "release 3" master,!193Merge 2.7.1 dev into Master, for TST010ed271 publication,!135SOL005 VNF Package Management - Implementation of deltas between v2.7.1 and v2.6.1
Showing
with 54 additions and 91 deletions
*** Settings ***
Resource environment/variables.txt
Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} ssl_verify=false
Library DependencyLibrary
Library JSONLibrary
......
*** Settings ***
Library JSONSchemaLibrary schemas/
Resource environment/variables.txt # Generic Parameters
Resource environment/individualSubscription.txt
Resource environment/variables.txt
Resource VNFPackageManagementKeywords.robot
Library OperatingSystem
Library JSONLibrary
......
*** Settings ***
Library JSONSchemaLibrary schemas/
Resource environment/variables.txt # Generic Parameters
Resource environment/individualVnfPackage.txt
Resource environment/variables.txt
Resource VNFPackageManagementKeywords.robot
Library JSONLibrary
Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} ssl_verify=false
......
*** Settings ***
Library JSONSchemaLibrary schemas/
Resource environment/variables.txt # Generic Parameters
Resource environment/subscriptions.txt
Resource environment/variables.txt
Resource VNFPackageManagementKeywords.robot
Library OperatingSystem
Library JSONLibrary
......
*** Settings ***
Library JSONSchemaLibrary schemas/
Resource environment/variables.txt # Generic Parameters
Resource environment/vnfdInIndividualVnfPackage.txt
Resource environment/variables.txt
Resource VNFPackageManagementKeywords.robot
Library JSONLibrary
Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} ssl_verify=false
......
*** Settings ***
Library JSONSchemaLibrary schemas/
Resource environment/variables.txt # Generic Parameters
Resource environment/vnfPackageArtifacts.txt
Resource environment/variables.txt
Resource VNFPackageManagementKeywords.robot
Library JSONLibrary
Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} ssl_verify=false
......
*** Settings ***
Library JSONSchemaLibrary schemas/
Resource environment/variables.txt # Generic Parameters
Resource environment/vnfPackageContent.txt
Resource environment/variables.txt
Resource VNFPackageManagementKeywords.robot
Library JSONLibrary
Library OperatingSystem
......
*** Settings ***
Library JSONSchemaLibrary schemas/
Resource environment/variables.txt # Generic Parameters
Resource environment/vnfPackageContentViaUri.txt
Resource environment/variables.txt
Resource VNFPackageManagementKeywords.robot
Library JSONLibrary
Library OperatingSystem
......
*** Settings ***
Library JSONSchemaLibrary schemas/
Resource environment/variables.txt # Generic Parameters
Resource environment/subscriptions.txt
Resource environment/vnfPackages.txt # VNF Packages specific parameters
Resource environment/individualVnfPackage.txt
Resource environment/vnfdInIndividualVnfPackage.txt
Resource environment/vnfPackageContent.txt
Resource environment/vnfPackageContentViaUri.txt
Resource environment/vnfPackageArtifacts.txt
Resource environment/individualSubscription.txt
Library OperatingSystem
Library JSONLibrary
Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} ssl_verify=false
......
*** Settings ***
Resource environment/vnfPackages.txt # VNF Packages specific parameters
Library JSONSchemaLibrary schemas/
Resource environment/variables.txt # Generic Parameters
Resource VNFPackageManagementKeywords.robot
......
*** Variables ***
${subscriptionId} f3ae6df7-07e1-47c9-8924-9ebe10343586
${erroneousSubscriptionId} 442e3ee5-0499-4849-9b31-eb91ce1638f1 # Not existing ID on the subscriptions
${newSubscriptionId} newSubsciptionId
${response} httpresponse
${origResponse} httpresponse
*** Variables ***
${erroneousVnfPackageId} erroneousVnfPackageId # Given ID for vnfPkg not present in database
${disabledVnfPackageId} 87a2c9d3-00ea-4032-8c67-a5106d001868
${vnfPackageId} 788106a2-d692-44f3-a86d-384f0ce35e42
${instantiatedVnfPackageId} 0b79bab50daca910b000d4f1a2b675d604257e42
\ No newline at end of file
*** Variables ***
${filter_ok} callbackUri=http://172.22.1.7:9091/vnfpkgm/subscriptions
${filter_ko} nfvId=f9f130e4-05eb-4082-a676-4c97d13a883d # Not existant filter attribute-based
${callbackUri} http://172.22.1.7:9091/vnfpkgm/subscriptions
${total_polling_time} 2 min
${polling_interval} 10 sec
${SEPERATOR} =
\ No newline at end of file
......@@ -14,7 +14,6 @@ ${apiName} vnfpkgm
${FIELD_USAGE} 1
${NFVO_PLAIN} 1
${NFVO_FIELDS} 1
${onboardingStateVnfPkgId} 788106a2-d692-44f3-a86d-384f0ce35e42 # The VNF Package is in CREATED onboardingState
${testOptionalMethods} 0
......@@ -31,7 +30,53 @@ ${polling_interval} 10 sec
${NFVO_CHECKS_NOTIF_ENDPOINT} 1
${response}
${response}
${notification_request} []
${notification_response} []
${subscriptionId} f3ae6df7-07e1-47c9-8924-9ebe10343586
${erroneousSubscriptionId} 442e3ee5-0499-4849-9b31-eb91ce1638f1 # Not existing ID on the subscriptions
${newSubscriptionId} newSubsciptionId
${origResponse} httpresponse
${filter_ok} callbackUri=http://172.22.1.7:9091/vnfpkgm/subscriptions
${filter_ko} nfvId=f9f130e4-05eb-4082-a676-4c97d13a883d # Not existant filter attribute-based
${SEPERATOR} =
${erroneousVnfPackageId} erroneousVnfPackageId # Given ID for vnfPkg not present in database
${disabledVnfPackageId} 87a2c9d3-00ea-4032-8c67-a5106d001868
${vnfPackageId} 788106a2-d692-44f3-a86d-384f0ce35e42
${instantiatedVnfPackageId} 0b79bab50daca910b000d4f1a2b675d604257e42
${ACCEPT_PLAIN} text/plain
${ACCEPT_ZIP} application/zip
${CONTENT_TYPE_PLAIN} text/plain
${CONTENT_TYPE_ZIP} application/zip
${NFVO_VNFD_PLAIN} 1
${NFVO_VNFD_ZIP} 0
${vnfPkgPlainVNFD} c26ad7fb-072b-48c4-a663-7d71646d9e98 # The VNF Pakcage contains a VNFD which is a Single Plain File
${vnfPkgZipVNFD} f5b220d4-6177-4ebb-a554-a43311e16075 # The VNF Package contains a VNFD composed by multiple files
${erroneousVnfPkgId} erroneousPkgId
${onboardingStateVnfPkgId} 788106a2-d692-44f3-a86d-384f0ce35e42 # The VNF Package is in CREATED onboardingState
${artifactPath} artifactPath
${CONTENT_TYPE_OCTET} application/octet-stream
${NFVO_RANGE_OK} 1 # If 1 means that Range is supported by the NFVO
${range} bytes=0-1023
${erroneousRange} bytes=10000000-1000000000 # Requesting a out of range number of bytes
${vnfPackageOctetStreamId} octetStreamPkgId
${vnfPkgId} 788106a2-d692-44f3-a86d-384f0ce35e42
${length} 1024
${creatingVnfPackageId} d246ccdd-71aa-402f-b256-6a80ee54be3d
${newVnfPackageId} d246ccdd-71aa-402f-b256-6a80ee54be3d
${POS_FILTER} vnfdId=41fdd38a-3d4c-465c-83e0-f80e014425f8&vnfProvider=NXW # Positive case, suing compiant fields name for filtering get request
${NEG_FILTER} nfvId=41fdd38a-3d4c-465c-83e0-f80e014425f8 # Negative case, using wrong name of field
${CAN_FILTER} 1 # NFVO in able to use filters when retrieving VNF Packages
${fields} softwareImages,additionalArtifacts
${BAD_AUTHORIZATION} Bear sometoken
${VAR_SEPERATOR} &
${vnfPkgViaUriId} 788106a2-d692-44f3-a86d-384f0ce35e42
${creatingVnfPkgViaUriId} d246ccdd-71aa-402f-b256-6a80ee54be3d
\ No newline at end of file
*** Variables ***
${artifactPath} artifactPath
${CONTENT_TYPE_OCTET} application/octet-stream
${NFVO_RANGE_OK} 1 # If 1 means that Range is supported by the NFVO
${range} bytes=0-1023
${erroneousRange} bytes=10000000-1000000000 # Requesting a out of range number of bytes
${erroneousVnfPkgId} erroneousPkgId
${vnfPackageOctetStreamId} octetStreamPkgId
\ No newline at end of file
*** Variables ***
${ACCEPT_ZIP} application/zip
${CONTENT_TYPE_ZIP} application/zip
${NFVO_RANGE_OK} 1 # If 1 means that Range is supported by the NFVO
${erroneousVnfPkgId} erroneousPkgId
${vnfPkgId} 788106a2-d692-44f3-a86d-384f0ce35e42
${erroneousRange} bytes=100000-1000000 # Requesting a out of range number of bytes
${range} bytes=0-1023
${length} 1024
${creatingVnfPackageId} d246ccdd-71aa-402f-b256-6a80ee54be3d
${newVnfPackageId} d246ccdd-71aa-402f-b256-6a80ee54be3d
*** Variables ***
${vnfPkgViaUriId} 788106a2-d692-44f3-a86d-384f0ce35e42
${creatingVnfPkgViaUriId} d246ccdd-71aa-402f-b256-6a80ee54be3d
*** Variables ***
${POS_FILTER} vnfdId=41fdd38a-3d4c-465c-83e0-f80e014425f8&vnfProvider=NXW # Positive case, suing compiant fields name for filtering get request
${NEG_FILTER} nfvId=41fdd38a-3d4c-465c-83e0-f80e014425f8 # Negative case, using wrong name of field
${CAN_FILTER} 1 # NFVO in able to use filters when retrieving VNF Packages
${fields} softwareImages,additionalArtifacts
${response} httpresponse
${NEG_AUTHORIZATION} Bearer negativetoken
${BAD_AUTHORIZATION} Bear sometoken
${SEPERATOR} =
${VAR_SEPERATOR} &
*** Variables ***
${ACCEPT_PLAIN} text/plain
${ACCEPT_ZIP} application/zip
${CONTENT_TYPE_PLAIN} text/plain
${CONTENT_TYPE_ZIP} application/zip
${NFVO_VNFD_PLAIN} 1
${NFVO_VNFD_ZIP} 0
${vnfPkgPlainVNFD} c26ad7fb-072b-48c4-a663-7d71646d9e98 # The VNF Pakcage contains a VNFD which is a Single Plain File
${vnfPkgZipVNFD} f5b220d4-6177-4ebb-a554-a43311e16075 # The VNF Package contains a VNFD composed by multiple files
${erroneousVnfPkgId} erroneousPkgId
${onboardingStateVnfPkgId} 788106a2-d692-44f3-a86d-384f0ce35e42 # The VNF Package is in CREATED onboardingState
${vnfPackageId} 788106a2-d692-44f3-a86d-384f0ce35e42
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment