Skip to content

Complete testing to verify Postgres transactions match DB2 transactions #17665

Closed

Description

@mstanton1

Verify/update API or the data migration scripts after comparing TEST pre-migration API responses with SANDBOX post-migration responses. Verify API response JSON from pre-migration and post-migration environments match.

API Updates:
GET other registration endpoint:

  • Set clientReferenceId as an empty string instead of "None".
  • Return the mhr_documents.affirm_by value as the username if it is available.
  • Record conversion set submitting to empty string instead of None if it does not exist.
  • Remove extra '\' character when there are multiple owner names.

GET account registrations summary:

  • Do not ever set the report download path for legacy registrations.
  • Include EXEMPT owner names (legacy).
  • Compute days to expiry as a timestamp difference in days.
  • Return owner names at the time of the registration - not the current names.

GET registration current view:

  • Description otherRemarks, rebuiltRemarks, engineerName, csaNumber, csaStandard include with empty string if value is null.
  • Location address return blank postal code if country is CA.
  • Remove submittingParty, payment.
  • Set declaredValue, declaredDateTime from most recent transfer if available.
  • Add empty string for attentionReference if no value.

POST search results:

  • Description otherRemarks, rebuiltRemarks, engineerName, csaNumber, csaStandard include with empty string if value is null.
  • Add empty string for clientReferenceId, attentionReference if no value.
  • Remove registrationType, documentDescription, documentRegistrationNumber.
  • Remove notes if empty.

Verify registration for new registration, transfer, and permit matches.

Developer Note:
PPR SANDBOX and TEST are not in sync. An MHR with a lien in TEST may not have one in SANDBOX.

Activity

  1. self-assigned this
    on Dec 13, 2023
  2. doug-lovett commented on Dec 16, 2023

    @doug-lovett
    Collaborator

    Moving back to in progress to complete.

  3. doug-lovett commented on Dec 20, 2023

    @doug-lovett
    Collaborator

    Moving to done. Updates now in DEV.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions