This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to branch issue/SLING-13070 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter.git
commit 0c840eb825a2ac5069edd46e99fb16e419844eec Author: Robert Munteanu <[email protected]> AuthorDate: Tue Jan 27 15:46:33 2026 +0100 SLING-13070 - ScriptContextProvider for bundled scripts does not properly set JAKARTA_REQUEST and JAKARTA_REPONSE Demonstrate problem by using the latest version of the test services and integration tests and also configuring the HTL script resolution cache size. The configuration is required to demonstrate the problem. --- pom.xml | 2 +- src/main/features/test/test-content.json | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 3b0dc14..d428288 100644 --- a/pom.xml +++ b/pom.xml @@ -90,7 +90,7 @@ <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.starter.integration-tests</artifactId> - <version>14</version> + <version>15-SNAPSHOT</version> <scope>test</scope> <exclusions> <exclusion> diff --git a/src/main/features/test/test-content.json b/src/main/features/test/test-content.json index 176e6b5..3d1651e 100644 --- a/src/main/features/test/test-content.json +++ b/src/main/features/test/test-content.json @@ -2,7 +2,7 @@ "id":"${project.groupId}:${project.artifactId}:slingosgifeature:test-content:${project.version}", "bundles":[ { - "id": "org.apache.sling:org.apache.sling.starter.test-services:14", + "id": "org.apache.sling:org.apache.sling.starter.test-services:15-SNAPSHOT", "start-order": "25" } ], @@ -16,6 +16,9 @@ "org.apache.sling.servlets.resolver.SlingServletResolver": { "servletresolver.cacheSize": 0 }, + "org.apache.sling.scripting.sightly.impl.engine.SightlyEngineConfiguration": { + "scriptResolutionCacheSize": 2048 + }, "integrationTestsConfig": { "message": "This test config should be loaded at startup" }
