Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Call to /opai in apis.store.ts is not working #128

Open
pmuir opened this issue Mar 17, 2017 · 2 comments
Open

Call to /opai in apis.store.ts is not working #128

pmuir opened this issue Mar 17, 2017 · 2 comments
Assignees

Comments

@pmuir
Copy link
Contributor

pmuir commented Mar 17, 2017

As I've moved the APIs to sit under a custom path (_p/oso) so as to be in the reserved word space, this check to /oapi is not safe anymore. We need to make it happen after the config is loaded.

https://github.com/fabric8-ui/fabric8-runtime-console/blob/master/src/app/kubernetes/store/apis.store.ts#L69

@jstrachan
Copy link
Contributor

BTW I was hoping to get rid of the call to /oapi as well and instead add an environment variable to describe if the app is or isn't running on openshift (and then have a server side variable we set on startup) which will help the UI code know what APIs & where it should query for stuff

@pmuir
Copy link
Contributor Author

pmuir commented Mar 18, 2017

That makes sense @jstrachan we can add that to /_config

@pmuir pmuir self-assigned this Mar 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants