sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [sling-whiteboard] branch master updated (ddfac0c -> 5d81572)
Date Thu, 26 Apr 2018 09:22:16 GMT
This is an automated email from the ASF dual-hosted git repository.

radu pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git.


    from ddfac0c  [Feature Model] Remove SlingConstants
     new 94fc2fc  Initial commit
     new 293e49c  Added initial code
     new 2e95227  Use a bundle tracker to track script bundles and register servlets for them.
     new b855cd5  Add a debug log message if we find resource types.
     new 41b67fb  Register generic servlet for all method types.
     new 8521fdf  Add an IT profile based on Sling-9
     new baff09c  re-added versioning as part of the RT property with which we register servlets
     new 002d589  Add an IT for servlet registration.
     new 0081f2d  added basic script resolution support
     new 5a74536  added script context for executing bundled scripts
     new f478d58  implemented script resolution caching at servlet level
     new b8bb554  added cache for compilable script engines
     new c3efd87  added a more interesting example script
     new 8f9948c  Rework requiremnt and capability model
     new 4c07b3b  Added support for selectors and extensions script mapping
     new 0853271  BundledScriptFinder should never cache ScriptEngine extensions
     new 7e3b03c  BundledScriptServlet should release all locks before executing script
     new 38ed6bd  Register 1 servlet instance per capability
     new accc2f2  Added basic support for RT extensibility
     new caf337a  Use sling-10 for IT
     new 08af3a5  Add a maven plugin for generating caps/reqs
     new 4f5752a  Use maven plugin to generate caps/reqs in example
     new c495b16  created another example bundle for inheritance scenarios
     new f84a5f5  Refactor a bit and add some tests.
     new c4289f7  removed hi scripts from examplebundle
     new bbbe85c  Added support for the extends attribute
     new d1f8d85  Register services using extended bundles bundlecontext and only register
for required methods.
     new f404570  Make the extends requirement filter out selectors.
     new 80445e2  Make the extends requirement filter out selectors.
     new 6e67f27  Wrapped requests to provide correct mapping to wired resource types
     new 503900c  Add default dispatcher for resource types without versions and fix dependency
lookup with versions
     new 2f220ca  Add version 2.0.0 examples
     new c12c32f  Optimize dispatcher servlet registration to use less registrations.
     new e3c6da2  Make the example bundles provide inital content to demo their scripts.
     new 1f725cd  started adding documentation
     new c7da111  Add some IT for the example, remove some System.out, and organize imports.
     new 356d8a7  Increase timeout for IT.
     new 63661c6  Organize imports the right way around.
     new 689386e  Added basic documentation for the Scripting Resolver
     new b6098d1  Added examples documentation
     new d20d185  Corrected link
     new d9a1b7b  First pass on the maven-plugin readme
     new f398682  Fix a typo and make one line more explicit.
     new bc1da35  Reformatted maven plugin docs
     new 99f8aef  reorganised project
     new 5199645  corrected link
     new 1e1af1d  corrected more relative links
     new ebea874  corrected more relative links
     new 9d05a47  corrected more relative links
     new 01a8c7c  corrected more relative links
     new a0a2fca  corrected more relative links
     new f8e43f3  Exclude target dirs and *.iml files from rat checks
     new 417ba21  corrected more relative links
     new 7df3a1c  Provide a way to start a server with the examples installed.
     new d1a3034  Improvements
     new 7eb2932  Added tests for HTTP method script matching
     new c8470f1  Added more tests for selector matching
     new 5a1138f  Added some unit tests
     new e52ade3  Add servlet class names in registration properties
     new dd1d081  Added more unit tests
     new 8ae82de  Code formatting
     new 521c14c  Made IT more reliable
     new 5d81572  Added more tests

The 63 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.


