migration:
  product: ARTIFACTORY
  propertyFiles:
    files:
      dbProperty
      haNodeProperty
      accessDbProperty
    dbProperty:
      # Note $JF_PRODUCT_HOME/var 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_PRODUCT_HOME/var 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_PRODUCT_HOME/var 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
  xmlFiles:
    serverXml:
    # $JF_PRODUCT_HOME/var will be prepended to the newFilePath value
      filePath: work/old
      fileName: server.xml
      artifactory:
        port: artifactory.port
        maxThreads: artifactory.tomcat.connector.maxThreads
        extraConfig: artifactory.tomcat.connector.extraConfig
        sendReasonPhrase: artifactory.tomcat.connector.sendReasonPhrase
        relaxedPathChars: artifactory.tomcat.connector.relaxedPathChars
        relaxedQueryChars: artifactory.tomcat.connector.relaxedQueryChars
      access:
        port: access.http.port
        maxThreads: access.tomcat.connector.maxThreads
        extraConfig: access.tomcat.connector.extraConfig
        sendReasonPhrase: access.tomcat.connector.sendReasonPhrase
      extra:
        config: shared.tomcat.connector.extra
        listener: shared.tomcat.listener.extra
      router:
        port: router.entryPoints.externalPort
  defaultFile :
   # Note : $JF_PRODUCT_HOME/var will be prepended to the oldFile.defaultFilePath value and $JF_PRODUCT_HOME/app will be prepended to the newFile.defaultFilePath value
    oldFile:
      defaultFilePath: work/old
      fileName: artifactory.default
    newFile:
      defaultFilePath: bin
      fileName: artifactory.default
    map:
    # map should be in format example: systemYamlPath=property
      shared.user=ARTIFACTORY_USER
      shared.extraJavaOpts=JAVA_OPTIONS