I tried both now, but there seems to be no difference.
I have noticed however that whatever I put into the 
<cas-war-repo>/etc/cas/services or /etc/cas/services the output always 
states 2 services being loaded from the JSON Registry. Even if I delete all 
services from those folders, clean build and run.
2019-06-07 11:01:43,051 INFO [org.apereo.cas.services.
AbstractServicesManager] - <Loaded [2] service(s) from [JsonServiceRegistry
].>

I would like to see what services these are and tried to enable the 
actuator registeredServices using these properties 
(https://apereo.github.io/cas/6.0.x/configuration/Configuration-Properties.html#actuator-management-endpoints):
management.endpoints.enabled-by-default: true
management.endpoints.web.base-path:     /actuator
management.endpoints.web.exposure.include:      info,health,status,
configurationMetadata,registeredServices

But the actuator is not available after booting on <cas-url>/cas/actuator/
registeredServices

Am Freitag, 7. Juni 2019 09:39:19 UTC+2 schrieb Matthew Uribe:
>
> In my experience that is not the same as /etc/cas/services. I would 
> recommend you change that to /etc/cas/services explicitly and restart.
>
> On Friday, June 7, 2019 at 1:29:30 AM UTC-6, Fabian Schipp wrote:
>>
>> The cas.properties contains this line:
>> cas.serviceRegistry.json.location:      classpath:/services
>>
>> This should refer to /etc/cas/services. Wich is the location my services 
>> are stored.
>> Also the build.gradle file contains the corresponding dependency
>> compile 
>> "org.apereo.cas:cas-server-support-json-service-registry:${project.'cas.version'}"
>>
>>
>>
>> Am Donnerstag, 6. Juni 2019 20:14:39 UTC+2 schrieb Matthew Uribe:
>>>
>>> Is there any other simplistic service I could try to see if CAS loads 
>>>> anything correct?
>>>
>>>
>>> That same tutorial you mentioned contains steps for setting up a basic 
>>> CAS or SAML client in order to test your CAS server.
>>>
>>> Since you don't have any other services currently working with this CAS 
>>> server, I would just ask you to confirm that your json files are in the 
>>> location specified in your cas.properties cas.serviceRegistry.json.location 
>>> line.
>>>
>>

-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/5f2f6fb5-f85f-4158-b615-4440aab8b31d%40apereo.org.

Reply via email to