Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-18612

Artifactory Import - Export service_id issue in Unbundle system

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.10.0
    • Component/s: None
    • Labels:
      None
    • Severity:
      Medium

      Description

      In Unbundle system (Like AOL) , when doing export and then import the import process doesn't copy the service_id from the export files and the system generates new service_id.

      The new service_id unmatched the service_id in Access permission and that cause a permission issues.

      In order to fix it i did the following:

      I added a flag in import xml : isEnableCopySecurityAccessDir.

      This flag causing the import process to also copy the service_id file.

      NOTE: in unbundle system,  you must do first Access import before Artifactory import.

       

      Import Xml example:

      {
      "importPath" : "/Users/liorg/testing/unBundleTest/LiorVersion/Exports/20190303.142109",
      "includeMetadata" : true,
      "verbose" : false,
      "failOnError" : true,
      "failIfEmpty" : true,
      "isEnableCopySecurityAccessDir" : true
      }'

       

        Attachments

          Activity

            People

            Assignee:
            liorg Lior Gur (Inactive)
            Reporter:
            liorg Lior Gur (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-18612 -
                SYNCHRONIZED
                • Last Sync Date: