Interface operation feature enhancements
1. API restructuring to enhance model and provide more capabilities.
2. Allowed multiple interface creation under same resource/service.
3. Enhanced validations to align with updated model.
4. API restructuring to align UI model with Tosca model.
5. Enhanced Junit and code coverage.
6. Added BDD and CI-API tests.
Change-Id: I2d8ac8a6154fd9be8254836ba0da1540210031c0
Issue-ID: SDC-1999
Signed-off-by: priyanshu <pagarwal@amdocs.com>
diff --git a/cucumber-js-test-apis-ci/features/InterfaceOperation/TestResourceInterfaceOperation.feature b/cucumber-js-test-apis-ci/features/InterfaceOperation/TestResourceInterfaceOperation.feature
index ed09f2f..7a4105f 100644
--- a/cucumber-js-test-apis-ci/features/InterfaceOperation/TestResourceInterfaceOperation.feature
+++ b/cucumber-js-test-apis-ci/features/InterfaceOperation/TestResourceInterfaceOperation.feature
@@ -4,25 +4,19 @@
Given I want to create a VF
Scenario: Test InterfaceOperation CRUD
- #Create Operations
+ #Create Multiple operations Operations
When I want to create an Operation
- Then I want to check property "uniqueId" exists
- And I want to create an Operation with workflow
- Then I want to check property "uniqueId" exists
- And I want to create an Operation
- Then I want to check property "uniqueId" exists
- When I want to create an Operation with input output
- Then I want to check property "uniqueId" exists
+ When I want to create an Operation
+ When I want to create an Operation
#List All Operations
When I want to list Operations
#Get Operation By OperationId
When I want to get an Operation by Id
- Then I want to check property "uniqueId" exists
+
#Update Operation
When I want to update an Operation
- Then I want to check property "uniqueId" exists
#Delete Operation
When I want to delete an Operation
@@ -38,11 +32,8 @@
Scenario: Test InterfaceOperation CREATE
#Create Operations
When I want to create an Operation
- Then I want to check property "uniqueId" exists
And I want to create an Operation
- Then I want to check property "uniqueId" exists
And I want to create an Operation
- Then I want to check property "uniqueId" exists
#List All Operations
When I want to list Operations
@@ -59,14 +50,11 @@
Scenario: Test InterfaceOperation UPDATE
#Create Operation
When I want to create an Operation
- Then I want to check property "uniqueId" exists
#Get Operation By OperationId
When I want to get an Operation by Id
- Then I want to check property "uniqueId" exists
#Update Operation
When I want to update an Operation
- Then I want to check property "uniqueId" exists
#Checkin
When I want to checkin this component
@@ -80,11 +68,9 @@
Scenario: Test InterfaceOperation DELETE
#Create Operation
When I want to create an Operation
- Then I want to check property "uniqueId" exists
#Get Operation By OperationId
When I want to get an Operation by Id
- Then I want to check property "uniqueId" exists
#Delete Operation
When I want to delete an Operation