Skip to content

Commit 23afed8

Browse files
authored
Merge branch 'dev' into dev-crawler
2 parents 29bd9bb + be443e4 commit 23afed8

61 files changed

Lines changed: 7140 additions & 1190 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/api-ci.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
# API Configuration
7474
API_TITLE=STAC Atlas
7575
API_DESCRIPTION=A centralized platform for managing, indexing, and providing STAC Collection metadata
76-
API_VERSION=1.1.0
76+
API_VERSION=1.0.0
7777
EOF
7878
7979
# Step 4: Install dependencies
@@ -166,7 +166,7 @@ jobs:
166166
# API Configuration
167167
API_TITLE=STAC Atlas
168168
API_DESCRIPTION=A centralized platform for managing, indexing, and providing STAC Collection metadata
169-
API_VERSION=1.1.0
169+
API_VERSION=1.0.0
170170
EOF
171171
172172
- name: Install dependencies
@@ -230,7 +230,7 @@ jobs:
230230
# API Configuration
231231
API_TITLE=STAC Atlas
232232
API_DESCRIPTION=A centralized platform for managing, indexing, and providing STAC Collection metadata
233-
API_VERSION=1.1.0
233+
API_VERSION=1.0.0
234234
EOF
235235
236236
- name: Install Node dependencies
@@ -269,8 +269,7 @@ jobs:
269269
--root-url "http://localhost:3000/" \
270270
--conformance core \
271271
--conformance collections \
272-
--collection 1 \
273-
--verbose | tee stac-validator-output.txt
272+
--collection africa-agriculture-adaptation-atlas_extreme_hazard_risk_annual \
274273
275274
- name: Upload validator output
276275
uses: actions/upload-artifact@v4

api/.env.example

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ NODE_ENV=development
55

66
# Database Configuration (Debian Server)
77
# Option 1: Use DATABASE_URL (PostgreSQL connection string)
8-
# The api-user is stac_api (read-only) (stac_crawler for crawler-group)
9-
DATABASE_URL=postgresql://stac_api:[PASSWORD]@atlas.stacindex.org:5432/stac_db
8+
# The api-user is stac_api (read-only)
9+
DATABASE_URL=postgresql://stac_api:[PASSWORD]@atlas.stacindex.org:5430/stac_db
1010

1111
# Option 2: Use individual variables (currently active)
1212
DB_HOST=atlas.stacindex.org
13-
DB_PORT=5433 # 5432 for production
13+
DB_PORT=5430 # 5432 for production
1414
DB_NAME=stac_db
1515
DB_USER=stac_api
1616
DB_PASSWORD= # Add stac_api password here (api_password)
@@ -24,8 +24,26 @@ DB_CONNECTION_TIMEOUT=10000
2424

2525
# CORS Configuration
2626
CORS_ORIGIN=*
27+
CORS_CREDENTIALS=false
28+
29+
# Logging Configuration
30+
LOG_LEVEL=debug
2731

2832
# API Configuration
2933
API_TITLE=STAC Atlas
3034
API_DESCRIPTION=A centralized platform for managing, indexing, and providing STAC Collection metadata
31-
API_VERSION=1.1.0
35+
API_VERSION=1.0.0
36+
37+
# Request Size Limits
38+
# MAX_URL_LENGTH: Maximum URL length including query parameters (default: 1MB)
39+
# MAX_HEADER_SIZE: Maximum total size of all HTTP headers (default: 100KB)
40+
# MAX_BODY_SIZE: Maximum request body size for POST/PUT (default: 10MB)
41+
# Formats: "100KB", "1MB", "10MB", etc.
42+
MAX_URL_LENGTH=1MB
43+
MAX_HEADER_SIZE=100KB
44+
MAX_BODY_SIZE=10MB
45+
46+
# Rate Limiting Configuration
47+
# Set to "true" to disable rate limiting (useful for load testing)
48+
# WARNING: Never disable rate limiting in production!
49+
DISABLE_RATE_LIMIT=false

0 commit comments

Comments
 (0)