Bug 798884
Summary: | [REST API] No exit-code and incorrect application id is shown when calling gear REST API | ||
---|---|---|---|
Product: | OKD | Reporter: | Johnny Liu <jialiu> |
Component: | Pod | Assignee: | Ravi Sankar Penta <ravi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.x | CC: | andyk, rmillner, rpenta |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-03-19 18:23:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Johnny Liu
2012-03-01 07:50:23 UTC
Fixed. Verified this bug with devenv_stage_144, and PASS. $ curl -k -X GET -H "Accept: application/xml" --user jialiu:xx https://ec2-50-17-147-234.compute-1.amazonaws.com/broker/rest/domains/jialiu/applications/phptest1/gears <?xml version="1.0" encoding="UTF-8"?> <response> <data nil="true"></data> <status>not_found</status> <version>1.0</version> <type nil="true"></type> <messages> <message> <severity>error</severity> <text>Application 'phptest1' not found.</text> <exit-code>101</exit-code> <field nil="true"></field> </message> </messages> </response> |