sling-org-apache-sling-scripting-core.git
10 days agoSLING-8150 Update to Sling Parent 34 master
Oliver Lietz [Sun, 2 Dec 2018 12:41:00 +0000 (13:41 +0100)] 
SLING-8150 Update to Sling Parent 34

12 days ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Fri, 30 Nov 2018 14:46:02 +0000 (15:46 +0100)] 
[maven-release-plugin] prepare for next development iteration

12 days ago[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.56 org.apache.sling.scripting.core-2.0.56
Radu Cotescu [Fri, 30 Nov 2018 14:45:43 +0000 (15:45 +0100)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.56

12 days agoSLING-8141 - ScriptCacheImpl throws IllegalStateException on deactivate
Radu Cotescu [Fri, 30 Nov 2018 14:36:21 +0000 (15:36 +0100)] 
SLING-8141 - ScriptCacheImpl throws IllegalStateException on deactivate

* synced deactivate and configureCache, called from handleEvent so that
if an event occurs at the same time as a deactivate the unregister method
of the ResourceChangeListener service registration is not called twice for
the same registration
* optimised cache reconfiguration when an event occurs

2 months agoSLING-7984 : Make dependency to web console optional
Carsten Ziegeler [Mon, 8 Oct 2018 06:32:05 +0000 (08:32 +0200)] 
SLING-7984 : Make dependency to web console optional

2 months agotrivial: added license header to *.md files
Radu Cotescu [Thu, 20 Sep 2018 09:09:07 +0000 (11:09 +0200)] 
trivial: added license header to *.md files

2 months agoSLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module
Radu Cotescu [Wed, 19 Sep 2018 16:29:20 +0000 (18:29 +0200)] 
SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module

2 months agoSLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module
Radu Cotescu [Wed, 19 Sep 2018 16:04:03 +0000 (18:04 +0200)] 
SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module

4 months agoSLING-7798 Switch from JSR-305 annotations to JetBrains Nullable/NotNull annotations
sseifert [Mon, 13 Aug 2018 09:45:00 +0000 (11:45 +0200)] 
SLING-7798 Switch from JSR-305 annotations to JetBrains Nullable/NotNull annotations

6 months agoUpdating badges for org-apache-sling-scripting-core
Dan Klco [Fri, 8 Jun 2018 19:46:23 +0000 (15:46 -0400)] 
Updating badges for org-apache-sling-scripting-core

6 months agoclean up bnd instructions
Oliver Lietz [Tue, 29 May 2018 11:51:46 +0000 (13:51 +0200)] 
clean up bnd instructions

8 months agoSLING-7545 - add an integration test for that issue
Bertrand Delacretaz [Wed, 21 Mar 2018 11:41:14 +0000 (12:41 +0100)] 
SLING-7545 - add an integration test for that issue

8 months agoSLING-7545 - remove unwanted BundleListener service registration
Bertrand Delacretaz [Tue, 20 Mar 2018 14:46:36 +0000 (15:46 +0100)] 
SLING-7545 - remove unwanted BundleListener service registration

8 months agoSLING-7545 - SlingScriptEngineManager needs to be registered as a BundleListener
Bertrand Delacretaz [Tue, 20 Mar 2018 11:37:08 +0000 (12:37 +0100)] 
SLING-7545 - SlingScriptEngineManager needs to be registered as a BundleListener

10 months agoSLING-7424 Use bnd Maven plugins
Oliver Lietz [Mon, 22 Jan 2018 14:23:18 +0000 (15:23 +0100)] 
SLING-7424 Use bnd Maven plugins

10 months agoSLING-7353 Update to Sling Parent 33
Oliver Lietz [Mon, 22 Jan 2018 14:20:51 +0000 (15:20 +0100)] 
SLING-7353 Update to Sling Parent 33

10 months agoSLING-7353 Update to Sling Parent 33
Oliver Lietz [Wed, 17 Jan 2018 15:29:56 +0000 (16:29 +0100)] 
SLING-7353 Update to Sling Parent 33

downgrade to Parent 32 until Parent 33 is released

10 months agoRevert "INFRA-15815 Maven build can't find SNAPSHOT parent pom on repository.apache...
Oliver Lietz [Tue, 16 Jan 2018 12:42:32 +0000 (13:42 +0100)] 
Revert "INFRA-15815 Maven build can't find SNAPSHOT parent pom on repository.apache.org"

This reverts commit fb9b0094d6cc48e6eac33d62a52ef09597314be1.

10 months agoINFRA-15815 Maven build can't find SNAPSHOT parent pom on repository.apache.org
Oliver Lietz [Tue, 16 Jan 2018 12:26:35 +0000 (13:26 +0100)] 
INFRA-15815 Maven build can't find SNAPSHOT parent pom on repository.apache.org

rule out Maven Failsafe Plugin (SLING-7347)

10 months agoSLING-7353 Update to Sling Parent 33
Oliver Lietz [Tue, 16 Jan 2018 09:57:53 +0000 (10:57 +0100)] 
SLING-7353 Update to Sling Parent 33

adjust dependencies

11 months agoSLING-7353 Update to Sling Parent 33
Oliver Lietz [Thu, 4 Jan 2018 09:52:54 +0000 (10:52 +0100)] 
SLING-7353 Update to Sling Parent 33

use Parent 33-SNAPSHOT

11 months ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Thu, 14 Dec 2017 13:59:10 +0000 (14:59 +0100)] 
[maven-release-plugin] prepare for next development iteration

11 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.54 org.apache.sling.scripting.core-2.0.54
Radu Cotescu [Thu, 14 Dec 2017 13:58:52 +0000 (14:58 +0100)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.54

11 months agoreleng: updated test dependency to released version
Radu Cotescu [Thu, 14 Dec 2017 09:13:58 +0000 (10:13 +0100)] 
releng: updated test dependency to released version

11 months agoSLING-7311 - The SlingScriptEngineManager doesn't correctly flush script engine assoc...
Radu Cotescu [Thu, 14 Dec 2017 08:03:00 +0000 (09:03 +0100)] 
SLING-7311 - The SlingScriptEngineManager doesn't correctly flush script engine associations

* added tests to verify stale entries
* made sure the internal script engine manager is always refreshed on change

12 months agoremove unused imports
Oliver Lietz [Sun, 10 Dec 2017 11:56:29 +0000 (12:56 +0100)] 
remove unused imports

12 months agoSLING-7301 NPE in ScriptCacheImpl when no configuration is present
Oliver Lietz [Sun, 10 Dec 2017 11:54:32 +0000 (12:54 +0100)] 
SLING-7301 NPE in ScriptCacheImpl when no configuration is present

add null-check for additionalExtensions

12 months ago[maven-release-plugin] prepare for next development iteration
Karl Pauls [Tue, 5 Dec 2017 12:44:30 +0000 (13:44 +0100)] 
[maven-release-plugin] prepare for next development iteration

12 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.52 org.apache.sling.scripting.core-2.0.52
Karl Pauls [Tue, 5 Dec 2017 12:44:11 +0000 (13:44 +0100)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.52

12 months agoMerge pull request #1 from apache/issue/SLING-7134
Karl Pauls [Tue, 5 Dec 2017 12:39:16 +0000 (13:39 +0100)] 
Merge pull request #1 from apache/issue/SLING-7134

SLING-7134 - Script execution order is not deterministic on Java 9

12 months agoUse serviceloader to load engine from bundles and use the systemclassloader to load... issue/SLING-7134 1/head
Karl Pauls [Mon, 4 Dec 2017 22:20:17 +0000 (23:20 +0100)] 
Use serviceloader to load engine from bundles and use the systemclassloader to load default engines to make sure we get nashorn in java8.

12 months agoSLING-7134 - Script execution order is not deterministic on Java 9
Radu Cotescu [Sun, 3 Dec 2017 12:23:55 +0000 (13:23 +0100)] 
SLING-7134 - Script execution order is not deterministic on Java 9

* reimplemented the former o.a.s.scripting.core.impl.ScriptEngineManagerFactory,
o.a.s.scripting.core.impl.helper.SlingScriptEngineManager and
o.a.s.scripting.core.impl.helper.ProxyScriptEngineManager into one service:
o.a.s.scripting.core.impl.jsr223.SlingScriptEngineManager
* the new SlingScriptEngineManager manages ScriptEngineFactories registrations
from the platform's ScriptEngineManager, bundles that expose a ScriptEngineFactory
through the SPI mechanism and ScriptEngineFactories registered as OSGi services
* introduced the concept of a SortableScriptEngineFactory, that allows ordering the
factories based on bundle IDs and service rankings; if two factories have the same service
ranking, then the factory with the higher bundle ID will win
* corrected bug in the ScriptCacheImpl to cache scripts from all ScriptEngineFactories that
register a Compilable ScriptEngine, not just for the ScriptEngineFactories registered as
OSGi services
* extended tests
* updated PAX exam tests to run on Java 9

13 months agoSLING-7213 - Add a default .gitignore file to every module
Robert Munteanu [Tue, 24 Oct 2017 11:41:01 +0000 (13:41 +0200)] 
SLING-7213 - Add a default .gitignore file to every module

13 months agoSLING-7214 - Add the LICENSE file to every module
Robert Munteanu [Mon, 23 Oct 2017 16:38:24 +0000 (18:38 +0200)] 
SLING-7214 - Add the LICENSE file to every module

13 months agoFix typo in pom.xml : conncetion should be connection
Robert Munteanu [Mon, 23 Oct 2017 09:06:30 +0000 (12:06 +0300)] 
Fix typo in pom.xml : conncetion should be connection

13 months agoSLING-7162 - Update SCM information in all POM files to reference Git
Robert Munteanu [Fri, 20 Oct 2017 17:13:16 +0000 (19:13 +0200)] 
SLING-7162 - Update SCM information in all POM files to reference Git

13 months ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Tue, 17 Oct 2017 07:46:34 +0000 (07:46 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1812366 13f79535-47bb-0310-9956-ffa450edef68

13 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.50
Radu Cotescu [Tue, 17 Oct 2017 07:46:18 +0000 (07:46 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.50

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1812364 13f79535-47bb-0310-9956-ffa450edef68

13 months agoSLING-7201 - ScriptCache implementation doesn't correctly flush stale entries
Radu Cotescu [Mon, 16 Oct 2017 15:37:48 +0000 (15:37 +0000)] 
SLING-7201 - ScriptCache implementation doesn't correctly flush stale entries

* corrected annotation configuration by adding the bind and unbind parameters

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1812299 13f79535-47bb-0310-9956-ffa450edef68

14 months agoSLING-7167 Adjust READMEs
Oliver Lietz [Tue, 3 Oct 2017 09:59:31 +0000 (09:59 +0000)] 
SLING-7167 Adjust READMEs

add uniform header linking to Sling project

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1810870 13f79535-47bb-0310-9956-ffa450edef68

14 months agoSLING-7167 Adjust READMEs
Oliver Lietz [Mon, 2 Oct 2017 16:16:44 +0000 (16:16 +0000)] 
SLING-7167 Adjust READMEs

switch from plain text to Markdown

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1810496 13f79535-47bb-0310-9956-ffa450edef68

14 months agoSLING-7167 Adjust READMEs
Oliver Lietz [Mon, 2 Oct 2017 14:59:04 +0000 (14:59 +0000)] 
SLING-7167 Adjust READMEs

remove outdated information

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1810409 13f79535-47bb-0310-9956-ffa450edef68

14 months ago[maven-release-plugin] prepare for next development iteration
Robert Munteanu [Wed, 20 Sep 2017 11:45:46 +0000 (11:45 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1809003 13f79535-47bb-0310-9956-ffa450edef68

14 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.48
Robert Munteanu [Wed, 20 Sep 2017 11:45:31 +0000 (11:45 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.48

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1809001 13f79535-47bb-0310-9956-ffa450edef68

14 months agoSLING-7139 - ScriptEngineManagerFactory does not register ScriptEngineFactory references
Robert Munteanu [Tue, 19 Sep 2017 11:40:37 +0000 (11:40 +0000)] 
SLING-7139 - ScriptEngineManagerFactory does not register ScriptEngineFactory references

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1808864 13f79535-47bb-0310-9956-ffa450edef68

14 months agoSLING-7136 - Scripting variables web console plugin lists 'all' option for each scrip...
Robert Munteanu [Tue, 19 Sep 2017 08:15:29 +0000 (08:15 +0000)] 
SLING-7136 - Scripting variables web console plugin lists 'all' option for each scripting engine

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1808840 13f79535-47bb-0310-9956-ffa450edef68

14 months agoSLING-7137 - Scripting web console plugins no longer listed
Robert Munteanu [Tue, 19 Sep 2017 08:15:22 +0000 (08:15 +0000)] 
SLING-7137 - Scripting web console plugins no longer listed

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1808839 13f79535-47bb-0310-9956-ffa450edef68

16 months agoSLING-7040 : Update commons lang 2.x to 3.5
Carsten Ziegeler [Wed, 9 Aug 2017 14:57:12 +0000 (14:57 +0000)] 
SLING-7040 : Update commons lang 2.x to 3.5

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1804538 13f79535-47bb-0310-9956-ffa450edef68

19 months agoUpdate readme
Carsten Ziegeler [Fri, 28 Apr 2017 08:47:07 +0000 (08:47 +0000)] 
Update readme

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1793009 13f79535-47bb-0310-9956-ffa450edef68

19 months agoSLING-6737 Migrate to OSGi R6 annotations - Clean up code
Carsten Ziegeler [Fri, 28 Apr 2017 08:23:12 +0000 (08:23 +0000)] 
SLING-6737 Migrate to OSGi R6 annotations - Clean up code

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1793002 13f79535-47bb-0310-9956-ffa450edef68

19 months agoSLING-6737 Migrate to OSGi R6 annotations - Fix reference to factories being multiple...
Carsten Ziegeler [Fri, 28 Apr 2017 08:16:18 +0000 (08:16 +0000)] 
SLING-6737 Migrate to OSGi R6 annotations - Fix reference to factories being multiple. Add service.vendor property

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1793000 13f79535-47bb-0310-9956-ffa450edef68

19 months agoSLING-6737 Migrate to OSGi R6 annotations - Fix reference to factories being multiple...
Carsten Ziegeler [Fri, 28 Apr 2017 08:06:05 +0000 (08:06 +0000)] 
SLING-6737 Migrate to OSGi R6 annotations - Fix reference to factories being multiple. Use reference for event admin

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1792999 13f79535-47bb-0310-9956-ffa450edef68

19 months agoSLING-6737 Migrate to OSGi R6 annotations
Carsten Ziegeler [Fri, 28 Apr 2017 07:59:00 +0000 (07:59 +0000)] 
SLING-6737 Migrate to OSGi R6 annotations

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1792998 13f79535-47bb-0310-9956-ffa450edef68

20 months agoSLING-6737 - remove useless variable
Bertrand Delacretaz [Tue, 28 Mar 2017 13:16:58 +0000 (13:16 +0000)] 
SLING-6737 - remove useless variable

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1789131 13f79535-47bb-0310-9956-ffa450edef68

20 months agosupport build with Java 7
Oliver Lietz [Tue, 28 Mar 2017 12:53:22 +0000 (12:53 +0000)] 
support build with Java 7

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1789111 13f79535-47bb-0310-9956-ffa450edef68

20 months agouse Pax Exam 4.10.0 and Testing PaxExam 0.0.4
Oliver Lietz [Tue, 28 Mar 2017 12:43:53 +0000 (12:43 +0000)] 
use Pax Exam 4.10.0 and Testing PaxExam 0.0.4

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1789109 13f79535-47bb-0310-9956-ffa450edef68

20 months agoSLING-6737 Migrate to OSGi R6 annotations
Oliver Lietz [Tue, 28 Mar 2017 12:37:06 +0000 (12:37 +0000)] 
SLING-6737 Migrate to OSGi R6 annotations

let ScriptEngineManagerFactory activate immediately

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1789107 13f79535-47bb-0310-9956-ffa450edef68

20 months agoSLING-6737 Migrate to OSGi R6 annotations
Oliver Lietz [Tue, 28 Mar 2017 11:58:59 +0000 (11:58 +0000)] 
SLING-6737 Migrate to OSGi R6 annotations

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1789102 13f79535-47bb-0310-9956-ffa450edef68

21 months agoadd missing Felix SCR annotations
Oliver Lietz [Mon, 6 Mar 2017 18:23:20 +0000 (18:23 +0000)] 
add missing Felix SCR annotations

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1785718 13f79535-47bb-0310-9956-ffa450edef68

21 months agouse Sling Parent 30
Oliver Lietz [Mon, 6 Mar 2017 10:22:30 +0000 (10:22 +0000)] 
use Sling Parent 30

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1785621 13f79535-47bb-0310-9956-ffa450edef68

21 months ago[maven-release-plugin] prepare for next development iteration
Oliver Lietz [Fri, 3 Mar 2017 10:36:07 +0000 (10:36 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1785263 13f79535-47bb-0310-9956-ffa450edef68

21 months ago[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.46
Oliver Lietz [Fri, 3 Mar 2017 10:35:50 +0000 (10:35 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.46

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1785261 13f79535-47bb-0310-9956-ffa450edef68

21 months agoremove broken see tag to fix javadoc
Oliver Lietz [Fri, 3 Mar 2017 10:33:15 +0000 (10:33 +0000)] 
remove broken see tag to fix javadoc

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1785259 13f79535-47bb-0310-9956-ffa450edef68

21 months agouse org.apache.sling.scripting.api 2.1.12
Oliver Lietz [Fri, 3 Mar 2017 10:06:23 +0000 (10:06 +0000)] 
use org.apache.sling.scripting.api 2.1.12

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1785254 13f79535-47bb-0310-9956-ffa450edef68

21 months agoSLING-6597 Use ServiceUserMapped to ensure presence of service user mapping
Oliver Lietz [Fri, 3 Mar 2017 10:01:37 +0000 (10:01 +0000)] 
SLING-6597 Use ServiceUserMapped to ensure presence of service user mapping

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1785253 13f79535-47bb-0310-9956-ffa450edef68

21 months agoSLING-3543 clearly state that only variables for context=request are exposed
Konrad Windszus [Tue, 28 Feb 2017 13:36:59 +0000 (13:36 +0000)] 
SLING-3543 clearly state that only variables for context=request are exposed

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1784737 13f79535-47bb-0310-9956-ffa450edef68

21 months agoSLING-3543 - HTL engine provides a null 'properties' for non-existing resource
Bertrand Delacretaz [Tue, 28 Feb 2017 10:25:06 +0000 (10:25 +0000)] 
SLING-3543 - HTL engine provides a null 'properties' for non-existing resource

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1784719 13f79535-47bb-0310-9956-ffa450edef68

21 months agoSLING-3543 - default path to /
Bertrand Delacretaz [Tue, 28 Feb 2017 10:20:34 +0000 (10:20 +0000)] 
SLING-3543 - default path to /

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1784716 13f79535-47bb-0310-9956-ffa450edef68

21 months agoSLING-3543 - add SLING_ prefix to availablebindings selector as a poor man's namespacing
Bertrand Delacretaz [Tue, 28 Feb 2017 10:11:48 +0000 (10:11 +0000)] 
SLING-3543 - add SLING_ prefix to availablebindings selector as a poor man's namespacing

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1784710 13f79535-47bb-0310-9956-ffa450edef68

21 months agoSLING-3543 provide dedicated web console for exposing all scripting variables
Konrad Windszus [Tue, 28 Feb 2017 08:26:34 +0000 (08:26 +0000)] 
SLING-3543 provide dedicated web console for exposing all scripting variables

This closes #135

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1784700 13f79535-47bb-0310-9956-ffa450edef68

22 months agoSLING-6492 Remove (sub) service user from ScriptCacheImpl
Oliver Lietz [Fri, 27 Jan 2017 16:37:38 +0000 (16:37 +0000)] 
SLING-6492 Remove (sub) service user from ScriptCacheImpl

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1780579 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Mon, 12 Dec 2016 11:38:59 +0000 (11:38 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1773772 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.44
Radu Cotescu [Mon, 12 Dec 2016 11:38:42 +0000 (11:38 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.44

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1773770 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resour...
Radu Cotescu [Mon, 12 Dec 2016 11:20:32 +0000 (11:20 +0000)] 
SLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resource Resolvers for scripting dependencies

* updated o.a.s.scripting.api + o.a.s.scripting.core to use the latest release of o.a.s.api

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1773763 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6355 - explicltly defining service interface
Justin Edelson [Thu, 1 Dec 2016 23:47:36 +0000 (23:47 +0000)] 
SLING-6355 - explicltly defining service interface

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1772292 13f79535-47bb-0310-9956-ffa450edef68

2 years agouse latest snapshot to get trunk build to work locally (should revert to 2.16.0 after...
Justin Edelson [Thu, 1 Dec 2016 20:59:28 +0000 (20:59 +0000)] 
use latest snapshot to get trunk build to work locally (should revert to 2.16.0 after release passes)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1772272 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resour...
Radu Cotescu [Tue, 29 Nov 2016 17:43:04 +0000 (17:43 +0000)] 
SLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resource Resolvers for scripting dependencies

* removed redundant tests covered by the RRW from SLING-6336
* updated imports to accommodate SLING-6336 API

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1771929 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resour...
Radu Cotescu [Mon, 28 Nov 2016 18:11:41 +0000 (18:11 +0000)] 
SLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resource Resolvers for scripting dependencies

* correctly register the ScriptingResourceResolverProviderImpl as a ServletRequestListener through Whiteboard
* extended the ResourceResolverWrapper provided through SLING-6336, in order to avoid importing the
org.apache.sling.api.resource package with a minor-limited import range

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1771783 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Thu, 24 Nov 2016 16:16:49 +0000 (16:16 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1771179 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.42
Radu Cotescu [Thu, 24 Nov 2016 16:16:34 +0000 (16:16 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.42

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1771177 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resour...
Radu Cotescu [Thu, 24 Nov 2016 16:03:55 +0000 (16:03 +0000)] 
SLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resource Resolvers for scripting dependencies

* renamed org.apache.sling.scripting.api.resolver to org.apache.sling.scripting.api.resource

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1771169 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resour...
Radu Cotescu [Thu, 24 Nov 2016 14:16:49 +0000 (14:16 +0000)] 
SLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resource Resolvers for scripting dependencies

* renamed ScriptingResourceResolverFactory to ScriptingResourceResolverProvider to better reflect what this service does

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1771148 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resour...
Radu Cotescu [Thu, 24 Nov 2016 13:48:20 +0000 (13:48 +0000)] 
SLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resource Resolvers for scripting dependencies

* renamed ScriptingResourceResolverFactory to ScriptingResourceResolverProvider to better reflect what this service does
* corrected package version in JavaDoc in @since

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1771128 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resour...
Radu Cotescu [Thu, 24 Nov 2016 11:20:31 +0000 (11:20 +0000)] 
SLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resource Resolvers for scripting dependencies

* moved the API in its own sub-package so that changes to the org.apache.sling.api.resource API don't force
artificial changes for org.apache.sling.scripting.api
* emphasised the fact that request based resolvers should be used only in a Servlet Request API context
* switched the implementation to listen for ServletRequestEvents instead of SlingRequestEvents
* removed useless synchronised block
* adapted unit tests

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1771115 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resour...
Radu Cotescu [Wed, 26 Oct 2016 12:38:50 +0000 (12:38 +0000)] 
SLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resource Resolvers for scripting dependencies

* made resolver initialisation lazy
* extended tests for concurrent access scenarios

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1766676 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resour...
Radu Cotescu [Mon, 24 Oct 2016 13:22:24 +0000 (13:22 +0000)] 
SLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resource Resolvers for scripting dependencies

* made sure the resource resolver is removed from thread local when the request is destroyed
* added unit tests

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1766404 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resour...
Radu Cotescu [Fri, 21 Oct 2016 16:52:36 +0000 (16:52 +0000)] 
SLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resource Resolvers for scripting dependencies

* defined ScriptingResourceResolverFactory + implementation

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1766070 13f79535-47bb-0310-9956-ffa450edef68

2 years agoUse parent 29
Carsten Ziegeler [Mon, 17 Oct 2016 13:29:34 +0000 (13:29 +0000)] 
Use parent 29

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1765282 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare for next development iteration
Radu Cotescu [Tue, 11 Oct 2016 13:46:30 +0000 (13:46 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1764246 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.40
Radu Cotescu [Tue, 11 Oct 2016 13:46:14 +0000 (13:46 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.40

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1764244 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6002 : ScriptCacheImpl should move to new ResourceChangeListener API
Carsten Ziegeler [Tue, 11 Oct 2016 06:52:24 +0000 (06:52 +0000)] 
SLING-6002 : ScriptCacheImpl should move to new ResourceChangeListener API

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1764199 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5252 - Remove getAdministrativeResourceResolver() from Scripting Core
Radu Cotescu [Wed, 5 Oct 2016 13:59:21 +0000 (13:59 +0000)] 
SLING-5252 - Remove getAdministrativeResourceResolver() from Scripting Core

* switched to using the sling-scripting service user for retrieving the search paths

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1763452 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-6002 : ScriptCacheImpl should move to new ResourceChangeListener API. Apply...
Carsten Ziegeler [Wed, 5 Oct 2016 07:33:04 +0000 (07:33 +0000)] 
SLING-6002 : ScriptCacheImpl should move to new ResourceChangeListener API. Apply patch from Rachit Kumar.

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1763354 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare for next development iteration
Oliver Lietz [Sat, 9 Jul 2016 18:04:08 +0000 (18:04 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1752032 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.38
Oliver Lietz [Sat, 9 Jul 2016 18:03:51 +0000 (18:03 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.scripting.core-2.0.38

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1752030 13f79535-47bb-0310-9956-ffa450edef68

2 years agouse API 2.12.0
Oliver Lietz [Sat, 9 Jul 2016 17:53:47 +0000 (17:53 +0000)] 
use API 2.12.0

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1752028 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5714 ScriptEngineManagerFactory should log all available script engine factories
Oliver Lietz [Mon, 9 May 2016 07:16:53 +0000 (07:16 +0000)] 
SLING-5714 ScriptEngineManagerFactory should log all available script engine factories

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1742889 13f79535-47bb-0310-9956-ffa450edef68

2 years agostraighten BindingsValuesProvidersByContextIT and update some test related dependencies
Oliver Lietz [Tue, 3 May 2016 05:17:17 +0000 (05:17 +0000)] 
straighten BindingsValuesProvidersByContextIT and update some test related dependencies

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1742060 13f79535-47bb-0310-9956-ffa450edef68

2 years agofix typos
Oliver Lietz [Mon, 2 May 2016 18:55:41 +0000 (18:55 +0000)] 
fix typos

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1742024 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSLING-5665 rely on most recent API (to generate the right import version ranges,...
Konrad Windszus [Mon, 18 Apr 2016 16:25:49 +0000 (16:25 +0000)] 
SLING-5665 rely on most recent API (to generate the right import version ranges, according to semantic versioning)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1739785 13f79535-47bb-0310-9956-ffa450edef68