Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal to split api.py into different files #1405

Merged
merged 73 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from 67 commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
0bb34f5
Move api to subdirectory
totycro Mar 11, 2024
adf90eb
Move processes api to own file
totycro Mar 11, 2024
cdb6176
Adapt processes view methods
totycro Mar 11, 2024
b8941f3
Move openapi definition to processes api
totycro Mar 11, 2024
f446b25
Use processes api in flask
totycro Mar 11, 2024
14d132c
Linter
totycro Mar 11, 2024
15cbd46
Fix import issues
totycro Mar 11, 2024
8083243
Allow calling refactored views from starlette
totycro Mar 11, 2024
eb5760d
Allow calling refactored views from django
totycro Mar 12, 2024
58b1f3c
Linter
totycro Mar 12, 2024
8bd674a
Move edr api to own file
totycro Mar 12, 2024
ec3a49e
Adapt edr api to new style
totycro Mar 12, 2024
91610d0
Fix typo in django views
totycro Mar 12, 2024
e4bdddd
Move maps api to own file
totycro Mar 12, 2024
855b2ac
Adapt maps api to new style
totycro Mar 12, 2024
d4e8f17
Move edr openapi to edr api file
totycro Mar 13, 2024
f482ab2
Move maps openapi to maps api file
totycro Mar 13, 2024
6df8321
Move stac views to own file
totycro Mar 13, 2024
abc7116
Refactor stac views to new file
totycro Mar 13, 2024
3f314e4
Move stac openapi to stac api file
totycro Mar 13, 2024
8ab7ec9
Move tiles api to own file
totycro Mar 13, 2024
c2b332f
Adapt tiles api to new style
totycro Mar 13, 2024
b6e3f2d
Also move tilematrixset to tiles api
totycro Mar 13, 2024
b5d1769
Adapt tilesetmatrix views to new style
totycro Mar 13, 2024
bbff4f9
update features, records, coverages
tomkralidis Mar 17, 2024
79c3d15
update release version
kalxas Mar 11, 2024
9fca281
switch back to dev
kalxas Mar 11, 2024
7842a00
backport of #1313
tomkralidis Mar 17, 2024
0ca2dc9
backport of #1313 fix
tomkralidis Mar 17, 2024
e3b5881
backport of #1585
tomkralidis Mar 17, 2024
4fdb921
Flask: sanitize OGC schema pathing (#1593)
tomkralidis Mar 12, 2024
b5c70a1
update release version
kalxas Mar 13, 2024
b913705
switch back to dev
kalxas Mar 13, 2024
23b4960
backport of #1596
tomkralidis Mar 17, 2024
04458f4
Port test_gzip_csv test
totycro Mar 18, 2024
110946b
Add empty conformance class list to stac api
totycro Mar 18, 2024
d6546ea
Fix queryables call in starlette
totycro Mar 18, 2024
247a83f
fix ref
tomkralidis Mar 18, 2024
d9ca45a
Unify request validity checking
totycro Mar 18, 2024
218bca1
Fix imports in django views
totycro Mar 18, 2024
c14fef9
backport #1598
tomkralidis Mar 19, 2024
ab75249
Remove test about format handling in endpoint
totycro Mar 20, 2024
6ed3245
add docstring to base process manager (#1603)
tomkralidis Mar 20, 2024
ff13394
backport of #1601
tomkralidis Mar 20, 2024
969c7e4
Port api ogr tests to new style
totycro Mar 20, 2024
7768b95
Move processes tests to own file
totycro Mar 20, 2024
d91a2f1
Run api tests from new dir in CI
totycro Mar 20, 2024
5f83ae7
Move edr tests to own file
totycro Mar 20, 2024
6e5be3a
Move maps tests to own file
totycro Mar 20, 2024
880afcd
Move tiles tests to own file
totycro Mar 20, 2024
196da16
Actually hide hidden layers in openapi
totycro Mar 21, 2024
fa9912a
1600 allow providing default value in config (#1604)
ricardogsilva Mar 22, 2024
f487846
move coverages tests to own file
tomkralidis Mar 25, 2024
6be32aa
move itemtypes to own file, move core into init test
tomkralidis Mar 25, 2024
a911b16
fix OpenAPI output
tomkralidis Mar 26, 2024
c4982fe
update tests
tomkralidis Mar 26, 2024
d63b10e
add missing descriptions to OpenAPI admin responses
tomkralidis Mar 26, 2024
d79f367
update tests
tomkralidis Mar 26, 2024
af38787
fix tests autodiscovery
tomkralidis Mar 26, 2024
38fdd57
remove unused logging in tests
tomkralidis Mar 27, 2024
a0dce49
Merge branch 'master' into split-api-py
tomkralidis Mar 28, 2024
cb7df7c
address PR comments
tomkralidis Apr 2, 2024
f005fef
test with xarray 2024.2.0
tomkralidis Apr 3, 2024
284af73
remove unneeded file
tomkralidis Apr 3, 2024
eeb997c
safeguard xarray error
tomkralidis Apr 3, 2024
5bd9027
unpin xarray
tomkralidis Apr 3, 2024
df05295
fix OpenAPI generation
tomkralidis Apr 3, 2024
e72d4ba
fix schema endpoint in Flask and Starlette
tomkralidis Apr 3, 2024
122666c
Safely serialize configuration JSON (#1605)
webb-ben Apr 3, 2024
07c1c37
backport #1611
tomkralidis Apr 3, 2024
74d709d
Also fix schema endpoint for django
totycro Apr 4, 2024
8b2e368
Merge branch 'master' into split-api-py
tomkralidis Apr 4, 2024
c3c3b2f
address additional PR comments
tomkralidis Apr 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
env:
POSTGRESQL_PASSWORD: ${{ secrets.DatabasePassword || 'postgres' }}
run: |
pytest tests/test_api.py
pytest tests/api
pytest tests/test_api_ogr_provider.py
pytest tests/test_config.py
pytest tests/test_csv__formatter.py
Expand Down
2 changes: 1 addition & 1 deletion docs/source/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Tests can be run locally as part of development workflow. They are also run on
`GitHub Actions setup`_ against all commits and pull requests to the code repository.

To run all tests, simply run ``pytest`` in the repository. To run a specific test file,
run ``pytest tests/test_api.py``, for example.
run ``pytest tests/api/test_itemtypes.py``, for example.


CQL extension lifecycle
Expand Down
4,318 changes: 0 additions & 4,318 deletions pygeoapi/api.py

This file was deleted.

Loading
Loading