ModeShape

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
MODE-1487 Add support in the Teiid sequencer for VDB dependencies specified in its "vdb.xml" MODE-1700 Teiid Model Sequencer Throws Error When Model Import Has Annotation MODE-1702 Cleanup Corrupted Teiid Sequencer VDB Test Data Removed corrupted zip files from test data. Removed ignored tests that used those corrupted zip files. Added new VDBs to test data and added tests for those new VDBs. The new vdb.xml file XSD included VDB dependendencies and model metadata which uses DDL to define the model. Modified VDB sequencer and model sequencer to include these new VDB manifest features. Also added tests that test these new features. Fixed an error where the href of a model import was not being processed.

  1. … 20 more files in changeset.
MODE-1487 Add support in the Teiid sequencer for VDB dependencies specified in its "vdb.xml" MODE-1700 Teiid Model Sequencer Throws Error When Model Import Has Annotation MODE-1702 Cleanup Corrupted Teiid Sequencer VDB Test Data Removed corrupted zip files from test data. Removed ignored tests that used those corrupted zip files. Added new VDBs to test data and added tests for those new VDBs. The new vdb.xml file XSD included VDB dependendencies and model metadata which uses DDL to define the model. Modified VDB sequencer and model sequencer to include these new VDB manifest features. Also added tests that test these new features. Fixed an error where the href of a model import was not being processed.

  1. … 20 more files in changeset.
MODE-1703 fixed problems with invalid deserialization of Path and AddValueOperation, still doesn't solve problem as we start to get NullPointerException in ArrayOperation.mutableParent

MODE-1703 fixed problems with invalid deserialization of Path and AddValueOperation, still doesn't solve problem as we start to get NullPointerException in ArrayOperation.mutableParent

Federation - Updated federation so that external projections are now named using an alias and also added additional write tests

Federation - minor changes to how the repository configuration's specifies the external sources (previously called 'connectors' when we're really talking about external sources).

Federation - Extracted a separate class for handling federated child references

Federation - A few enhancements to the federation framework (configuration, management, etc.):

- Connectors can now be configured within a repository's configuration; documents reflecting each connector's configuration (e.g., classname, classloader, connector-specific properties) appears as a value in the field named by the connector under the "storage/connectors" document. The 'repo-config-federation.json' test configuration was updated to configure the MockConnector.

- MockConnector is now a separate (deprecated) class, and is configured like any other connector (via the configuration file) and thus is no longer hard-coded.

- ConnectorsManager was renamed to Connectors (following the same pattern for the existing Sequencers container class) and moved into the 'org.modeshape.jcr' package so it can be initialized with JcrRepository.RunningState (again, like Sequencers) through which the Connectors class can access the repository's ExecutionContext, MIME type detector, and other components. Connectors can still be added and removed dynamically (though this is not yet supported in the JcrRepository.RunningState constructor) via 'addConnector(Component)' that reuses the same RepositoryConfiguration.Component used by RepositoryConfiguration for sequencers, text extractors, and other components. Connectors are removed by name.

- Connector is now abstract and contains quite a few helper methods, including methods to create document builders (now an interface), names, and to return the value factories (which connectors will use to create property values). Connector also has lifecycle methods (e.g., initialize and shutdown) that are called by the Connectors class. Several private fields are also initialized (reflectively) by the Connectors class.

- FileSystemConnector is a new, initial implementation of a connector that accesses the file system. It is still relatively crude (and untested), and doesn't yet support extra properties like in 2.x (not sure we want to do this, although several 2.x users were leveraging this feature).

    • -0
    • +217
    /modeshape-jcr/src/main/java/org/modeshape/jcr/Connectors.java
  1. … 3 more files in changeset.
Federation - Updated the design of the "write interfaces" and added a unit test for validating the writing of an external node. Also, implemented a mechanism for storing the parent back reference for the federated - external node.

Federation - Updated the connectors and document store with write information

Federation - Updated the federation test and fixed missing information in the documents that the connector wasn't providing: parent references, primary type.

Federation - Implementing the persistence support for "reading" federated nodes. Also, added a test case which uses mocked data for testing the reading behavior.

  1. … 4 more files in changeset.
Federation - Updated federation design: -separated DocumentStore into LocalDocumentStore and FederatedDocumentStore -introduced ConnectorManager -removed Metadata dependencies

Federation - Added federation manger to modeshape-api and a draft connector interface/integration

Federation - Added initial DocumentStore implementation and replaced SchematicDB usages. All tests pass.

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

    • -2
    • +2
    /boms/modeshape-bom-remote-client/pom.xml
  1. … 41 more files in changeset.
Updated build to clean before changing the POMs

Removed the AS7.2 kit from the build.

Updated release notes for 3.0.0.Final

MODE-1692 - Fixed the names of the hibernate search worker parameters

MODE-1691 Corrected JSON Schema

Corrected our JSON Schema used to validate our repository configuration files to include fields for JDBC database URL, driver class, username and password. Added several test cases to verify the change works.

MODE-1675 - Extracted a separate module for modeshape-client which uses the standard assembly mechanism to attach (install & deploy) the artifact

    • -0
    • +208
    /modeshape-client/pom.xml
    • -0
    • +21
    /modeshape-client/src/assembly/kit.xml
MODE-1690 Additional fixes to the support for custom authenticators

Applied several corrections suggested by Horia during the code review.

MODE-1687 Corrected compiler warnings

MODE-1690 Improved support for custom authenticators

Prior to this fix, authenticators were used but were lost when the configuration was written back out.

It was also not possible to dynamically add/remove authenticators via the CLI or other administrative tools.

This change adds all of this functionality.

  1. … 5 more files in changeset.
MODE-1690 Corrected compiler warnings

MODE-1689 Added missing no-arg constructor for Metadata

This constructor was accidentally removed in a recent refactoring (see MODE-1669).

I've now added a test case that uses externalization (via a file system cache store) and replicates the problem. Adding the no-arg constructor fixes the issue.

MODE-1687 - Fixed the registration of unused namespaces when initial cnd files are configured in the repository

    • -0
    • +8
    /modeshape-jcr/src/test/resources/cnd/unusedNamespaces.cnd
Removed the AS7.2 kit from the build.

'Release: update versions for modeshape-3.0.0.CR3'

    • -2
    • +2
    /boms/modeshape-bom-remote-client/pom.xml
  1. … 40 more files in changeset.