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

API returns string instead of boolean value #251

Closed
fbalak opened this issue Aug 30, 2017 · 2 comments
Closed

API returns string instead of boolean value #251

fbalak opened this issue Aug 30, 2017 · 2 comments
Assignees

Comments

@fbalak
Copy link
Contributor

fbalak commented Aug 30, 2017

I have added user thardy according to example in documentation. In POST data I specified "email_notifications": true which should be boolean value but when I call hostname/api/1.0/users/thardy as documented I get "email_notifications": "true" where "true" is a string. There should be boolean value true.

Tested with:

tendrl-api-1.5.1-1.el7.centos.noarch
tendrl-api-httpd-1.5.1-1.el7.centos.noarch
tendrl-commons-1.5.1-1.el7.centos.noarch
tendrl-monitoring-integration-1.5.1-1.el7.centos.noarch
tendrl-node-agent-1.5.1-1.el7.centos.noarch
tendrl-ui-1.5.1-1.el7.centos.noarch
@anivargi
Copy link
Contributor

Fixed as part of #260

fbalak added a commit to fbalak/usmqe-tests that referenced this issue Sep 22, 2017
fbalak added a commit to fbalak/usmqe-tests that referenced this issue Sep 22, 2017
@fbalak
Copy link
Contributor Author

fbalak commented Sep 22, 2017

It seems to work.
Tested with:
tendrl-api-httpd-1.5.2-1.el7.centos.noarch
tendrl-commons-1.5.2-1.el7.centos.noarch
tendrl-api-1.5.2-1.el7.centos.noarch
tendrl-ui-1.5.2-1.el7.centos.noarch
tendrl-node-agent-1.5.2-1.el7.centos.noarch
tendrl-monitoring-integration-1.5.2-1.el7.centos.noarch
tendrl-grafana-plugins-1.5.2-1.el7.centos.noarch
tendrl-notifier-1.5.2-1.el7.centos.noarch

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