Summary of changes:
 scripting-resolver/.gitignore                      |  17 +
 scripting-resolver/README.md                       |  38 ++
 scripting-resolver/examples/README.md              |  32 ++
 .../pom.xml                                        |  81 ++++
 .../main/resources/SLING-INF/content/example.xml   |  37 ++
 .../1.0.0/extends                                  |   1 +
 .../1.0.0/h.html                                   |  19 +
 .../pom.xml                                        | 116 ++++++
 .../hello/models/HeadRequestHelper.java            |  43 ++
 .../main/resources/SLING-INF/content/example.xml   |  55 +++
 .../1.0.0/h.html                                   |  19 +
 .../1.0.0/hello.html                               |  20 +
 .../1.0.0/w.html                                   |  19 +
 .../2.0.0/h.html                                   |  19 +
 .../2.0.0/hello.html                               |  20 +
 .../2.0.0/w.html                                   |  19 +
 .../1.0.0/DELETE.html                              |  19 +
 .../1.0.0/DELETE.selector-1.html                   |  19 +
 .../1.0.0/GET.html                                 |  19 +
 .../1.0.0/GET.selector-1.html                      |  19 +
 .../1.0.0/HEAD.html                                |  20 +
 .../1.0.0/HEAD.selector-1.html                     |  20 +
 .../1.0.0/OPTIONS.html                             |  19 +
 .../1.0.0/OPTIONS.selector-1.html                  |  19 +
 .../1.0.0/PATCH.html                               |  19 +
 .../1.0.0/PATCH.selector-1.html                    |  19 +
 .../1.0.0/POST.html                                |  19 +
 .../1.0.0/POST.selector-1.html                     |  19 +
 .../1.0.0/PUT.html                                 |  19 +
 .../1.0.0/PUT.selector-1.html                      |  19 +
 .../1.0.0/TRACE.html                               |  19 +
 .../1.0.0/TRACE.selector-1.html                    |  19 +
 .../1.0.0/selector-2.html                          |  19 +
 .../README.md                                      | 104 +++++
 .../pom.xml                                        |  71 ++++
 .../maven/plugin/ScriptingMavenPlugin.java         | 215 ++++++++++
 .../maven/plugin/ScriptingMavenPluginTest.java     |  85 ++++
 .../org-apache-sling-scripting-resolver/README.md  |  85 ++++
 .../org-apache-sling-scripting-resolver/pom.xml    | 460 +++++++++++++++++++++
 .../resolver/internal/BundledScriptContext.java    | 174 ++++++++
 .../resolver/internal/BundledScriptFinder.java     | 133 ++++++
 .../resolver/internal/BundledScriptServlet.java    | 137 ++++++
 .../resolver/internal/BundledScriptTracker.java    | 394 ++++++++++++++++++
 .../scripting/resolver/internal/LogWriter.java     | 126 ++++++
 .../resolver/internal/ProtectedBindings.java       | 147 +++++++
 .../resolver/internal/RequestWrapper.java          |  81 ++++
 .../sling/scripting/resolver/internal/Script.java  |  84 ++++
 .../resolver/internal/ScriptContextProvider.java   | 112 +++++
 .../junit/teleporter/customizers/ITCustomizer.java |  30 +-
 .../resolver/internal/AbstractEndpointIT.java      | 148 +++++++
 .../internal/BundledScriptContextTest.java         | 151 +++++++
 .../resolver/internal/BundledScriptTrackerIT.java  |  64 +++
 .../internal/BundledScriptTrackerTest.java         |  47 +++
 .../scripting/resolver/internal/EndpointIT.java    |  66 +++
 .../scripting/resolver/internal/LogWriterTest.java |  60 +++
 .../resolver/internal/ProtectedBindingsTest.java   | 205 +++++++++
 .../scripting/resolver/internal/ScriptMatchIT.java | 155 +++++++
 .../src/test/provisioning/it-model.txt             |  22 +-
 .../src/test/resources/findbugs-exclude.xml        |  23 ++
 scripting-resolver/pom.xml                         |  57 +++
 60 files changed, 4287 insertions(+), 29 deletions(-)
 create mode 100644 scripting-resolver/.gitignore
 create mode 100644 scripting-resolver/README.md
 create mode 100644 scripting-resolver/examples/README.md
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle.hi/pom.xml
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle.hi/src/main/resources/SLING-INF/content/example.xml
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle.hi/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.hi/1.0.0/extends
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle.hi/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.hi/1.0.0/h.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/pom.xml
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/java/org/apache/sling/scripting/examplebundle/hello/models/HeadRequestHelper.java
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/SLING-INF/content/example.xml
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.hello/1.0.0/h.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.hello/1.0.0/hello.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.hello/1.0.0/w.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.hello/2.0.0/h.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.hello/2.0.0/hello.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.hello/2.0.0/w.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.scriptmatching/1.0.0/DELETE.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.scriptmatching/1.0.0/DELETE.selector-1.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.scriptmatching/1.0.0/GET.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.scriptmatching/1.0.0/GET.selector-1.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.scriptmatching/1.0.0/HEAD.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.scriptmatching/1.0.0/HEAD.selector-1.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.scriptmatching/1.0.0/OPTIONS.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.scriptmatching/1.0.0/OPTIONS.selector-1.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.scriptmatching/1.0.0/PATCH.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.scriptmatching/1.0.0/PATCH.selector-1.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.scriptmatching/1.0.0/POST.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.scriptmatching/1.0.0/POST.selector-1.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.scriptmatching/1.0.0/PUT.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.scriptmatching/1.0.0/PUT.selector-1.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.scriptmatching/1.0.0/TRACE.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.scriptmatching/1.0.0/TRACE.selector-1.html
 create mode 100644 scripting-resolver/examples/org-apache-sling-scripting-examplebundle/src/main/resources/javax.script/org.apache.sling.scripting.examplebundle.scriptmatching/1.0.0/selector-2.html
 create mode 100644 scripting-resolver/org-apache-sling-scripting-maven-plugin/README.md
 create mode 100644 scripting-resolver/org-apache-sling-scripting-maven-plugin/pom.xml
 create mode 100644 scripting-resolver/org-apache-sling-scripting-maven-plugin/src/main/java/org/apache/sling/scripting/maven/plugin/ScriptingMavenPlugin.java
 create mode 100644 scripting-resolver/org-apache-sling-scripting-maven-plugin/src/test/java/org/apache/sling/scripting/maven/plugin/ScriptingMavenPluginTest.java
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/README.md
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/pom.xml
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/src/main/java/org/apache/sling/scripting/resolver/internal/BundledScriptContext.java
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/src/main/java/org/apache/sling/scripting/resolver/internal/BundledScriptFinder.java
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/src/main/java/org/apache/sling/scripting/resolver/internal/BundledScriptServlet.java
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/src/main/java/org/apache/sling/scripting/resolver/internal/BundledScriptTracker.java
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/src/main/java/org/apache/sling/scripting/resolver/internal/LogWriter.java
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/src/main/java/org/apache/sling/scripting/resolver/internal/ProtectedBindings.java
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/src/main/java/org/apache/sling/scripting/resolver/internal/RequestWrapper.java
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/src/main/java/org/apache/sling/scripting/resolver/internal/Script.java
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/src/main/java/org/apache/sling/scripting/resolver/internal/ScriptContextProvider.java
 copy featuremodel/feature-analyser/src/main/java/org/apache/sling/feature/scanner/ApplicationDescriptor.java
