migration:
  product: ARTIFACTORY
  oldDataDir: /var/opt/jfrog/artifactory
  propertyFiles:
    files:
      dbProperty
      haNodeProperty
      accessDbProperty
    dbProperty:
      # Note $JF_ROOT_DATA_DIR will be prepended to the filePath value
      filePath: etc/artifactory/old
      fileName: db.properties
      map:
      # map should be in format example: systemYamlPath=property
        shared.database.type=type
        shared.database.driver=driver
        shared.database.url=url
        shared.database.username=username
        shared.database.password=password
        artifactory.database.poolType=pool.type
        artifactory.database.maxOpenConnections=pool.max.active
        artifactory.database.maxIdleConnections=pool.max.idle
        artifactory.database.minIdleConnections=minIdle
        artifactory.database.lockingdbUsername=lockingdb.username
        artifactory.database.lockingdbPassword=lockingdb.password
        artifactory.database.lockingdbType=lockingdb.type
        artifactory.database.lockingdbUrl=lockingdb.url
        artifactory.database.lockingdbDriver=lockingdb.driver
    accessDbProperty:
      # Note $JF_ROOT_DATA_DIR will be prepended to the filePath value
      filePath: etc/access/old
      fileName: db.properties
      map:
      # map should be in format example: systemYamlPath=property
        access.database.poolType=pool.type
        access.database.maxOpenConnections=pool.max.active
        access.database.maxIdleConnections=pool.max.idle
        access.database.minIdleConnections=minIdle
    haNodeProperty:
      # Note $JF_ROOT_DATA_DIR will be prepended to the filePath value
      filePath: etc/artifactory/old
      fileName: ha-node.properties
      map:
      # map should be in format example: systemYamlPath=property
        shared.node.id=node.id
        shared.node.primary=primary
        artifactory.node.contextUrl=context.url
        artifactory.node.membershipPort=membership.port
        artifactory.node.haDataDir=artifactory.ha.data.dir
        artifactory.node.haBackupDir=artifactory.ha.backup.dir
        artifactory.node.crossZoneOrder=cross.zone.order
        artifactory.node.clusterHome=cluster.home
        artifactory.node.hazelcastInterface=hazelcast.interface
  moveDirectories:
    map:
    # Note : $JF_ROOT_DATA_DIR will be prepended to the sourceDirectoryPath value only if relative path and $JF_ROOT_DATA_DIR will be prepended to the targetDirectoryPath value
    # map should be in format example: targetDirectoryPath=sourceDirectoryPath
      backup/access=access/backup
      data/access=access/data
      etc/access=access/etc
      work/access=access/tmp
      log/archived/access=access/logs
      log/archived/artifactory=logs
  linkFiles:
    map:
    # Note : $oldDataDir will be prepended to the sourceDirectoryPath value and $JF_ROOT_DATA_DIR will be prepended to the targetDirectoryPath value
    # map should be in format example: targetDirectoryPath=sourceDirectoryPath
      backup/artifactory=backup
      data/artifactory=data
      etc/artifactory=etc
  cleanUpOldDataDir:
    # Note $JF_ROOT_DATA_DIR will be prepended to the map entry
    map:
      access
      metadata
      logs