Skip to content
Snippets Groups Projects
Commit ea527e1b authored by Sviatoslav Nekhaienko's avatar Sviatoslav Nekhaienko
Browse files

revert provider changes exept Azure

parent e581ac8f
No related branches found
No related tags found
1 merge request!60Indexer to read from Schema Service as well as Storage Schema
......@@ -50,6 +50,16 @@ public class SchemaToStorageFormatImplTest {
testSingleFile("/converter/integration-tests/index_records_1.schema", "KIND_VAL");
}
@Test
public void integrationTestSchema2() {
testSingleFile("/converter/integration-tests/index_records_2.schema", "KIND_VAL");
}
@Test
public void integrationTestSchema3() {
testSingleFile("/converter/integration-tests/index_records_3.schema", "KIND_VAL");
}
@Test
public void wkeSchemaPassed() {
testSingleFile("/converter/wks/slb_wke_wellbore.json", "slb:wks:wellbore:1.0.6");
......
{
"properties": {
"data": {
"allOf": [
{
"type": "object",
"properties": {
"Field": {
"type": "string"
},
"Location": {
"$ref": "#/definitions/core_dl_geopoint",
"description": "The wellbore's position .",
"format": "core:dl:geopoint:1.0.0",
"title": "WGS 84 Position",
"type": "object",
"x-slb-aliasProperties": [
"witsml:GeographicLocationWGS84"
]
},
"Basin": {
"type": "string"
},
"County": {
"type": "string"
},
"State": {
"type": "string"
},
"Country": {
"type": "string"
},
"WellStatus": {
"type": "string"
},
"OriginalOperator": {
"type": "string"
},
"WellName": {
"type": "string"
},
"WellType": {
"type": "string"
},
"EmptyAttribute": {
"type": "string"
},
"Rank": {
"type": "integer"
},
"Score": {
"type": "integer"
},
"Established": {
"type": "date-time"
},
"InvalidInteger": {
"type": "integer"
}
}
}
]
}
}
}
{
"kind": "KIND_VAL",
"schema": [
{
"path": "Field",
"kind": "string"
},
{
"path": "Location",
"kind": "core:dl:geopoint:1.0.0"
},
{
"path": "Basin",
"kind": "string"
},
{
"path": "County",
"kind": "string"
},
{
"path": "State",
"kind": "string"
},
{
"path": "Country",
"kind": "string"
},
{
"path": "WellStatus",
"kind": "string"
},
{
"path": "OriginalOperator",
"kind": "string"
},
{
"path": "WellName",
"kind": "string"
},
{
"path": "WellType",
"kind": "string"
},
{
"path": "EmptyAttribute",
"kind": "string"
},
{
"path": "Rank",
"kind": "int"
},
{
"path": "Score",
"kind": "int"
},
{
"path": "Established",
"kind": "datetime"
},
{
"path": "InvalidInteger",
"kind": "int"
}
]
}
\ No newline at end of file
{
"properties": {
"data": {
"allOf": [
{
"type": "object",
"properties": {
"GeoShape": {
"$ref": "#/definitions/geoJsonFeatureCollection",
"description": "The wellbore's position .",
"format": "core:dl:geopoint:1.0.0",
"title": "WGS 84 Position",
"type": "object",
"x-slb-aliasProperties": [
"witsml:GeographicLocationWGS84"
]
},
"WellName": {
"type": "string"
}
}
}
]
}
}
}
{
"kind": "KIND_VAL",
"schema": [
{
"path": "GeoShape",
"kind": "core:dl:geoshape:1.0.0"
},
{
"path": "WellName",
"kind": "string"
}
]
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment