Commit c96403a5 authored by Dipika Khera's avatar Dipika Khera
Browse files

Dataset platform testing: Fixed Dataset / 02 Register Dataset - File test case

parent 6fe42f42
Pipeline #55686 failed with stages
in 1 minute and 33 seconds
......@@ -266,7 +266,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"datasetRegistries\": [\n {\n \"id\": \"opendes:dataset--File.Generic:70358f69dc24bf0880718a4550a60ea434a9f558e490aae82cee87be49ef1655\",\n \"version\": 1614105463059152,\n \"kind\": \"opendes:wks:dataset--File.Generic:1.0.0\",\n \"acl\": {\n \"viewers\": [\n \"data.default.viewers@opendes.testing.com\"\n ],\n \"owners\": [\n \"data.default.owners@opendes.testing.com\"\n ]\n },\n \"legal\": {\n \"legaltags\": [\n \"opendes-public-usa-dataset-1\"\n ],\n \"otherRelevantDataCountries\": [\n \"US\"\n ],\n \"status\": \"compliant\"\n },\n \"data\": {\n \"DatasetProperties\": {\n \"FileSourceInfo\": {\n \"FileSource\": \"\",\n \"PreLoadFilePath\": \"s3://r3m3osdu-core-filedmsstack-kxpvz-s3databucketprod-1ippssiq9cdwp/opendes/ZaNdlue54AyZ9YieHezCLXu4n0s/test1.txt\"\n }\n },\n \"ResourceSecurityClassification\": \"osdu:reference-data--ResourceSecurityClassification:RESTRICTED:\",\n \"SchemaFormatTypeID\": \"osdu:reference-data--SchemaFormatType:TabSeparatedColumnarText:\"\n },\n \"meta\": [],\n \"tags\": {}\n }\n ]\n}"
"raw": "{\n \"datasetRegistries\": [\n {\n \"id\": \"{{data-partition-id}}:dataset--File.Generic:70358f69dc24bf0880718a4550a60ea434a9f558e490aae82cee87be49ef1655\",\n \"version\": 1614105463059152,\n \"kind\": \"{{data-partition-id}}:wks:dataset--File.Generic:1.0.0\",\n \"acl\": {\n \"viewers\": [\n \"data.default.viewers@{{data-partition-id}}{{domain}}\"\n ],\n \"owners\": [\n \"data.default.owners@{{data-partition-id}}{{domain}}\"\n ]\n },\n \"legal\": {\n \"legaltags\": [\n \"{{data-partition-id}}-public-usa-dataset-1\"\n ],\n \"otherRelevantDataCountries\": [\n \"US\"\n ],\n \"status\": \"compliant\"\n },\n \"data\": {\n \"DatasetProperties\": {\n \"FileSourceInfo\": {\n \"FileSource\": \"\",\n \"PreLoadFilePath\": \"s3://r3m3osdu-core-filedmsstack-kxpvz-s3databucketprod-1ippssiq9cdwp/{{data-partition-id}}/ZaNdlue54AyZ9YieHezCLXu4n0s/test1.txt\"\n }\n },\n \"ResourceSecurityClassification\": \"osdu:reference-data--ResourceSecurityClassification:RESTRICTED:\",\n \"SchemaFormatTypeID\": \"osdu:reference-data--SchemaFormatType:TabSeparatedColumnarText:\"\n },\n \"meta\": [],\n \"tags\": {}\n }\n ]\n}"
},
"url": {
"raw": "{{DATASET_HOST}}/registerDataset",
......@@ -317,7 +317,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"datasetRegistryIds\": [\n \"opendes:doc:aaaabbbbccccddddeeeeffff\"\n ]\n}",
"raw": "{\n \"datasetRegistryIds\": [\n \"{{data-partition-id}}:doc:aaaabbbbccccddddeeeeffff\"\n ]\n}",
"options": {
"raw": {
"language": "json"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment