Skip to content
Snippets Groups Projects

Added mapping info files and mapping files into deployment folder for bootstrapping

Merged Neha Sarda requested to merge WKS_Relationship_Fixes into master
5 unresolved threads

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
27 27 When I hit Storage service put end point with <payload> which has invalid source so that mapping service does not return any mapping
28 28 Then No corresponding transformed record should be created for this record in storage
29 29
30 Examples:
30 Examples:
31 31 | payload |
32 32 | "/input_payloads/payload_with_invalid_source.json" |
33 33
34 @WksService
34 @WksService1
  • 160 And Transformed record should contain relationship to wks with same authority of raw1 <relatedEntityPayload> and with same entity as per <expectedRelationshipBlock>
    161
    162 Examples:
    163 | relatedEntityPayload | parentPayload | expectedRelationshipBlock |
    164 | "/input_payloads/relationship/raw_having_wks_created_ihs_well_entity.json" | "/input_payloads/relationship/recordRelatedToEntityHavingWksCreatedIHSWellEntity.json" | "/input_payloads/relationship/expectedRelationship_for_rawHavingWksCreated.json" |
    165
    166 @RelationshipValidation @Bug_690346
    167 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
    168 Given I hit Storage service put end point with <relatedEntityPayload> to persist a record say raw1
    169 And I verify that two wks records are created for this raw record raw1 with no matching authority or entity
    170 When I hit Storage service put end point with <parentPayload> whose raw record contains relationship to record raw1
    171 Then Transformed record should contain relationship to wks <relatedEntityPayload> and with higher major version as per <expectedRelationshipBlock>
    172
    173 Examples:
    174 | relatedEntityPayload | parentPayload | expectedRelationshipBlock |
    175 #| "/input_payloads/relationship/raw_having_wks_created_ihs_wellbore_entity.json" | "/input_payloads/relationship/recordRelatedToEntityHavingWksCreatedIHSWellboreEntity.json" | "/input_payloads/relationship/expectedRelationship_for_rawHavingWksCreated.json" |
    • The input parameters are commented out for this test scenario, do we want to run this test case? I don't see it getting executed in the Gitlab pipeline logs

    • Author Contributor

      This is newly added test case. This is meant to be run but currently it's failing and I have logged bug for this. You can see bug id as annotation. Once that bug is resolved I will un-comment it so we can run it.

    • Please register or sign in to reply
  • 193 Then Transformed record should contain relationship to multiple wks records with same entity of raw1 and raw2 <relatedEntityPayload> as per <expectedRelationshipBlock>
    194
    195 Examples: vc
    196 | relatedEntityPayload | parentPayload | expectedRelationshipBlock |
    197 | "/input_payloads/relationship/multiple_raw_having_diffKindSameEntity_wks_created.json" | "/input_payloads/relationship/recordRelatedToSameEntitiesHavingMultipleWKSCreated.json" | "/input_payloads/relationship/expectedRelationship_for_multipleRelatedRawWithWksCreated.json" |
    198
    199 @RelationshipValidation @Bug_697494
    200 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
    201 Given I hit Storage service put end point with <relatedEntityPayload> to persist two records say raw1 and raw2
    202 And I verify that multiple wks records are created for each of the above raw records
    203 When I hit wks service with <parentPayload> whose raw record contains relationship to above records
    204 Then Transformed record should contain relationship to multiple wks records of raw1 and raw2 <relatedEntityPayload> as per <expectedRelationshipBlock>
    205
    206 Examples:
    207 | relatedEntityPayload | parentPayload | expectedRelationshipBlock |
    208 #| "/input_payloads/relationship/multiple_raw_having_diffKind_wks_created.json" | "/input_payloads/relationship/recordRelatedToMultipleEntitiesHavingMultipleWKSCreated.json" | "/input_payloads/relationship/expectedRelationship_for_multipleRelatedRawWithWksCreated.json" |
  • harshit aggarwal approved this merge request

    approved this merge request

  • Neha Sarda added 9 commits

    added 9 commits

    Compare with previous version

  • harshit aggarwal approved this merge request

    approved this merge request

  • merging this as it has approval from Azure as well

  • merged

  • Paresh Behede mentioned in commit 92d2cffe

    mentioned in commit 92d2cffe

  • Please register or sign in to reply
    Loading