old_contents: import requests
  import features.src.support.helpers as helpers
  import re
  import os
  import time
  
  stageDeployed = False
  
  
  class Stage(object):
  
      def runTest(self, theString):
          print(theString)
  
          ###############################################
          # Initialize variables from Environment setting
  
          osoUsername = os.environ.get('OSO_USERNAME')
          clusterAddress = os.environ.get('OSO_CLUSTER_ADDRESS')
  
          oso_token = os.environ.get('OSO_TOKEN')
          temp = 'Bearer ' + oso_token
          headers = {'Authorization': temp,
                     'X-App': 'OSIO',
                     'X-Git-Provider': 'GitHub'}
  
          # Generate a request to find the routes
          urlString = '{}/oapi/v1/namespaces/{}-stage/routes'.format(clusterAddress, osoUsername)
  
          r = requests.get(urlString, headers=headers)
          # r = requests.get(
          #   'https://api.starter-us-east-2.openshift.com:443/oapi/v1/namespaces/ldimaggi-stage/routes',
          #   headers=headers
          # )
          # print r.text
  
          respJson = r.json()
          # print respJson
  
          routeString = respJson['items'][0]['status']['ingress'][0]['host']
          # print routeString
  
          urlString = 'http://{}'.format(routeString)
  
          # Example staged app endpoint:
          # http://test123-ldimaggi-stage.8a09.starter-us-east-2.openshiftapps.com
  
          print('Starting Stage test.....')
  
          # Wait to ensure that deploy to stage has time to complete
          time.sleep(60)
  
          r = requests.get(urlString)
          print('stage request results = {}'.format(r.text))
  
          result = r.text
          helpers.printToJson('Promote to Stage response', r)
          global stageDeployed
          if re.search('Using the greeting service', result):
              stageDeployed = True
              return 'Success'
          else:
              stageDeployed = False
              return 'Fail'
  
new_contents: import requests
  import features.src.support.helpers as helpers
  import re
  import os
  import time
  
  stageDeployed = False
  
  
  class Stage(object):
  
      def runTest(self, theString):
          print(theString)
  
          ###############################################
          # Initialize variables from Environment setting
  
          osoUsername = os.environ.get('OSO_USERNAME')
          clusterAddress = os.environ.get('OSO_CLUSTER_ADDRESS')
  
          oso_token = os.environ.get('OSO_TOKEN')
          temp = 'Bearer ' + oso_token
          headers = {'Authorization': temp,
                     'X-App': 'OSIO',
                     'X-Git-Provider': 'GitHub'}
  
          # Generate a request to find the routes
          urlString = '{}/oapi/v1/namespaces/{}-stage/routes'.format(clusterAddress, osoUsername)
  
          r = requests.get(urlString, headers=headers)
          # r = requests.get(
          #   'https://api.starter-us-east-2.openshift.com:443/oapi/v1/namespaces/ldimaggi-stage/routes',
          #   headers=headers
          # )
          # print r.text
  
          respJson = r.json()
          # print respJson
  
          routeString = respJson['items'][0]['status']['ingress'][0]['host']
          # print routeString
  
          urlString = 'http://{}'.format(routeString)
  
          # Example staged app endpoint:
          # http://test123-ldimaggi-stage.8a09.starter-us-east-2.openshiftapps.com
  
          print('Starting Stage test.....')
  
          # Wait to ensure that deploy to stage has time to complete
          time.sleep(60)
  
          r = requests.get(urlString)
          print('stage request results = {}'.format(r.text))
  
          result = r.text
          helpers.printToJson('Promote to Stage response', r)
          global stageDeployed
          if re.search("(Try|Using) the greeting service", result):
              stageDeployed = True
              return 'Success'
          else:
              stageDeployed = False
              return 'Fail'
  
subject: Add support for the 'configmap' mission.