EOxServer / eoxserver

EOxServer is a Python application and framework for presenting Earth Observation (EO) data and metadata.
https://eoxserver.org
Other
40 stars 18 forks source link

CLI update models via replace parameter #566

Closed lubojr closed 12 months ago

lubojr commented 1 year ago

Adds option to update existing models from CLI for following models: BrowseType, CoverageType, Storage, StorageAuth, ProductType, CollectionType, Collection.

If replace parameter not added, the methods used (model.create) are left the same to ensure backwards compatibility - that Exception is thrown if model of that unique key already exists.