ModeShape

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
MODE-2088 Ring buffer implementation, suitable for evaluation and trial.

Correct Java compiler warnings

MODE-2193 Fixed the hasNext() method of child node iteration when ACLs are involved.

MODE-2160 Refactored the query engine and index provider SPI.

Changed how index providers are initialized, changed the indexing to use only events, changed the reindexing mechanism to use a much simplified IndexWriter, and added a partial LocalIndex and provider implementation (still needs work).

  1. … 101 more files in changeset.
MODE-2182 Added 2 methods to the REST service which allow uploading binaries under a [nt:folder]/[nt:file] hierarchy, creating the hierarchy if it doesn't exist.

MODE-2191 Moved federation.spi to spi.federation.

  1. … 47 more files in changeset.
MODE-2188 Internationalized and localized several exception messages.

MODE-2167 Renamed the 4.0.0 upgrade function to Alpha1 and changed its identifier.

MODE-2188 Added support for managing index definitions to the Wildfly subsystem.

  1. … 4 more files in changeset.
MODE-2065 Corrected the replicated ISPN cache configurations in Wildfly to not use batching.

'Release: update versions for modeshape-3.7.2.Final'

    • -1
    • +1
    /boms/modeshape-bom-remote-client/pom.xml
  1. … 50 more files in changeset.
Updated release notes for 3.7.2.Final

MODE-2179 Fixed the streaming of binary values for MS SQL Server.

MODE-2179 Fixed the streaming of binary values for MS SQL Server.

MODE-2125 Fixed data type conversions for the local JDBC driver.

MODE-2125 Fixed data type conversions for the local JDBC driver.

MODE-2188 Added management of index providers to Wildfly subsystem

It is now possible to manage the index providers using the Wildfly configuration and CLI tools.

Additionally, ModeShape is no longer dependent upon Lucene or Hibernate Search.

  1. … 127 more files in changeset.
Moved test JTA settings from a base test class into an XML configuration file, which provides much more flexibility.

    • -0
    • +113
    /modeshape-jcr/src/test/resources/jbossts-properties.xml
MODE-2179 Fixed the binary store database script for MS SQL Server 2008/2010 and added a disabled test which stores both the repository data & binary data in SQL Server.

MODE-2179 Fixed the binary store database script for MS SQL Server 2008/2010 and added a disabled test which stores both the repository data & binary data in SQL Server.

MODE-2189 Corrected compiler warnings

MODE-2176 Fixed the case when projections become invalid between repository restarts by cleaning them up.

    • -0
    • +35
    /modeshape-jcr/src/test/resources/config/repo-config-persistent-cache-fs-connector1.json
    • -0
    • +28
    /modeshape-jcr/src/test/resources/config/repo-config-persistent-cache-fs-connector2.json
MODE-2189 Updated the FS connector to fire more property events and used the new java.nio classes (from JDK 7) to be able to correctly retrieve the created time and owner of files.

MODE-2019 Implemented the JCR event functionality.

Added explicit exporting of the 'org.joda.time' dependency as it is required by clients when MapDB deserializes journal entries (which contain DateTime instances in the change sets).

MODE-2188 Added management of index providers and index definitions

ModeShape now can manage index providers and index definitions via a programmatic API

that allows registering new/updated providers and adding/updating/removing index definitions.

Index definitions are stored as nodes in the system area using a structure such as

"/jcr:system/mode:indexes/{providerName}/{indexDefinition}/{indexColumnDefinition}".

Changes on one process in the cluster will be persisted to the cace store, and events

on all processes in the cluster will signal a refreshing of a snapshot of the index

definitions used by the query system. Additionally, when changes are made to

an index definition, the provider that owns that definition will be notified of the

new/changed or removed index definition.

Index provider information is not stored in the system area, but rather is used to

instantiate the providers in the same way as sequencers and connectors. Thus,

the repository configuration for each process in the cluster needs to define the

index providers; no information is shared across processes. Notice that all process-specific

information about indexes must be defined on the provider. For example, a notional

provider that stores indexes on the file system would likely require as a configuration

setting the directory in which those files are stored, and this could vary in each

process' configuration. BTW, this maintains ModeShape's convention of using the same

repository configuration file on each process in the cluster, albeit with variables

for any configuration parameters that must vary for the different processes.

Every index definition explicitly states the name of the provider that owns it.

If there is no such provider, ModeShape will mark the index definition as 'disabled'

and it will not be used on that process.

At this time it is not yet possible to define index providers or index definitions

in the repository configuration JSON file or the Wildfly subsystem. This will be

done with a future commit.

However, it is possible with this commit to programmatically register a provider

and define multiple indexes. Testing will also be done in a future commit as a

practical and usable provider is available.

The package and most of the interfaces in the index SPI introduced in 4.0.0.Alpha1

(e.g., formerly 'org.modeshape.jcr.spi.query') were renamed to be shorter and

more appropriate for their current & planned scope. For example, the "QueryIndexProvider"

interface is now simply "IndexProvider".

  1. … 58 more files in changeset.
MODE-2186 Added permissions checks for the getNodes() public methods if and only if ACLs are enabled. To avoid these checks internally, getNodesInternal() methods were added which never perform permission checks. Also, added explicit validation which disallows ACLs (which are stored as children) for external nodes.

MODE-2186 Added permissions checks for the getNodes() public methods if and only if ACLs are enabled. To avoid these checks internally, getNodesInternal() methods were added which never perform permission checks. Also, added explicit validation which disallows ACLs (which are stored as children) for external nodes.

'Release: update versions for modeshape-4.0.0.Alpha1'

    • -1
    • +1
    /boms/modeshape-bom-remote-client/pom.xml
  1. … 51 more files in changeset.
Updated release script to deal with new name of Wildfly distribution (rather than EAP distribution)