Task #100
closedFrontend configuration - support for relative serverUrl
100%
Description
serverUrl property in frontend configuration can be absolute url only. We need add support for relative url - this could be used, when frontend runnig on the seme server as backend.
Updated by Martin Karcol over 8 years ago
serverUrl property in config was changed from absolute url: "http://localhost:8080/rest/api" to relative: "/rest/api"
Updated by Radek Tomiška over 8 years ago
- Target version changed from Amethyst to Beryl
Updated by Radek Tomiška over 8 years ago
- Status changed from Resolved to Closed
Updated by Martin Karcol over 8 years ago
- % Done changed from 100 to 80
relative url doesnt work anymore. 403 (forbiden) status is returned
Updated by Radek Tomiška about 8 years ago
- Status changed from Closed to In Progress
- Assignee changed from Martin Karcol to Radek Tomiška
Updated by Radek Tomiška about 8 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 80 to 90
I've made core review, some refactoring. I've fixed problem with whole build and with relative url. Now is possible to use aggregator module with profile 'fullApp':
```
mvn clean install -PfullApp
```
to build whole aplication (BE + FE) deployable to custom Tomcat 8.0.* server url. I've added docs too.
Please make do a code review and test.
Updated by Vít Švanda about 8 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 90 to 100
It works nicely.
- I successfully builded full application and deploy it on tomcat.
- Application worked without any problems.
- I try change serverUrl in idm/config.js. Change of url worked fine. The change will take effect without rebooting.
- I checked documentation in README.md
Updated by Radek Tomiška about 8 years ago
- Status changed from Resolved to Closed