You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:12:26 UTC
[sling-org-apache-sling-scripting-sightly-js-provider] annotated
tag org.apache.sling.scripting.sightly.js.provider-1.0.20 created (now
392091b)
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a change to annotated tag org.apache.sling.scripting.sightly.js.provider-1.0.20
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-js-provider.git.
at 392091b (tag)
tagging 29e2bc78e36cfbcfb7a7cf147ea9af661f8b9aa4 (commit)
by Oliver Lietz
on Fri Mar 3 09:08:55 2017 +0000
- Log -----------------------------------------------------------------
org.apache.sling.scripting.sightly.js.provider-1.0.20
-----------------------------------------------------------------------
This annotated tag includes the following new commits:
new 1cfbc86 SLING-4704 - Move the Sightly scripting engine artifacts from contrib to bundles
new c4e667f svn:ignore
new 60ecd83 Update to Sling Parent 23
new 0f66639 Remove superflous sling.java.version=6 as it's the default now
new c775a22 set parent version to 24 and add empty relativePath where missing
new e00f9f5 SLING-4855 - Add support for Compilable Script Engines in the Sightly JS Use Provider
new 435c51e trivial: corrected JavaDoc to comply with Java 1.8
new bad39d0 release: updated dependencies to staged release artifacts
new 5ec9465 [maven-release-plugin] prepare release org.apache.sling.scripting.sightly.js.provider-1.0.6
new 37eabf0 [maven-release-plugin] prepare for next development iteration
new 39301dd release: updated dependencies after staging artifacts for release
new ec88d91 revert release for Scripting API 2.1.8, Scripting Core 2.0.30, Scripting JavaScript 2.0.20, Scripting Sightly JS Use Provider 1.0.6
new b907606 release: updated dependencies
new 7f28765 [maven-release-plugin] prepare release org.apache.sling.scripting.sightly.js.provider-1.0.6
new 6e16f8d [maven-release-plugin] prepare for next development iteration
new cb00364 updated dependencies after release
new b4e6f7e SLING-4940 - Add the Sling ScriptCache configuration applied by o.a.s.s.sightly.js.provider to the provisioning model
new 851853d SLING-4940 - Add the Sling ScriptCache configuration applied by o.a.s.s.sightly.js.provider to the provisioning model
new a4c858e [maven-release-plugin] prepare release org.apache.sling.scripting.sightly.js.provider-1.0.8
new d6b86b4 [maven-release-plugin] prepare for next development iteration
new bc26af1 SLING-4964 - Deprecate the asynchronous JavaScript API provided by the Sightly JS Use Provider
new 35a7413 SLING-4989 - The JavaScript Use Provider fails to correctly load script using inheritance
new de47394 [maven-release-plugin] prepare release org.apache.sling.scripting.sightly.js.provider-1.0.10
new 8f2e5c9 [maven-release-plugin] prepare for next development iteration
new 872f334 Update the main reactor to parent 25
new 9089b5b SLING-5334 - Improve Sightly script resolution for components using inheritance
new a61c557 Switch to parent pom 26
new 7103b29 SLING-5787 - Modularise the Sightly script engine
new 1dfee08 SLING-6028 - Replace Sightly references with HTL in both code and documentation
new 264ee8e SLING-6033 - Update Sightly bundles to parent pom 28
new 82b54f6 trivial: configured javadoc plugin
new ba35cbf releng: updated dependencies
new fed9285 [maven-release-plugin] prepare release org.apache.sling.scripting.sightly.js.provider-1.0.12
new c7840f9 [maven-release-plugin] prepare for next development iteration
new 3b49e87 releng: updated dependencies
new b24bc8b SLING-5254 - Remove getAdministrativeResourceResolver() from the Sightly JS Provider
new 390d6d9 SLING-6125 - Switch HTL to OSGi R6 annotations
new 91e4fa5 [maven-release-plugin] prepare release org.apache.sling.scripting.sightly.js.provider-1.0.14
new 9596969 [maven-release-plugin] prepare for next development iteration
new d0b8c15 SLING-6156 - The JsUseProvider should use the sling-scripting service user for solving scripting dependencies
new 18e4c55 [maven-release-plugin] prepare release org.apache.sling.scripting.sightly.js.provider-1.0.16
new b906cd7 [maven-release-plugin] prepare for next development iteration
new 0b61ed6 SLING-6166 - Update the HTL bundles to use the SLING-6165 request-scoped resource resolver
new 81483f9 Use latest scripting api snapshot
new 66a4bdb SLING-6390 - Remove metatype info for some HTL OSGi configurations
new 966f762 [maven-release-plugin] prepare release org.apache.sling.scripting.sightly.js.provider-1.0.18
new fe3a6ca [maven-release-plugin] prepare for next development iteration
new 9afced9 SLING-6508 Remove (sub) service user from SlyBindingsValuesProvider
new 2a0a370 SLING-6510 Use ServiceUserMapped to ensure presence of service user mapping
new a803ada [maven-release-plugin] prepare release org.apache.sling.scripting.sightly.js.provider-1.0.20
new 29e2bc7 [maven-release-plugin] copy for tag org.apache.sling.scripting.sightly.js.provider-1.0.20
The 51 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
--
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].
[sling-org-apache-sling-scripting-sightly-js-provider] 02/05:
SLING-6508 Remove (sub) service user from SlyBindingsValuesProvider
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.js.provider-1.0.20
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-js-provider.git
commit 9afced9514f8ef548594b3a034ac15b3afa625d2
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Mon Feb 6 10:08:27 2017 +0000
SLING-6508 Remove (sub) service user from SlyBindingsValuesProvider
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/js-use-provider@1781859 13f79535-47bb-0310-9956-ffa450edef68
---
.../scripting/sightly/js/impl/jsapi/SlyBindingsValuesProvider.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/sling/scripting/sightly/js/impl/jsapi/SlyBindingsValuesProvider.java b/src/main/java/org/apache/sling/scripting/sightly/js/impl/jsapi/SlyBindingsValuesProvider.java
index 65e9c48..da36f33 100644
--- a/src/main/java/org/apache/sling/scripting/sightly/js/impl/jsapi/SlyBindingsValuesProvider.java
+++ b/src/main/java/org/apache/sling/scripting/sightly/js/impl/jsapi/SlyBindingsValuesProvider.java
@@ -100,7 +100,6 @@ public class SlyBindingsValuesProvider {
private static final String REQ_NS = SlyBindingsValuesProvider.class.getCanonicalName();
private static final Logger LOGGER = LoggerFactory.getLogger(SlyBindingsValuesProvider.class);
- private static final String SLING_SCRIPTING_USER = "sling-scripting";
@Reference
private ScriptEngineManager scriptEngineManager = null;
@@ -203,9 +202,7 @@ public class SlyBindingsValuesProvider {
}
jsEnvironment = new JsEnvironment(scriptEngine);
jsEnvironment.initialize();
- final Map<String, Object> authenticationInfo = new HashMap<>(1);
- authenticationInfo.put(ResourceResolverFactory.SUBSERVICE, SLING_SCRIPTING_USER);
- resolver = rrf.getServiceResourceResolver(authenticationInfo);
+ resolver = rrf.getServiceResourceResolver(null);
factories = new HashMap<>(scriptPaths.size());
for (Map.Entry<String, String> entry : scriptPaths.entrySet()) {
factories.put(entry.getKey(), loadFactory(resolver, jsEnvironment, entry.getValue(), bindings));
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-scripting-sightly-js-provider] 04/05:
[maven-release-plugin] prepare release
org.apache.sling.scripting.sightly.js.provider-1.0.20
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.js.provider-1.0.20
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-js-provider.git
commit a803ada4c1cdfc9ebdbfc642591f4633f3187bf2
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Fri Mar 3 09:08:42 2017 +0000
[maven-release-plugin] prepare release org.apache.sling.scripting.sightly.js.provider-1.0.20
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/js-use-provider@1785249 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index 6eb396e..a8b3e0d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,7 +33,7 @@
<!-- P R O J E C T -->
<!-- ======================================================================= -->
<artifactId>org.apache.sling.scripting.sightly.js.provider</artifactId>
- <version>1.0.19-SNAPSHOT</version>
+ <version>1.0.20</version>
<packaging>bundle</packaging>
<name>Apache Sling Scripting HTL JavaScript Use Provider</name>
@@ -43,9 +43,9 @@
</description>
<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/js-use-provider</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/js-use-provider</developerConnection>
- <url>http://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/js-use-provider</url>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.scripting.sightly.js.provider-1.0.20</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.scripting.sightly.js.provider-1.0.20</developerConnection>
+ <url>http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.scripting.sightly.js.provider-1.0.20</url>
</scm>
<!-- ======================================================================= -->
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-scripting-sightly-js-provider] 05/05:
[maven-release-plugin] copy for tag
org.apache.sling.scripting.sightly.js.provider-1.0.20
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.js.provider-1.0.20
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-js-provider.git
commit 29e2bc78e36cfbcfb7a7cf147ea9af661f8b9aa4
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Fri Mar 3 09:08:55 2017 +0000
[maven-release-plugin] copy for tag org.apache.sling.scripting.sightly.js.provider-1.0.20
git-svn-id: https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.scripting.sightly.js.provider-1.0.20@1785250 13f79535-47bb-0310-9956-ffa450edef68
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-scripting-sightly-js-provider] 03/05:
SLING-6510 Use ServiceUserMapped to ensure presence of service user mapping
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.js.provider-1.0.20
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-js-provider.git
commit 2a0a37023df1e8206e55208304a094c8fde508d1
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Mon Feb 6 10:17:53 2017 +0000
SLING-6510 Use ServiceUserMapped to ensure presence of service user mapping
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/js-use-provider@1781865 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 6 ++++++
.../scripting/sightly/js/impl/jsapi/SlyBindingsValuesProvider.java | 4 ++++
2 files changed, 10 insertions(+)
diff --git a/pom.xml b/pom.xml
index b98f3fa..6eb396e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -121,6 +121,12 @@
<version>2.0.32</version>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.sling</groupId>
+ <artifactId>org.apache.sling.serviceusermapper</artifactId>
+ <version>1.2.0</version>
+ <scope>provided</scope>
+ </dependency>
<!-- HTL -->
<dependency>
diff --git a/src/main/java/org/apache/sling/scripting/sightly/js/impl/jsapi/SlyBindingsValuesProvider.java b/src/main/java/org/apache/sling/scripting/sightly/js/impl/jsapi/SlyBindingsValuesProvider.java
index da36f33..d3b2b05 100644
--- a/src/main/java/org/apache/sling/scripting/sightly/js/impl/jsapi/SlyBindingsValuesProvider.java
+++ b/src/main/java/org/apache/sling/scripting/sightly/js/impl/jsapi/SlyBindingsValuesProvider.java
@@ -47,6 +47,7 @@ import org.apache.sling.scripting.sightly.js.impl.async.TimingFunction;
import org.apache.sling.scripting.sightly.js.impl.cjs.CommonJsModule;
import org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject;
import org.apache.sling.scripting.sightly.js.impl.rhino.JsValueAdapter;
+import org.apache.sling.serviceusermapping.ServiceUserMapped;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Function;
import org.mozilla.javascript.Script;
@@ -107,6 +108,9 @@ public class SlyBindingsValuesProvider {
@Reference
private ResourceResolverFactory rrf = null;
+ @Reference
+ private ServiceUserMapped serviceUserMapped;
+
private final AsyncExtractor asyncExtractor = new AsyncExtractor();
private final JsValueAdapter jsValueAdapter = new JsValueAdapter(asyncExtractor);
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-scripting-sightly-js-provider] 01/05:
[maven-release-plugin] prepare for next development iteration
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.js.provider-1.0.20
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-js-provider.git
commit fe3a6ca528cf4534ddcc93ba12833c044de0560e
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Thu Dec 15 14:14:04 2016 +0000
[maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/js-use-provider@1774461 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index 5793228..b98f3fa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,7 +33,7 @@
<!-- P R O J E C T -->
<!-- ======================================================================= -->
<artifactId>org.apache.sling.scripting.sightly.js.provider</artifactId>
- <version>1.0.18</version>
+ <version>1.0.19-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Apache Sling Scripting HTL JavaScript Use Provider</name>
@@ -43,9 +43,9 @@
</description>
<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.scripting.sightly.js.provider-1.0.18</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.scripting.sightly.js.provider-1.0.18</developerConnection>
- <url>http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.scripting.sightly.js.provider-1.0.18</url>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/js-use-provider</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/js-use-provider</developerConnection>
+ <url>http://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/js-use-provider</url>
</scm>
<!-- ======================================================================= -->
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.