Hi, do you have a copy of the changes for reference?

On Friday, November 25, 2016 at 6:35:10 PM UTC+8, Elendrys Yagami wrote:
>
> I reply to myself as I couldn't get any answer.
>
> The couchbase registry is working fine and the casted error is not related 
> to it.
>
> The answer is that the scripts location defined for ng-tables is broken, 
> so you have to override the location in the default template :
> - copy the 
> "target/cas-management/WEB-INF/classes/templates/fragments/head.html" to  
> "src/main/resources/templates/fragments" in the git local repository of the 
> project
> - edit the file and change the references to the ng-tables js and css from 
> rawgit to cloudflare (go to https://cdnjs.com and pickup link for the 
> v1.0.0 of ng-tables library)
> - rebuild your war with the new links
>
> The interface becomes functionnal again.
>
> Le dimanche 20 novembre 2016 13:20:04 UTC+1, Elendrys Yagami a écrit :
>>
>> Hello,
>>
>> I'm trying to store my services into a couchbase bucket. So far it seems 
>> ok with cas itself. It loads the default services into the bucket, and 
>> whenever i manually add one, it claims it is loaded.
>>
>> The problem is with the management webapp. It creates a default entry 
>> with the callback url in the bucket and also sees whenever i manually add a 
>> service, but, when I log into the web interface, it bugs with the message :
>>
>>                    
>>                             *{{ serviceTableCtrl.alert.data.name }}*
>>                             {0} a été supprimé.
>>                         
>>                         
>>                             Le service ne peut pas être supprimé.
>>                         
>>                         
>>                             Unable to retrieve service listing.
>>                         
>>                         
>>                             L'ordre des services n'a pas pu être mis à 
>> jour.
>>
>> I added the dependency to my pom.xml :
>>
>>         <dependency>
>>             <groupId>org.apereo.cas</groupId>
>>             <artifactId>cas-server-support-couchbase-service-registry
>> </artifactId>
>>             <version>${cas.version}</version>
>>         </dependency>
>>
>> And my config is
>>
>> cas.server.name: https://ldap.elendrys.fr:443
>> cas.server.prefix: https://ldap.elendrys.fr:443/cas
>>
>> cas.mgmt.adminRoles=ROLE_ADMIN
>> cas.mgmt.userPropertiesFile=file:/etc/cas/config/users.properties
>> cas.mgmt.serverName=https://ldap.elendrys.fr:443
>> server.context-path=/cas-management
>> server.port=443
>>
>> spring.thymeleaf.mode=HTML
>> logging.config=file:/etc/cas/config/log4j2.xml
>>
>> ######################### 
>> # Json Service Registry # 
>> ######################### 
>> #cas.serviceRegistry.config.location=file:///etc/cas/services/
>>
>> ##############################
>> # Couchbase service registry #
>> ##############################
>> cas.serviceRegistry.couchbase.nodeSet=cas2.elendrys.fr
>> cas.serviceRegistry.couchbase.password=cassecret
>> cas.serviceRegistry.couchbase.queryEnabled=true
>> cas.serviceRegistry.couchbase.bucket=service
>> cas.serviceRegistry.couchbase.timeout=30
>>
>>
>>
>> Is there anything I forgot or mitstake ?
>>
>> And Is the v5 ready for production ?
>>
>> Thanks
>>
>

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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/6c7bc1c7-534d-4f02-b1d6-d510c7e6f3d4%40apereo.org.

Reply via email to