Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
Matt McFarland 66fa8fe96d
Update pydantic, titiler, stac-fastapi (#233)
* update pccommon requirements

* update pcstac requirements

* update pcfuncs

* update pcfuncs/pcstac/pccommon

* allow YYYY-MM-DD date format in search

* update pctiler

* update stac-fastapi.*

* Dependencies

* Get mosaic tiles working

* Formatting

* Use items request model

* Backwards compat with searchid

* certifi upgrade

* Read envs correctly

* Restore health check filtering

* Update titiler uvicorn

* lint

* Fix casing on colormaps

* Fix cmap and add /crop

* Fixups

---------

Co-authored-by: vincentsarago <vincent.sarago@gmail.com>
2024-07-17 10:22:54 -04:00
elayrocks a08f05e5d1
Azure Function App which runs periodically to aggregate the bytes read per IP address over a window of time (#215)
* 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>
2024-06-26 08:16:00 -07:00
Matt McFarland 54802baff3
Bump requests (#220)
* Bump requests

Near-SLA vulnerability

* Bump in pcfuncs as well

* Actually do pcfuncs bump
2024-06-13 12:32:32 -04:00
Gustavo Hidalgo b62fcc0f3e
pillow upgrade (#204) 2024-04-30 15:32:08 -04:00
Gustavo Hidalgo d68ec50e0c
Security patching (#191)
* Generate requirments.txt

* remove hashes

* Delete non-extra requirements file

* Now all projects have requirements.txt

* Remove BaseHTTPMiddlewares ,  Ensure origin host is used in STAC links

* Successfully build containers

* lint

* Docker images build

* Delete unused requirements file

* save

* Now requirements do get generated

* Update Azurite

* format setup.py

* add type annotation

* Read lerc_zstd

* speed up image rebuilds and better UT for lerc

* Update more packages

* upgrade stac-api-validation

* Remove files from older commits

---------

Co-authored-by: maitjoshi <maitjoshi@microsoft.com>
2024-04-16 10:22:07 -04:00
dependabot[bot] 07dfaa65f0
Bump pillow from 9.2.0 to 9.3.0 in /pcfuncs (#136)
Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.2.0 to 9.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/9.2.0...9.3.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-01 13:22:45 -05:00
Rob Emanuele bb4ac9de96
Add Azure Functions for creating images and animations (#115)
* Consolidate dev dependencies into requirements-dev.txt

* Add simple azure storage support to pccommon

* Set up azurite container for dev output

* Add pcfuncs codebase

This includes the "animation" and "image" functions,
as well as the "funclib" library that contains
reusable code for fetching rasters from the
PC data API.

* Add pcfuncs to dev servers and processes

* Add Azure Functions to deployment

* Move funcs information to main README

* Fix titiler link

* Avoid flake8 on setup.py

* Delete unused reprojection utility method/type

* Remove debug log information

* Don't restrict concurrency setting
2022-08-16 12:02:09 -04:00