To setup your Access configuration files, you need to work with these YAML files in the following way:
Open the
access.config.template.ymlfile.Find the Key for which you would like to change the Value and copy it.
Open the
access.config.latest.ymlfile.Paste the Key - Value pair you copied and set the relevant value as desired.
Save the
access.config.latest.ymlfile asaccess.config.import.ymlor 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
Follow these steps to change the setting of number-of-retries from 3 (the default) to 5:
Open the
access.config.template.ymlfile and copy thenumber-of-retries: 3Key-Value pair.Paste the copied Key-Value pair into the
access.config.latest.ymlfile.In
access.config.latest.yml, change the value ofnumber-of-retriesto5.Save the modified
access.config.latest.ymlasaccess.config.import.yml.Restart Artifactory.
This will restart the Access service, which will then load the values in
access.config.import.ymlwith the updated configuration.