You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by pa...@apache.org on 2020/04/29 14:30:04 UTC
[sling-org-apache-sling-scripting-core] branch issues/SLING-9406
created (now 2bca852)
This is an automated email from the ASF dual-hosted git repository.
pauls pushed a change to branch issues/SLING-9406
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-core.git.
at 2bca852 SLING-9406: Add bundled script support to the servlets resolver
This branch includes the following new commits:
new 529a78a Added initial code
new 3af7e26 Use a bundle tracker to track script bundles and register servlets for them.
new 0091bd6 Add a debug log message if we find resource types.
new 5a28210 Register generic servlet for all method types.
new 518d9c8 Add an IT profile based on Sling-9
new 59bb99f re-added versioning as part of the RT property with which we register servlets
new 9563dab Add an IT for servlet registration.
new 0597515 added basic script resolution support
new 792cf09 added script context for executing bundled scripts
new 0460253 implemented script resolution caching at servlet level
new 71e4d10 added cache for compilable script engines
new 7d4da5a Rework requiremnt and capability model
new b2e43ab Added support for selectors and extensions script mapping
new 5fbcc02 BundledScriptFinder should never cache ScriptEngine extensions
new 69db6f3 BundledScriptServlet should release all locks before executing script
new 2993fbc Register 1 servlet instance per capability
new 3f2af05 Added basic support for RT extensibility
new f1acc2c Use sling-10 for IT
new ea108fd Added support for the extends attribute
new 9fe1f45 Register services using extended bundles bundlecontext and only register for required methods.
new 79b20f6 Make the extends requirement filter out selectors.
new c1d0019 Wrapped requests to provide correct mapping to wired resource types
new 326b5bd Add default dispatcher for resource types without versions and fix dependency lookup with versions
new 347defd Optimize dispatcher servlet registration to use less registrations.
new c1e9f5e Add some IT for the example, remove some System.out, and organize imports.
new e47ecfd Increase timeout for IT.
new 27b1461 Organize imports the right way around.
new 2f80f26 Improvements
new a637fbe Added tests for HTTP method script matching
new 51bf3c2 Added more tests for selector matching
new f3f1aff Added some unit tests
new 94373e0 Add servlet class names in registration properties
new 270629e Added more unit tests
new 87402ae Code formatting
new b4e4834 Made IT more reliable
new a1da27d Added more tests
new e1eb66b Added HTTP method to script cache key
new 96767cc Added capability for BundledScriptServlet description
new 8331081 Added the scripting resolver as a lazy binding
new 8525fe7 add support for bundles providing precompiled scripts
new 68f82c7 register dispatch servlet using the bundle context of the bundle providing the resource type
new f1f30ac corrected lock order & cached precompiled script class instance
new f9808a9 added classic scripting bundle for comparison
new 25648e8 minor optimisations
new d410949 minor code improvements
new 9f7c5ec correctly send the information about precompiled scripts down the line
new 71c79aa improve script to class mapping
new beaccca added unit tests for JavaEscapeUtils
new 8ca6965 pass the bundle classloader to the script engine
new 28bcf18 updated the way bundle classloaders are passed down to script engines
new 393c012 refactor
new 43d3db3 reconfigured code coverage setup
new eb94848 implemented support for n-level inheritance script resolution
new 9fa734b migrated code from whiteboard
new 19884b0 SLING-8184 - Rely on the sling.servlet.resourceSuperType to optimise servlet registration
new 43142b5 trivial: added properties to the bindings provided by the script context
new e2a98b1 corrected behaviour for dispatching servlet
new e35daa5 SLING-8657 - Remove the biz.aQute.bndlib dependency
new 3b37bbe SLING-8662 - Migrate the Apache Sling Scripting Bundle Tracker to sling-bundle-parent 35
new c197ba3 SLING-9158 - Switch from JavaEscapeUtils to JavaEscapeHelper
new 3dafaf7 SLING-9159 - Switch to the LazyBindings implementation from org.apache.sling.api
new 884dcf1 SLING-9181 - The Scripting Bundle Tracker should be extended to allow more flexibility for resource type definitions
new 34b208e SLING-9182 - The Scripting Bundle Tracker should require bundles to provide information about the needed Script Engines
new 03f8aa1 SLING-9159 - Switch to the LazyBindings implementation from org.apache.sling.api
new af0269e SLING-9182 - The Scripting Bundle Tracker should require bundles to provide information about the needed Script Engines
new 47e6a5e SLING-9203 - Perform script / class lookup using the Sling script naming conventions
new 6260590 SLING-9216 - Allow capabilities to provide lists of resource types
new fb14857 SLING-9233 - Skip registering the Dispatcher servlet if the resource types are not versioned
new 78d8f11 SLING-9216 - Allow capabilities to provide lists of resource types
new 153ac37 SLING-9250 - Selectors are used as extensions when servlets are registered for a capability
new 2fa4858 SLING-9252 - Optimise request dispatching for inheriting resource types
new 13b1ac3 SLING-9255 - Allow servlet resolution based on path
new 6001be7 SLING-9306 - Provide a path capability for scripts which are not part of a resource type
new 59a011c SLING-9255 - Allow servlet resolution based on path
new fd85335 SLING-9330 - Path registrations override the servlet resources for parent resource types
new ed1c6af SLING-9339 - Implement lazy-reading for the request data
new b391e7b SLING-9336 - Hide servlet services from the outside
new cdc6cb8 Use a LinkedHashSet instead of a HashSet to keep the order the same.
new 55f8db2 SLING-9349 - Provide the list of TypeProviders for a BundledRenderUnit
new 403f1e1 SLING-9350 - Recompile scripts which hold a stale ScriptEngine reference
new 3d28e11 trivial: changed access level
new 23f582c SLING-9364 - Implement lazy response writer
new 66c959b SLING-9366 - Do not expose all the required wires to the BundledScriptServlet
new b0e2c9d SLING-9371: fix the forced resource type dispatch
new aa7aa46 SLING-9380 - Bundles should be able to provide both precompiled script units and regular scripts
new c86a843 Fix a nullpointer if no options are provided
new 4993ade SLING-9366 - Do not expose all the required wires to the BundledScriptServlet
new 5cab283 SLING-9159 - Switch to the LazyBindings implementation from org.apache.sling.api
new c90b5f9 Prepare merge
new 92adf28 Merge org-apache-sling-scripting-bundle-tracker for SLING-9406
new 2bca852 SLING-9406: Add bundled script support to the servlets resolver
The 91 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.