Skip to content

Commit e1be53c

Browse files
authored
Merge branch 'main' into remove_source
2 parents f9bf949 + 41b28b5 commit e1be53c

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/database_logic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
132132
"numeric_detection": False,
133133
"dynamic_templates": ES_MAPPINGS_DYNAMIC_TEMPLATES,
134134
"properties": {
135+
"id": {"type": "keyword"},
135136
"extent.spatial.bbox": {"type": "long"},
136137
"extent.temporal.interval": {"type": "date"},
137138
"providers": {"type": "object", "enabled": False},

stac_fastapi/opensearch/stac_fastapi/opensearch/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def _es_config() -> Dict[str, Any]:
2727
return config
2828

2929
# Include SSL settings if using https
30-
config["ssl_version"] = ssl.TLSVersion.TLSv1_3 # type: ignore
30+
config["ssl_version"] = ssl.PROTOCOL_SSLv23 # type: ignore
3131
config["verify_certs"] = os.getenv("ES_VERIFY_CERTS", "true").lower() != "false" # type: ignore
3232

3333
# Include CA Certificates if verifying certs

stac_fastapi/opensearch/stac_fastapi/opensearch/database_logic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
"numeric_detection": False,
135135
"dynamic_templates": ES_MAPPINGS_DYNAMIC_TEMPLATES,
136136
"properties": {
137+
"id": {"type": "keyword"},
137138
"extent.spatial.bbox": {"type": "long"},
138139
"extent.temporal.interval": {"type": "date"},
139140
"providers": {"type": "object", "enabled": False},

0 commit comments

Comments
 (0)