I found a workaround by adding empty {} JSON files with the very same name to a directory named src/main/resources/services in my project. Thanks for your suggestions.
Regards Martin On Monday, August 28, 2023 at 1:19:26 PM UTC+2 martin....@springer.com wrote: > cas.service-registry.core.init-from-json=false is the default, still even > if set both entries reappear on every startup of cas-management server. > > Regards > > Martin > > On Monday, August 28, 2023 at 7:12:02 AM UTC+2 p.bo...@centrum.cz wrote: > >> Hi Martin, >> >> it looks like you've got the same problem as discussed at >> HTTPSandIMAPS-10000001.json >> keeps coming back >> <https://groups.google.com/a/apereo.org/g/cas-user/c/yD9WXk3n1K8>? If I >> understand it correctly, the way to get rid of the default service >> definitions is to define the following property in both CAS 6.x and >> cas-management 6.x properties: >> >> *cas.service-registry.core.init-from-json=false* >> >> This seems to be documented here: >> https://apereo.github.io/cas/6.6.x/services/AutoInitialization-Service-Management.html >> . >> >> Regards >> Petr >> >> On Saturday, 26 August 2023 at 16:03:44 UTC+2 martin....@springer.com >> wrote: >> >>> Hello, >>> >>> I am using mongodb service registry, cas-management version 6.6.3 with >>> cas version 6.6.10. >>> On startup cas-management server inserts 2 JSON files into the service >>> registry: >>> >>> Apereo-10000002.json and >>> HTTPSandIMAPS-10000001.json >>> >>> It seems they are packaged within the overlay and there is no obvious >>> way of keeping cas-management server from doing this. I do not want a >>> general serviceId like ^(https|imaps)://.* to exist at all and maybe >>> actually get selected in the worst case. >>> >>> How do you keep cas-management server from doing this? >>> >>> Thanks for your attention >>> Regards >>> Martin >>> >> -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/e94c2618-34a5-42ab-84bf-021aeec4f75en%40apereo.org.