Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-78458

Expose the ScriptinExecutor through jsonws

Details

    Description

      I have created a fully functional osgi module that exposes the ScriptingExecutor through a jsonws service.  It supports both eval for short requests that have response objects, and spawn that will turn the script into a background task.  You can see my solution here:

       

      https://github.com/pastdev/com-pastdev-liferay-scripting

       

      This has been extremely helpful to my team in terms of automating various administrative tasks and applying patches (supplied by your EE support staff) in a consistent, repeatable fashion.  I think it would be relatively trivial to include in the liferay core and would have great value to a lot of others.  All that would be required is a namespace change...

       

      What do you think?

      Attachments

        Activity

          People

            david.truong David Truong
            ltheisen Lucas Theisen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package