* Add support and tests for legacy mosaic tile routes
The tile route prefixes were reordered in recent versions of
titiler.pgstac. Both versions of the routes are supported in PC and
tests have been added to confirm.
* upgrade to linux app and use identity based storage connection for function app
* add back config
* remove settings for remote build, enable local build
* Set default deny network action on SA
* Add IP to tf state storage firewall
* Add subscription to shared access key setting
* Function debugging in new premium service plan
* Assign function subnet to output storage
* Cleanup
---------
Co-authored-by: elay <yileihu@microsoft.com>
Co-authored-by: Rob Emanuele <rdemaneuele@gmail.com>
* init
* update
* update flake8 config
* code format changes
* fix long lines
* fix imports
* function app changes
* code format changes
* test
* remove readme
* remove redundant packages and revert python version
* revert python version
* remove redundant type hints
* use settings class inherited from baseSettings
* change kql
* use placeholder for timer schedule
* change test parameter
* update assertions and logger
* remove import
* remove dash in table name
* update test id
* format
* add no-integration flag
* add dependencies
* test
* change trigger to run every hour
* use azure clients as context manager
* add context managers in test
* role assignment for function app
* change LAW name
* change role
* change provider's name
* change name of LAW
* better readability
* better readability
* format
* add logging
* UPDATE function settings
* suppress mypy warning
* update env variables for function app
* typo
---------
Co-authored-by: elay <yileihu@microsoft.com>
* Use AzureAD auth for terraform backend
Move away from using shared key credentials for the backend auth in both
CI and local dev.
* Test deploy
* CLI + OIDC
* Debug
* Remove debug
Sets a the write permission for the chart/func package publish jobs, which need to write to the gh-pages branch of the repo. This permission was previously set at the repo level, and may not be adjustable. Also adds a libicu dependency required for func-tools on ubuntu 20.04. This package has an interactive step, so much be installed in noninteractive mode.
* Add map token endpoint to tiler service
The tiler service will generate a token for use against an azure maps
instance, using the identity of the tiler (when deployed) or the local
developer credentials (in local development).
A test has been added that requires a local identity, and this has been
skipped in CI, which does not have access to those kind of credentials.
This endpoint will be used by the Data Catalog app to avoid distributing
an azure maps key within that application.
* Remove unneeded role assignment
* Remove unused variables
* kv firewall ip management
* env for kv firewall management
* Make azlogin executable
* Use CIDR range, ifconfig.me for firewall
* Terraform updates to not force tag change
---------
Co-authored-by: Martin Cappi Dahl <mcappi91@gmail.com>
* Fetch all configs when iterating over collections
Rather then fetch 1 render config at a time on the /collections
endpoint, fetch all at once and preserve the Dict for the request
duration.
* Allow POST CORS requests in dev env
* Vector tile support
* Add default msft:region attribute to collections
* Upgrade to postgres 14 and pgstac 0.6.13
Prod services operate on pg14
* Fix tests and setup
The API now uses table_service.get_entities and there is an Azurite bug
that prevents an empty string for "all records", so it was switched to a
specific PartitionKey filter string.
* Add logging for pbf requests
* Deployment
* Add logging and debug code
Analyze relative performance of different calls in the VT endpoint
chain.
* Fix Exceptions
* Changelog
* Temporarily use fork for starlette 0.21 release
The 0.21 release resolves a frequent error on our fastapi version.
See:
https://github.com/encode/starlette/pull/1710https://github.com/encode/starlette/pull/1715
* Disable FTP as function app deploy option
Security controls
* Trace request attributes before invoking middleware
If an exception is raised in subsequent middlewares, added trace
attributes will still be logged to Azure. This allows us to find
requests that fail in the logs.
* Make config cache thread safe
cachetools cache is not thread safe and there were frequent exceptions
logged indicating that cache updates during async calls were failing
with key errors similar to those described in:
https://github.com/tkem/cachetools/issues/80
Add a lock per table instance synchronizes cache updates across threads
in.
* Lint
* Changelog