In pre-ship R3 M14 IBM environment Storage API is not working as expected.
While performing test for Storage (Create-Update-Retrieve) & Unit Conversion - In the pre-ship R3 M14, IBM environment, Storage API is not working as expected.
I create a record
curl --location --request PUT 'https://cpd-osdu.odi-og-osdu-ba8e38d4c011d627379af1a4280c4e35-0000.us-south.containers.appdomain.cloud/osdu-storage/api/storage/v2/records'
--header 'data-partition-id: opendes'
--header 'Accept: application/json'
--header 'Authorization: Bearer eyJhbGciOi...DgtIIKxmQ'
--header 'Content-Type: application/json'
--data-raw '[
{
"id": "opendes:master-data--SeismicAcquisitionSurvey:Autotest_999294098303",
"kind": "osdu:wks:master-data--SeismicAcquisitionSurvey:1.0.0",
"meta": [
{
"kind": "Unit",
"name": "ms",
"persistableReference": "{"abcd":{"a":0.0,"b":0.001,"c":1.0,"d":0.0},"symbol":"ms","baseMeasurement":{"ancestry":"T","type":"UM"},"type":"UAD"}",
"unitOfMeasureID": "opendes:reference-data--UnitOfMeasure:ms:",
"propertyNames": [
"RecordLength"
]
},
{
"kind": "Unit",
"name": "ft",
"persistableReference": "{"abcd":{"a":0.0,"b":0.3048,"c":1.0,"d":0.0},"symbol":"ft","baseMeasurement":{"ancestry":"L","type":"UM"},"type":"UAD"}",
"unitOfMeasureID": "opendes:reference-data--UnitOfMeasure:ft:",
"propertyNames": [
"ShotpointIncrementDistance",
"CableLength",
"CableSpacingDistance",
"MaxOffsetDistance"
]
}
],
"data": {
"Purpose": "Acquisition for Volve",
"SeismicGeometryTypeID": "opendes:reference-data--SeismicGeometryType:3D:",
"OperatingEnvironmentID": "opendes:reference-data--OperatingEnvironment:Offshore:",
"ShotpointIncrementDistance": 25.0,
"EnergySourceTypeID": "opendes:reference-data--SeismicEnergySourceType:Airgun:",
"SourceArrayCount": 2,
"SourceArraySeparationDistance": 100.0,
"SampleInterval": 4.0,
"RecordLength": 10200,
"CableCount": 4,
"CableLength": 6000.0,
"CableSpacingDistance": 100.0,
"MaxOffsetDistance": 6000.0,
"FoldCount": 120,
"VesselNames": [
"GECO ANGLER"
]
},
"acl": {
"owners": [
"data.default.owner@opendes.ibm.com"
],
"viewers": [
"data.wellboreMarkerdb47059.viewers@opendes.ibm.com"
]
},
"legal": {
"legaltags": [
"opendes-STORUNIT-Legal-Tag-Test6690637"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
}
}
]'
Response: 201 Created
{
"recordCount": 1,
"recordIds": [
"opendes:master-data--SeismicAcquisitionSurvey:Autotest_999294098303"
],
"skippedRecordIds": [],
"recordIdVersions": [
"opendes:master-data--SeismicAcquisitionSurvey:Autotest_999294098303:1667320492120321"
]
}
I try to retrieve the record using record ID
curl --location --request GET 'https://cpd-osdu.odi-og-osdu-ba8e38d4c011d627379af1a4280c4e35-0000.us-south.containers.appdomain.cloud/osdu-storage/api/storage/v2/records/opendes:master-data--SeismicAcquisitionSurvey:Autotest_999294098303'
--header 'data-partition-id: opendes'
--header 'Accept: application/json'
--header 'Authorization: Bearer eyJhbGciOi...DgtIIKxmQ'
Response: 403 Forbidden
{
"code": 403,
"reason": "Access denied",
"message": "The user is not authorized to perform this action"
}
The same workflow is working in AWS and Azure. In GCP storage part is working but Search is failing