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

ERROR: Root name 'quotas' does not match expected ('quota') #602

Closed
ivokotev opened this issue Mar 10, 2016 · 0 comments
Closed

ERROR: Root name 'quotas' does not match expected ('quota') #602

ivokotev opened this issue Mar 10, 2016 · 0 comments

Comments

@ivokotev
Copy link

Current implementation of class NeutronNetQuota maps at JsonRootName("quota"). However current Network Extension API returns array of "quotas" - http://developer.openstack.org/api-ref-networking-v2-ext.html#listQuotas

This leads to the following exception:
[org.openstack4j.connectors.httpclient.HttpResponseImpl] ERROR: Root name 'quotas' does not match expected ('quota') for type [simple type, class org.openstack4j.openstack.networking.domain.NeutronNetQuota] at [Source: org.apache.http.conn.EofSensorInputStream@c0b41d6; line: 1, column: 2]

ivokotev pushed a commit to ivokotev/openstack4j that referenced this issue Mar 10, 2016
ERROR: Root name 'quotas' does not match expected ('quota')

Change mapping of JSON from 'quota' to 'quotas' according to Current Network Extensions API
http://developer.openstack.org/api-ref-networking-v2-ext.html#listQuotas
gondor added a commit that referenced this issue Mar 10, 2016
@gondor gondor added the bug label Mar 10, 2016
@gondor gondor added this to the 2.20 Release milestone Mar 10, 2016
@gondor gondor closed this as completed May 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants