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

Remove parameter states from execution state API #2280

Merged
merged 1 commit into from Feb 3, 2017

Conversation

jamieps
Copy link
Contributor

@jamieps jamieps commented Jan 13, 2017

Attempt to fix #2268

@gschueler I wasn't sure if parameterStates was intended to be returned by this API call, the documentation at: http://rundeck.org/docs/api/index.html#execution-state doesn't reference it. If you think it should be returned, then I can rework this.

remove parameterStates (fix rundeck#2268)

This brings it in line with:
http://rundeck.org/docs/api/index.html#execution-state

- Add API tests for execution state call
@gschueler
Copy link
Member

I think the correct fix is to massage the map data to produce valid xml when converted. However I don't know if anyone uses parameterStates other than the rundeck GUI, which receives it in json from a different endpoint, so as a short-term bugfix: ok i'd accept this . :)

@jamieps
Copy link
Contributor Author

jamieps commented Jan 17, 2017

@gschueler I thought that... I attempted to coerce it into a valid structure but couldn't quite get it right first time. If I can find some time I will have another look at this.

@gschueler gschueler merged commit 588cc7f into rundeck:master Feb 3, 2017
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.

Invalid xml produced by API from getting execution state.
2 participants