Wellbore DDMS Namespace Hardcoded in Configmap
Currently, Wellbore DDMS charts are hardcoding osdu
as the namespace for the service in the configmap (Wellbore defines how to communicate with other services in ConfigMap as opposed to using environment variables like most services).
Example: Curl:
curl --location --request POST 'https://osdu-....msft-osdu-test.org/api/os-wellbore-ddms/ddms/v2/wellbores' \
--header 'data-partition-id: opendes' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ...' \
--data-raw '[
{
"acl": {
"viewers": [
"data.default.viewers@opendes.contoso.com"
],
"owners": [
"data.default.owners@opendes.contoso.com"
]
},
"data": {
"name": "myWellbore",
"airGap": {
"unitKey": "ft",
"value": 35
},
"country": "United States of America",
"dateCreated": "2013-03-22T11:16:03.123Z",
"dateModified": "2013-03-22T11:16:03.123Z",
"locationWGS84": {
"features": [
{
"geometry": {
"coordinates": [
[
-103.2380248,
46.8925081,
5301
],
[
-103.2380248,
46.8925081,
2801
],
[
-103.2378748,
46.892608100000004,
301
],
[
-103.23742477750001,
46.89270811,
-2199
],
[
-103.23667470999663,
46.892808120001,
-4699
],
[
-103.2356245974865,
46.892908130002,
-7199
]
],
"type": "LineString"
},
"properties": {
"name": "Newton 2-31-Lat-1"
},
"type": "Feature"
}
],
"type": "FeatureCollection"
},
"propertyDictionary": {
"Country Name": "UNITED STATES",
"Date First Report": "11-12-1982",
"Date Last Activity": "06-03-2016",
"Field Name": "WILDCAT",
"Well Num": "34-14"
},
"relationships": {
"well": {
"confidence": 1,
"id": "{data_parition_id}:well:myWell",
"name": "myWell"
}
},
"uwi": "33-089-00300-00-01",
"wellHeadGeographic": {
"crsKey": "geographic",
"elevationFromMsl": {
"unitKey": "ft",
"value": 2650.5
},
"latitude": 46.89249512931594,
"longitude": -103.23756979739804
},
"wellHeadProjected": {
"crsKey": "projected",
"elevationFromMsl": {
"unitKey": "ft",
"value": 2650.5
},
"x": 1315694.366039069,
"y": 458966.7531300551
},
"wellHeadWgs84": {
"latitude": 46.8925081,
"longitude": -103.2380248
},
"wellboreType": "bypass"
},
"meta": [
{
"kind": "Unit",
"name": "Measure depth default unit",
"persistableReference": "persistableReference",
"propertyNames": [
"symbol"
],
"propertyValues": [
"ft"
]
},
{
"kind": "CRS",
"name": "projected",
"persistableReference": "{\"lateBoundCRS\":{\"wkt\":\"PROJCS[\\\"NAD_1927_StatePlane_North_Dakota_South_FIPS_3302\\\",GEOGCS[\\\"GCS_North_American_1927\\\",DATUM[\\\"D_North_American_1927\\\",SPHEROID[\\\"Clarke_1866\\\",6378206.4,294.9786982]],PRIMEM[\\\"Greenwich\\\",0.0],UNIT[\\\"Degree\\\",0.0174532925199433]],PROJECTION[\\\"Lambert_Conformal_Conic\\\"],PARAMETER[\\\"False_Easting\\\",2000000.0],PARAMETER[\\\"False_Northing\\\",0.0],PARAMETER[\\\"Central_Meridian\\\",-100.5],PARAMETER[\\\"Standard_Parallel_1\\\",46.1833333333333],PARAMETER[\\\"Standard_Parallel_2\\\",47.4833333333333],PARAMETER[\\\"Latitude_Of_Origin\\\",45.6666666666667],UNIT[\\\"Foot_US\\\",0.304800609601219],AUTHORITY[\\\"EPSG\\\",32021]]\",\"ver\":\"PE_10_3_1\",\"name\":\"NAD_1927_StatePlane_North_Dakota_South_FIPS_3302\",\"authCode\":{\"auth\":\"EPSG\",\"code\":\"32021\"},\"type\":\"LBC\"},\"singleCT\":{\"wkt\":\"GEOGTRAN[\\\"NAD_1927_To_WGS_1984_79_CONUS\\\",GEOGCS[\\\"GCS_North_American_1927\\\",DATUM[\\\"D_North_American_1927\\\",SPHEROID[\\\"Clarke_1866\\\",6378206.4,294.9786982]],PRIMEM[\\\"Greenwich\\\",0.0],UNIT[\\\"Degree\\\",0.0174532925199433]],GEOGCS[\\\"GCS_WGS_1984\\\",DATUM[\\\"D_WGS_1984\\\",SPHEROID[\\\"WGS_1984\\\",6378137.0,298.257223563]],PRIMEM[\\\"Greenwich\\\",0.0],UNIT[\\\"Degree\\\",0.0174532925199433]],METHOD[\\\"NADCON\\\"],PARAMETER[\\\"Dataset_conus\\\",0.0],AUTHORITY[\\\"EPSG\\\",15851]]\",\"ver\":\"PE_10_3_1\",\"name\":\"NAD_1927_To_WGS_1984_79_CONUS\",\"authCode\":{\"auth\":\"EPSG\",\"code\":\"15851\"},\"type\":\"ST\"},\"ver\":\"PE_10_3_1\",\"name\":\"NAD27 * OGP-Usa Conus / North Dakota South [32021,15851]\",\"authCode\":{\"auth\":\"SLB\",\"code\":\"32021079\"},\"type\":\"EBC\"}",
"propertyNames": [
"wellHeadProjected.x",
"wellHeadProjected.y"
]
}
],
"id": "opendes:wellbore:myWellbore",
"kind": "opendes:wks:wellbore:1.0.6",
"legal": {
"legaltags": [
"opendes-public-usa-check-1"
],
"otherRelevantDataCountries": [
"FR",
"US"
],
"status": "compliant"
}
}
]'
Response:
{"origin":"osdu-data-ecosystem-storage","errors":["[Errno -5] No address associated with hostname"]}
Edited by Jason