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

Add automated unit test to validate binding a backing service with a DeploymentConfig

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Service Binding
    • App Services Sprint 176

      Description

      The scenario:

      • Create an application in a form of DeploymenConfig (e.g. Import Node.js App or use simple shell app) and set matching labels on it
      • Create a backing service (PostgreSQL DB) instance
      • Create ServiceBindingRequest to bind the App (selected by the labels) and DB
      • Verify that the App's DeploymentConfig contains the proper env variables set and is re-deployed without errors.

      The scenario is covered by the nodejs_postgresql example where most of the steps is automated by the example's make targets.

      So, the implementation of this scenario can be achieved by automating the example.

      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:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: