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

Fixing the response value of /plugins/enabled #1529

Merged
merged 2 commits into from
Aug 22, 2016

Conversation

subnetmarco
Copy link
Member

The response of /plugins/enabled now returns a proper JSON array. This was a bug introduced with v0.9.

Full changelog

  • /plugins/enabled returns a JSON array like it did in < 0.9 and not a JSON object.

@thibaultcha
Copy link
Member

If this was introduced, it's because there was no test for this behavior. A test should be added.

@subnetmarco
Copy link
Member Author

Test added.

@subnetmarco subnetmarco added pr/ready (but hold merge) No more concerns, but do not merge yet (probably a conflict of interest with another PR or release) and removed pr/status/needs review labels Aug 22, 2016
@subnetmarco subnetmarco merged commit cc4a37b into next Aug 22, 2016
@subnetmarco subnetmarco deleted the fix/api-plugins-enabled branch August 22, 2016 23:04
@thibaultcha
Copy link
Member

Actually that should not have been merged, plenty of things are still wrong and missing.

@subnetmarco
Copy link
Member Author

@thibaultcha This PR fixes the output of /plugins/enabled. As such, it includes a patch for the handler of that endpoint to return the expected result + a test that verifies that the returned value is a Lua array and not a table.

To reduce the back and forth on issues it would be beneficial to list all the issues in the first comment so we can address all of them immediately.

@thibaultcha
Copy link
Member

thibaultcha commented Aug 22, 2016

Other comments were specific to the code and I was writing them. Thy can't all be posted at once.
That's why we have review/ready labels.

On Aug 22, 2016, at 4:15 PM, Marco Palladino [email protected] wrote:

@thibaultcha This PR fixes the output of /plugins/enabled. As such, it includes a patch for the handler of that endpoint to return the expected result + a test that verifies that the returned value is a Lua array and not a table.

To reduce the back and forth on issues it would be beneficial to list all the issues in the first comment so we can address all of them immediately.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/ready (but hold merge) No more concerns, but do not merge yet (probably a conflict of interest with another PR or release)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants