To setup your Access configuration files, you need to work with the above YAML files in the following way:
Open the
access.config.template.yml
fileFind the Key for which you would like to change the Value and copy it
Open the
access.config.latest.yml
filePaste the Key - Value pair you copied and set the relevant value as desired
Save the
access.config.latest.yml
file asaccess.config.import.yml
or asaccess.config.patch.yml
Restart Access by restarting the corresponding Artifactory service
Note that an uploaded configuration file does not update the current configuration in Access, but rather completely replaces it.
Making multiple configuration calls
You may configure synchronization as often as you want and with any combination of parameters.
Example
To change the setting of number-of-retries
from 3 (the default) to 5, you would take the following steps:
Open the
access.config.template.yml
and copy thenumber-of-retries: 3
Key-Value pair.Paste the copied Key-Value pair into the
access.config.latest.yml
fileIn
access.config.latest.yml,
change the value ofnumber-of-retries
to5
Save the modified
access.config.latest.yml as access.config.import.yml
Restart Artifactory - this will restart the Access service which will then load the values in access.config.import.yml with the updated configuration