SOL003 VNF Lifecycle Management - Implementation of deltas between v3.3.1 and v2.7.1

This merge request refers to the implementation of deltas between v3.3.1 and v2.7.1 of SOL003 VNF Lifecycle Management Interface.

@lynchpi @aelken @matsuurat @carignani @sayama @kraja @zulfiqar @zafar

Deadline for review: Friday 12th March 2021 @6pm CET

Review period elapsed: approved !

Edited by Giacomo Bernini

Merge request reports

Loading
+33 −4
Changes for SOL003/VNFLifecycleManagement-API/environment/variables.txt: 33 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ ${CONTENT_TYPE_PATCH} application/merge-patch+json

${apiRoot}        /
${apiName}        vnflcm
${apiMajorVersion}     v1
${apiMajorVersion}     v2

${CancelMode}    GRACEFUL
${VNFM_DUPLICATION}    0
@@ -29,12 +29,28 @@ ${ARTIFACT_ID} artifactId
${WRONG_ACCEPT}    application/json
${SYNC_MODE}    0

${original_etag}    1234
${invalid_etag}    4321

${ACCEPT_OCTET}    application/octet-stream
${CONTENT_TYPE_OCTET}    application/octet-stream
${VNFM_RANGE_OK}    1    # If 1 means that Range is supported by the VNFM
${range}          bytes=0-1023
${erroneousRange}    bytes=10000000-1000000000    # Requesting a out of range number of bytes
${full_length}    2000    #Full size of the content file to be transmitted using partial downloads

${instantiatedVnfInstanceId}       6fc3539c-e602-4afa-8e13-962fb5a7d81f
${notInstantiatedVnfInstanceId}       6fc3539c-e602-4afa-8e13-962fb5a7d81f
${notExistingVnfInstanceId}     6fc3539c-e602-4afa-8e13-962fb5a7d81f   
${vnfInstanceId}       6fc3539c-e602-4afa-8e13-962fb5a7d81f
${subscriptionId}    6fc3539c-e602-4afa-8e13-962fb5a7d81f
${conflicVnfInstanceId}    6fc3539c-e602-4afa-8e13-962fb5a7d81f
${vnfInstanceId_NoSnapshotTask}    no-snapshot-task-supported
${vnfSnapshotInfoId}
${vnfSnapshotInfoId_InUse}    snapshotId-of-a-resource-AlreadyInUse-bySomeOther-operation
${vnfSnapshotInfoId_creationIncomplete}    snapshotId-of-a-resource-whose-creation-isn't-complete
${invalidVnfSnapshotInfoId}
${vnfSnapshotPkgId}

${vnfLcmOpOccId}    6fc3539c-e602-4afa-8e13-962fb5a7d81d
${notExistingVnfLcmOpOccId}    6fc3539c-e602-4afa-8e13-962fb5a7d81d
@@ -48,10 +64,22 @@ ${response} {}
${json}    {}
${requestedFlavour}    test

${sub_filter}    filter
${sub_filter_invalid}    filter_invalid
${POS_filter_subscription}    id=41fdd38a-3d4c-465c-83e0-f80e014425f8
${NEG_filter_subscription}    nfvId=41fdd38a-3d4c-465c-83e0-f80e014425f8

${fields_vnfLcmOpOcc}         operationParams,grantId
${POS_FILTER_vnfLcmOpOcc}     id=41fdd38a-3d4c-465c-83e0-f80e014425f8   # Positive case, suing compiant fields name for filtering get request
${NEG_FILTER_vnfLcmOpOcc}     nfvId=41fdd38a-3d4c-465c-83e0-f80e014425f8    # Negative case, using wrong name of field

${fields_vnfInstance}         vnfInstanceDescription,vimConnectionInfo
${POS_FILTER_vnfInstance}     id=41fdd38a-3d4c-465c-83e0-f80e014425f8   # Positive case, suing compiant fields name for filtering get request
${NEG_FILTER_vnfInstance}     nfvId=41fdd38a-3d4c-465c-83e0-f80e014425f8    # Negative case, using wrong name of field

${POS_FILTER_snapshot}     id=41fdd38a-3d4c-465c-83e0-f80e014425f8   # Positive case, suing compiant fields name for filtering get request
${NEG_FILTER_snapshot}     nfvId=41fdd38a-3d4c-465c-83e0-f80e014425f8    # Negative case, using wrong name of field
${fields_snapshot}    vnfStateSnapshotInfo    

${fields}         criteria,objectInstanceIds
${PAGING_SUPPORTED}    1

${vnfInstanceName}    Test-VnfInstance
${vnfInstanceDescription}    description vnf
@@ -80,6 +108,7 @@ ${notification_response} []
${MOCK_SERVER_JAR}    ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar

${vnfdId}    6fc3539c-e602-4afa-8e13-962fb5a7d81f
${vnfdId_notInEnabledState}    vnfdId-which-is-not-in-ENABLED-state-or-DNE

${scaletype}    SCALE_OUT
${scaleAspectId}    myAspect
+3
Changes for SOL003/VNFLifecycleManagement-API/jsons/CreateVnfSnapshotInfoRequest.json: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
{{
  "vnfSnapshotPkgId": "{vnfSnapshotPkgId}"
}}
 No newline at end of file
+3
Changes for SOL003/VNFLifecycleManagement-API/jsons/CreateVnfSnapshotRequest.json: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
{{
  "vnfSnapshotInfoId": "{vnfSnapshotInfoId}"
}}
 No newline at end of file
+5
Changes for SOL003/VNFLifecycleManagement-API/jsons/RevertToVnfSnapshotRequest.json: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
{{
  "vnfSnapshotInfoId": "{vnfSnapshotInfoId}",
  "vnfcInstanceId": "",
  "vnfcSnapshotInfoId": ""
}}
 No newline at end of file
+6 −2
Changes for SOL003/VNFLifecycleManagement-API/jsons/VnfLcmOperationOccurrenceNotification.json: 6 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -3,11 +3,15 @@
	"notificationType":"VnfLcmOperationOccurrenceNotification",
	"subscriptionId":"{subscriptionId}",
	"timeStamp":"",
	"notificationStatus":"STRAT",
	"notificationStatus":"START",
	"operationState":"PROCESSING",
	"vnfInstanceId":"{vnfInstanceId}",
	"operation":"SCALE",
	"isAutomaticInvocation":"false",
	"vnfLcmOpOccId":"{vnfLcmOpOccId}",
	"_links":""
	"_links": {
	  "vnfInstance": "",
	  "subscription": "",
	  "vnfLcmOpOcc": ""
	}
}}
Loading
Loading