commit | 2ec227493e6d44fb18d4dbf8b866759ae8718250 | [log] [tgz] |
---|---|---|
author | Robert Munteanu <rombert@apache.org> | Thu Oct 12 19:09:17 2023 +0200 |
committer | Robert Munteanu <rombert@apache.org> | Thu Oct 12 19:09:17 2023 +0200 |
tree | 87f40eeff224ed3d4821664071e00352b3dd0d59 | |
parent | fc769eaf475e531add4a8596503f8b09e51c63fc [diff] |
SLING-12094 - Use GitHub for the Maven scm.url value
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.