Issue #790
closed_href is unecessarily nested in a dict in the response body of consumer registration
Description
$ curl -i -H "Accept: application/json" -H "WebFrameworkSwitch: webpy" -X POST -k -u admin:admin -d '{"id":"c2"}' "https://localhost/pulp/api/v2/consumers/"
HTTP/1.1 201 Created
Date: Wed, 18 Mar 2015 11:57:52 GMT
Server: Apache/2.4.10 (Fedora) OpenSSL/1.0.1e-fips mod_wsgi/3.5 Python/2.7.5
Location: /pulp/api/v2/consumers/c2/
Content-Length: 2043
Content-Type: application/json
{"consumer": {"display_name": "c2", "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": {}, "_id": {"$oid": "5509684045ef485ffe14dfae"}, "id": "c2", "_href": {"_href": "/pulp/api/v2/consumers/c2/"}}, "certificate": "-----BEGIN RSA PRIVATE KEY-----\nMIICXQIBAAKBgQC+BYPuGTtdFDIkOj8mIUJTU1pG4ezkQwxxFF/9+7+tIheHWCeO-----END RSA PRIVATE KEY-----\n-----BEGIN CERTIFICATE-----\nMIICWDCCAUACAgDgMA0GCSqGSIb3DQEBBQUAMDAxHzAdBgNVBAMMFmluYS51c2Vy\nc3lzLnJlZGhhk/PGi+3w4dimAHkLQXved5SU//tJOumYp/tzOjlskgCCzmyozyHqBOepTW96\nx1SLCqi2jU+b7NMcJ4qaR3ZHMknWoR9j8wsXyg==\n-----END CERTIFICATE-----"}
Updated by ipanova@redhat.com about 9 years ago
- Status changed from NEW to POST
- Assignee set to ipanova@redhat.com
Updated by ipanova@redhat.com about 9 years ago
- Status changed from POST to MODIFIED
Updated by dkliban@redhat.com almost 9 years ago
- Status changed from MODIFIED to 5
Updated by pthomas@redhat.com almost 9 years ago
- Status changed from 5 to 6
verified
{
"consumer":{
"display_name":"c2",
"description":null,
"_ns":"consumers",
"notes":{
},
"rsa_pub":null,
"capabilities":{
},
"_id":{
"$oid":"559c1c24fefb7a1bc12ac524"
},
"id":"c2",
"_href":"/pulp/api/v2/consumers/c2/"
},
"certificate":""
}
Updated by amacdona@redhat.com over 8 years ago
- Status changed from 6 to CLOSED - CURRENTRELEASE
Added by Mike DePaulo over 2 years ago
Added by Mike DePaulo over 2 years ago
Revision 6d8f73e2 | View on GitHub
Fix pulp_common : Collect static content
sporadically failing
when using a shared filesystem (.e.g, NFS) for /var/lib/pulp
by running
it sequentially across multiple Pulp nodes.
fixes: #790
Fix
pulp_common : Collect static content
sporadically failingwhen using a shared filesystem (.e.g, NFS) for
/var/lib/pulp
by running it sequentially across multiple Pulp nodes.fixes: #790