commit | 7381238c80d1bc16e8ca604480dd9fd803231b56 | [log] [tgz] |
---|---|---|
author | Dan Klco <dklco@apache.org> | Mon Aug 24 17:20:24 2020 -0400 |
committer | Dan Klco <dklco@apache.org> | Mon Aug 24 17:20:24 2020 -0400 |
tree | 416249e999aa7cf8c195b430c579efe405c47d4a | |
parent | 803c2e86296674d9e2e95d1dc97ff893e4ec1be3 [diff] |
Adding sonarqube badges as per SLING-9682
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.