Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 4.9
-
Fix Version/s: 5.0
-
Component/s: gpt command-line tool, Graph Processing Framework
-
Labels:None
Description
Parameters of operators can go through an life cycle.
After they are created they can be renamed, their type or their meaning can be changed, or they can be removed at all.
Therefore GPF shall support the deprecation of parameters.
This allows the framework to handle changes in operator parameters and inform the client about the change.
A possible solution for this could be to extend the OperatorSpi by the following method:
+ getDeprecatedParameters() : DeprecatedParameter[]
The class DeprecatedParameter would then contain the necessary information about the cause of the deprecation.
Current state is that unknown parameters are ignored. This could lead to unexpected processing results if parameter names have changed and different parameter values are used for processing as specified.
After they are created they can be renamed, their type or their meaning can be changed, or they can be removed at all.
Therefore GPF shall support the deprecation of parameters.
This allows the framework to handle changes in operator parameters and inform the client about the change.
A possible solution for this could be to extend the OperatorSpi by the following method:
+ getDeprecatedParameters() : DeprecatedParameter[]
The class DeprecatedParameter would then contain the necessary information about the cause of the deprecation.
Current state is that unknown parameters are ignored. This could lead to unexpected processing results if parameter names have changed and different parameter values are used for processing as specified.