Uploaded image for project: 'Hybrid Application Console'
  1. Hybrid Application Console
  2. HAC-2869

[QE] Create contract tests between UI and HAS

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Developer
    • [QE] Create contract tests between UI and HAS
    • False
    • False
    • None
    • 0% To Do, 0% In Progress, 100% Done

      Use Pact for contract testing between HAC-dev and other services. The first steps may be like this:

      • implement POC
        • HAS simple scenario of application creation
        • HAC-dev sends a request for app creation and HAS returns 200
      • try a more complex scenario
        • pre-create an app with two components on HAS side
          • components should be one from GH and one Quay
          • use State for this
        • HAC-dev will send request to gett an app with components
      • incorporate this as part of a job for PR check tests
        • create Pact broker for storing the contracts
        • find out the best way for versoining pacts 
        • start on HAC-dev side
        • create a check on HAS side
      • investigate how to use that as a check for pushing to staging/production
        • try to use 'can-i-deploy' for those purposes

      Once we have some test running well, pipelines setup and checks working, we can add more tests from HAS API and add more components (SPI, etc.).

              Unassigned Unassigned
              kkanova Kateřina Foniok
              Archiver:
              rhn-support-sthamilt Stacey Hamilton

                Created:
                Updated:
                Resolved:
                Archived: