Commit 5d3374c3 authored by NSarda's avatar NSarda
Browse files

Added new target schema files and updated stepdef for the same

parent 113cb57f
Pipeline #34620 passed with stages
in 42 minutes and 24 seconds
{
"id": "a119f12e-f4e9-419b-a231-b31849875313",
"version": 13234865231,
"Authority": "opendes",
"authority": "opendes",
"kind": "opendes:mapping:mapping:1.0.0",
"mappingSchemaMajorVersion": 1,
"mappingSchemaMinorVersion": 0,
......
......@@ -47,7 +47,18 @@ public class IntegrationTestStepDefs implements En {
private static final String SCHEMA_SLB_OGA_WELL_5 = "/input_payloads/schemas/schema_slb_wks_well_5.json";
private static final String SCHEMA_SLB_OGA_WELL_4 = "/input_payloads/schemas/schema_slb_wks_well_4.json";
private static final String SCHEMA_ABC_OGA_WELL_1 = "/input_payloads/schemas/schema_abc_wks_well_1.json";
private static final String SCHEMA_ABC_LOG_1 = "/input_payloads/schemas/schema_abc_wks_log_1.json";
private static final String SCHEMA_ABC_LOG_100 = "/input_payloads/schemas/schema_abc_wks_log_100.json";
private static final String SCHEMA_ABC_WELL_100 = "/input_payloads/schemas/schema_abc_wks_well_100.json";
private static final String SCHEMA_NPL_LOG_2 = "/input_payloads/schemas/schema_npl_wks_log_2.json";
private static final String SCHEMA_SLB_LOG_1 = "/input_payloads/schemas/schema_slb_wks_log_1.json";
private static final String SCHEMA_SLB_LOG_4 = "/input_payloads/schemas/schema_slb_wks_log_4.json";
private static final String SCHEMA_SLB_LOGSET_1 = "/input_payloads/schemas/schema_slb_wks_logset_1.json";
private static final String SCHEMA_SLB_WELL_1 = "/input_payloads/schemas/schema_slb_wks_well_1.json";
private static final String SCHEMA_SLB_WELL_2 = "/input_payloads/schemas/schema_slb_wks_well_2.json";
private static final String SCHEMA_SLB_WELLBORE_1 = "/input_payloads/schemas/schema_slb_wks_wellbore_1.json";
private static final String SCHEMA_SLB_WELLSET_1 = "/input_payloads/schemas/schema_slb_wks_wellset_1.json";
@Inject
private WksIntegrationTestScope context;
......@@ -78,6 +89,17 @@ public class IntegrationTestStepDefs implements En {
createSchemas(SCHEMA_ABC_OGA_WELL_1);
createSchemas(SCHEMA_SLB_OGA_WELL_5);
createSchemas(SCHEMA_SLB_OGA_WELL_4);
createSchemas(SCHEMA_ABC_LOG_1);
createSchemas(SCHEMA_ABC_LOG_100);
createSchemas(SCHEMA_ABC_WELL_100);
createSchemas(SCHEMA_NPL_LOG_2);
createSchemas(SCHEMA_SLB_LOG_1);
createSchemas(SCHEMA_SLB_LOG_4);
createSchemas(SCHEMA_SLB_LOGSET_1);
createSchemas(SCHEMA_SLB_WELL_1);
createSchemas(SCHEMA_SLB_WELL_2);
createSchemas(SCHEMA_SLB_WELLBORE_1);
createSchemas(SCHEMA_SLB_WELLSET_1);
});
Given("I hit Storage service put end point with {string} which is already a WKS record",
......
{
"schemaInfo": {
"schemaIdentity": {
"authority": "abc",
"source": "wks",
"entityType": "log",
"schemaVersionMajor": 1,
"schemaVersionMinor": 0,
"schemaVersionPatch": 7,
"id": "abc:wks:log:1.0.7"
},
"status": "DEVELOPMENT",
"scope": "INTERNAL",
"createdBy": "John Smith",
"dateCreated": "2019-05-27T11:16:03Z"
},
"schema": {
"ValidationString": "Schema modified by PUT operation",
"definitions": {}
}
}
\ No newline at end of file
{
"schemaInfo": {
"schemaIdentity": {
"authority": "abc",
"source": "wks",
"entityType": "log",
"schemaVersionMajor": 1,
"schemaVersionMinor": 0,
"schemaVersionPatch": 0,
"id": "abc:wks:log:1.0.0"
},
"status": "DEVELOPMENT",
"scope": "INTERNAL",
"createdBy": "John Smith",
"dateCreated": "2019-05-27T11:16:03Z"
},
"schema": {
"ValidationString": "Schema modified by PUT operation",
"definitions": {}
}
}
\ No newline at end of file
{
"schemaInfo": {
"schemaIdentity": {
"authority": "abc",
"source": "wks",
"entityType": "well",
"schemaVersionMajor": 1,
"schemaVersionMinor": 5,
"schemaVersionPatch": 1,
"id": "abc:wks:well:1.5.1"
},
"status": "DEVELOPMENT",
"scope": "INTERNAL",
"createdBy": "John Smith",
"dateCreated": "2019-05-27T11:16:03Z"
},
"schema": {
"ValidationString": "Schema modified by PUT operation",
"definitions": {}
}
}
\ No newline at end of file
{
"schemaInfo": {
"schemaIdentity": {
"authority": "npl",
"source": "wks",
"entityType": "log",
"schemaVersionMajor": 2,
"schemaVersionMinor": 0,
"schemaVersionPatch": 0,
"id": "npl:wks:log:2.0.0"
},
"status": "DEVELOPMENT",
"scope": "INTERNAL",
"createdBy": "John Smith",
"dateCreated": "2019-05-27T11:16:03Z"
},
"schema": {
"ValidationString": "Schema modified by PUT operation",
"definitions": {}
}
}
\ No newline at end of file
{
"schemaInfo": {
"schemaIdentity": {
"authority": "slb",
"source": "wks",
"entityType": "log",
"schemaVersionMajor": 1,
"schemaVersionMinor": 0,
"schemaVersionPatch": 0,
"id": "slb:wks:log:1.0.0"
},
"status": "DEVELOPMENT",
"scope": "INTERNAL",
"createdBy": "John Smith",
"dateCreated": "2019-05-27T11:16:03Z"
},
"schema": {
"ValidationString": "Schema modified by PUT operation",
"definitions": {}
}
}
\ No newline at end of file
{
"schemaInfo": {
"schemaIdentity": {
"authority": "slb",
"source": "wks",
"entityType": "log",
"schemaVersionMajor": 4,
"schemaVersionMinor": 0,
"schemaVersionPatch": 0,
"id": "slb:wks:log:4.0.0"
},
"status": "DEVELOPMENT",
"scope": "INTERNAL",
"createdBy": "John Smith",
"dateCreated": "2019-05-27T11:16:03Z"
},
"schema": {
"ValidationString": "Schema modified by PUT operation",
"definitions": {}
}
}
\ No newline at end of file
{
"schemaInfo": {
"schemaIdentity": {
"authority": "slb",
"source": "wks",
"entityType": "logset",
"schemaVersionMajor": 1,
"schemaVersionMinor": 0,
"schemaVersionPatch": 0,
"id": "slb:wks:logset:1.0.0"
},
"status": "DEVELOPMENT",
"scope": "INTERNAL",
"createdBy": "John Smith",
"dateCreated": "2019-05-27T11:16:03Z"
},
"schema": {
"ValidationString": "Schema modified by PUT operation",
"definitions": {}
}
}
\ No newline at end of file
{
"schemaInfo": {
"schemaIdentity": {
"authority": "slb",
"source": "wks",
"entityType": "well",
"schemaVersionMajor": 1,
"schemaVersionMinor": 0,
"schemaVersionPatch": 0,
"id": "slb:wks:well:1.0.0"
},
"status": "DEVELOPMENT",
"scope": "INTERNAL",
"createdBy": "John Smith",
"dateCreated": "2019-05-27T11:16:03Z"
},
"schema": {
"ValidationString": "Schema modified by PUT operation",
"definitions": {}
}
}
\ No newline at end of file
{
"schemaInfo": {
"schemaIdentity": {
"authority": "slb",
"source": "wks",
"entityType": "well",
"schemaVersionMajor": 2,
"schemaVersionMinor": 0,
"schemaVersionPatch": 0,
"id": "slb:wks:well:2.0.0"
},
"status": "DEVELOPMENT",
"scope": "INTERNAL",
"createdBy": "John Smith",
"dateCreated": "2019-05-27T11:16:03Z"
},
"schema": {
"ValidationString": "Schema modified by PUT operation",
"definitions": {}
}
}
\ No newline at end of file
{
"schemaInfo": {
"schemaIdentity": {
"authority": "slb",
"source": "wks",
"entityType": "wellbore",
"schemaVersionMajor": 1,
"schemaVersionMinor": 0,
"schemaVersionPatch": 0,
"id": "slb:wks:wellbore:1.0.0"
},
"status": "DEVELOPMENT",
"scope": "INTERNAL",
"createdBy": "John Smith",
"dateCreated": "2019-05-27T11:16:03Z"
},
"schema": {
"ValidationString": "Schema modified by PUT operation",
"definitions": {}
}
}
\ No newline at end of file
{
"schemaInfo": {
"schemaIdentity": {
"authority": "slb",
"source": "wks",
"entityType": "wellset",
"schemaVersionMajor": 1,
"schemaVersionMinor": 0,
"schemaVersionPatch": 0,
"id": "slb:wks:wellset:1.0.0"
},
"status": "DEVELOPMENT",
"scope": "INTERNAL",
"createdBy": "John Smith",
"dateCreated": "2019-05-27T11:16:03Z"
},
"schema": {
"ValidationString": "Schema modified by PUT operation",
"definitions": {}
}
}
\ No newline at end of file
Supports Markdown
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