Clayton/Nakayama

Still not working. Tried both localhost and public IP of the master host


# curl -Ik https://localhost:8443/swaggerapi/oapi/v1
HTTP/1.1 405 Method Not Allowed
Date: Wed, 03 Feb 2016 03:42:26 GMT
Content-Length: 23
Content-Type: text/plain; charset=utf-8

# curl -Ik https://<IP>:8443/swaggerapi/oapi/v1
HTTP/1.1 405 Method Not Allowed
Date: Wed, 03 Feb 2016 03:41:58 GMT
Content-Length: 23
Content-Type: text/plain; charset=utf-8

Running openshift enterprise 3.1.1. I remember 3.1 also had the same issues.

--
Srinivas Kotaru

From: Nakayama Kenjiro 
<nakayamakenj...@gmail.com<mailto:nakayamakenj...@gmail.com>>
Date: Tuesday, February 2, 2016 at 5:21 PM
To: "ccole...@redhat.com<mailto:ccole...@redhat.com>" 
<ccole...@redhat.com<mailto:ccole...@redhat.com>>
Cc: skotaru <skot...@cisco.com<mailto:skot...@cisco.com>>, 
"users@lists.openshift.redhat.com<mailto:users@lists.openshift.redhat.com>" 
<users@lists.openshift.redhat.com<mailto:users@lists.openshift.redhat.com>>
Subject: Re: swagger UI

Yeah, please test with "localhost" after ssh into your master host.

# ssh root@<MASTER_HOST>
# curl -k https://localhost:8443/swaggerapi/oapi/v1

Kenjiro


On Wed, Feb 3, 2016 at 9:18 AM, Clayton Coleman 
<ccole...@redhat.com<mailto:ccole...@redhat.com>> wrote:
Hrm - works locally, is that path allowed by your proxy?

On Tue, Feb 2, 2016 at 7:16 PM, Srinivas Naga Kotaru (skotaru) 
<skot...@cisco.com<mailto:skot...@cisco.com>> wrote:
Thanks for quick reply

Am getting method not allowed. Tried CLI and browser. Browser simply throwing a 
blank download page

# curl -Ik  https://<myvip>8443/swaggerapi/oapi/v1

HTTP/1.1 405 Method Not Allowed
Date: Wed, 03 Feb 2016 00:15:20 GMT
Content-Length: 23
Content-Type: text/plain; charset=utf-8

--
Srinivas Kotaru

From: Nakayama Kenjiro 
<nakayamakenj...@gmail.com<mailto:nakayamakenj...@gmail.com>>
Date: Tuesday, February 2, 2016 at 4:02 PM
To: skotaru <skot...@cisco.com<mailto:skot...@cisco.com>>
Cc: "users@lists.openshift.redhat.com<mailto:users@lists.openshift.redhat.com>" 
<users@lists.openshift.redhat.com<mailto:users@lists.openshift.redhat.com>>
Subject: Re: swagger UI

Hi,

> Does OSE master expose swagger-ui?

Yes, it does.

> Wondering we have to do anything to get it work.

No, you don't need anything.

Basically, you can access the API(openshift's) with this URL:

  curl -k https://<YOUR_MASTER_HOST>:8443/swaggerapi/oapi/v1

Could you please tell us what results you get by above curl?

Thanks,
Kenjiro


On Wed, Feb 3, 2016 at 8:53 AM, Srinivas Naga Kotaru (skotaru) 
<skot...@cisco.com<mailto:skot...@cisco.com>> wrote:
Does OSE master expose swagger-ui? I tested but not working. Wondering we have 
to do anything to get it work. I feel this is good way to learn and use master 
API

--
Srinivas Kotaru

_______________________________________________
users mailing list
users@lists.openshift.redhat.com<mailto:users@lists.openshift.redhat.com>
http://lists.openshift.redhat.com/openshiftmm/listinfo/users




--
Kenjiro NAKAYAMA <nakayamakenj...@gmail.com<mailto:nakayamakenj...@gmail.com>>
GPG Key fingerprint = ED8F 049D E67A 727D 9A44  8E25 F44B E208 C946 5EB9

_______________________________________________
users mailing list
users@lists.openshift.redhat.com<mailto:users@lists.openshift.redhat.com>
http://lists.openshift.redhat.com/openshiftmm/listinfo/users





--
Kenjiro NAKAYAMA <nakayamakenj...@gmail.com<mailto:nakayamakenj...@gmail.com>>
GPG Key fingerprint = ED8F 049D E67A 727D 9A44  8E25 F44B E208 C946 5EB9
_______________________________________________
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to