Skip to content
Snippets Groups Projects
Commit 72329411 authored by Zhibin Mai's avatar Zhibin Mai
Browse files

Update unit test that covers the case that the condition property is under...

Update unit test that covers the case that the condition property is under multi-level nested object
parent 15c834f2
No related branches found
No related tags found
1 merge request!620Support flexible condition match in Index Augmenter
Pipeline #213915 failed
......@@ -86,11 +86,15 @@
"Policy": "ExtractAllMatches",
"UseCase": "As a user I want to discover WellLog instances by the Technical Assurance Organisation name.",
"Paths": [{
"RelatedObjectsSpec.RelationshipDirection": "ChildToParent",
"RelatedObjectsSpec.RelatedObjectID": "data.TechnicalAssurances[].Reviewers[].OrganisationID",
"ValueExtraction.ValuePath": "data.OrganisationName",
"RelatedObjectsSpec.RelatedObjectKind": "osdu:wks:master-data--Organisation:1.",
"RelatedObjectsSpec.RelatedConditionProperty": null,
"RelatedObjectsSpec.RelationshipDirection": "ChildToParent",
"RelatedObjectsSpec.RelatedConditionMatches": [
"^[\\w\\-\\.]+:reference-data--ContactRoleType:ProjectManager:AccountOwner:$",
"^[\\w\\-\\.]+:reference-data--ContactRoleType:AccountOwner:$"
],
"RelatedObjectsSpec.RelatedConditionProperty": "data.TechnicalAssurances[].Reviewers[].RoleTypeID",
"ValueExtraction.ValuePath": "data.OrganisationName",
"ValueExtraction.RelatedConditionProperty": null
}
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment