Project

Profile

Help

Issue #790

closed

_href is unecessarily nested in a dict in the response body of consumer registration

Added by ipanova@redhat.com over 7 years ago. Updated 11 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Platform Release:
2.7.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

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-----"}

Actions #1

Updated by ipanova@redhat.com over 7 years ago

  • Status changed from NEW to POST
  • Assignee set to ipanova@redhat.com
Actions #2

Updated by bmbouter over 7 years ago

  • Severity changed from Low to 1. Low
Actions #3

Updated by ipanova@redhat.com over 7 years ago

  • Status changed from POST to MODIFIED
Actions #4

Updated by dkliban@redhat.com over 7 years ago

  • Platform Release set to 2.7.0
Actions #5

Updated by dkliban@redhat.com over 7 years ago

  • Status changed from MODIFIED to 5
Actions #6

Updated by pthomas@redhat.com about 7 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":""
}
Actions #7

Updated by amacdona@redhat.com almost 7 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #9

Updated by bmbouter over 3 years ago

  • Tags Pulp 2 added

Added by Mike DePaulo 11 months ago

Revision 6d8f73e2

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

Added by Mike DePaulo 11 months ago

Revision 6d8f73e2

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

Also available in: Atom PDF