Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintain a set of configured data store instances #364

Closed
forman opened this issue Nov 13, 2020 · 1 comment
Closed

Maintain a set of configured data store instances #364

forman opened this issue Nov 13, 2020 · 1 comment
Assignees
Labels
CCI KE DCFS enhancement New feature or request urgent High external pressure to address this ASAP xcube gen This is related to data cube generation, CLI "xcube gen" xcube serve This is related to server component, CLI "xcube serve"

Comments

@forman
Copy link
Member

forman commented Nov 13, 2020

Is your feature request related to a problem? Please describe.

The xcube data store framework allows for dynamic extension of available data stores by plugins.
The registered data stores are, however, classes/factories fior data sources. We require a mapping from data store instance identifiers to configured data store instances. For example, the SENTINEL Hub service exist for 5+ endpoints. We'll need to configure 5+ store instances with different names, although all instances use the data store class/factory.

This should be used in the future by "xcube gen2", "xcube serve" and Cate (ESA CCI Toolbox).

Describe the solution you'd like

Extend xcube data store framework by a class that maintains a set of store instances. It is instantiated with a mapping from instance identifiers to store configurations.

A concept already exists in xcube/cli/_gen2/storeconfig.py.

@forman forman added enhancement New feature or request urgent High external pressure to address this ASAP xcube serve This is related to server component, CLI "xcube serve" xcube gen This is related to data cube generation, CLI "xcube gen" DCFS labels Nov 13, 2020
@forman forman self-assigned this Nov 13, 2020
@forman forman mentioned this issue Nov 13, 2020
7 tasks
@forman forman added the CCI KE label Nov 13, 2020
@forman
Copy link
Member Author

forman commented Nov 16, 2020

Will be released with 0.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCI KE DCFS enhancement New feature or request urgent High external pressure to address this ASAP xcube gen This is related to data cube generation, CLI "xcube gen" xcube serve This is related to server component, CLI "xcube serve"
Projects
None yet
Development

No branches or pull requests

1 participant