Skip to content

Legal API - initial migration to GCP Test #20006

Closed

Description

@argush3

This ticket is get the latest legal api into Test via CD and verify some basic endpoints like GET /businesses work.

The test LEAR db in OCP will also need to be converted and migrated to GCP test.

TODOs

  • Migrate latest LEAR db in OCP test into GCP test
  • Push legal api via business-api CD workflow to test
  • Verify legal api works to an extent via some GET /business calls for different business types
  • Fix config issues if any

Activity

  1. added
    Entities - Data Migration
    on Feb 23, 2024
  2. changed the title [-]Legal API - initial migration to Test[/-] [+]Legal API - initial migration to GCP Test[/+] on Feb 23, 2024
  3. self-assigned this
    on Feb 27, 2024
  4. argush3 commented on Mar 8, 2024

    @argush3
    ContributorAuthor

    Converted latest LEAR data from Test OCP and migrated to GCP Test.

    Legal name legal api was also pushed to test.

    Below are some successful REST calls made against legal api in GCP test.
    image.png

    @riyazuddinsyed take a look. Let me know if you have any questions.

  5. GitChris23 commented on Mar 21, 2024

    @GitChris23
    Collaborator

    I tested the /meta/info endpoint in OS and GCP and found a difference.
    OS: {"API":"legal_api/2.100.0-missing","FrameWork":"2.3.3","SCHEMAS":"registry_schemas/2.18.19"}
    GCP: {"API":"legal_api/2.108.0-533895e","FrameWork":"1.1.2","SCHEMAS":"registry_schemas/2.18.19"}

    @argush3 @riyazuddinsyed Is this expected?

  6. argush3 commented on Mar 22, 2024

    @argush3
    ContributorAuthor

    I think you may have that reversed.

    We will be sorting that out to get everything working eventually. I'll cut a ticket soon.

  7. GitChris23 commented on Apr 4, 2024

    @GitChris23
    Collaborator

    You were right @argush3, I had that reversed. @riyazuddinsyed said I should be testing the endpoints (listed above) and ensuring the outputs are the same. Is that still accurate? The first one I tested was different and still is.

  8. argush3 commented on Apr 5, 2024

    @argush3
    ContributorAuthor

    You were right @argush3, I had that reversed. @riyazuddinsyed said I should be testing the endpoints (listed above) and ensuring the outputs are the same. Is that still accurate? The first one I tested was different and still is.

    Yes, looks good Chris.

    The issue you brought up with the meta/info endpoint has been added to the cleanup epic and will be addressed at a later date.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ENTITY - DO NOT USEEntities - Data Migration

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions