Project

General

Profile

Actions

Task #100

closed

Frontend configuration - support for relative serverUrl

Added by Radek Tomiška over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Configuration
Target version:
Start date:
08/18/2016
Due date:
% Done:

100%

Estimated time:
4.00 h
Owner:

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.

Actions #1

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"

Actions #2

Updated by Radek Tomiška over 8 years ago

  • Target version changed from Amethyst to Beryl
Actions #3

Updated by Martin Karcol over 8 years ago

  • Status changed from New to Resolved
Actions #4

Updated by Radek Tomiška over 8 years ago

  • Status changed from Resolved to Closed
Actions #5

Updated by Radek Tomiška over 8 years ago

  • % Done changed from 0 to 100
Actions #6

Updated by Martin Karcol over 8 years ago

  • % Done changed from 100 to 80

relative url doesnt work anymore. 403 (forbiden) status is returned

Actions #7

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
Actions #8

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.

Actions #9

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

Actions #10

Updated by Radek Tomiška about 8 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF