You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2021/12/01 14:16:07 UTC
[sling-org-apache-sling-repoinit-parser] branch feature/SLING-10126 updated (a82569f -> b455495)
This is an automated email from the ASF dual-hosted git repository.
dklco pushed a change to branch feature/SLING-10126
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-repoinit-parser.git.
from a82569f SLING-10126 - Added [] as a postfix to Type to force a multi-value
add 9818774 SLING-1013 - fix provider/consumer types
add ea6a737 [maven-release-plugin] prepare release org.apache.sling.repoinit.parser-1.6.6
add ca7ac3b [maven-release-plugin] prepare for next development iteration
add 94a37dd SLING-10139 - re-enable baseline plugin
add 05cae0c SLING-10215 don't stop reading when Reader.read(...) returns 0. (#7)
add 287ca1c SLING-10235 - add DisableServiceUser.getReason()
add 5c979d3 SLING-10252 Add automated tests to the repoinit parser
add 44a75b0 Merge pull request #8 from enapps-enorman/issue/SLING-10252
add 0a404c4 Add test for a double property
add 94c95ab SLING-10236 : Introduce Operation.asRepoInitString (#9)
add fc02bf2 SLING-10236 - cleanup
add 3049bef SLING-10119 - add test for blank lines in properties
add 7bb53c9 SLING-10304 - add missing tests to test-99
add 2c49f26 SLING-10304 - explain how we document the language
add e3d157a SLING-10304 - be more similar to the website docs
add 23f2899 typo
add d11efee SLING-10333 - add support for 'disable user'
add 4583df9 [maven-release-plugin] prepare release org.apache.sling.repoinit.parser-1.6.8
add 88baaa3 [maven-release-plugin] prepare for next development iteration
add 08dfdaa SLING-10299 - add tests to check for possible ambiguities
add bb6086c Tweak docs and links
add 859cd43 SLING-10299 : Allow for removal of access control policies (not just individual entries)
add c404ae8 SLING-10299 : rename remove to delete as requested by suggested by bertrand
add cce6381 SLING-10299 : missing providertype annotation, increase language.version in bnd.bnd
add af69f72 SLING-10299 : replace removeAcl* by deleteAcl* in RepoInitGrammer
add eae5741 Merge pull request #10 from apache/SLING-10299
add f6b3800 SLING-10361 : Extra space in DisableServiceUser.asRepoInitString
add c4f8fd5 Merge pull request #11 from apache/SLING-10361
add be349ad SLING-10277 - REGISTER PRIVILEGE and SET ACL should support lists of … (#12)
add 3139ed3 [maven-release-plugin] prepare release org.apache.sling.repoinit.parser-1.6.10
add 333b7a4 [maven-release-plugin] prepare for next development iteration
add fa35303 SLING-10676 - add or update SECURITY.md
add 5be57f5 SLING-10676 - add or update SECURITY.md
add 1881038 SLING-10676 - add or update SECURITY.md
add 031cb0f SLING-10676 - remove SECURITY.md which is not needed
add 0128ee6 SLING-10747 - remove test-99, comment the test scenarios and provide a script to aggregate them for the docs page
add b0de0c3 SLING-6219 - indicate encoded passwords status, for the docs page
add 6e649d3 @minor - clarify docs
add 3e84baf SLING-8602 - point to the Jackrabbit docs for principal-based ACL
add b455495 Merging latest from master
No new revisions were added by this update.
Summary of changes:
README.md | 26 ++++-
bnd.bnd | 2 +-
concatenate-test-scenarios.sh | 20 ++++
pom.xml | 15 ++-
.../parser/impl/RepoInitParserService.java | 39 ++++---
.../parser/{helpers => impl}/WithPathOptions.java | 2 +-
.../repoinit/parser/operations/AclGroupBase.java | 66 ++++++++++-
.../sling/repoinit/parser/operations/AclLine.java | 3 +
.../parser/operations/AddGroupMembers.java | 10 ++
.../repoinit/parser/operations/CreateGroup.java | 11 +-
.../repoinit/parser/operations/CreatePath.java | 30 ++++-
.../parser/operations/CreateServiceUser.java | 11 +-
.../repoinit/parser/operations/CreateUser.java | 27 ++++-
.../{SetProperties.java => DeleteAclPaths.java} | 32 +++---
...roperties.java => DeleteAclPrincipalBased.java} | 37 +++----
...SetProperties.java => DeleteAclPrincipals.java} | 38 +++----
.../repoinit/parser/operations/DeleteGroup.java | 10 ++
.../parser/operations/DeleteServiceUser.java | 10 ++
.../repoinit/parser/operations/DeleteUser.java | 10 ++
.../parser/operations/DisableServiceUser.java | 34 +++++-
.../parser/operations/LinePrefixCleaner.java | 3 +
.../repoinit/parser/operations/Operation.java | 44 +++++++-
.../parser/operations/OperationVisitor.java | 8 +-
.../operations/OperationWithPathOptions.java | 16 ++-
.../parser/operations/PathSegmentDefinition.java | 26 ++++-
.../repoinit/parser/operations/PropertyLine.java | 2 +
.../parser/operations/RegisterNamespace.java | 10 ++
.../parser/operations/RegisterNodetypes.java | 44 +++++++-
.../parser/operations/RegisterPrivilege.java | 10 ++
.../parser/operations/RemoveGroupMembers.java | 10 ++
.../parser/operations/RestrictionClause.java | 3 +
.../parser/operations/ServiceUserOperation.java | 4 +-
.../repoinit/parser/operations/SetAclPaths.java | 15 ++-
.../parser/operations/SetAclPrincipalBased.java | 13 ++-
.../parser/operations/SetAclPrincipals.java | 21 +++-
.../repoinit/parser/operations/SetProperties.java | 47 ++++++++
.../repoinit/parser/operations/package-info.java | 4 +-
src/main/javacc/RepoInitGrammar.jjt | 68 ++++++++++--
.../repoinit/parser/operations/AsRepoInitTest.java | 64 +++++++++++
.../parser/operations/DisableServiceUserTest.java} | 24 ++--
.../parser/test/DisableServiceUserTest.java | 21 ++++
.../parser/test/OperationToStringVisitor.java | 37 +++++++
.../sling/repoinit/parser/test/ParserTest.java | 93 +---------------
.../sling/repoinit/parser/test/ParserTestCase.java | 121 +++++++++++++++++++++
.../repoinit/parser/test/ParsingErrorsTest.java | 12 +-
src/test/resources/testcases/test-10-output.txt | 5 +-
src/test/resources/testcases/test-10.txt | 5 +
src/test/resources/testcases/test-11-output.txt | 3 +-
src/test/resources/testcases/test-11.txt | 6 +
src/test/resources/testcases/test-12.txt | 4 +-
src/test/resources/testcases/test-13.txt | 3 +-
src/test/resources/testcases/test-15.txt | 2 +-
src/test/resources/testcases/test-20.txt | 14 ++-
src/test/resources/testcases/test-31.txt | 6 +-
src/test/resources/testcases/test-32.txt | 2 +-
src/test/resources/testcases/test-33.txt | 15 ++-
src/test/resources/testcases/test-34.txt | 2 +-
src/test/resources/testcases/test-40.txt | 4 +-
src/test/resources/testcases/test-42-output.txt | 10 +-
src/test/resources/testcases/test-42.txt | 14 ++-
src/test/resources/testcases/test-50.txt | 2 +-
src/test/resources/testcases/test-60.txt | 7 +-
src/test/resources/testcases/test-61-output.txt | 10 +-
src/test/resources/testcases/test-61.txt | 2 +-
src/test/resources/testcases/test-62.txt | 12 +-
src/test/resources/testcases/test-63.txt | 12 +-
src/test/resources/testcases/test-64.txt | 2 +-
src/test/resources/testcases/test-65.txt | 2 +-
src/test/resources/testcases/test-66.txt | 2 +-
src/test/resources/testcases/test-67-output.txt | 15 ++-
src/test/resources/testcases/test-67.txt | 29 ++++-
src/test/resources/testcases/test-68.txt | 2 +-
src/test/resources/testcases/test-69-output.txt | 5 +
src/test/resources/testcases/test-69.txt | 6 +
src/test/resources/testcases/test-70-output.txt | 7 ++
src/test/resources/testcases/test-70.txt | 8 ++
src/test/resources/testcases/test-99-output.txt | 66 -----------
src/test/resources/testcases/test-99.txt | 120 --------------------
78 files changed, 1104 insertions(+), 453 deletions(-)
create mode 100755 concatenate-test-scenarios.sh
rename src/main/java/org/apache/sling/repoinit/parser/{helpers => impl}/WithPathOptions.java (95%)
copy src/main/java/org/apache/sling/repoinit/parser/operations/{SetProperties.java => DeleteAclPaths.java} (70%)
copy src/main/java/org/apache/sling/repoinit/parser/operations/{SetProperties.java => DeleteAclPrincipalBased.java} (61%)
copy src/main/java/org/apache/sling/repoinit/parser/operations/{SetProperties.java => DeleteAclPrincipals.java} (62%)
create mode 100644 src/test/java/org/apache/sling/repoinit/parser/operations/AsRepoInitTest.java
copy src/{main/java/org/apache/sling/repoinit/parser/operations/OperationWithPathOptions.java => test/java/org/apache/sling/repoinit/parser/operations/DisableServiceUserTest.java} (64%)
create mode 100644 src/test/java/org/apache/sling/repoinit/parser/test/ParserTestCase.java
create mode 100644 src/test/resources/testcases/test-69-output.txt
create mode 100644 src/test/resources/testcases/test-69.txt
create mode 100644 src/test/resources/testcases/test-70-output.txt
create mode 100644 src/test/resources/testcases/test-70.txt
delete mode 100644 src/test/resources/testcases/test-99-output.txt
delete mode 100644 src/test/resources/testcases/test-99.txt