Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
285 commits
Select commit Hold shift + click to select a range
d8a1b74
OpenAPI: skip failing collections (#1577) (#1585)
tomkralidis Mar 11, 2024
ff4c4f6
Flask: sanitize OGC schema pathing (#1593)
tomkralidis Mar 12, 2024
0ce2219
update release version
kalxas Mar 13, 2024
6171597
switch back to dev
kalxas Mar 13, 2024
5c8f057
Revert pydantic method 'model_validate_json' to v1 version (#1596)
Mafaldarc Mar 15, 2024
e131cbf
Implement subscriber support for dummy manager (#1598)
totycro Mar 19, 2024
44df078
- fixed typo on parameter of url pattern for views.collection_item_ti…
doublebyte1 Mar 19, 2024
421559a
add docstring to base process manager (#1603)
tomkralidis Mar 20, 2024
2abb943
1600 allow providing default value in config (#1604)
ricardogsilva Mar 22, 2024
f94ad37
Safely serialize configuration JSON (#1605)
webb-ben Apr 3, 2024
36e75f8
safeguard STAC collection links (#1610) (#1611)
tomkralidis Apr 3, 2024
35bdcb6
Proposal to split api.py into different files (#1405)
totycro Apr 5, 2024
109d7c1
Removed duplicate running of pygeoapi in serve cli command (#1505)
ricardogsilva Apr 6, 2024
f51a891
Fix indentation error (#1618)
webb-ben Apr 8, 2024
41c3f6a
Shapely functions as sample process (#1565)
jeafreezy Apr 11, 2024
8a6f854
minor Shapely functions doc updates
tomkralidis Apr 11, 2024
9d3d083
remove FutureWarning from Xarray providers (#1623)
tomkralidis Apr 11, 2024
2bd9783
provide more process error output (#1620) (#1621)
tomkralidis Apr 11, 2024
7796794
Bump pymongo from 3.10.1 to 4.6.3 (#1616)
dependabot[bot] Apr 11, 2024
a26662e
add l10n to link titles (#1624) (#1625)
tomkralidis Apr 12, 2024
ea2fb87
use typing.Union for pre-3.10 compat (#1626)
tomkralidis Apr 12, 2024
52c20d6
Replaced geoalchemy with geoalchemy2 and added numpy as explicit depe…
ricardogsilva Apr 12, 2024
bf31885
Rebased to match API refactor (#1446)
ricardogsilva Apr 12, 2024
21b8672
fix missing Django processes endpoints (#1592) (#1627)
tomkralidis Apr 14, 2024
b4b7ee1
PostgreSQL provider: fix paging (#1594) (#1628)
tomkralidis Apr 15, 2024
8aba75f
changing shapely version (#1614)
KilimAnnejaro Apr 15, 2024
32e5773
Addition of time filtering to postgresql.py provider. (#1629)
david-i-berry Apr 15, 2024
66bbd85
add cftime to requirements-provider (#1630)
sjordan29 Apr 16, 2024
3e14893
add striptags to properties rendering (#1631)
tomkralidis Apr 18, 2024
17080d8
update Jinja HTML item template (#1634)
tomkralidis Apr 20, 2024
6a6ec9c
Add support for parameter Outputs of OGC API Processes (#1602)
francescoingv May 10, 2024
737b1bd
Retrieve properties from elasticsearch on get tile request (#1646)
doublebyte1 May 10, 2024
fd92861
EDR: fix parameter-name parameter (#1642) (#1647)
tomkralidis May 11, 2024
c4611b0
add map-layer to map (#1649)
pvgenuchten May 15, 2024
0b61464
Fix bug #1656 (#1657)
francescoingv May 15, 2024
dcabbb9
fixed issue 1652 by removing the staticmethod decorators infront of f…
Moritz-Langer May 15, 2024
51976ac
Refactor postgresql provider to allow exposing cached engine and tabl…
ricardogsilva May 15, 2024
6c31a8e
docs: point to combined plugins and themes wiki page (#1659)
tomkralidis May 15, 2024
01e1b6b
CI: split docs into separate GitHub Action (#1660)
tomkralidis May 17, 2024
e32ac85
Oracle: add pagination (#1669)
8luewater May 30, 2024
eb321aa
Add job before returning any response (#1672)
aulemahal Jun 10, 2024
50ad801
support lists as output (#1674) (#1675)
tomkralidis Jun 13, 2024
7218d95
1676 Manager pass job_id to processor (#1680)
francescoingv Jun 14, 2024
9394790
Update main.yml (#1683)
webb-ben Jun 14, 2024
7aca472
fix Django routes (#1685) (#1686)
tomkralidis Jun 18, 2024
fef8df1
add translation markers (#1681) (#1687)
tomkralidis Jun 18, 2024
c607be7
Oracle Connection Pooling implementation of issues/1655 (#1688)
Moritz-Langer Jun 21, 2024
58fd68c
add support for item schema string format (#1691)
tomkralidis Jun 23, 2024
dd1658f
update tests
tomkralidis Jun 23, 2024
0ee956b
docs: update as Reference Implementation for OGC API - Tiles
tomkralidis Jun 24, 2024
b14baaf
fix OpenAPI
tomkralidis Jun 24, 2024
3790b45
fix ref
tomkralidis Jun 24, 2024
e7050b6
Support using UUID as id
Boren Jun 24, 2024
5a7cf63
Tests
Boren Jun 24, 2024
d36ee2a
Merge pull request #1692 from geopython/item-schema-format
tomkralidis Jun 24, 2024
b19960b
reorder imports
tomkralidis Jun 24, 2024
722f846
Merge pull request #1694 from Boren/uuid-id
tomkralidis Jun 25, 2024
61bc84c
fix items collection link href
tomkralidis Jun 27, 2024
7a7ee09
Merge pull request #1697 from geopython/tomkralidis-patch-1
tomkralidis Jun 27, 2024
47f5293
PostgreSQL: support numeric types (#1695) (#1696)
tomkralidis Jun 27, 2024
accb819
Add missing backslash in documentation (#1700)
vprivat-ads Jun 28, 2024
db0dc50
Fix 'proceses' typo (#1699)
vprivat-ads Jun 28, 2024
cbab803
Fix typos (#1701)
vprivat-ads Jul 2, 2024
d5bf314
update translation labels (#1704) (#1706)
tomkralidis Jul 3, 2024
cd066a0
add Spanish translations (#1707)
tomkralidis Jul 3, 2024
bcc5b79
Fix bullet points in docs (#1709)
C-Loftus Jul 4, 2024
2b00cf2
Disable generic format check for collection_coverage (#1705)
totycro Jul 4, 2024
0af1df9
fix CSV provider paging (#1703) (#1710)
tomkralidis Jul 4, 2024
e39e723
Upgrade docker base image for CVE-2024-6387 (#1711)
kalxas Jul 4, 2024
2575c03
update release version
kalxas Jul 4, 2024
11b9480
switch back to dev
kalxas Jul 4, 2024
afd29f2
docs: add section on security (#1712)
tomkralidis Jul 5, 2024
f6c33d7
EDR generic layers UI (#1713)
pzaborowski Jul 5, 2024
b30465c
OAProc: test hello-world process evaluation of None and empty dict (#…
tomkralidis Jul 6, 2024
5e48308
Fix typo in ogcapi-processes.rst (#1715)
C-Loftus Jul 8, 2024
6d4237a
use identification.url as about link on landing page (#1716)
tomkralidis Jul 9, 2024
0169e43
Update test_tinydb_manager_for_parallel_requests.py (#1720)
francescoingv Jul 12, 2024
e8ce021
OAProc: fix response type on delete_job (#1721) (#1726)
tomkralidis Jul 16, 2024
d9adbbd
add support for TinyDB feature provider (#1724)
tomkralidis Jul 16, 2024
5331518
Add CRS transform to remaining providers (#1729)
webb-ben Jul 16, 2024
0be6de0
Update default docker bbox extents (#1732)
webb-ben Jul 16, 2024
3d81115
Allow setting docker repository via repository secret (#1734)
webb-ben Jul 16, 2024
5108750
EDR: add HTML table of parameters for collections with EDR support (#…
tomkralidis Jul 17, 2024
e91f051
Update processes.py (#1738)
francescoingv Jul 19, 2024
c322d3f
Release Process Manager backed by Postgresql (#1730)
francescoingv Jul 19, 2024
05a7de4
Update setup.py to restrict python version >= 3.9 (#1725)
pgValero Jul 19, 2024
9d53f1b
Fix for Starlette CORS (#1741)
ptomasula Jul 19, 2024
298f069
update jobs endpoint link title (#1739) (#1742)
tomkralidis Jul 19, 2024
a000fe5
port PostgreSQL process manager to SQLAlchemy (#1745)
tomkralidis Jul 20, 2024
274646b
Add TRS to pygeoapi config schema (#1743)
webb-ben Jul 21, 2024
b6c00b0
update CITE setup (#1728) (#1731)
tomkralidis Jul 21, 2024
f55aa87
Remove spatial parameter from OAS for single location (#1747)
webb-ben Jul 22, 2024
e2676bd
Document PostgreSQL process manager (#1746)
vprivat-ads Jul 22, 2024
31480af
Use consistent get_field ref in providers (#1727)
webb-ben Jul 22, 2024
bbb5035
Render covjson and geojson in EDR HTML view (#1749)
webb-ben Jul 22, 2024
d600f55
Update test_postgresql_manager.py (#1751)
francescoingv Jul 24, 2024
7bb7b38
fix pagination for features/records (#1658) (#1754)
tomkralidis Jul 24, 2024
0281732
add CORS expose headers setting (#1689) (#1755)
tomkralidis Jul 24, 2024
af8483a
OAProc: handle binary data when response: document (#1285) (#1756)
tomkralidis Jul 24, 2024
6c538ca
raise error for collections without queryables (#1757)
tomkralidis Jul 24, 2024
3adfdb2
Describe required collection level metadata about EDR Queries (#1744)
webb-ben Jul 24, 2024
b2a8e06
safeguard OpenAPI detection on startup (#1650) (#1758)
tomkralidis Jul 24, 2024
86390a6
OAProc: fix response: document encoding for results (#1579) (#1759)
tomkralidis Jul 25, 2024
b8dcf6a
Fixed typo (#1763)
francescoingv Jul 25, 2024
b712cb2
Fix typo in docs (#1762)
webb-ben Jul 25, 2024
0a7bb7f
fix various deprecation warnings (#1761)
tomkralidis Jul 25, 2024
a806f89
add installation note about Python version support (#1644) (#1760)
tomkralidis Jul 27, 2024
d1dfa17
Add Wallet for Session pool connections in oracle.py (#1768)
Moritz-Langer Jul 31, 2024
491ceaf
fix collection breadcrumbs on queryables and schemas HTML Jinja2 temp…
tomkralidis Aug 2, 2024
4b28de6
fix breadcrumbs again (follow on of #1769) (#1770)
tomkralidis Aug 5, 2024
d4063f3
fix EDR HTML breadcrumbs (#1764)
tomkralidis Aug 6, 2024
9ad8706
fix item id breadcrumb (#1772)
tomkralidis Aug 6, 2024
c1b90dc
update basemap URL across all configurations (#1777) (#1778)
tomkralidis Aug 9, 2024
71ce03e
Add validation check to EDR query registration (#1774)
webb-ben Aug 13, 2024
2a131c5
update docstrings for base provider fields functionality (#1783)
tomkralidis Aug 13, 2024
60bd403
Add C3 plotting to EDR HTML view (#1784)
webb-ben Aug 15, 2024
4e77d75
Remove extra parameters from OAS-EDR for locations (#1776)
webb-ben Aug 15, 2024
501bc6e
Center pygeoapi footer (#1785)
webb-ben Aug 15, 2024
7d1028c
Show map on all CovJSON data (#1786)
webb-ben Aug 15, 2024
bc1e8a6
do not echo query parameter values on exceptions (#1789) (#1790)
tomkralidis Aug 17, 2024
54b9be4
Pyarrow parquet provider (#1722)
barbuz Aug 19, 2024
44c589c
fix CI (#1791)
tomkralidis Aug 19, 2024
7e73434
Extra params fixes #1667 (#1673)
Moritz-Langer Aug 19, 2024
08876b5
Fix indentation in yaml example (#1794)
PascalLike Aug 20, 2024
067b158
Skip resources with no providers in STA intralink (#1793)
webb-ben Aug 20, 2024
7a3d8a8
Check if query is implemented before validating params (#1796)
webb-ben Aug 21, 2024
33b4ff7
Display numberMatched in HTML view (#1797)
webb-ben Aug 22, 2024
15be1dc
OGC API - Coverages: Propagate selected fields into covjson conversio…
JamesVarndell Aug 22, 2024
1429a81
Always use MarkerCluster to display items (#1799)
webb-ben Aug 23, 2024
6ad14a6
drop unicodecsv package (#1805)
tomkralidis Sep 9, 2024
2861803
feat: add version parameter to WMSFacade provider (#1806)
simonseyock Sep 11, 2024
0677c2e
SensorThings API provider cleanup (#1807)
webb-ben Sep 11, 2024
deb043f
Jobs pagination (#1779)
totycro Sep 12, 2024
6682b44
CRS handling in xarray provider properties (#1641)
sjordan29 Sep 12, 2024
76fd130
Update Ubuntu Jammy docker base image to 20240911.1 (#1815)
kalxas Sep 21, 2024
52bec0f
docs: update compliance for OGC API - Processes (#1817)
tomkralidis Sep 21, 2024
6b91024
Zoom to first layer on EDR (#1819)
webb-ben Sep 26, 2024
83ef1ac
update release version
kalxas Sep 27, 2024
b3a7071
back to dev
kalxas Sep 27, 2024
474cb60
fix item queryables provider handling (#1820)
tomkralidis Sep 29, 2024
d240a82
Improvements for xarray provider (#1800)
barbuz Sep 30, 2024
e736fa3
Custom esri token service (#1813)
colin-geo Oct 1, 2024
179c90f
Fixes a memoryfile issue with rasterio. When using f=json, it doesn't…
Alex-NRCan Oct 3, 2024
3bdeefe
Properly support int variables of any width (#1829)
barbuz Oct 15, 2024
d2f38de
Update FUNDING.yml
tomkralidis Nov 3, 2024
b6c38b6
fix HEAD requests for items (#1836) (#1838)
tomkralidis Nov 4, 2024
e4beaf7
add service contact to OpenAPI (#1835) (#1839)
tomkralidis Nov 4, 2024
09423fb
Lifted pin on sqlalchemy in order to be able to use v2+ (#1832)
ricardogsilva Nov 7, 2024
9e87184
fix trivy error on vulnerability testing (#1843)
tomkralidis Nov 8, 2024
2e4ff71
Improved documentation about admin api (#1846)
doublebyte1 Nov 17, 2024
a3b42ba
Fix bug when trying to get job result in binary format (#1798)
MartinPontius Nov 18, 2024
183caac
Support EDR single item locations for Starlette (#1827)
webb-ben Nov 18, 2024
acc3b9a
Unused requested_outputs in execute_process (#1834)
FritzHoing Nov 18, 2024
3188db9
update pygeoapi-auth info to security page (#1852)
tomkralidis Nov 19, 2024
065ef3a
Support empty default environment variable values (#1822)
webb-ben Nov 20, 2024
e1fec87
add support for OpenSearch provider (#1844)
tomkralidis Nov 20, 2024
0235bba
Add Arabic Translation and RTL Support (#1854)
yharby Nov 21, 2024
2662a3a
Updated documentation about OGC API - Tiles Providers (#1859)
doublebyte1 Nov 26, 2024
569393a
add PDF output for docs (#1860)
tomkralidis Dec 4, 2024
47fc390
Add License and Extent information to Collections (#1861)
sjordan29 Dec 6, 2024
a795620
support dataset specific templates (#1857) (#1858)
tomkralidis Dec 8, 2024
0cf470a
fix operationId values for Tiles requirements (#1728) (#1863)
tomkralidis Dec 8, 2024
2262696
minor doc sweep (#1864)
tomkralidis Dec 8, 2024
627be58
safeguard contact info (#1835) (#1862)
tomkralidis Dec 9, 2024
6998734
- added checks to test the data type of tiles (#1867)
doublebyte1 Dec 9, 2024
a0867d0
- add admin key to pygeoapi template configuration (#1866)
doublebyte1 Dec 9, 2024
e27318f
Respected linkrel from provider (#1868)
webb-ben Dec 10, 2024
cbbd0eb
Fix rendering of job results in html (#1870)
totycro Dec 11, 2024
8b1a987
Support enviornment vars in base Docker image (#1873)
webb-ben Dec 14, 2024
21d8ce9
Admin: coerce resource temporal extents into datetime objects (#1877)
tomkralidis Dec 15, 2024
f032628
Serialize string to bool (#1876)
webb-ben Dec 15, 2024
a1c94fa
Allow configurable expand to SensorThings provider (#1879)
webb-ben Dec 15, 2024
c91719e
Add mock data tests for the socrata provider (#1881)
totycro Dec 17, 2024
caafad4
Added payload examples and other default values in the Open API defin…
doublebyte1 Dec 17, 2024
475c567
Continue refactoring of API #1405 in remaining files (#1842)
totycro Dec 18, 2024
f181d99
Ensure STA only uses configured netloc (#1883)
webb-ben Dec 19, 2024
77f3a55
lazy import admin API based on config (#1886)
tomkralidis Dec 20, 2024
202933a
Elasticsearch: relax properties query for indexes with varying mappings
tomkralidis Dec 21, 2024
88bfa5f
Update elasticsearch_.py
tomkralidis Dec 21, 2024
125a1b4
Get all nested fields in Elasticsearch (#1882)
Mafaldarc Dec 22, 2024
c379f22
Admin tests without live server (#1888)
totycro Dec 23, 2024
6aa67b4
updates for parsing with stac browser (#1890)
sjordan29 Dec 24, 2024
5628529
Implement OGC API Features Part 4 transactions for the postgres provi…
totycro Dec 30, 2024
f0aa94d
update copyright year (#1894)
tomkralidis Jan 1, 2025
b48f352
update release version
kalxas Jan 3, 2025
8544351
back to dev
kalxas Jan 3, 2025
96c019a
remove lakes feature provider for CITE testing (#1895)
tomkralidis Jan 5, 2025
84908c9
add support for EDR instances (#1893)
tomkralidis Jan 5, 2025
fad44bd
update EDR compliance (#1896)
tomkralidis Jan 5, 2025
921fb20
Fix typo (#1897)
mikemahoney218-usgs Jan 6, 2025
2402fe0
update starlette documentation (#1898)
vprivat-ads Jan 13, 2025
b4d3535
lazy load admin api for Starlette and Django (#1886) (#1900)
tomkralidis Jan 14, 2025
5aa75d9
OACov: add support for UAD, override temporal extents from provider i…
tomkralidis Jan 14, 2025
86c81c6
normalize all feature/record CQL filtering to CQL2 using pygeofilter …
tomkralidis Jan 15, 2025
fb642dd
TinyDB: fix query data type casting (#1904)
tomkralidis Jan 18, 2025
3d88f7d
Use started/finished instead of job_start/end_datetime (#1906)
vprivat-ads Jan 21, 2025
29b507f
Add created/updated job fields (#1907)
vprivat-ads Jan 21, 2025
51c6a95
OARec: add autodiscovery link relation (#1908)
tomkralidis Jan 22, 2025
d9dceac
Fix Oracle Provider different count query and feature query when a sq…
Moritz-Langer Jan 22, 2025
2472fc3
add OARec autodiscovery to HTML collections template (#1910)
tomkralidis Jan 22, 2025
86e5b78
Implement OGC API Features Part 4 transactions for Senosorthings prov…
webb-ben Jan 23, 2025
f93246e
enhance support for limits (RFC5) (#1856) (#1892)
tomkralidis Jan 23, 2025
269c785
update Elasticsearch and MongoDB in CI to match pygeoapi-examples (#1…
tomkralidis Jan 26, 2025
a192aa6
Remove duplicated/unused 'get_manager' function (#1915)
vprivat-ads Jan 29, 2025
967dcf6
Use existing key for Admin OAS Patch (#1913)
webb-ben Jan 29, 2025
26263c8
Add outputs to pygeoapi processes in core (#1902)
webb-ben Jan 29, 2025
49bbf78
- add processing directive for raster layers on mapscript/OAMaps (#1920)
doublebyte1 Feb 3, 2025
cd6d88f
Fix SensorThings URI field retention (#1924)
webb-ben Feb 5, 2025
cafddc8
- Added information about projection of mapscript provider (#1929)
doublebyte1 Feb 7, 2025
fb39098
Feature property fixes (#1932)
tomkralidis Feb 8, 2025
7096af2
Added support to tileindexing on MapScript provider (#1931)
doublebyte1 Feb 8, 2025
1d592ae
Assign nil geometries to obs with malformed coordinates (#1922) (#1923)
mikemahoney218-usgs Feb 8, 2025
22648b1
support process output schemas in OpenAPI if exists (#1933)
tomkralidis Feb 9, 2025
75f8739
Fix Parquet Provider (#1935)
webb-ben Feb 12, 2025
d809647
Fix API Tile Metadata JSON response (#1934)
webb-ben Feb 12, 2025
d7c7122
Add SensorThings API EDR Provider (#1928)
webb-ben Feb 17, 2025
511578a
Fix pygeofilter reprojection tests (#1940)
webb-ben Feb 26, 2025
fa735ec
Add hot-reload option to docker entrypoint (#1880)
webb-ben Feb 27, 2025
b1d4e94
update Docker image links in docs (#1944)
tomkralidis Feb 28, 2025
107f776
prevent HTML templating override persistence (#1943)
tomkralidis Feb 28, 2025
8db5d9a
Fix starlette get_admin (#1946)
webb-ben Feb 28, 2025
a7f7e63
Fix Flask Admin with API rules (#1945)
webb-ben Feb 28, 2025
d78a8f3
fix `KeyError: 'updated'` when jobs are started but haven't been upd…
JohannesSchnell Feb 28, 2025
70b33f0
- filtering collections by provider to create a fcm['tile'] that can …
doublebyte1 Mar 3, 2025
f794d67
Gracefully catch tile not found (#1937)
webb-ben Mar 6, 2025
4f90235
Allow storage projections other than 4326 for Postgres Provider (#1953)
vvmruder Mar 6, 2025
7168828
Directly render EDR JSON in HTML (#1955)
webb-ben Mar 6, 2025
3a9d853
- gracefully catch missing tiles in wmts facade (#1960)
doublebyte1 Mar 10, 2025
9d60950
Support GeoJSON-LD templating (#1927)
webb-ben Mar 11, 2025
b616fb0
Include JSON-LD documents in manifest (#1963)
webb-ben Mar 12, 2025
00b1445
Update openapi.py (#1966)
vvmruder Mar 15, 2025
24dc072
Fix 'type' member of the rel=http://www.opengis.net/def/rel/ogc/1.0/s…
rouault Mar 18, 2025
94b0b3d
Fix conformance class URIs (#1967)
rouault Mar 18, 2025
ee370fb
explicitly define init of BaseProvider (#1972)
sjordan29 Mar 20, 2025
f9d9b2a
handle PostgreSQL JSON types as JSON Schema objects (#1975)
tomkralidis Mar 25, 2025
17d1a6f
fix schema geometry definition (#1938) (#1976)
tomkralidis Mar 25, 2025
c976bd7
Return 204 for tiles that are within the tile matrix set limits (#1959)
doublebyte1 Mar 26, 2025
bea6ac7
update release version
kalxas Mar 27, 2025
5d7538b
PygeoAPI Upgrade 0.16.0 -> 0.20.0
Jun 5, 2025
42e5bd9
Reapply PID Link functionality to the refactored API
jwallace94 Jun 5, 2025
53631a7
re-add logic for point type geometry
jwallace94 Jun 5, 2025
734ab1d
Fix missing endif in landing_page.html
jwallace94 Jun 5, 2025
ce7e897
oracledb in requirements.txt
jwallace94 Jun 6, 2025
01827d6
Remove Landing Page Github URL
jwallace94 Jun 10, 2025
05e72b5
Disable Record Collections
jwallace94 Jun 10, 2025
e43c7ae
Un-Pin oracledb Version
jwallace94 Jun 10, 2025
be471eb
Re-implement Geometry URL for queryables and schema
jwallace94 Jun 13, 2025
03e3685
Merge branch 'JWdev/PygeoAPI-0.20.0' of https://github.com/Geoscience…
jwallace94 Jun 13, 2025
b874a7b
Changes to commenting style
Jun 13, 2025
30e7633
Merge pull request #27 from GeoscienceAustralia/JWdev/PygeoAPI-0.20.0
jwallace94 Jun 13, 2025
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/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# These are supported funding model platforms

#github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
custom: ['https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WT27AS28UFSNW&source=url'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
custom: ['https://github.com/geopython/pygeoapi/wiki/Sponsorship'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ assignees: ''

---

<!--

Please note that this Issue is subject to RFC4: https://pygeoapi.io/development/rfc/4

-->

**Description**
A clear and concise description of what the bug is.

Expand Down
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ assignees: ''

---

<!--

Please note that this Issue is subject to RFC4: https://pygeoapi.io/development/rfc/4

-->

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Expand Down
11 changes: 10 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# Overview

# Related issue / discussion
# Related Issue / discussion

<!--

Is there an existing Issue that this PR addresses? Does this PR need a new Issue?

Non-trivial PRs are best put forth initially as an Issue so that there can be
discussion and consensus before a PR is put forth.

-->

# Additional information

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
branches: [master]

env:
DOCKER_REPOSITORY: geopython/pygeoapi
DOCKER_REPOSITORY: ${{ secrets.DOCKER_REPOSITORY || 'geopython/pygeoapi' }}
# DOCKER_TEST_IMAGE: geopython/pygeoapi:test

jobs:
Expand All @@ -25,7 +25,7 @@ jobs:
contents: read
steps:
- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@master

- name: Set up QEMU
uses: docker/setup-qemu-action@v2.1.0
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build documentation ⚙️

on:
push:
branches:
- master
paths:
- 'docs/**'
pull_request:
branches:
- master
paths:
- 'docs/**'
release:
types:
- released

jobs:
main:
runs-on: ubuntu-22.04
strategy:
matrix:
include:
- python-version: '3.10'
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v5
name: Setup Python ${{ matrix.python-version }}
with:
python-version: ${{ matrix.python-version }}
- name: Install requirements 📦
run: |
pip3 install -r requirements.txt
pip3 install -r docs/requirements.txt
- name: build docs 🏗️
run: cd docs && make html
24 changes: 24 additions & 0 deletions .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: flake8

on:
[ push, pull_request ]

jobs:
flake8_py3:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v5
name: setup Python
with:
python-version: '3.10'
- name: Checkout pygeoapi
uses: actions/checkout@master
- name: Install flake8
run: pip3 install flake8
- name: Run flake8
uses: suo/flake8-github-action@releases/v1
with:
checkName: 'flake8_py3'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
119 changes: 41 additions & 78 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,51 +4,41 @@ on:
push:
paths-ignore:
- '**.md'
- 'docs/**'
pull_request:
branches:
- master
paths-ignore:
- '!**.md'
- 'docs/**'
release:
types:
- released

jobs:
flake8_py3:
runs-on: ubuntu-22.04
steps:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
architecture: x64
- name: Checkout pygeoapi
uses: actions/checkout@master
- name: Install flake8
run: pip install flake8
- name: Run flake8
uses: suo/flake8-github-action@releases/v1
with:
checkName: 'flake8_py3' # NOTE: this needs to be the same as the job name
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

main:
needs: [flake8_py3]
runs-on: ubuntu-22.04
strategy:
matrix:
include:
- python-version: 3.8
- python-version: '3.10'
env:
PYGEOAPI_CONFIG: "$(pwd)/pygeoapi-config.yml"

steps:
- name: Clear up GitHub runner diskspace
run: |
echo "Space before"
df -h /
sudo rm -rf /usr/local/lib/android
sudo rm -rf /usr/share/dotnet
echo "Space after"
df -h /
- name: Chown user
run: |
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@master
- uses: actions/setup-python@v5
name: Setup Python ${{ matrix.python-version }}
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -66,28 +56,37 @@ jobs:
- name: Install and run Elasticsearch 📦
uses: getong/elasticsearch-action@v1.2
with:
elasticsearch version: '8.3.1'
elasticsearch version: '8.17.0'
host port: 9200
container port: 9200
host node port: 9300
node port: 9300
discovery type: 'single-node'
- name: Install and run OpenSearch 📦
uses: esmarkowski/opensearch-github-action@v1.0.0
with:
version: 2.18.0
security-disabled: true
port: 9209
- name: Install and run MongoDB
uses: supercharge/mongodb-github-action@1.5.0
uses: supercharge/mongodb-github-action@1.12.0
with:
mongodb-version: 4.4
mongodb-version: '8.0.4'
- name: Install and run SensorThingsAPI
uses: cgs-earth/sensorthings-action@v0.0.2
uses: cgs-earth/sensorthings-action@v0.1.0
- name: Install sqlite and gpkg dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
uses: awalsh128/cache-apt-pkgs-action@v1.4.3
with:
packages: libsqlite3-mod-spatialite
version: 4.3.0a-6build1
- name: Use ubuntuGIS unstable ppa
run: sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable && sudo apt update
shell: bash
- name: Install GDAL with Python bindings
uses: awalsh128/cache-apt-pkgs-action@latest
uses: awalsh128/cache-apt-pkgs-action@v1.4.3
with:
packages: gdal-bin libgdal-dev
version: 3.0.4
version: 3.8.4
- name: Install and run Oracle
run: |
docker run -d --name oracledb -e ORACLE_PWD=oracle -v ${{ github.workspace }}/tests/data/oracle/init-db:/opt/oracle/scripts/startup -p 1521:1521 container-registry.oracle.com/database/express:21.3.0-xe
Expand All @@ -98,98 +97,62 @@ jobs:
pip3 install -r requirements-starlette.txt
pip3 install -r requirements-dev.txt
pip3 install -r requirements-provider.txt
pip3 install -r requirements-manager.txt
pip3 install -r requirements-django.txt
pip3 install -r docs/requirements.txt
python3 setup.py install
pip3 install --upgrade numpy elasticsearch
pip3 install --upgrade numpy "sqlalchemy<2"
pip3 install --upgrade flake8
pip3 install --global-option=build_ext --global-option="-I/usr/include/gdal" GDAL==`gdal-config --version`
#pip3 install --upgrade rasterio==1.1.8
- name: setup test data ⚙️
run: |
python3 tests/load_es_data.py tests/data/ne_110m_populated_places_simple.geojson geonameid
python3 tests/load_es_data.py tests/cite/ogcapi-features/canada-hydat-daily-mean-02HC003.geojson IDENTIFIER
python3 tests/load_opensearch_data.py tests/data/ne_110m_populated_places_simple.geojson geonameid
python3 tests/load_mongo_data.py tests/data/ne_110m_populated_places_simple.geojson
gunzip < tests/data/hotosm_bdi_waterways.sql.gz | psql postgresql://postgres:${{ secrets.DatabasePassword || 'postgres' }}@localhost:5432/test
psql postgresql://postgres:${{ secrets.DatabasePassword || 'postgres' }}@localhost:5432/test -f tests/data/dummy_data.sql
psql postgresql://postgres:${{ secrets.DatabasePassword || 'postgres' }}@localhost:5432/test -f tests/data/dummy_types_data.sql
psql postgresql://postgres:${{ secrets.DatabasePassword || 'postgres' }}@localhost:5432/test -f tests/data/postgres_manager_full_structure.backup.sql
docker ps
python3 tests/load_oracle_data.py
- name: run unit tests ⚙️
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
pytest tests/test_csv__provider.py
pytest tests/test_django.py
pytest tests/test_elasticsearch__provider.py
pytest tests/test_opensearch__provider.py
pytest tests/test_esri_provider.py
pytest tests/test_filesystem_provider.py
pytest tests/test_geojson_provider.py
pytest tests/test_linked_data.py
pytest tests/test_mongo_provider.py
pytest tests/test_ogr_csv_provider.py
pytest tests/test_ogr_esrijson_provider.py
pytest tests/test_ogr_gpkg_provider.py
pytest tests/test_ogr_shapefile_provider.py
pytest tests/test_ogr_sqlite_provider.py
pytest tests/test_ogr_wfs_provider.py
pytest tests/test_postgresql_manager.py
# pytest tests/test_ogr_wfs_provider_live.py # NOTE: these are skipped in the file but listed here for completeness
pytest tests/test_openapi.py
pytest tests/test_oracle_provider.py
pytest tests/test_parquet_provider.py
pytest tests/test_postgresql_provider.py
pytest tests/test_rasterio_provider.py
pytest tests/test_sensorthings_edr_provider.py
pytest tests/test_sensorthings_provider.py
pytest tests/test_socrata_provider.py
# pytest tests/test_socrata_provider_live.py.py # NOTE: these are skipped in the file but listed here for completeness
pytest tests/test_sqlite_geopackage_provider.py
pytest tests/test_tinydb_catalogue_provider.py
pytest tests/test_tinydb_manager_for_parallel_requests.py
pytest tests/test_util.py
pytest tests/test_xarray_netcdf_provider.py
pytest tests/test_xarray_zarr_provider.py
- name: build docs 🏗️
run: cd docs && make html
- name: failed tests 🚩
if: ${{ failure() }}
run: |
pip3 list -v

admin:
needs: [flake8_py3]
runs-on: ubuntu-20.04
strategy:
matrix:
include:
- python-version: 3.8
env:
PYGEOAPI_CONFIG: "tests/pygeoapi-test-config-admin.yml"
PYGEOAPI_OPENAPI: "tests/pygeoapi-test-openapi-admin.yml"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
name: Setup Python ${{ matrix.python-version }}
with:
python-version: ${{ matrix.python-version }}
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: gunicorn python3-gevent
version: 1.0
- name: Install requirements 📦
run: |
pip3 install -r requirements.txt
pip3 install -r requirements-dev.txt
pip3 install -r requirements-admin.txt
python3 setup.py install
- name: Run pygeoapi with admin API ⚙️
run: |
pygeoapi openapi generate ${PYGEOAPI_CONFIG} --output-file ${PYGEOAPI_OPENAPI}
gunicorn --bind 0.0.0.0:5000 \
--reload \
--reload-extra-file ${PYGEOAPI_CONFIG} \
pygeoapi.flask_app:APP &
- name: run integration tests ⚙️
run: |
pytest tests/test_admin_api.py
- name: failed tests 🚩
if: ${{ failure() }}
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: 'Close stale Issues and Pull Requests'

env:
STALE_AFTER_INACTIVE_DAYS: 90
CLOSE_AFTER_INACTIVE_DAYS: 7

on:
schedule:
- cron: '1 3 * * 0' # runs every Sunday at 03h01 UTC
# - cron: '0 * * * *' # runs every hour, for debugging
jobs:
stale:
permissions:
issues: write
pull-requests: write
if: github.repository == 'geopython/pygeoapi'
runs-on: ubuntu-latest
steps:
- uses: 'actions/stale@v9'
with:
# debug-only: true
operations-per-run: 1000
enable-statistics: true
stale-issue-label: stale
stale-pr-label: stale
exempt-issue-labels: blocker
exempt-pr-labels: blocker
days-before-stale: ${{ env.STALE_AFTER_INACTIVE_DAYS }}
days-before-close: ${{ env.CLOSE_AFTER_INACTIVE_DAYS }}
remove-stale-when-updated: true
stale-issue-message: >
This Issue has been inactive for ${{env.STALE_AFTER_INACTIVE_DAYS }}
days. As per [RFC4](https://pygeoapi.io/development/rfc/4), in order
to manage maintenance burden, it will be automatically closed
in ${{ env.CLOSE_AFTER_INACTIVE_DAYS }} days.
stale-pr-message: >
This Pull Request has been inactive for ${{env.STALE_AFTER_INACTIVE_DAYS }}
days. As per [RFC4](https://pygeoapi.io/development/rfc/4), in order
to manage maintenance burden, it will be automatically closed
in ${{ env.CLOSE_AFTER_INACTIVE_DAYS }} days.
close-issue-message: >
As per [RFC4](https://pygeoapi.io/development/rfc/4), this Issue has
been closed due to there being no activity for more
than ${{ env.STALE_AFTER_INACTIVE_DAYS }} days.
close-pr-message: >
As per [RFC4](https://pygeoapi.io/development/rfc/4), this Pull Request
has been closed due to there being no activity for more
than ${{ env.STALE_AFTER_INACTIVE_DAYS }} days.
Loading
Loading