Just an FYI - I just released the 1.0.0-GA version and put the documentation out there: https://github.com/unicon-cas-addons/cas-addon-yaml-services-registry/blob/master/README.md <https://github.com/unicon-cas-addons/cas-addon-yaml-services-registry/blob/master/README.md>
Have a great weekend. Dmitriy. > On Nov 20, 2014, at 7:01 PM, Dmitriy Kopylenko <dkopyle...@unicon.net> wrote: > > Glad that worked for you. It doesn't reload periodically, but on demand when > the config file is changed. Look at the beans config that I referenced > earlier. The entire config for this machinery is there. > > Cheers, > D. > > Sent from my iPhone > >> On Nov 20, 2014, at 18:51, Milt Epstein <mepst...@illinois.edu >> <mailto:mepst...@illinois.edu>> wrote: >> >> Thanks, that did the trick -- I was able install and use the >> cas-addon-yaml-service-registry package via a dependency in my pom.xml >> file. The main problem was that I had used 1.0.0-M1 as the version >> (that was previously on the package's web page, but looks like you >> updated it to 1.0.0-RC1). >> >> And looks like it's automatically set up to reload periodically. Is >> that controlled by these parameters in cas.properties: >> >> # Service Registry Periodic Reloading Scheduler >> # service.registry.quartz.reloader.startDelay=120000 >> # Reload services every 2 minutes >> # service.registry.quartz.reloader.repeatInterval=120000 >> >> (I didn't uncomment these, so it must be using default values.) >> >> And for the core CAS devs, can you address these questions?: >> >>>> Other questions: I assume the CAS-integrated JSON service registry is >>>> not available for version 4.0, just 4.1? And when is 4.1 due for >>>> release? Is there a candidate ready to be tried now? How close to >>>> being ready to go is it? >>> >>> This is the question for core CAS devs ;-) >> >> Thanks. >> >> Milt Epstein >> Applications Developer >> Graduate School of Library and Information Science (GSLIS) >> University of Illinois at Urbana-Champaign (UIUC) >> mepst...@illinois.edu <mailto:mepst...@illinois.edu> >> >> >>> On Thu, 20 Nov 2014, Dmitriy Kopylenko wrote: >>> >>>> On Nov 20, 2014, at 1:20 PM, Milt Epstein <mepst...@illinois.edu >>>> <mailto:mepst...@illinois.edu>> wrote: >> [ ... ] >>>> But more importantly, it's still not clear how to use/integrate the >>>> cas-addon-yaml-service-registry package. Can I put a dependency for >>>> it in my pom.xml? I tried something for that, and it didn't work. >>>> Can I download it and put it into my maven overlay? I tried >>>> downloading the master zip, and tried to build that (using gradlew?), >>>> separately, but it failed. >>> >>> Here’s an example of how to use it (version 1.0.0-RC1 is available in Maven >>> central since yesterday): >>> >>> https://github.com/UniconLabs/simple-cas4-overlay-template/blob/micro-addons/pom.xml#L62 >>> >>> <https://github.com/UniconLabs/simple-cas4-overlay-template/blob/micro-addons/pom.xml#L62> >>> >>> <https://github.com/UniconLabs/simple-cas4-overlay-template/blob/micro-addons/pom.xml#L62 >>> >>> <https://github.com/UniconLabs/simple-cas4-overlay-template/blob/micro-addons/pom.xml#L62>> >>> >>> https://github.com/UniconLabs/simple-cas4-overlay-template/blob/micro-addons/src/main/webapp/WEB-INF/spring-configuration/servicesRegistry.xml >>> >>> <https://github.com/UniconLabs/simple-cas4-overlay-template/blob/micro-addons/src/main/webapp/WEB-INF/spring-configuration/servicesRegistry.xml><https://github.com/UniconLabs/simple-cas4-overlay-template/blob/micro-addons/src/main/webapp/WEB-INF/spring-configuration/servicesRegistry.xml >>> >>> <https://github.com/UniconLabs/simple-cas4-overlay-template/blob/micro-addons/src/main/webapp/WEB-INF/spring-configuration/servicesRegistry.xml>> >>> >>> Note that this config element <cas-external:yaml-services-registry/> >>> assumes the default location to be: /etc/cas/servicesRegistry.yml Just put >>> the file there and you should be good to go. >>> >>>> >>>> Other questions: I assume the CAS-integrated JSON service registry is >>>> not available for version 4.0, just 4.1? And when is 4.1 due for >>>> release? Is there a candidate ready to be tried now? How close to >>>> being ready to go is it? >>> >>> This is the question for core CAS devs ;-) >>> >>> >>> -- >>> You are currently subscribed to cas-user@lists.jasig.org >>> <mailto:cas-user@lists.jasig.org> as: mepst...@illinois.edu >>> <mailto:mepst...@illinois.edu> >>> To unsubscribe, change settings or access archives, see >>> http://www.ja-sig.org/wiki/display/JSG/cas-user >>> <http://www.ja-sig.org/wiki/display/JSG/cas-user> >> -- >> You are currently subscribed to cas-user@lists.jasig.org >> <mailto:cas-user@lists.jasig.org> as: dkopyle...@unicon.net >> <mailto:dkopyle...@unicon.net> >> To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user >> <http://www.ja-sig.org/wiki/display/JSG/cas-user> -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user