Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1027

Have cave:update-repository work with proxy repositories

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • cave-2.3.0
    • cave-2.3.1, cave-3.0.0
    • cave
    • None

    Description

      Supplied patch makes following changes:

      1.) cave:proxy-repository now creates the repository before populating its repository.xml with the remote repository's contents (prior functionality would raise an exception if the repository did not exist.)

      2.) switches the "non-register" to OBR option from -nu to -nr (like create repository)

      3.) Like create-repository, will raise an exception if the proxy repository already exists.

      4.) Adds a proxiedurl attribute to the repository.xml file (for subsequent reading when loading an already created proxy repository--functionality is not yet used.) Warning: the schema for the repository.xml now deviates from Felix because of this additional attribute (unsure if that matters), although it still loads into the Karaf OBR (obr:listurl).

      5.) cave:update-repository will now work for both normal and proxied cave repositories, in the latter case it does a rescan of the remote repository and recreates the repository.xml file.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jbonofre Jean-Baptiste Onofré
            gmazza Glen Mazza
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment