commit | a52123d8ae81736eb038d310c82afad8e02e717c | [log] [tgz] |
---|---|---|
author | Radu Cotescu <radu@apache.org> | Wed Sep 19 18:04:04 2018 +0200 |
committer | Radu Cotescu <radu@apache.org> | Wed Sep 19 18:04:04 2018 +0200 |
tree | dd64565b9dbe9961553f99c5def5945b417ba795 | |
parent | b0c1e0422275c5d067f03c949007a8f88faaa522 [diff] |
SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module
This module is part of the Apache Sling project.
Start a Sling launchpad
Install the org.apache.sling.validation.api
and org.apache.sling.validation.core
bundles:
cd ../api mvn clean package sling:install cd ../core mvn clean package sling:install cd ../examples 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.