Skip to content

[Bug]: dapa client get_collection method unable to locate existing collection #550

Closed
unity-sds/mdps-ds-lib
#104
@ngachung

Description

@ngachung

Checked for duplicates

Yes

Describe the bug

The get_collection method isn't able to locate a collection that exists because it doesn't request the specific collection or paginate.

https://github.com/unity-sds/mdps-ds-lib/blob/develop/mdps_ds_lib/stage_in_out/dapa_client.py#L41

What did you expect?

urn:nasa:unity:unity:dev:SBG-L1B_PRE___1 exists in dev but throws exception

File "/usr/local/lib/python3.9/site-packages/mdps_ds_lib/stage_in_out/dapa_client.py", line 62, in get_collection
raise RuntimeError(f'unable to find collection in DAPA')

Reproducible steps

Run DS image v9.6.0 with baseCommand: ["CATALOG"] and collection urn:nasa:unity:unity:dev:SBG-L1B_PRE___1

What is your environment?

shared services dev

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions