Hi all,
We are experiencing a problem where we make changes to the service definitions within the CAS Management application however
CAS does not see the changes until CAS is restarted. We are using JSON files to define the services and we can see that they are being changed.
The log shows that CAS loads the service definitions every 3 minutes. We are currently running CAS 5.3.9 and Cas Management 5.3.6.
The Following are Properties for CAS and Management application :
cas.serviceRegistry.watcherEnabled=true
cas.serviceRegistry.schedule.repeatInterval=120000
cas.serviceRegistry.json.location=file:/opt/cas/services
cas.serviceRegistry.initFromJson=false
Any insight would be great!
Thanks Gary
More information:
We ran CAS in Debug mode and instead of replacing the updated service, it appears CAS is adding a new service as follows:
[DEBUG] 2019-08-07 11:57:44,041 org.apereo.cas.services.AbstractServicesManager lambda$load$1 - Adding registered service [^https://www.yahoo.com.*]
[DEBUG] 2019-08-07 11:57:44,041 org.apereo.cas.services.AbstractServicesManager lambda$load$1 - Adding registered service [^https://www.yahoo2.com.*]
-Gary