feedhenry / fh-fhc

FeedHenry CLI, the Command Line Interface to FeedHenry
Other
26 stars 66 forks source link

RHMAP-16061 - Update FHC to honour the mask-value options for environ… #371

Closed camilamacedo86 closed 7 years ago

camilamacedo86 commented 7 years ago

JIRA: https://issues.jboss.org/browse/RHMAP-16061

Feature Request: Update FHC to honor the mask-value options for environment variables

Steps to Verify

  1. Create a new project
  2. Go to the cloud application and take the number of the appid
  3. target the domain and perform the login via FHC
  4. For this cloud application create an env masked. Command : fhc env create --app=<app> --name=<name> --value=<value> --env=<environment> --mask
  5. List all env of this cloud app. The value should be masked Command : `fhc env list --app= --env=``
  6. Create a new env as step 4 without the parameter mask.
  7. List it to check that is not masked as step 5
  8. Update thn unmask env to be masked. Command : fhc env update --app=<app> --id=<id> --mask

Following the local tests

screen shot 2017-07-05 at 4 41 02 pm screen shot 2017-07-05 at 4 41 13 pm screen shot 2017-07-05 at 4 43 41 pm screen shot 2017-07-05 at 4 44 29 pm screen shot 2017-07-05 at 4 55 50 pm