{"action":"created","issue":{"url":"https://api.github.com/repos/openbmc/skeleton/issues/43","repository_url":"https://api.github.com/repos/openbmc/skeleton","labels_url":"https://api.github.com/repos/openbmc/skeleton/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/openbmc/skeleton/issues/43/comments","events_url":"https://api.github.com/repos/openbmc/skeleton/issues/43/events","html_url":"https://github.com/openbmc/skeleton/issues/43","id":130963813,"number":43,"title":"Set powercap shouldn't except the values out of range","user":{"login":"mkumatag","id":12646029,"avatar_url":"https://avatars.githubusercontent.com/u/12646029?v=3","gravatar_id":"","url":"https://api.github.com/users/mkumatag","html_url":"https://github.com/mkumatag","followers_url":"https://api.github.com/users/mkumatag/followers","following_url":"https://api.github.com/users/mkumatag/following{/other_user}","gists_url":"https://api.github.com/users/mkumatag/gists{/gist_id}","starred_url":"https://api.github.com/users/mkumatag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkumatag/subscriptions","organizations_url":"https://api.github.com/users/mkumatag/orgs","repos_url":"https://api.github.com/users/mkumatag/repos","events_url":"https://api.github.com/users/mkumatag/events{/privacy}","received_events_url":"https://api.github.com/users/mkumatag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-03T09:18:55Z","updated_at":"2016-02-26T10:07:17Z","closed_at":null,"body":"We have seen that set powercap call is excepting any values outside range like less than min or more than supported max powercap value. This error handling should be done in the REST API level to return with error instead of accepting as 200.\r\n\r\nNote - though values are not written into the /org/openbmc/sensors/host/PowerCap which is expected but REST should also through Error message."},"comment":{"url":"https://api.github.com/repos/openbmc/skeleton/issues/comments/189203419","html_url":"https://github.com/openbmc/skeleton/issues/43#issuecomment-189203419","issue_url":"https://api.github.com/repos/openbmc/skeleton/issues/43","id":189203419,"user":{"login":"adamliyi","id":14884975,"avatar_url":"https://avatars.githubusercontent.com/u/14884975?v=3","gravatar_id":"","url":"https://api.github.com/users/adamliyi","html_url":"https://github.com/adamliyi","followers_url":"https://api.github.com/users/adamliyi/followers","following_url":"https://api.github.com/users/adamliyi/following{/other_user}","gists_url":"https://api.github.com/users/adamliyi/gists{/gist_id}","starred_url":"https://api.github.com/users/adamliyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamliyi/subscriptions","organizations_url":"https://api.github.com/users/adamliyi/orgs","repos_url":"https://api.github.com/users/adamliyi/repos","events_url":"https://api.github.com/users/adamliyi/events{/privacy}","received_events_url":"https://api.github.com/users/adamliyi/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T10:07:17Z","updated_at":"2016-02-26T10:07:17Z","body":"Thanks Manjunath  for reminding. I need to check with Brad."}}