Uploaded image for project: 'Service Binding'
  1. Service Binding
  2. APPSVC-246

Add automated test to verify binding a single backing service with two individual applications

XMLWordPrintable

    • App Services Sprint 176

      Description

      One application is selected by the resourceRef and second application is selected via the matchLabels.

      The scenario:

      • Create an application #1 in a form of Deployment or DeploymenConfig and set matching labels on it
      • Create an application #1 in a form of Deployment or DeploymenConfig and do not set matching labels on it
      • Create a backing service (PostgreSQL DB) instance
      • Create ServiceBindingRequest #1 to bind the App #1 selected by the applicationSelector.matchLabels and the DB
      • Create ServiceBindingRequest #2 to bind the App #2 selected by the applicationSelector.resourceRef and the DB
      • Verify that each App has the proper env variables set for the backing service and is re-deployed without errors.

      Acceptance Criteria

      • A new test is added to be executed by the
        make test-unit

        command so it can be executed on CI.

              dshikhar Dhriti Shikhar (Inactive)
              pmacik@redhat.com Pavel Macik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: