Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Upgraded stac-fastapi and pgstac versions to bring support for CQL2-JSON filter support [#20](https://github.com/microsoft/planetary-computer-apis/pull/20)
- Organized and updated documentation markdown docs [#11](https://github.com/microsoft/planetary-computer-apis/pull/11)
- Allow SAS URL variable to be passed to PC SDK in tiler service [#33](https://github.com/microsoft/planetary-computer-apis/pull/33)

### Added
- Errors are logged using exceptions and including request metadata [#14](https://github.com/microsoft/planetary-computer-apis/pull/14)
### Fixed
- Updated search limit constraints to avoid 500s [#15](https://github.com/microsoft/planetary-computer-apis/pull/15)
- Fixed STAC `describedby` and `preview` links [#33](https://github.com/microsoft/planetary-computer-apis/pull/33)
1 change: 1 addition & 0 deletions deployment/helm/deploy-values.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ tiler:

stac_api_url: http://planetary-computer-stac.pc.svc.cluster.local
stac_api_href: https://{{ tf.dns_label }}.westeurope.cloudapp.azure.com/stac/
pc_sdk_sas_url: https://{{ tf.dns_label }}.westeurope.cloudapp.azure.com/sas/

metrics:
instrumentationKey: "{{ tf.instrumentation_key }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ spec:
value: "{{ .Values.tiler.stac_api_url}}"
- name: STAC_API_HREF
value: "{{ .Values.tiler.stac_api_href}}"
- name: PC_SDK_SAS_URL
value: "{{ .Values.tiler.pc_sdk_sas_url}}"
- name: APP_INSIGHTS_INSTRUMENTATION_KEY
value: "{{ .Values.metrics.instrumentationKey }}"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ tiler:

stac_api_url: ""
stac_api_href: ""
pc_sdk_sas_url: ""

host: "0.0.0.0"
port: "80"
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ services:
- FF_VRT="yes"
- STAC_API_URL=http://stac:8081
- STAC_API_HREF=http://localhost:8080/stac/
- PC_SDK_SAS_URL=https://planetarycomputer.microsoft.com/api/sas/v1/token
- PC_SDK_SAS_URL=https://planetarycomputer-staging.microsoft.com/api/sas/v1/token

# titiler.pgstac
- POSTGRES_USER=username
Expand Down
10 changes: 1 addition & 9 deletions pcstac/pcstac/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def inject_collection_links(self, collection: Collection) -> Collection:
{
"rel": "describedby",
"href": urljoin(
"https://planetarycomputer.microsoft.com/dataset",
"https://planetarycomputer.microsoft.com/dataset/",
collection["id"],
),
"title": "Human readable dataset overview and reference",
Expand Down Expand Up @@ -113,14 +113,6 @@ async def get_collection(
Returns:
Collection.
"""
logger.info(
"Single collection requested",
extra={
"custom_dimensions": {
"container": collection_id,
}
},
)
try:
render_config = COLLECTION_RENDER_CONFIG.get(collection_id)

Expand Down
2 changes: 1 addition & 1 deletion pctiler/pctiler/endpoints/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def map(
tilejson_params = get_param_str(
{
"collection": collection,
"items": item,
"item": item,
"assets": ",".join(render_config.assets),
}
)
Expand Down