Bug 873782

Summary: RFE: Non-authenticated status api
Product: [Retired] Pulp Reporter: Justin Sherrill <jsherril>
Component: API/integrationAssignee: Jason Connor <jconnor>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jason.dobies, mmccune, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: 2.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-08 15:58:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 854726    

Description Justin Sherrill 2012-11-06 17:09:41 UTC
Description of problem:

In katello we had 2 ways of checking pulp's status.

1)  /services/status/

2) Access any authenticated rest call (we used GET /users)

This allowed us to determine if pulp was up and if we could authenticate with it successfully.


In pulpv2  the un-authenticated status api went away.  So we now can only determine if we can fully authenticate or not.

Comment 1 Jason Connor 2013-02-27 21:32:59 UTC
I added a non-authenticated status resource at /v2/status/
Pull request is in jconnor-873782-rfe-unauthenticated-status-api

Comment 2 Jeff Ortel 2013-03-14 21:15:39 UTC
build: 2.1.0-0.23.beta

Comment 3 Jason Connor 2013-04-01 15:53:01 UTC
This added a /pulp/api/v2/status/ "collection" that responds to GET requests.

GET /pulp/api/v2/status/

should return 

{'api_version': '2'}

Comment 4 Preethi Thomas 2013-04-01 17:15:44 UTC
[root@cloud-qe-8 ~]# rpm -q pulp-server
pulp-server-2.1.0-0.26.beta.noarch
[root@cloud-qe-8 ~]# curl -k -u admin:admin   "https://localhost//pulp/api/v2/status/"
{"api_version": "2"}[root@cloud-qe-8 ~]#

Comment 5 Preethi Thomas 2013-04-08 15:58:34 UTC
Pulp 2.1 released 


http://www.pulpproject.org/2013/04/05/pulp-2-1-0-released/