Project

General

Profile

Actions

Task #510

closed

Agenda for scripts constants

Added by Petr Michal almost 7 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
Low
Assignee:
Petr Michal
Category:
Scripts
Target version:
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.

Actions #1

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.
Actions #2

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

Also available in: Atom PDF