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

Fixes #5030 - This changes make validations if the options from URL is a json object or a simple array list of options… #5031

Merged
merged 3 commits into from Jul 8, 2019

Conversation

carlosrfranco
Copy link
Contributor

Is this a bugfix, or an enhancement? Please describe.
The remote URL options validation fail if the json uses a json object format

Describe the solution you've implemented
The validation was considering just a simple array list values, so, when the json uses a object format, the validation failed. I changed this validation to consider a json object format when it is used

…m URL is a json object or a simple array list of options
Copy link
Contributor

@jtobard jtobard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested on my local env and this works.
Can you add a unit test for this on ExecutionServiceSpec.groovy?

@jtobard jtobard added this to the 3.1.0-RC2 milestone Jul 4, 2019
Copy link
Contributor

@jtobard jtobard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jtobard jtobard merged commit 03dc844 into rundeck:master Jul 8, 2019
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

Successfully merging this pull request may close these issues.

None yet

3 participants