To setup your Access configuration files, you need to work with these YAML files in the following way:
Open the
access.config.template.yml
file.Find the Key for which you would like to change the Value and copy it.
Open the
access.config.latest.yml
file.Paste 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
Follow these steps to change the setting of number-of-retries
from 3 (the default) to 5:
Open the
access.config.template.yml
file and copy thenumber-of-retries: 3
Key-Value pair.Paste the copied Key-Value pair into the
access.config.latest.yml
file.In
access.config.latest.yml
, change the value ofnumber-of-retries
to5
.Save the modified
access.config.latest.yml
asaccess.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.