dlr-eoc / prosEO

prosEO – A Processing System for Earth Observation Data
GNU General Public License v3.0
14 stars 1 forks source link

Model: Attribute name mismatch between SimpleSelectionRule and SelectionRuleString #134

Closed tangobravo62 closed 5 months ago

tangobravo62 commented 3 years ago

The set of configured processors for a selection rule is named applicableConfiguredProcessors in the model class SimpleSelectionRule, but configuredProcessors in the interface class SelectionRuleString.

This leads to confusion in the CLI: When showing the details of a selection rule as part of its product class, the attribute is given as applicableConfiguredProcessors leading to the assumption that the value can be changed using this attribute name. When showing the selection rules only, the attribute is given as configured processors, which is not even an attribute name. Actually for updating the attribute must be named configuredProcessors.

The model and interface classes shall be aligned.

tangobravo62 commented 5 months ago

Confirmed by code inspection.