Skip to content

Conversation

ARolek
Copy link
Member

@ARolek ARolek commented Aug 30, 2019

No description provided.

tierpod and others added 9 commits April 23, 2019 10:03
* cache/redis: add configurable key ttl for auto-expiring cached tiles #600
* provider/postgis: update tests to match testing conventions
* Upgraded internal viewer Mapbox GL JS to 1.0.0
Travis breaks tests on pull requests because it is unable to decrypt
the creds for S3. We should really skip these test, and not fail.
Added the webserver config property uri_prefix which allows for
setting an API route prefix. This is commonly used when tegola
is run behind a reverse proxy (i.e. example.com/tegola). Certain
routes (i.e. capabilities) build URLs which are included in the
response and then passed back to the proxy. Without the ability
to set a URI prefix, the URLs in the capabilities responses
will not be useable by the consuming client.

Setting the webserver hostname now ignores the server port. It's
assumed that if the user is setting the hostname they want full
control of it.

Moved the capabilities URL building into a func

The buildout of the capabilities URLs had too many moving
parts and was being repeated in too many places. The
logic has been centralized into a single function.

closes #136
@ARolek ARolek requested a review from gdey as a code owner August 30, 2019 17:29
@ARolek ARolek requested a review from ear7h August 30, 2019 17:30
@ARolek ARolek removed the request for review from ear7h August 30, 2019 17:33
@ARolek ARolek merged commit 6b7216d into master Aug 30, 2019
@coveralls
Copy link

coveralls commented Aug 30, 2019

Pull Request Test Coverage Report for Build 1756

  • 42 of 59 (71.19%) changed or added relevant lines in 9 files are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-1.4%) to 43.835%

Changes Missing Coverage Covered Lines Changed/Added Lines %
cache/redis/redis.go 6 8 75.0%
cmd/tegola/cmd/server.go 0 3 0.0%
config/errors.go 0 3 0.0%
config/config.go 1 5 20.0%
cmd/tegola/cmd/root.go 0 5 0.0%
Files with Coverage Reduction New Missed Lines %
provider/gpkg/binary_header.go 2 98.29%
Totals Coverage Status
Change from base Build 1637: -1.4%
Covered Lines: 5162
Relevant Lines: 11776

💛 - Coveralls

@ARolek ARolek deleted the v0.10.x branch October 6, 2019 03:55
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.

7 participants