Bug 1211935 - Change the ModeShape configuration to allow integration with JDG
Summary: Change the ModeShape configuration to allow integration with JDG
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Configuration
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: 6.2.0
Assignee: Julian Coleman
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-15 08:53 UTC by Horia Chiorean
Modified: 2015-04-21 15:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-21 15:35:12 UTC
Type: Task
Embargoed:


Attachments (Terms of Use)
Standlone Mode, ModeShape DV cache config (1.01 KB, application/xml)
2015-04-15 08:53 UTC, Horia Chiorean
no flags Details
Clustered Domain Mode, ModeShape DV cache config (2.98 KB, application/xml)
2015-04-15 08:54 UTC, Horia Chiorean
no flags Details
Clustered Domain Mode, JGroups config (1.34 KB, application/xml)
2015-04-15 08:55 UTC, Horia Chiorean
no flags Details

Description Horia Chiorean 2015-04-15 08:53:32 UTC
Created attachment 1014627 [details]
Standlone Mode, ModeShape DV cache config

Since https://issues.jboss.org/browse/JBDVPL-182, ModeShape will stop integrating with the Infinispan subsystem defined in EAP and will start using JDG local artifacts.
For the Teiid - ModeShape integration to work correctly, this requires *several* configuration changes to the current DV ModeShape repository defined as:

<repository name="dv" cache-name="dv" cache-container="modeshape" anonymous-roles="readonly" use-anonymous-upon-failed-authentication="false">

1. Both for standalone & domain mode all Infinispan caches and cache containers created for ModeShape should be removed. In other words, the CLI scripts should not be creating any Infinispan caches & containers for ModeShape


2. For standalone mode:
  
   2.1 The attached dv-cache-config.xml should be placed in standalone/configuration/modeshape folder

   2.2 The repository XML definition (and therefore the CLIs) should be changed so that the "cache-container" attribute (see above) is removed, resulting in:

<repository name="dv" cache-name="dv" anonymous-roles="readonly" use-anonymous-upon-failed-authentication="false">

3. For domain mode:

  3.1 Place the dv-cache-config.xml, dv-ha-cache.config.xml and jgroups-config.xml in the domain/configuration/modeshape folder.

  3.2 For the "default" and "full" profiles change the CLI scripts to produce the following repository element:
      <repository name="dv" cache-config="modeshape/dv-cache-config.xml" anonymous-roles="readonly" use-anonymous-upon-failed-authentication="false" config-relative-to="jboss.domain.config.dir"> 

  3.3 For the "ha" and "full-ha" profiles, change the CLI scripts to produce the following XML:

      <repository name="dv" cache-config="modeshape/dv-ha-cache-config.xml" anonymous-roles="readonly" use-anonymous-upon-failed-authentication="false" config-relative-to="jboss.domain.config.dir"> 
    
and remove the "cache-container" attribute from the <cache-binary-storage/> element, resulting in:

       <cache-binary-storage data-cache-name="dv-binary-data" metadata-cache-name="dv-binary-metadata"/>

Comment 1 Horia Chiorean 2015-04-15 08:54:37 UTC
Created attachment 1014628 [details]
Clustered Domain Mode, ModeShape DV cache config

Comment 2 Horia Chiorean 2015-04-15 08:55:33 UTC
Created attachment 1014629 [details]
Clustered Domain Mode, JGroups config

Comment 3 Horia Chiorean 2015-04-21 15:35:12 UTC
Closing, as ModeShape-JDG integration for DV 6.2 has been decided against. ModeShape for DV 6.2 will still be using the Infinispan 5.x subsystem.


Note You need to log in before you can comment on or make changes to this bug.