diff options
author | romaingimbert <romain.gimbert@orange.com> | 2019-01-24 11:01:03 +0100 |
---|---|---|
committer | romaingimbert <romain.gimbert@orange.com> | 2019-01-24 12:28:42 +0100 |
commit | 69197a8abc78ee825d38908cd46690b3c150caa1 (patch) | |
tree | cd6db2a41e42ca5b7204851ccd8c34c76527a381 /src/test/resources/karatetest/data | |
parent | 05733ab5105f440e44eb56dc37e6d14615c36454 (diff) |
hub resource format date
-fix code
-add listener for testing
-add karate test
Change-Id: Ife2d7812c77316b75c55e86056f59d838e117069
Issue-ID: EXTAPI-180
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
Diffstat (limited to 'src/test/resources/karatetest/data')
-rw-r--r-- | src/test/resources/karatetest/data/serviceOrder.json | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/src/test/resources/karatetest/data/serviceOrder.json b/src/test/resources/karatetest/data/serviceOrder.json index 89cc6e8..7ec577e 100644 --- a/src/test/resources/karatetest/data/serviceOrder.json +++ b/src/test/resources/karatetest/data/serviceOrder.json @@ -1022,5 +1022,64 @@ ] } ] + }, + { + "state": "acknowledged", + "externalId": "extid2", + "priority": "1", + "description": "toto", + "category": "Consumer", + "requestedStartDate": "2019-01-23T12:34:56.123456789Z", + "requestedCompletionDate": "2019-01-23T12:34:56.123456789Z", + "@baseType": "toto", + "completionDateTime": "2019-01-23T12:34:56.123456789Z", + "expectedCompletionDate": "2019-01-23T12:34:56.123456789Z", + "@schemaLocation": "/tutu", + "orderRelationship": [ + { + "id": "test", + "href": "test", + "referredType": "test", + "type": "test" + } + ], + "relatedParty": [ + { + "id": "6490", + "role": "ONAPcustomer", + "referredType": "individual", + "name": "Jean Pontus" + } + ], + "orderItem": [ + { + "id": "A", + "action": "add", + "state": "active", + "service": { + "state": "active", + "serviceSpecification": { + "id": "1e3feeb0-8e36-46c6-862c-236d9c626439" + } + } + }, + { + "id": "B", + "action": "add", + "state": "active", + "service": { + "state": "active", + "serviceSpecification": { + "id": "1e3feeb0-8e36-46c6-862c-236d9c626439" + } + }, + "orderItemRelationship": [ + { + "id": "A", + "type": "reliesOn" + } + ] + } + ] } ] |