Skip to content

Conversation

jsdidierlaurent
Copy link
Member

I remove host:port injection in hydrate step.
Next is only in front. Poke @Alex-D

@codecov
Copy link

codecov bot commented Oct 2, 2019

Codecov Report

Merging #104 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #104      +/-   ##
=========================================
- Coverage    97.2%   97.2%   -0.01%     
=========================================
  Files          47      47              
  Lines        1394    1393       -1     
=========================================
- Hits         1355    1354       -1     
  Misses         39      39
Flag Coverage Δ
#back 97.2% <100%> (-0.01%) ⬇️
Impacted Files Coverage Δ
monitorable/config/delivery/http/handlers.go 100% <100%> (ø) ⬆️
monitorable/config/usecase/hydrate.go 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 82c8de2...ba2fe42. Read the comment docs.

@Alex-D Alex-D force-pushed the feat/rework-url-managment branch 2 times, most recently from 798d677 to c2bde2e Compare October 3, 2019 00:37
jsdidierlaurent and others added 3 commits October 3, 2019 11:19
BREAKING CHANGE:

In hydrated config, we replace tile url (host:port/path?params) by url
without host:port (/path?params)
Now, front URL has some new available query parameters:
- `apiBaseUrl`: the root API URL
- `configUrl`: an URL to the config
- `configPath`: a relative path to the config on the server

BREAKING CHANGE:

old URL was
http://localhost:8000/?config=http://localhost:8080/api/v1/config?path=.%2Ftest%2Ffaker-config.json
new one is
http://localhost:8000/?apiBaseUrl=http://localhost:8080&configPath=.%2Ftest%2Ffaker-config.json
@jsdidierlaurent jsdidierlaurent force-pushed the feat/rework-url-managment branch from c2bde2e to ba2fe42 Compare October 3, 2019 09:19
@jsdidierlaurent jsdidierlaurent merged commit c15766e into master Oct 3, 2019
@jsdidierlaurent jsdidierlaurent deleted the feat/rework-url-managment branch October 3, 2019 09:35
@jsdidierlaurent
Copy link
Member Author

fix: #99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants