How to Update System Properties Follow
Update ENTIRE properties file
This API sets the properties to the newly provided content.
It doesn't perform merge of any kind, no logic of any kind, not keeping old values - just replaces the file with the provided content as is.
POST http://localhost:8080/ServiceManager/Macro/SystemProperties
Request body should contain the *entire* new content for servicemanager.properties file, for example:
## ===== Directories ===== #USER_HOME = C:/ServiceManager #DAILY_BACKUPS = C:/ServiceManager/daily_backups ## ===== DB configuration ===== DB_SHOW_SQL= false DB_CONNECTION_POOL_SIZE= 5 ... |
Update/merge specific properties
This API sets the provided properties to the new values.
If a property exists it will be updated to the new value, otherwise it will be appended; Properties not specified in the request won't be affected.
If a property exists it will be updated to the new value, otherwise it will be appended; Properties not specified in the request won't be affected.
PATCH http://localhost:8080/ServiceManager/Macro/SystemProperties
Request body should contain only the properties you want to update, for example:
FORM_TIMEOUT = 12000 HTML_TIMEOUT = 12000 append.defaults = resp= 0 &server_module= 0 |
Comments
0 comments
Please sign in to leave a comment.