Commit a3cb9828 authored by NSarda's avatar NSarda
Browse files

Added new test cases for relationship block

parent c38326a6
Pipeline #31588 passed with stages
in 21 minutes and 20 seconds
......@@ -29,6 +29,14 @@ public class AutomationConstants {
public static final String OS_TARGET_SCHEMA_KIND = getEnvironmentVariableOrDefaultValue("OS_TARGET_SCHEMA_KIND", "slb:wks:wellbore:1.3.1");
public static final List<String> OS_TARGET_SCHEMA_KIND_IHS = Arrays.asList("slb:wks:log:2.3.1", "abc:wks:log:3.2.1");
public static final List<String> OS_TARGET_SCHEMA_KIND_OGA = Arrays.asList("slb:wks:well:4.3.1", "slb:wks:well:5.1.0", "abc:wks:well:1.5.1");
public static final List<String> OS_TARGET_SCHEMA_KIND_IHS_WELL = Arrays.asList("abc:wks:log:3.2.1", "slb:wks:log:2.3.1", "slb:wks:well:2.0.0");
public static final List<String> OS_TARGET_SCHEMA_KIND_IHS_WELLBORE = Arrays.asList("abc:wks:log:3.2.1", "npl:wks:log:2.0.0");
public static final List<String> OS_TARGET_SCHEMA_KIND_PETREL_WELL = Arrays.asList("slb:wks:well:1.0.0", "abc:wks:well:1.5.1", "slb:wks:wellbore:1.0.0", "slb:wks:well:4.3.1");
public static final List<String> OS_TARGET_SCHEMA_KIND_AT_LOG = Arrays.asList("slb:wks:log:1.0.0", "abc:wks:log:1.0.7", "slb:wks:well:1.0.0", "slb:wks:log:4.0.0");
public static final List<String> OS_TARGET_SCHEMA_KIND_AT_WELL = Arrays.asList("slb:wks:well:1.0.0", "slb:wks:wellbore:1.0.0");
public static final List<String> OS_TARGET_SCHEMA_KIND_OGA_LOG = Arrays.asList("slb:wks:log:1.0.0", "slb:wks:well:1.0.0");
public static final List<String> OS_TARGET_SCHEMA_KIND_PETREL_WELLSET = Arrays.asList("slb:wks:well:1.0.0", "abc:wks:well:1.0.0");
public static final List<String> OS_TARGET_SCHEMA_KIND_AT_LOGSET = Arrays.asList("slb:wks:log:1.0.0", "abc:wks:log:1.0.0");
public static final long INDEXING_TIMEOUT = 60;
public static final String TENANT_NAME_PLACEHOLDER = "<tenant_name>";
public static final String ACL_VIEWERS_GROUP = "<acl_viewers>";
......
......@@ -382,8 +382,8 @@ public class IntegrationTestStepDefs implements En {
});
Given("I hit Storage service put end point with {string} whose raw record contains relationship to record raw1",
(String inputPayload) -> {
persistRecordWithRelationshipBlock(inputPayload);
(String parentInputPayload) -> {
persistRecordWithRelationshipBlock(parentInputPayload);
});
Then("Transformed record should contain relationship to wks of raw1 {string} as per {string}",
......@@ -434,6 +434,25 @@ public class IntegrationTestStepDefs implements En {
And("I verify that three wks records are created for this raw record raw1", () -> {
checkMultipleWKSRecordsCreatedForEachKind(AutomationConstants.OS_TARGET_SCHEMA_KIND_OGA);
});
And("I verify that three wks records are created for this raw record raw1 with only one matching entity", () -> {
checkMultipleWKSRecordsCreatedForEachKind(AutomationConstants.OS_TARGET_SCHEMA_KIND_IHS_WELL);
});
And("I verify that two wks records are created for this raw record raw1 with no matching authority or entity", () -> {
checkMultipleWKSRecordsCreatedForEachKind(AutomationConstants.OS_TARGET_SCHEMA_KIND_IHS_WELLBORE);
});
And("I verify that multiple wks records are created for each of the above raw records", () -> {
checkMultipleWKSRecordsCreatedForEachKind(AutomationConstants.OS_TARGET_SCHEMA_KIND_PETREL_WELL);
checkMultipleWKSRecordsCreatedForEachKindForSecondRecord(AutomationConstants.OS_TARGET_SCHEMA_KIND_AT_LOG);
});
And("I verify that multiple wks records are created for each of the above raw records having same autority and different entities", () -> {
checkMultipleWKSRecordsCreatedForEachKind(AutomationConstants.OS_TARGET_SCHEMA_KIND_AT_WELL);
checkMultipleWKSRecordsCreatedForEachKindForSecondRecord(AutomationConstants.OS_TARGET_SCHEMA_KIND_OGA_LOG);
});
Given("I hit wks service with {string} whose raw record contains relationship to above records",
(String inputPayload) -> {
......@@ -450,6 +469,40 @@ public class IntegrationTestStepDefs implements En {
}
verifyRelationshipsBlockOfWksCreated(expectedRelationshipBlock, wksRecordIdsInRelationshipBlock, AutomationConstants.OS_TARGET_SCHEMA_KIND);
});
Then("Transformed record should contain relationship to multiple wks records of raw1 and raw2 {string} as per {string}",
(String inputPayload, String expectedRelationshipBlock) -> {
List<String> ids = extractRecordIdFromPayload(inputPayload);
List<String> wksRecordIdsInRelationshipBlock = new ArrayList<>();
for(String id : ids) {
wksRecordIdsInRelationshipBlock.add(this.createWKSRecordId(id, AutomationConstants.OS_TARGET_SCHEMA_KIND_PETREL_WELL.get(3)));
wksRecordIdsInRelationshipBlock.add(this.createWKSRecordId(id, AutomationConstants.OS_TARGET_SCHEMA_KIND_AT_LOG.get(3)));
}
verifyRelationshipsBlockOfWksCreated(expectedRelationshipBlock, wksRecordIdsInRelationshipBlock, AutomationConstants.OS_TARGET_SCHEMA_KIND);
});
Then("Transformed record should contain relationship to multiple wks records with same entity of raw1 and raw2 {string} as per {string}",
(String inputPayload, String expectedRelationshipBlock) -> {
List<String> ids = extractRecordIdFromPayload(inputPayload);
List<String> wksRecordIdsInRelationshipBlock = new ArrayList<>();
for(String id : ids) {
wksRecordIdsInRelationshipBlock.add(this.createWKSRecordId(id, AutomationConstants.OS_TARGET_SCHEMA_KIND_AT_WELL.get(0)));
wksRecordIdsInRelationshipBlock.add(this.createWKSRecordId(id, AutomationConstants.OS_TARGET_SCHEMA_KIND_OGA_LOG.get(0)));
}
verifyRelationshipsBlockOfWksCreated(expectedRelationshipBlock, wksRecordIdsInRelationshipBlock, AutomationConstants.OS_TARGET_SCHEMA_KIND);
});
Then("Transformed record should contain relationship to multiple wks records with same authority of raw1 and raw2 {string} as per {string}",
(String inputPayload, String expectedRelationshipBlock) -> {
List<String> ids = extractRecordIdFromPayload(inputPayload);
List<String> wksRecordIdsInRelationshipBlock = new ArrayList<>();
for(String id : ids) {
wksRecordIdsInRelationshipBlock.add(this.createWKSRecordId(id, AutomationConstants.OS_TARGET_SCHEMA_KIND_PETREL_WELLSET.get(0)));
wksRecordIdsInRelationshipBlock.add(this.createWKSRecordId(id, AutomationConstants.OS_TARGET_SCHEMA_KIND_AT_LOGSET.get(0)));
}
verifyRelationshipsBlockOfWksCreated(expectedRelationshipBlock, wksRecordIdsInRelationshipBlock, AutomationConstants.OS_TARGET_SCHEMA_KIND);
});
Given("I hit Storage service put end point with {string} to persist a record,say raw1, for which there is no wks mapping present",
(String inputPayload) -> {
......@@ -536,13 +589,47 @@ public class IntegrationTestStepDefs implements En {
}
verifyRelationshipsBlockOfWksCreated(expectedRelationshipBlock, wksRecordIdsInRelationshipBlock, AutomationConstants.OS_TARGET_SCHEMA_KIND);
});
Then("Transformed record should contain relationship to wks with same authority of raw1 {string} and with same entity as per {string}",
(String relatedinputPayload, String expectedRelationshipBlock) -> {
List<String> ids = extractRecordIdFromPayload(relatedinputPayload);
List<String> wksRecordIdsInRelationshipBlock = new ArrayList<>();
for(String id : ids) {
wksRecordIdsInRelationshipBlock.add(this.createWKSRecordId(id, AutomationConstants.OS_TARGET_SCHEMA_KIND_IHS_WELL.get(2)));
}
verifyRelationshipsBlockOfWksCreated(expectedRelationshipBlock, wksRecordIdsInRelationshipBlock, AutomationConstants.OS_TARGET_SCHEMA_KIND);
});
Then("Transformed record should contain relationship to wks {string} and with higher major version as per {string}",
(String inputPayload, String expectedRelationshipBlock) -> {
List<String> ids = extractRecordIdFromPayload(inputPayload);
List<String> wksRecordIdsInRelationshipBlock = new ArrayList<>();
for(String id : ids) {
wksRecordIdsInRelationshipBlock.add(this.createWKSRecordId(id, AutomationConstants.OS_TARGET_SCHEMA_KIND_IHS_WELLBORE.get(0)));
}
verifyRelationshipsBlockOfWksCreated(expectedRelationshipBlock, wksRecordIdsInRelationshipBlock, AutomationConstants.OS_TARGET_SCHEMA_KIND);
});
}
private void checkMultipleWKSRecordsCreatedForEachKind(List<String> targetSchemaKinds) {
for (String targetSchemaKind : targetSchemaKinds) {
String wksRecordId = getWksIdForRecordFromRequestPayloadArrayAtIndex(0, targetSchemaKind);
String responseCode = pollStorageForWksOfRawInRelationshipBlock(wksRecordId);
String responseCode = pollStorageForWksOfRawInRelationshipBlock(wksRecordId.toString());
boolean recordCreatedOrUpdated = responseCode.equals(AutomationConstants.RECORD_CREATED)
| responseCode.equals(AutomationConstants.REQUEST_SUCCESS);
assertTrue(recordCreatedOrUpdated);
}
staticWaitForIndexingToCommence();
}
private void checkMultipleWKSRecordsCreatedForEachKindForSecondRecord(List<String> targetSchemaKinds) {
for (String targetSchemaKind : targetSchemaKinds) {
String wksRecordId = getWksIdForRecordFromRequestPayloadArrayAtIndex(1, targetSchemaKind);
String responseCode = pollStorageForWksOfRawInRelationshipBlock(wksRecordId.toString());
boolean recordCreatedOrUpdated = responseCode.equals(AutomationConstants.RECORD_CREATED)
| responseCode.equals(AutomationConstants.REQUEST_SUCCESS);
......@@ -551,6 +638,7 @@ public class IntegrationTestStepDefs implements En {
staticWaitForIndexingToCommence();
}
private String getVersionOfIngestedRecord(String recodId) {
String reqURI = System.getProperty("STORAGE_URL", System.getenv("STORAGE_URL")).replaceAll("/$", "")
......@@ -859,8 +947,8 @@ public class IntegrationTestStepDefs implements En {
this.context.setHttpResponse(response);
}
private void persistRecordWithRelationshipBlock(String inputPayload) throws IOException {
String payload = this.context.getFileUtils().read(inputPayload);
private void persistRecordWithRelationshipBlock(String parentInputPayload) throws IOException {
String payload = this.context.getFileUtils().read(parentInputPayload);
payload = updatePlaceholdersInInputPayload(payload);
String recordId = generateRandomId(payload);
this.context.setCustomRecordId(recordId);
......
......@@ -9,7 +9,7 @@ Feature: Covers all positive and negative test cases around WKS transformation s
When I hit Storage service put end point with <payload> which is already a WKS record
Then No corresponding transformed record should be created for this wks record in storage
Examples:
Examples:
| payload |
| "/input_payloads/payload_for_wks_record.json" |
......@@ -18,7 +18,7 @@ Feature: Covers all positive and negative test cases around WKS transformation s
When I hit Storage service put end point with <payload> which is already a WKE record
Then No corresponding transformed record should be created for this wke record in storage
Examples:
Examples:
| payload |
| "/input_payloads/payload_for_wke_record.json" |
......@@ -27,7 +27,7 @@ Feature: Covers all positive and negative test cases around WKS transformation s
When I hit Storage service put end point with <payload> which has invalid source so that mapping service does not return any mapping
Then No corresponding transformed record should be created for this record in storage
Examples:
Examples:
| payload |
| "/input_payloads/payload_with_invalid_source.json" |
......@@ -39,7 +39,7 @@ Feature: Covers all positive and negative test cases around WKS transformation s
When I hit Storage service put end point to update raw record with <updatePayload>
Then Existing WKS record in storage should get updated
Examples:
Examples:
| payload | updatePayload |
| "/input_payloads/payload_for_create_operation.json" | "/input_payloads/payload_for_update_operation.json" |
......@@ -48,10 +48,10 @@ Feature: Covers all positive and negative test cases around WKS transformation s
When I hit Storage service put end point with <payload>
Then Transformed record should be created in storage with <tagsblock>
Examples:
| payload | tagsblock |
| "/input_payloads/payload_withTagsAndMeta_for_create_operation.json" | "/input_payloads/payload_with_tags_In_output.json" |
Examples:
| payload | tagsblock |
| "/input_payloads/payload_withTagsAndMeta_for_create_operation.json" | "/input_payloads/payload_with_tags_In_output.json" |
@WksService
Scenario Outline: Multiple Wks records should be created on raw record creation. WKS records should be updated on corresponding raw record update.
When I hit Storage service put end point with <payload>
......@@ -73,7 +73,7 @@ Feature: Covers all positive and negative test cases around WKS transformation s
And Ancestry block should be updated correctly
#And Metablock references in the transformed record should be updated as defined in <expectedWksRecord> as per <MappingFile>
Examples:
Examples:
| payload | expectedWksRecord | MappingFile |
| "/input_payloads/payload_for_meta_and_ancestry.json" | "/input_payloads/expected_transformed_record_draft.json" | "/input_payloads/mappingFile.json" |
......@@ -83,7 +83,7 @@ Feature: Covers all positive and negative test cases around WKS transformation s
Then Transformation of Wks records should be skipped
And All other valid records should get transformed
Examples:
Examples:
| payload |
| "/input_payloads/payload_for_bulk_records.json" |
......@@ -94,7 +94,7 @@ Feature: Covers all positive and negative test cases around WKS transformation s
When I hit Storage service put end point with <parentPayload> whose raw record contains relationship to record raw1
Then Transformed record should contain relationship to wks of raw1 <relatedEntityPayload> as per <expectedRelationshipBlock>
Examples:
Examples:
| relatedEntityPayload | parentPayload | expectedRelationshipBlock |
| "/input_payloads/relationship/raw_having_wks_created.json" | "/input_payloads/relationship/recordRelatedToEntityHavingWksCreated.json" | "/input_payloads/relationship/expectedRelationship_for_rawHavingWksCreated.json" |
......@@ -105,7 +105,7 @@ Feature: Covers all positive and negative test cases around WKS transformation s
When I hit wks service with <parentPayload> whose raw record contains relationship to above records
Then Transformed record should contain relationship to wks records of raw1 and raw2 <relatedEntityPayload> as per <expectedRelationshipBlock>
Examples:
Examples:
| relatedEntityPayload | parentPayload | expectedRelationshipBlock |
| "/input_payloads/relationship/multiple_raw_having_wks_created.json" | "/input_payloads/relationship/recordRelatedToMultipleEntitiesHavingWKSCreated.json" | "/input_payloads/relationship/expectedRelationship_for_multipleRelatedRawWithWksCreated.json" |
......@@ -140,7 +140,7 @@ Feature: Covers all positive and negative test cases around WKS transformation s
| relatedEntityPayload | parentPayload | expectedRelationshipBlock |
| "/input_payloads/relationship/raw_having_wks_created_log_entity.json" | "/input_payloads/relationship/recordRelatedToEntityHavingWksCreatedLogEntity.json" | "/input_payloads/relationship/expectedRelationship_for_rawHavingWksCreated.json" |
@Not_yet_implemented_for_gitlab_gcp
@RelationshipValidation
Scenario Outline: WKS record relationships block should show relation to wks record created by wks service, with mapping definition targeted to schema of same authority and having higher major version
Given I hit Storage service put end point with <relatedEntityPayload> to persist a record say raw1
And I verify that three wks records are created for this raw record raw1
......@@ -148,29 +148,61 @@ Feature: Covers all positive and negative test cases around WKS transformation s
When I hit Storage service put end point with <parentPayload> whose raw record contains relationship to record raw1
Then Transformed record should contain relationship to wks with same authority of raw1 <relatedEntityPayload> and with higher major version as per <expectedRelationshipBlock>
Examples:
Examples:
| relatedEntityPayload | relatedEntityPayload2 | parentPayload | expectedRelationshipBlock |
| "/input_payloads/relationship/raw_having_wks_created_well_entity.json" | "/input_payloads/relationship/recordRelatedToAnotherRawButNotCreatedByWKSService.json" | "/input_payloads/relationship/recordRelatedToEntityHavingWksCreatedWellEntity.json" | "/input_payloads/relationship/expectedRelationship_for_rawHavingWksCreated.json" |
# @RelationshipValidation
# Scenario Outline: WKS record relationships block should show relation to wks record created using mapping definition targeted to schema of same authority and with latest major version
# Given I hit Storage service put end point with <relatedEntityPayload> to persist a record say raw1
# And I hit Storage service put end point with <multipleWksWithDifferentMajorVersions> having raw1 as ancestry
# Then I hit wks service with <parentPayload> whose raw record contains relationship to raw1
# And Transformed record should contain relationship to highest major version wks of raw1, as per <expectedRelationshipBlock>
#
# Examples:
# | relatedEntityPayload | multipleWksWithDifferentMajorVersions | parentPayload | expectedRelationshipBlock |
# | "" | "/input_payloads/relationship/multiple_wks_major_versions.json" | "/input_payloads/relationship/recordRelatedToAnotherRawWithMultipleWks.json" | "/input_payloads/relationship/expectedRelationship_for_multipleWks.json" |
#
# @RelationshipValidation
# Scenario Outline: WKS record should show relation to single wks of related entity in case multiple wks record versions are present
# Given I hit Storage service put end point with <relatedEntityPayload> to persist a record say raw1
# And I hit Storage service put end point with <updatedVersionOfAboveRecord> to upadte record raw1
# And I verify that wks is created for above raw record
# Then I hit wks service with <parentPayload> whose raw record contains relationship to raw1
# And Transformed record should contain relationship to record raw1 as per <expectedRelationshipBlock>
#
# Examples:
# | relatedEntityPayload | updatedVersionOfAboveRecord | parentPayload | expectedRelationshipBlock |
# | "/input_payloads/relationship/raw_for_wks_record_version1.json" | "/input_payloads/relationship/raw_for_wks_record_version2.json" | "/input_payloads/relationship/recordRelatedToAnotherRawWithMultipleWksRecordVersions.json" | "/input_payloads/relationship/expectedRelationship_for_multipleWksRecordVersions.json" |
@RelationshipValidation @Bug_690196
Scenario Outline: WKS record relationships block should show relation to wks record created by wks service, with mapping definition targeted to schema of same authority and same entity
Given I hit Storage service put end point with <relatedEntityPayload> to persist a record say raw1
And I verify that three wks records are created for this raw record raw1 with only one matching entity
When I hit Storage service put end point with <parentPayload> whose raw record contains relationship to record raw1
And Transformed record should contain relationship to wks with same authority of raw1 <relatedEntityPayload> and with same entity as per <expectedRelationshipBlock>
Examples:
| relatedEntityPayload | parentPayload | expectedRelationshipBlock |
#| "/input_payloads/relationship/raw_having_wks_created_ihs_well_entity.json" | "/input_payloads/relationship/recordRelatedToEntityHavingWksCreatedIHSWellEntity.json" | "/input_payloads/relationship/expectedRelationship_for_rawHavingWksCreated.json" |
@RelationshipValidation @Bug_690346
Scenario Outline: WKS record relationships block should show relation to wks record created by wks service, with mapping definition targeted to schema of non matching authority and entity
Given I hit Storage service put end point with <relatedEntityPayload> to persist a record say raw1
And I verify that two wks records are created for this raw record raw1 with no matching authority or entity
When I hit Storage service put end point with <parentPayload> whose raw record contains relationship to record raw1
Then Transformed record should contain relationship to wks <relatedEntityPayload> and with higher major version as per <expectedRelationshipBlock>
Examples:
| relatedEntityPayload | parentPayload | expectedRelationshipBlock |
#| "/input_payloads/relationship/raw_having_wks_created_ihs_wellbore_entity.json" | "/input_payloads/relationship/recordRelatedToEntityHavingWksCreatedIHSWellboreEntity.json" | "/input_payloads/relationship/expectedRelationship_for_rawHavingWksCreated.json" |
@Yet_To_Be_Run
Scenario Outline: Multiple WKS record relationships block should show relation to wks record created by wks service, with mapping definition targeted to schema of same authority
Given I hit Storage service put end point with <relatedEntityPayload> to persist two records say raw1 and raw2
And I verify that multiple wks records are created for each of the above raw records having same autority and different entities
When I hit wks service with <parentPayload> whose raw record contains relationship to above records
Then Transformed record should contain relationship to multiple wks records with same authority of raw1 and raw2 <relatedEntityPayload> as per <expectedRelationshipBlock>
Examples:
| relatedEntityPayload | parentPayload | expectedRelationshipBlock |
| "/input_payloads/relationship/multiple_raw_having_diffKindSameAuthority_wks_created.json" | "/input_payloads/relationship/recordRelatedToSameAuthorityHavingMultipleWKSCreated.json" | "/input_payloads/relationship/expectedRelationship_for_multipleRelatedRawWithWksCreated.json" |
@Yet_To_Be_Run
Scenario Outline: Multiple WKS record relationships block should show relation to wks record created by wks service, with mapping definition targeted to schema of same authority and same entity
Given I hit Storage service put end point with <relatedEntityPayload> to persist two records say raw1 and raw2
And I verify that multiple wks records are created for each of the above raw records having same autority and different entities
When I hit wks service with <parentPayload> whose raw record contains relationship to above records
Then Transformed record should contain relationship to multiple wks records with same entity of raw1 and raw2 <relatedEntityPayload> as per <expectedRelationshipBlock>
Examples:
| relatedEntityPayload | parentPayload | expectedRelationshipBlock |
| "/input_payloads/relationship/multiple_raw_having_diffKindSameEntity_wks_created.json" | "/input_payloads/relationship/recordRelatedToSameEntitiesHavingMultipleWKSCreated.json" | "/input_payloads/relationship/expectedRelationship_for_multipleRelatedRawWithWksCreated.json" |
@RelationshipValidation @Bug_697494
Scenario Outline: Multiple WKS record relationships block should show relation to wks record created by wks service, with mapping definition targeted to schema of same authority and having higher major version
Given I hit Storage service put end point with <relatedEntityPayload> to persist two records say raw1 and raw2
And I verify that multiple wks records are created for each of the above raw records
When I hit wks service with <parentPayload> whose raw record contains relationship to above records
Then Transformed record should contain relationship to multiple wks records of raw1 and raw2 <relatedEntityPayload> as per <expectedRelationshipBlock>
Examples:
| relatedEntityPayload | parentPayload | expectedRelationshipBlock |
#| "/input_payloads/relationship/multiple_raw_having_diffKind_wks_created.json" | "/input_payloads/relationship/recordRelatedToMultipleEntitiesHavingMultipleWKSCreated.json" | "/input_payloads/relationship/expectedRelationship_for_multipleRelatedRawWithWksCreated.json" |
[
{
"data": {
"Spud date": "atspud",
"UWI": "rawHavingWksCreated"
},
"id": "<tenant_name>:well:record1ForMultipleRelatedEntityCheck1",
"kind": "<tenant_name>:at:well:1.0.0",
"acl": {
"viewers": [
"<acl_viewers>@<tenant_name>.<cloud_domain>"
],
"owners": [
"<acl_owners>@<tenant_name>.<cloud_domain>"
]
},
"legal": {
"legaltags": [
"<legal_tags>"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
},
"createUser": "integrationtester"
},
{
"data": {
"Spud date": "atspud",
"UWI": "rawHavingWksCreated"
},
"id": "<tenant_name>:log:record2ForMultipleRelatedEntityCheck1",
"kind": "<tenant_name>:oga:log:1.0.0",
"acl": {
"viewers": [
"<acl_viewers>@<tenant_name>.<cloud_domain>"
],
"owners": [
"<acl_owners>@<tenant_name>.<cloud_domain>"
]
},
"legal": {
"legaltags": [
"<legal_tags>"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
},
"createUser": "integrationtester"
}
]
[
{
"data": {
"Spud date": "atspud",
"UWI": "rawHavingWksCreated"
},
"id": "<tenant_name>:well:record1ForMultipleRelatedEntityCheck1",
"kind": "<tenant_name>:at:well:1.0.0",
"acl": {
"viewers": [
"<acl_viewers>@<tenant_name>.<cloud_domain>"
],
"owners": [
"<acl_owners>@<tenant_name>.<cloud_domain>"
]
},
"legal": {
"legaltags": [
"<legal_tags>"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
},
"createUser": "integrationtester"
},
{
"data": {
"Spud date": "atspud",
"UWI": "rawHavingWksCreated"
},
"id": "<tenant_name>:log:record2ForMultipleRelatedEntityCheck1",
"kind": "<tenant_name>:oga:log:1.0.0",
"acl": {
"viewers": [
"<acl_viewers>@<tenant_name>.<cloud_domain>"
],
"owners": [
"<acl_owners>@<tenant_name>.<cloud_domain>"
]
},
"legal": {
"legaltags": [
"<legal_tags>"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
},
"createUser": "integrationtester"
}
]
[
{
"data": {
"Spud date": "atspud",
"UWI": "rawHavingWksCreated"
},
"id": "<tenant_name>:well:record1ForMultipleRelatedEntityCheck1",
"kind": "<tenant_name>:petrel:well:1.0.0",
"acl": {
"viewers": [
"<acl_viewers>@<tenant_name>.<cloud_domain>"
],
"owners": [
"<acl_owners>@<tenant_name>.<cloud_domain>"
]
},
"legal": {
"legaltags": [
"<legal_tags>"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
},
"createUser": "integrationtester"
},
{
"data": {
"Spud date": "atspud",
"UWI": "rawHavingWksCreated"
},
"id": "<tenant_name>:log:record2ForMultipleRelatedEntityCheck1",
"kind": "<tenant_name>:at:log:1.0.0",
"acl": {
"viewers": [
"<acl_viewers>@<tenant_name>.<cloud_domain>"
],
"owners": [
"<acl_owners>@<tenant_name>.<cloud_domain>"
]
},
"legal": {
"legaltags": [
"<legal_tags>"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
},
"createUser": "integrationtester"
}
]
[
{
"data": {
"Spud date": "atspud",
"UWI": "rawHavingWksCreated"
},
"id": "<tenant_name>:well:rawHavingWksCreated2",
"kind": "<tenant_name>:ihs:well:1.0.0",
"acl": {
"viewers": [
"<acl_viewers>@<tenant_name>.<cloud_domain>"
],
"owners": [
"<acl_owners>@<tenant_name>.<cloud_domain>"
]
},
"legal": {
"legaltags": [
"<legal_tags>"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
},
"createUser": "integrationtester"
}
]
[
{
"data": {
"Spud date": "atspud",
"UWI": "rawHavingWksCreated"
},
"id": "<tenant_name>:wellbore:rawHavingWksCreated2",
"kind": "<tenant_name>:ihs:wellbore:1.0.0",
"acl": {
"viewers": [
"<acl_viewers>@<tenant_name>.<cloud_domain>"
],
"owners": [
"<acl_owners>@<tenant_name>.<cloud_domain>"
]
},