Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conditional apb param #265

Open
odra opened this issue Apr 24, 2018 · 4 comments
Open

conditional apb param #265

odra opened this issue Apr 24, 2018 · 4 comments

Comments

@odra
Copy link

odra commented Apr 24, 2018

Hello,

Is there a way to:

  • show/hide a field based on some criteria?
  • skip a plan (or not) based on a parameter's value?

For example, a field should only be shown if another field is set/filled/validated.

Thanks.

@odra odra changed the title conditional apb paramter conditional apb param Apr 24, 2018
@jmontleon
Copy link
Contributor

Regarding the first one there currently is not. I think we'd like to find a way as it's come up multiple times.

The second one I am not sure I fully understand. In the current UI work flow plan selection happens before filling out/selecting parameters, so I'm not sure how we could skip the plan based on parameter values. Can you explain a little further about what you'd like to see here?

@odra
Copy link
Author

odra commented Apr 24, 2018

Something similar when I add a parameter in bind_parameters.

If I choose to create the binding during the apb creation it will add a "Parameter" step right after the "Biding" one:

screenshot from 2018-04-24 09-41-41

I was thinking if such behavior could be applied based on some criteria (checking a checkbox field in this case).

@maleck13
Copy link

@odra there is an on going discussion here openshift/ansible-service-broker#859 on the topic

@dymurray
Copy link
Contributor

Related PR: automationbroker/bundle-lib#70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants