Sling
  1. Sling
  2. SLING-548

Add possibility to extract archives into the repository

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JCR Contentloader 2.0.2
    • Fix Version/s: JCR Contentloader 2.0.4
    • Component/s: JCR
    • Labels:
      None

      Description

      Currently the content from a bundle is put as-is into the repository.
      We could add a new feature where the user can specify an archive (zip or jar as a start) together with a path in the manifest. The archive will then be extracted into the repository at the given path.

        Activity

        Carsten Ziegeler created issue -
        Carsten Ziegeler committed 670488 (22 files)
        Reviews: none

        SLING-548: Rewrite of content loading from creating mock node/property objects to event based loading. This mechanism allows to create nodes and properties on the fly while reading from the input stream. (ViP)
        Enable tests again (they were in the wrong directory)

        sling trunk
        Hide
        Carsten Ziegeler added a comment -

        I rewrote the contentloader from a mock node/property based approach to an event based approach. A content reader now requests creation of
        nodes and properties on the fly. This makes handling binary information easier.
        New import providers for jar and zip have been added.
        New configuration possibility to turn off specific import providers
        Enabled json reader test cases again.

        Show
        Carsten Ziegeler added a comment - I rewrote the contentloader from a mock node/property based approach to an event based approach. A content reader now requests creation of nodes and properties on the fly. This makes handling binary information easier. New import providers for jar and zip have been added. New configuration possibility to turn off specific import providers Enabled json reader test cases again.
        Carsten Ziegeler made changes -
        Field Original Value New Value
        Fix Version/s JCR Contentloader 2.0.4 [ 12313276 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Felix Meschberger made changes -
        Workflow jira [ 12433707 ] no-reopen-closed,doc-test-required [ 12475533 ]
        Felix Meschberger made changes -
        Component/s JCR [ 12311946 ]
        Component/s JCR Contentloader [ 12312392 ]
        Gavin made changes -
        Workflow no-reopen-closed,doc-test-required [ 12475533 ] Copy of no-reopen-closed,doc-test-required [ 12763299 ]
        Gavin made changes -
        Workflow Copy of no-reopen-closed,doc-test-required [ 12763299 ] no-reopen-closed,doc-test-required [ 12765335 ]
        Gavin made changes -
        Workflow no-reopen-closed,doc-test-required [ 12765335 ] re-open possible,doc-test-required [ 12788800 ]
        Gavin made changes -
        Workflow re-open possible,doc-test-required [ 12788800 ] no-reopen-closed,doc-test-required [ 12791353 ]

          People

          • Assignee:
            Carsten Ziegeler
            Reporter:
            Carsten Ziegeler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development