diff options
author | DylanB95EST <dylan.byrne@est.tech> | 2021-11-09 13:54:35 +0000 |
---|---|---|
committer | DylanB95EST <dylan.byrne@est.tech> | 2021-11-12 15:24:27 +0000 |
commit | 5fe0daebb1360bd5d4c525125cdb0d6250583ff4 (patch) | |
tree | 3c0e08b48627b9c7c4c20c0291c6290673f061fb /src/test/resources | |
parent | 306cadd63b69274afbb3073d35a15381a12d6389 (diff) |
Support Update and Delete operations for DS Passtrough-Running in DMI Plugin
-Add Update operation for Passthrough Running
-Use POST operatiosn for all methods as agrred
-refactor to simplify and beter reuse of common methods
-add delete operation for passthrough running
Issue-ID: CPS-637
Issue-ID: CPS-638
Change-Id: I441181f977dee2bc0be944662465d868595ea452
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Diffstat (limited to 'src/test/resources')
-rw-r--r-- | src/test/resources/createDataWithNormalChar.json (renamed from src/test/resources/dataWithNormalChar.json) | 0 | ||||
-rw-r--r-- | src/test/resources/createDataWithSpecialChar.json (renamed from src/test/resources/dataWithSpecialChar.json) | 0 | ||||
-rw-r--r-- | src/test/resources/deleteData.json | 8 | ||||
-rw-r--r-- | src/test/resources/readData.json | 8 | ||||
-rw-r--r-- | src/test/resources/updateData.json | 8 |
5 files changed, 24 insertions, 0 deletions
diff --git a/src/test/resources/dataWithNormalChar.json b/src/test/resources/createDataWithNormalChar.json index 31cdf1c5..31cdf1c5 100644 --- a/src/test/resources/dataWithNormalChar.json +++ b/src/test/resources/createDataWithNormalChar.json diff --git a/src/test/resources/dataWithSpecialChar.json b/src/test/resources/createDataWithSpecialChar.json index 1e7622ee..1e7622ee 100644 --- a/src/test/resources/dataWithSpecialChar.json +++ b/src/test/resources/createDataWithSpecialChar.json diff --git a/src/test/resources/deleteData.json b/src/test/resources/deleteData.json new file mode 100644 index 00000000..2233fa01 --- /dev/null +++ b/src/test/resources/deleteData.json @@ -0,0 +1,8 @@ +{ + "operation": "delete", + "dataType": "application/json", + "data": "normal request body", + "cmHandleProperties": { + "some-property": "some-property-value" + } +}
\ No newline at end of file diff --git a/src/test/resources/readData.json b/src/test/resources/readData.json new file mode 100644 index 00000000..9f2b154f --- /dev/null +++ b/src/test/resources/readData.json @@ -0,0 +1,8 @@ +{ + "operation": "read", + "dataType": "application/json", + "data": "normal request body", + "cmHandleProperties": { + "some-property": "some-property-value" + } +}
\ No newline at end of file diff --git a/src/test/resources/updateData.json b/src/test/resources/updateData.json new file mode 100644 index 00000000..7cbf4f0c --- /dev/null +++ b/src/test/resources/updateData.json @@ -0,0 +1,8 @@ +{ + "operation": "update", + "dataType": "application/json", + "data": "normal request body", + "cmHandleProperties": { + "some-property": "some-property-value" + } +}
\ No newline at end of file |