OpenShiftDemos / openshift-tasks

Sample JBoss EAP (WildFly) App for OpenShift
47 stars 423 forks source link

PR to fix endpoint context #4

Closed gshipley closed 8 years ago

gshipley commented 8 years ago

I modified some stuff so static files can be served from /

By default, this task app routed all requests to the rest endpoints not allowing for static content (demo dashboard) to be provided with ease. I moved all API request to /ws context as defined in the web.xml file. This will allow Erik to place in index.html and patternfly dashboard in /src/main/webapp with no worries.

However! All tasks requests like the curl example will need to use /ws/tasks instead of /tasks and all demo endpoints I wrote needs /ws/demo now.