…Renamed the file to modeshape_3_0.xsd to conform with the other schema names in that folder.
…'s API Added a new JNDI-based RepositoryFactory that looks for only "jndi:"-type URLs, and is aware of both Repository instances and (ModeShape-specific) Repositories instances. This allowed simplification of the web library used in the RESTful and WebDAV services, since they only need to specify the normal RepositoryFactory parameters in the web.xml. All unit and integration tests pass.
…he security name and added module dependencies to the manifest.
…event. Updated sequencing unit tests to make use of this event.
Corrected the behavior of the JCR import logic to always import protected content. The whole point of importing a previously-exported file is to recover all of the content the way it was, including the 'jcr:created', 'jcr:createdBy' and other protected properties. (Although note that the 'jcr:lastModified' and 'jcr:lastModifiedBy' properties will still be updated during the import.) Added a new unit test to verify that the import now works correctly with protected content.
…e provider mechanism A 'META-INF/services/java.sql.Driver' file was added to each of our JDBC driver implementations, and the JAR files were verified to contain these new files.
The sequencer module names were changed to start with 'org.modeshape' rather than just 'modeshape'. Also added a module for the local JDBC driver.
A few changes were made to include a 'modeshape-rest.war.dodeploy' marker file in the 'standalone/deployments' directory. This file is not needed when automatic detection is enabled (which is the default), but it is needed when automatic detection has been disabled prior to installing the ModeShape kit.
The Maven modules that make up the RESTful service and it's dependencies (e.g., the local JDBC driver) have been added back into the build. Several changes were required to correct the test cases' expected results, and to change the test repository configurations. The JBoss AS 7 kit also is now including the customized RESTful WAR file.
The dependency on Infinispan was upgraded to 5.1.2.FINAL, which is the same version used by JBoss AS 7.1.1.Final. The JGroups version was also changed to match that used by Infinispan 5.1.2.FINAL (and JBoss AS 7.1.1.Final). Also, the PicketBox version was upgraded to the same version used in JBoss AS 7.1.1.Final. The Infinispan upgrade required some changes to how the DeltaAware-related code works, since that framework was changed between 5.1.0.BETA3 and 5.1.0.FINAL (though this was unchanged since then). All current unit and integration tests pass.
The Externalizer for the SchematicEntryLiteral class is an AdvancedExternalizer, but this requires proper configuration (in Infinispan XML or programmatic config) for it to work. This change adds the '@SerializedWith(...)' annotation to the SchematicEntryLiteral class to specify the Externalizer implementation, which means the annotation-based ClassExternalizerFactory should find it.
Certain JCR-SQL2 full-text search criteria were not being processed correctly. Any f.t.s. criteria that specified a single property resulted in an incorrect query plan. Several changes were made to correct this behavior, and new unit tests were added.
Hibernate Search's SearchConfiguration class defines a "isTransactionManagerExpected()" method that dictates whether the warning messages should be logged (and that appears to be the only way in which this method is used). So far, ModeShape's org.modeshape.jcr.query.lucene.LuceneSearchConfiguration implementation has returned 'true'. But this method should return 'false', since the re-indexing operations are not performed within a transaction, so Hibernate Search shouldn't always expect a transaction. Simply making this change makes the problematic log messages disappear, but doesn't otherwise affect any functionality. All unit and integration tests pass with these changes.
Lots of changes in the portions of the ModeShape code that's using Lucene, including the general interfaces and reusable queries (in org.modeshape.jcr.query.lucene) and the basic schema that uses a single index (in org.modeshape.jcr.query.lucene.basic). At this point, all query functionality appears to work except for full-text search. All current tests pass with these changes, though more testing is required.
The REST client library was versioning only the 'jcr:content' child node of an 'nt:file' node. While that's acceptable (since it's where the file's content is actually stored), it's better if the 'nt:file' node itself was versioned. This change simply changes the node where the 'mix:versionable' mixin is applied. When a new 'nt:file' node is uploaded, that node is now made versionable instead of the 'jcr:content' child. All existing content is still handled and versioned correctly (as it was), and this change only affects content added using a RESTful client that contains the fix. This change only affects the RESTful client, which is never used within the server-side installation of ModeShape. All unit and integration tests pass with these changes.