[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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 <ccoleman 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) <skotaru 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 <nakayamakenjiro gmail com>
Date: Tuesday, February 2, 2016 at 4:02 PM
To: skotaru <skotaru cisco com>
Cc: "users lists openshift redhat com" <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) <skotaru 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
http://lists.openshift.redhat.com/openshiftmm/listinfo/users




--
Kenjiro NAKAYAMA <nakayamakenjiro 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





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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]