commit | fc769eaf475e531add4a8596503f8b09e51c63fc | [log] [tgz] |
---|---|---|
author | Robert Munteanu <rombert@apache.org> | Wed Apr 05 00:12:55 2023 +0300 |
committer | Robert Munteanu <rombert@apache.org> | Wed Apr 05 00:12:55 2023 +0300 |
tree | b778eb4c9b2d694c33af24d2495a0ba892a33b6a | |
parent | 547ac177c727b85b1110f893637bbf5e4d7199db [diff] |
SLING-11709 - Set up Jira autolinks to all Sling Github projects Update .asf.yaml to respect defaults
This module is part of the Apache Sling project.
Start a Sling Starter (or some other distribution)
Install the org.apache.sling.validation.api
and org.apache.sling.validation.core
bundles
Build and install the org.apache.sling.validation.examples
bundle
mvn clean package sling:install
curl -u admin:admin -Fsling:resourceType=/apps/validationdemo/components/user -Fusername=johnsmith -FfirstName=John204 -FlastName=Smith http://127.0.0.1:8080/content/validationdemo/users/johnsmith.modify.html
Check that the resource has not been modified at http://127.0.0.1:8080/content/validationdemo/users/johnsmith.html.
curl -u admin:admin -Fsling:resourceType=/apps/validationdemo/components/user -Fusername=johnsmith -FfirstName=Johnny -FlastName=Bravo http://127.0.0.1:8080/content/validationdemo/users/johnsmith.modify.html
Check that the resource has been modified at http://127.0.0.1:8080/content/validationdemo/users/johnsmith.html.