Actions
Task #510
closedAgenda for scripts constants
Start date:
06/14/2017
Due date:
% Done:
0%
Estimated time:
Owner:
Description
Would be good to have some agenda in GUI for constants which can be used in scripts on project.
Specific solution should be discussed.
Updated by Ondřej Kopr almost 7 years ago
After the discussion, we have clarified the use of constants:
- constants will be available through application.properties,
- to scripts will be add services to get individual constants. For example: IdentityConfiguration,
- ConfigurationService will not be added.
Updated by Radek Tomiška almost 7 years ago
- Status changed from New to Rejected
- Assignee changed from Ondřej Kopr to Petr Michal
- Target version set to Citrine (7.3.0)
To scripts could be added custom service (component) to get configuration properties (see IdentityConfiguration). Component could be enabled to scripts by annotation.
We don't want to enable ConfigurationService to scripts directly for security reasons - component enables just some configuration properties, which are save to use in script (component is responsible for it).
Actions