SLING-10236 : Introduce Operation.asRepoInitString (#9)

* SLING-10236 : Introduce Operation.asRepoInitString (initial draft with FIXMEs and TODOs)

* SLING-10236 : Introduce Operation.asRepoInitString (rename escape method, add additional assertion in test assuming that Operation.toString is suitable to compare expected and generated result)

* SLING-10236 : Introduce Operation.asRepoInitString (wip)

* SLING-10236 : Introduce Operation.asRepoInitString (missing notnull annotations)

* SLING-10236 : Introduce Operation.asRepoInitString (verbose output for repoinitparseexception in tests)

* SLING-10236 : Introduce Operation.asRepoInitString (incorporate SLING-10192, thanks Karl for spotting)

* SLING-10236 : Introduce Operation.asRepoInitString (move AsRepoInitTest such that Operation.getParameterDescription is accessible to the test)

* SLING-10236 - clarify the test's purpose

* SLING-10236 - refactor AsRepoInitTest to reuse the ParserTest logic

* SLING-10236 - use Action.toString()

Co-authored-by: angela <anchela@adobe.com>
Co-authored-by: Bertrand Delacretaz <bdelacretaz@apache.org>
24 files changed
tree: f152a6f1090dbf43270e6577456d71046d06767e
  1. src/
  2. .gitignore
  3. bnd.bnd
  4. CODE_OF_CONDUCT.md
  5. CONTRIBUTING.md
  6. Jenkinsfile
  7. LICENSE
  8. pom.xml
  9. README.md
README.md

Apache Sling

Build Status Test Status Coverage Sonarcloud Status JavaDoc Maven Central repoinit License

Apache Sling RepoInit Parser

This module is part of the Apache Sling project.

Parser for the Repository Initialization language used in Sling.

To parse repoinit statements use the RepoInitParser service.

See the Sling Website Repository Initialization page for more information.

Module dependencies

The Feature Model Analyser uses this module to validate repoinit statements embedded in feature models. It should be kept up to date with new releases of this parser.