Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Data Flow
Data Enrichment
wks
Commits
5d3374c3
Commit
5d3374c3
authored
Apr 06, 2021
by
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
Changes
13
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
deployments/mapping_info_records/opendes/a119f12e-f4e9-419b-a231-b31849875313.json
View file @
5d3374c3
{
"id"
:
"a119f12e-f4e9-419b-a231-b31849875313"
,
"version"
:
13234865231
,
"
A
uthority"
:
"opendes"
,
"
a
uthority"
:
"opendes"
,
"kind"
:
"opendes:mapping:mapping:1.0.0"
,
"mappingSchemaMajorVersion"
:
1
,
"mappingSchemaMinorVersion"
:
0
,
...
...
testing/wks-test-core/src/test/java/org/opengroup/osdu/wks/stepdefs/IntegrationTestStepDefs.java
View file @
5d3374c3
...
...
@@ -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"
,
...
...
testing/wks-test-core/src/test/resources/input_payloads/schemas/schema_abc_wks_log_1.json
0 → 100644
View file @
5d3374c3
{
"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
testing/wks-test-core/src/test/resources/input_payloads/schemas/schema_abc_wks_log_100.json
0 → 100644
View file @
5d3374c3
{
"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
testing/wks-test-core/src/test/resources/input_payloads/schemas/schema_abc_wks_well_100.json
0 → 100644
View file @
5d3374c3
{
"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
testing/wks-test-core/src/test/resources/input_payloads/schemas/schema_npl_wks_log_2.json
0 → 100644
View file @
5d3374c3
{
"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
testing/wks-test-core/src/test/resources/input_payloads/schemas/schema_slb_wks_log_1.json
0 → 100644
View file @
5d3374c3
{
"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
testing/wks-test-core/src/test/resources/input_payloads/schemas/schema_slb_wks_log_4.json
0 → 100644
View file @
5d3374c3
{
"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
testing/wks-test-core/src/test/resources/input_payloads/schemas/schema_slb_wks_logset_1.json
0 → 100644
View file @
5d3374c3
{
"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
testing/wks-test-core/src/test/resources/input_payloads/schemas/schema_slb_wks_well_1.json
0 → 100644
View file @
5d3374c3
{
"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
testing/wks-test-core/src/test/resources/input_payloads/schemas/schema_slb_wks_well_2.json
0 → 100644
View file @
5d3374c3
{
"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
testing/wks-test-core/src/test/resources/input_payloads/schemas/schema_slb_wks_wellbore_1.json
0 → 100644
View file @
5d3374c3
{
"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
testing/wks-test-core/src/test/resources/input_payloads/schemas/schema_slb_wks_wellset_1.json
0 → 100644
View file @
5d3374c3
{
"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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment