[cas-user] CAS 4.1.x JPA service registry table schema: how to map RegisteredServiceImplProperty?

2016-04-07 Thread Yan Zhou
Hi there,

I am using JPA service registry to store services in a DB table. (Oracle), 
with CAS 4.1.5 overlay setup.

The JPA class AbstractRegisteredService makes reference to a table: 
RegisteredServiceImplProperty, via join 
table DefaultRegisteredService_Properties.  Neither table is mentioned in 
the CAS documentation. Furthermore, both AbstractRegisteredService 
and DefaultRegisteredServiceProperty have the same default ID column.  Is 
this a valid JPA mapping?I do not see how the default JPA registry can 
work.

I tried to customize AbstractRegisteredService class, which is part of 
CAS-Core, this means I have to rebuild cas-core with my 
AbstractRegisteredService class, because both CAS app and 
Service-Management app depends on it.  That sounds quite complicated. 

Any suggestions?

Thanks,
Yan

-- 
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.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/6f1265cb-60f9-4b5f-ad7d-4ae4b52371f6%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


RE: [cas-user] CAS 4.1.x JPA service registry table schema: how to map RegisteredServiceImplProperty?

2016-04-08 Thread Misagh Moayyed
They are not in the docs, because they have no place in the docs. CAS auto 
creates all JPA mappings and schemas and we recommend you use that approach 
instead.



What is your use case for extending that abstract class?



From: cas-user@apereo.org [mailto:cas-user@apereo.org] On Behalf Of Yan Zhou
Sent: Thursday, April 7, 2016 6:08 AM
To: CAS Community 
Subject: [cas-user] CAS 4.1.x JPA service registry table schema: how to map 
RegisteredServiceImplProperty?



Hi there,



I am using JPA service registry to store services in a DB table. (Oracle), 
with CAS 4.1.5 overlay setup.



The JPA class AbstractRegisteredService makes reference to a table: 
RegisteredServiceImplProperty, via join table 
DefaultRegisteredService_Properties.  Neither table is mentioned in the CAS 
documentation. Furthermore, both AbstractRegisteredService and 
DefaultRegisteredServiceProperty have the same default ID column.  Is this a 
valid JPA mapping?I do not see how the default JPA registry can work.



I tried to customize AbstractRegisteredService class, which is part of 
CAS-Core, this means I have to rebuild cas-core with my 
AbstractRegisteredService class, because both CAS app and Service-Management 
app depends on it.  That sounds quite complicated.



Any suggestions?



Thanks,

Yan

-- 
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 
<mailto:cas-user+unsubscr...@apereo.org> .
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/6f1265cb-60f9-4b5f-ad7d-4ae4b52371f6%40apereo.org
 
<https://groups.google.com/a/apereo.org/d/msgid/cas-user/6f1265cb-60f9-4b5f-ad7d-4ae4b52371f6%40apereo.org?utm_medium=email&utm_source=footer>
 
.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

-- 
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.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/005201d19187%2475924df0%2460b6e9d0%24%40unicon.net.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.