Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-2240

Pass environment variable to the process instead of setting it globally

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None

      Goal: 

      We are setting the environment variables for the worker globally, this imposes a problem if there is more than one request to the worker with the same variables, as the value can change, or, could be duplications and problems doing that.

      We need to change that to set the environment variable for the command running, rather than globally to the parent process.

      Acceptance Criteria:

      A list of verification conditions, successful functional tests, or expected outcomes in order to declare this story/task successfully completed.

      • Change the way we set the env var from globally to local to the command
      • Write unit test to verify that the env var is not present globally
      • Look for a way to verify if the env var is set for the command executed only

              awaltlov@redhat.com Andrea Waltlova
              rolivier@redhat.com Rodolfo Olivieri
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: