Hi all,
I have confused with service registry.
I have two methods to store service.
Method 1: Using cas-server-support-json-service
By compile "org.apereo.cas:cas-server-support-json-service-registry:6.1.3"
The CAS server will read service from directory /etc/cas/services-repo
Method 2: Using cas-server-support-mongo-service-registry
By compile "org.apereo.cas:cas-server-support-mongo-service-registry:6.1.3"
The CAS server will read service from directory /etc/cas/services-repo then load these service to MongoDB
But, I have a trouble now.
I cannot use both methods. Exactly if I build cas with 2 methods like
compile "org.apereo.cas:cas-server-support-json-service-registry:6.1.3"
compile "org.apereo.cas:cas-server-support-mongo-service-registry:6.1.3"
------>>>>>the cas will build fail.
And the CAS Management web app seem only save new service to directory.
This is lead to I can't create new service if I want to store service to MongoDB.
Note: I want to store service to mongoDB to deploy cas in cluster.
So, Do you have any suggest to solve this problem?
Thank you.