From 44980c8f9558bbffe72532fe98a4381cc2b4ef60 Mon Sep 17 00:00:00 2001 From: zhaome Date: Mon, 28 Jan 2019 16:34:14 +0100 Subject: [PATCH] Bug fix --- .../ChangeExternalVNFConnectivityWorkflow.robot | 8 ++++---- SOL003/VNFLifecycleManagement-API/HealVNFWorkflow.robot | 8 ++++---- .../VNFLifecycleManagement-API/OperateVNFWorkflow.robot | 9 ++++----- .../TerminatelVNFWorkflow.robot | 8 ++++---- 4 files changed, 16 insertions(+), 17 deletions(-) diff --git a/SOL003/VNFLifecycleManagement-API/ChangeExternalVNFConnectivityWorkflow.robot b/SOL003/VNFLifecycleManagement-API/ChangeExternalVNFConnectivityWorkflow.robot index c340c5ae..17d928a1 100644 --- a/SOL003/VNFLifecycleManagement-API/ChangeExternalVNFConnectivityWorkflow.robot +++ b/SOL003/VNFLifecycleManagement-API/ChangeExternalVNFConnectivityWorkflow.robot @@ -29,10 +29,10 @@ Operate a VNF Instance Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Check Operation Occurrence Id - Check Operation Notification For Operate STARTING + Check Operation Notification For Change Ext Connectivity STARTING #Create a new Grant - Sync - OPERATE - Check Operation Notification For Change Flavour PROCESSING - Check Operation Notification For Change Flavour COMPLETED + Check Operation Notification For Change Ext Connectivity PROCESSING + Check Operation Notification For Change Ext Connectivity COMPLETED Check Postcondition VNF Change Ext Connectivity *** Keywords *** @@ -54,7 +54,7 @@ Check Postcondition VNF Change Ext Connectivity Create a new Grant - Sync - OPERATE Create a new Grant - Synchronous mode ${vnfInstanceId} ${vnfLcmOpOccId} OPERATE -Check Operation Notification For Operate +Check Operation Notification For Change Ext Connectivity [Arguments] ${status} Check Operation Notification VnfLcmOperationOccurrenceNotification ${status} \ No newline at end of file diff --git a/SOL003/VNFLifecycleManagement-API/HealVNFWorkflow.robot b/SOL003/VNFLifecycleManagement-API/HealVNFWorkflow.robot index 2a05f4ed..0359c3b7 100644 --- a/SOL003/VNFLifecycleManagement-API/HealVNFWorkflow.robot +++ b/SOL003/VNFLifecycleManagement-API/HealVNFWorkflow.robot @@ -29,10 +29,10 @@ Operate a VNF Instance Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Check Operation Occurrence Id - Check Operation Notification For Operate STARTING + Check Operation Notification For Heal STARTING #Create a new Grant - Sync - OPERATE - Check Operation Notification For Change Flavour PROCESSING - Check Operation Notification For Change Flavour COMPLETED + Check Operation Notification For Heal PROCESSING + Check Operation Notification For Heal COMPLETED Check Postcondition VNF Heal *** Keywords *** @@ -50,7 +50,7 @@ Check Postcondition VNF Heal Create a new Grant - Sync - OPERATE Create a new Grant - Synchronous mode ${vnfInstanceId} ${vnfLcmOpOccId} OPERATE -Check Operation Notification For Operate +Check Operation Notification For Heal [Arguments] ${status} Check Operation Notification VnfLcmOperationOccurrenceNotification ${status} \ No newline at end of file diff --git a/SOL003/VNFLifecycleManagement-API/OperateVNFWorkflow.robot b/SOL003/VNFLifecycleManagement-API/OperateVNFWorkflow.robot index 9f340e23..17f3fe90 100644 --- a/SOL003/VNFLifecycleManagement-API/OperateVNFWorkflow.robot +++ b/SOL003/VNFLifecycleManagement-API/OperateVNFWorkflow.robot @@ -31,9 +31,9 @@ Operate a VNF Instance Check Operation Occurrence Id Check Operation Notification For Operate STARTING #Create a new Grant - Sync - OPERATE - Check Operation Notification For Change Flavour PROCESSING - Check Operation Notification For Change Flavour COMPLETED - Check Postcondition VNF OPERATE + Check Operation Notification For Operate PROCESSING + Check Operation Notification For Operate COMPLETED + Check Postcondition VNF OPERATE *** Keywords *** @@ -47,8 +47,7 @@ Precondition Checks Check resource instantiated ${LccnSubscriptions}= Check subscriptions about one VNFInstance and operation type ${vnfInstanceId} VnfLcmOperationOccurrenceNotification operationType=SCALE -Check Postcondition VNF - [Arguments] ${operation} +Check Postcondition VNF OPERATE Check resource instantiated ${newState}= Get Vnf Operational State Info ${vnfInstanceId} Should be Equal ${requestedState} ${newState} diff --git a/SOL003/VNFLifecycleManagement-API/TerminatelVNFWorkflow.robot b/SOL003/VNFLifecycleManagement-API/TerminatelVNFWorkflow.robot index b1a07eb0..6c89a6b4 100644 --- a/SOL003/VNFLifecycleManagement-API/TerminatelVNFWorkflow.robot +++ b/SOL003/VNFLifecycleManagement-API/TerminatelVNFWorkflow.robot @@ -29,10 +29,10 @@ Operate a VNF Instance Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Check Operation Occurrence Id - Check Operation Notification For Operate STARTING + Check Operation Notification For Terminate STARTING #Create a new Grant - Sync - OPERATE - Check Operation Notification For Change Flavour PROCESSING - Check Operation Notification For Change Flavour COMPLETED + Check Operation Notification For Terminate PROCESSING + Check Operation Notification For Terminate COMPLETED Check Postcondition VNF Terminate *** Keywords *** @@ -50,7 +50,7 @@ Check Postcondition VNF Terminate Create a new Grant - Sync - OPERATE Create a new Grant - Synchronous mode ${vnfInstanceId} ${vnfLcmOpOccId} OPERATE -Check Operation Notification For Operate +Check Operation Notification For Terminate [Arguments] ${status} Check Operation Notification VnfLcmOperationOccurrenceNotification ${status} \ No newline at end of file -- GitLab