Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10756

sling-mock: Unify classpath/file references in ContentLoader

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Testing Sling Mock 3.1.0
    • Testing
    • None

    Description

      some methods in ContentLoader currently accept a classpath resource URL, others a file system path for referencing JSON/XML/binary files to load.

      for convenience and consistency, all methods should accept both variants, checking for classpath resource first and falling back to file system path if not found.

      Attachments

        Activity

          People

            sseifert Stefan Seifert
            sseifert Stefan Seifert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: