This is an automated email from the ASF dual-hosted git repository.

gk pushed a commit to branch docker
in repository https://gitbox.apache.org/repos/asf/turbine-archetypes.git

commit 2947b3c9b80d2c8c1269142c2238ecaae1d86137
Author: Georg Kallidis <[email protected]>
AuthorDate: Fri Feb 28 15:57:54 2020 +0100

    fix in schema missing peerInterface and interface
---
 .../src/main/torque-schema/torque-security-schema.xml              | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git 
a/src/main/resources/archetype-resources/src/main/torque-schema/torque-security-schema.xml
 
b/src/main/resources/archetype-resources/src/main/torque-schema/torque-security-schema.xml
index 76c31da..5813629 100644
--- 
a/src/main/resources/archetype-resources/src/main/torque-schema/torque-security-schema.xml
+++ 
b/src/main/resources/archetype-resources/src/main/torque-schema/torque-security-schema.xml
@@ -69,7 +69,7 @@
 
   </table>
 
-  <table name="TURBINE_ROLE_PERMISSION">
+  <table name="TURBINE_ROLE_PERMISSION" 
interface="org.apache.fulcrum.security.torque.peer.TurbineRolePermissionPeerMapper">
     <column name="ROLE_ID" required="true" primaryKey="true" type="INTEGER"/>
     <column name="PERMISSION_ID" required="true" primaryKey="true" 
type="INTEGER"/>
 
@@ -83,9 +83,8 @@
     </foreign-key>
   </table>
 
-  <!-- org.apache.fulcrum.security.torque.TorqueAbstractSecurityEntity -->
   <table name="TURBINE_USER" idMethod="native" 
baseClass="org.apache.fulcrum.security.torque.turbine.DefaultAbstractTurbineUser"
-  interface="org.apache.fulcrum.security.model.turbine.entity.TurbineUser">
+  interface="org.apache.fulcrum.security.model.turbine.entity.TurbineUser" 
peerInterface="org.apache.fulcrum.security.torque.peer.TorqueTurbinePeer">
     <column name="USER_ID" required="true" primaryKey="true" type="INTEGER" 
javaType="object" javaName="EntityId" autoIncrement="true"/>
     <column name="LOGIN_NAME" required="true" size="64" type="VARCHAR" 
javaName="EntityName"/>
     <column name="PASSWORD_VALUE" required="true" size="16" type="VARCHAR" 
javaName="Password"/>
@@ -104,7 +103,7 @@
 
   </table>
 
-  <table name="TURBINE_USER_GROUP_ROLE" 
interface="org.apache.fulcrum.security.torque.peer.TurbineUserGroupRoleModelPeerMapper">
+  <table name="TURBINE_USER_GROUP_ROLE" 
interface="org.apache.fulcrum.security.torque.peer.TurbineUserGroupRoleModelPeerMapper"
 
peerInterface="org.apache.fulcrum.security.torque.peer.TorqueTurbineUserGroupRolePeer">
     <column name="USER_ID" required="true" primaryKey="true" type="INTEGER"/>
     <column name="GROUP_ID" required="true" primaryKey="true" type="INTEGER"/>
     <column name="ROLE_ID" required="true" primaryKey="true" type="INTEGER"/>

Reply via email to