diff options
author | tragait <rahul.tyagi@est.tech> | 2021-09-14 13:47:52 +0100 |
---|---|---|
committer | tragait <rahul.tyagi@est.tech> | 2021-09-21 14:38:30 +0100 |
commit | fa11e9cb799b9738d2295abd4690c142639b9250 (patch) | |
tree | 165fa9c085f2d87d53053af0e861e4bc12680583 /src/test/resources | |
parent | accefb1c6f1fbb2ab904acbf7d5f4eb33ef51cee (diff) |
fix data from object to string
Also, make dmi service url configurable,
change name of dmi creds env var
Issue-ID: CPS-675
Issue-ID: CPS-634
Signed-off-by: tragait <rahul.tyagi@est.tech>
Change-Id: I6fe794b3e65b6a3aae2a1698ea64a925238a18d3
Diffstat (limited to 'src/test/resources')
-rw-r--r-- | src/test/resources/dataWithNormalChar.json (renamed from src/test/resources/WriteDataForCmHandle.json) | 4 | ||||
-rw-r--r-- | src/test/resources/dataWithSpecialChar.json | 8 |
2 files changed, 9 insertions, 3 deletions
diff --git a/src/test/resources/WriteDataForCmHandle.json b/src/test/resources/dataWithNormalChar.json index 8eb19599..31cdf1c5 100644 --- a/src/test/resources/WriteDataForCmHandle.json +++ b/src/test/resources/dataWithNormalChar.json @@ -1,9 +1,7 @@ { "operation": "create", "dataType": "application/json", - "data": { - "some-data": "some-value" - }, + "data": "normal request body", "cmHandleProperties": { "some-property": "some-property-value" } diff --git a/src/test/resources/dataWithSpecialChar.json b/src/test/resources/dataWithSpecialChar.json new file mode 100644 index 00000000..1e7622ee --- /dev/null +++ b/src/test/resources/dataWithSpecialChar.json @@ -0,0 +1,8 @@ +{ + "operation": "create", + "dataType": "application/json", + "data": "data with quote \" and new line \n", + "cmHandleProperties": { + "some-property": "some-property-value" + } +}
\ No newline at end of file |