[jira] [Commented] (SYNCOPE-956) Allow for scripted customizations

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (SYNCOPE-956) Allow for scripted customizations

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SYNCOPE-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16189520#comment-16189520 ]

Francesco Chicchiriccò commented on SYNCOPE-956:

After some re-consideration, Groovy appears much more suitable than Javascript:

# Groovy classes are very similar to their Java counterparts
# Spring's {{@Autowired}} and {{@Transactional}} can be used
# no need of "supporting" Java implementations delegating the actual implementation to different JS scripts

Anyway, Javascript support can always be added in the future, if considered worth.

> Allow for scripted customizations
> ---------------------------------
>                 Key: SYNCOPE-956
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-956
>             Project: Syncope
>          Issue Type: New Feature
>            Reporter: Francesco Chicchiriccò
>            Assignee: Francesco Chicchiriccò
>              Labels: groovy
>             Fix For: 2.1.0
> The core can be customized in [several ways|http://syncope.apache.org/docs/reference-guide.html#customization-core]; all customizations require to be written as Java classes - which is generally good but requires redeploy to be made effective, unless some class reloading mechanism is in place (as JRebel).
> By leveraging Groovy, we could overcome such limitation and allow to write customizations which can be immediately available for execution at runtime.
> Once implemented in the core, such feature will require editing capabilities to be added to console and IDE plugins.

This message was sent by Atlassian JIRA