You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Tobias Bocanegra <to...@day.com> on 2009/05/27 12:38:47 UTC
Global jcr:system workspace
hi,
currently the /jcr:system subtree contains 2 virtually mapped
workspaces, the version storage and the nodetype reflection. for
jsr283 we would also need to have a /jcr:system/jcr:activities and a
/jcr:system/jcr:configurations. i don't want to create 2 additional
workspaces for this, but rather use the existing versioning workspace.
for the sake of the TCK we're probably able to just create 2 more
'roots' in the versioning workspace and have additional
VirtualItemStateProviders for the activities and configurations, or to
add support for multiple virtual roots. but on the long run, i suggest
to try to map the entire versioning workspace to /jcr:system and name
it 'system' workspace. this would imply to store the nodetype
reflection as actual nodes and drop the VirtualNodeTypeStateProvider.
this would also allow to use the repository as storage for the custom
nodetypes and get rid of the custom_nodetypes.xml.
i would even like to "mount" the workspace on a higher level, i.e. on
the items and not on the states, and get rid of the virtual providers
completely. this would imply that the aggregating services, like the
search or the observation need to aggregate on a higher level, but
would i think that it would simplify write-back and transaction
handling.
what i want to know is, if anyone has implemented an own
VirtualItemStateProvider?
WDYT?
regards, toby
Re: Global jcr:system workspace
Posted by Jukka Zitting <ju...@gmail.com>.
Hi,
On Wed, May 27, 2009 at 3:24 PM, Tobias Bocanegra <tr...@day.com> wrote:
> On Wed, May 27, 2009 at 1:48 PM, Jukka Zitting <ju...@gmail.com> wrote:
>> Could we merge this with the "security" workspace that Angela added
>> for the security features?
> afaik, the security workspace is not mounted into others. so i would
> not do this.
OK, that makes sense.
BR,
Jukka Zitting
Re: Global jcr:system workspace
Posted by Angela Schreiber <an...@day.com>.
Tobias Bocanegra wrote:
>> Could we merge this with the "security" workspace that Angela added
>> for the security features?
> afaik, the security workspace is not mounted into others.
correct.
> so i would not do this.
nor would i.
angela
Re: Global jcr:system workspace
Posted by Tobias Bocanegra <tr...@day.com>.
On Wed, May 27, 2009 at 1:48 PM, Jukka Zitting <ju...@gmail.com> wrote:
> Hi,
>
> On Wed, May 27, 2009 at 12:38 PM, Tobias Bocanegra
> <to...@day.com> wrote:
>> [...] i suggest to try to map the entire versioning workspace to /jcr:system
>> and name it 'system' workspace.
>
> +1
>
> Could we merge this with the "security" workspace that Angela added
> for the security features?
afaik, the security workspace is not mounted into others. so i would
not do this.
the jcr:system workspace is special in this respect, that you can't
login to it, and that it is mounted to /jcr:system in all workspaces.
> I'm interested in moving parts of the repository configuration
> (indexing settings, cache configuration, etc.) inside the repository.
> Perhaps such data could also be placed inside the system workspace.
i thought that we should keep the jcr:system workspace read-only, at
least via API. i don't know if we should store config in there, too.
>> [...] this would imply to store the nodetype reflection as actual nodes
>> and drop the VirtualNodeTypeStateProvider. this would also allow to
>> use the repository as storage for the custom nodetypes and get rid of
>> the custom_nodetypes.xml.
>
> +1!
>
>> what i want to know is, if anyone has implemented an own
>> VirtualItemStateProvider?
>
> I think the biggest user of custom VirtualItemStateProviders is Hippo
> with their faceted search extensions. I've been asking them to
> contribute those extensions back to avoid compatibility issues down
> the line...
regards, toby
Re: Global jcr:system workspace
Posted by Jukka Zitting <ju...@gmail.com>.
Hi,
On Wed, May 27, 2009 at 12:38 PM, Tobias Bocanegra
<to...@day.com> wrote:
> [...] i suggest to try to map the entire versioning workspace to /jcr:system
> and name it 'system' workspace.
+1
Could we merge this with the "security" workspace that Angela added
for the security features?
I'm interested in moving parts of the repository configuration
(indexing settings, cache configuration, etc.) inside the repository.
Perhaps such data could also be placed inside the system workspace.
> [...] this would imply to store the nodetype reflection as actual nodes
> and drop the VirtualNodeTypeStateProvider. this would also allow to
> use the repository as storage for the custom nodetypes and get rid of
> the custom_nodetypes.xml.
+1!
> what i want to know is, if anyone has implemented an own
> VirtualItemStateProvider?
I think the biggest user of custom VirtualItemStateProviders is Hippo
with their faceted search extensions. I've been asking them to
contribute those extensions back to avoid compatibility issues down
the line...
BR,
Jukka Zitting
Re: Global jcr:system workspace
Posted by Thomas Müller <th...@day.com>.
Hi,
> WDYT?
I think that would be great.
Regards,
Thomas