Bug 997842 - [origin_ui_73]Can not add member to application
[origin_ui_73]Can not add member to application
Status: CLOSED NOTABUG
Product: OpenShift Online
Classification: Red Hat
Component: Master (Show other bugs)
2.x
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Clayton Coleman
libra bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-16 05:36 EDT by Wei Sun
Modified: 2015-05-14 20:55 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-08-16 09:59:43 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Wei Sun 2013-08-16 05:36:36 EDT
Description of problem:
Create an application,and try to add member to application,but it failed.

Version-Release number of selected component (if applicable):
devenv_3660

How reproducible:
Always

Steps to Reproduce:
1.Create an application
2.Add member to application via RESTAPI
3.

Actual results:
[wsun@dhcp-8-229 ~]$ curl -k -H 'Accept: application/xml' -u wsun+mem4@redhat.com:change https://ec2-50-17-19-192.compute-1.amazonaws.com/broker/rest/applications/520dd70b6b80e209fb000002/members -d role=view -d id=520dd0d56b80e2db2200000c -X POST
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>Action Controller: Exception caught</title>
  <style>
    body { background-color: #fff; color: #333; }

    body, p, ol, ul, td {
      font-family: helvetica, verdana, arial, sans-serif;
      font-size:   13px;
      line-height: 18px;
    }

    pre {
      background-color: #eee;
      padding: 10px;
      font-size: 11px;
      white-space: pre-wrap;
    }

    a { color: #000; }
    a:visited { color: #666; }
    a:hover { color: #fff; background-color:#000; }
  </style>
</head>
<body>

<h1>Routing Error</h1>
<p><pre>No route matches [POST] &quot;/broker/rest/applications/520dd70b6b80e209fb000002/members&quot;</pre></p>
<p>
  Try running <code>rake routes</code> for more information on available routes.
</p>

</body>
</html>


Expected results:
Could add member to application

Additional info:
Comment 1 Clayton Coleman 2013-08-16 09:59:43 EDT
Intentional, adding members to applications is not supported at this time.

Note You need to log in before you can comment on or make changes to this bug.