=> scripting-resolver/org-apache-sling-scripting-resolver/src/test/java/org/apache/sling/junit/teleporter/customizers/ITCustomizer.java
(51%)
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/src/test/java/org/apache/sling/scripting/resolver/internal/AbstractEndpointIT.java
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/src/test/java/org/apache/sling/scripting/resolver/internal/BundledScriptContextTest.java
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/src/test/java/org/apache/sling/scripting/resolver/internal/BundledScriptTrackerIT.java
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/src/test/java/org/apache/sling/scripting/resolver/internal/BundledScriptTrackerTest.java
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/src/test/java/org/apache/sling/scripting/resolver/internal/EndpointIT.java
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/src/test/java/org/apache/sling/scripting/resolver/internal/LogWriterTest.java
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/src/test/java/org/apache/sling/scripting/resolver/internal/ProtectedBindingsTest.java
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/src/test/java/org/apache/sling/scripting/resolver/internal/ScriptMatchIT.java
 copy cms/builder/src/main/provisioning/sling-caconfig.txt => scripting-resolver/org-apache-sling-scripting-resolver/src/test/provisioning/it-model.txt
(65%)
 create mode 100644 scripting-resolver/org-apache-sling-scripting-resolver/src/test/resources/findbugs-exclude.xml
 create mode 100644 scripting-resolver/pom.xml

-- 
To stop receiving notification emails like this one, please contact
radu@apache.org.

Mime
View raw message