Permalink
Switch branches/tags
modeshape-5.4.1.Final modeshape-5.4.0.Final modeshape-5.3.0.Final modeshape-5.2.0.Final modeshape-5.1.0.Final modeshape-5.0.0.Final modeshape-4.6.2.Final modeshape-4.6.1.Final modeshape-4.6.0.Final modeshape-4.5.0.Final modeshape-4.4.0.Final modeshape-4.3.0.Final modeshape-4.2.0.Final modeshape-4.1.0.Final modeshape-4.0.0.Final modeshape-4.0.0.Beta2 modeshape-4.0.0.Beta1 modeshape-4.0.0.Alpha4 modeshape-4.0.0.Alpha3 modeshape-4.0.0.Alpha2 modeshape-4.0.0.Alpha1 modeshape-3.8.1.Final modeshape-3.8.0.Final modeshape-3.7.4.Final modeshape-3.7.3.Final modeshape-3.7.2.Final modeshape-3.7.1.Final modeshape-3.7.0.Final modeshape-3.6.1.Final modeshape-3.6.0.Final modeshape-3.5.0.Final modeshape-3.4.0.Final modeshape-3.3.0.Final modeshape-3.2.0.Final modeshape-3.1.3.Final modeshape-3.1.2.Final modeshape-3.1.1.Final modeshape-3.1.0.Final modeshape-3.0.1.Final modeshape-3.0.0.Final modeshape-3.0.0.CR3 modeshape-3.0.0.CR2 modeshape-3.0.0.CR1 modeshape-3.0.0.Beta4 modeshape-3.0.0.Beta3 modeshape-3.0.0.Beta2 modeshape-3.0.0.Beta1 modeshape-3.0.0.Alpha6 modeshape-3.0.0.Alpha5 modeshape-3.0.0.Alpha4 modeshape-3.0.0.Alpha3 modeshape-3.0.0.Alpha2 modeshape-3.0.0.Alpha1 modeshape-2.8.3.Final modeshape-2.8.2.Final modeshape-2.8.1.GA modeshape-2.8.1.Final modeshape-2.8.0.Final modeshape-2.7.0.Final modeshape-2.6.0.Final modeshape-2.6.0.Beta2 modeshape-2.6.0.Beta1 modeshape-2.5.0.Final modeshape-2.5.0.Beta2 modeshape-2.5.0.Beta1 modeshape-2.4.0.Final modeshape-2.3.0.Final modeshape-2.2.0.Final modeshape-2.1.0.Final modeshape-2.0.0.Final modeshape-1.2.0.Final modeshape-1.1.0.Final modeshape-1.0.0.Final modeshape-1.0.0.Beta1 dna-0.7 dna-0.6 dna-0.5 dna-0.4 dna-0.3 dna-0.2 dna-0.1 EDS_5.3.1_2_2014 3.8.x-prod-ip6.1-ER1
Nothing to show
Commits on Jun 26, 2012
  1. Updated release notes

    rhauch committed Jun 26, 2012
  2. MODE-1525 Adding a node without specifying primary type incorrectly a…

    …ssumed "nt:unstructured"
    
    If a parent has a child node definition with a default primary node type, and a child
    (with the correct name to match the child node definition) is added without specifying
    the primary type, the child incorrectly was assigned a primary type of "nt:unstructured".
    This was because the "AbstractJcrNode.addNode(String)" method incorrectly hard-coded
    the node type to "nt:unstructured" rather than determining the child's node type from
    the parent's node type(s). Simply removing this assumption fixes the problem.
    
    Two new tests were added to replicate this problem and verify the changes do correct the
    problem.
    
    All unit and integration tests pass with these changes.
    rhauch committed Jun 26, 2012
  3. MODE-1537 Corrected how manual transactions are implemented

    ModeShape's initial support for JTA transactions included a bug that allowed this
    only to work for the first transaction. The state of that first transaction was kept,
    so ModeShape never registered a Synchronization implementation for subsequent transactions.
    Although the data was correctly persisted as part of these transactions, none of the
    events for the subsequent transactions were fired and thus the local caches became
    out of date and failed to expose the newly added/modified/deleted content.
    
    ModeShape's internal transaction abstraction was corrected and simplified so that
    the transactional state is never managed by the system but instead is referenced
    by the client code using the transactions. This does make the API slightly more complex,
    but it greatly simplifies the implementation and corrects the transactional behavior.
    
    A new integration test was added to use a SLSB with BMT to create a subgraph of nodes
    in one (or more) transactions, verify the structure (using a different transaction),
    and remove the subgraph in another transaction.
    
    All unit and integration tests pass with these changes.
    rhauch committed Jun 25, 2012
  4. MODE-1507 - Updated the AS7 kit to include the WebDav war and also ad…

    …ded an Arquillian integration test
    Horia Chiorean committed Jun 26, 2012
  5. MODE-1507 - Added the webdav modules back to the build system and fix…

    …ed the tests.
    
    Also, removed a deprecated class and implemented a real integration test which uses a WebDav client to test the exposed functionality.
    Horia Chiorean committed Jun 26, 2012
Commits on Jun 25, 2012
  1. MODE-1538 Added ability to cancel queries

    Added a Query.cancel() method that can be used to cancel currently running queries.
    Note that because the Query.execute() method blocks, canceling a query must be done
    via a separate thread. This does add some complexity to clients, but it provides
    a very useful capability to cancel long-running (or perhaps runaway) queries.
    
    All tests pass with these changes.
    rhauch committed Jun 25, 2012
Commits on Jun 22, 2012
  1. MODE-1536 Added one more set of changes

    Neglected to include this change in the previous commit
    rhauch committed Jun 22, 2012
  2. MODE-1536 Corrected use of System.nanoTime() for all platforms

    Different platforms implement System.nanoTime() differently, and it's possible that computing
    the difference between two subsequent calls to the method will be a negative number. Therefore,
    changed all the places where we're using it to use the absolute value of the difference.
    On most platforms, this won't result in any change, but on some Windows platforms this
    fix should prevent computing negative durations.
    
    All unit and integration tests pass.
    rhauch committed Jun 22, 2012
  3. MODE-1512 Corrected tests to show that the locks are being removed

    Recent changes added a close mechanism to ensure that the Hibernate Search
    SearchFactory is properly closed when the repository is closed. This mechanism
    was refined a bit, and the tests were refactored to pull the test that
    starts, uses, stops, and restarts the repository (by creating a new JcrRepository)
    instance into a separate test class to reduce the number of repositories
    that are used.
    
    All unit and integration tests pass with these changes.
    rhauch committed Jun 22, 2012
  4. MODE-1526 - Added the purge=false attribute to the local caches confi…

    …guration which preserves the data between restarts.
    
    However, this exposes the problem from MODE-1520. To work around this, we're repacking the ISPN main module and we should revert this at some point (MODE-1534)
    Horia Chiorean committed Jun 22, 2012
  5. MODE-1526 - Added code to ignore the explicit index removing on Windo…

    …ws (because it doesn't work).
    
    Also, cleaned up some tests and removed todos related to MODE-1521
    Horia Chiorean committed Jun 22, 2012
Commits on Jun 21, 2012
  1. MODE-1526 Correct persistence functionality

    The DocumentExternalizer was checking the number of bytes available for reading without blocking, and this seemed to always return 0 bytes. The DocumentExternalizer was then immediately returning without actually reading any of the content; obviously this was wrong. Now, with some minor changes to the BSON reader/writer, the DocumentExternalizer is merely always just reading the BSON document.
    
    This appears to have fixed the persistence issue, and the recently-added unit test now runs (after some modifications). Note that we're still apparently having issues with the index (native) write locks being kept after shutdown; this will be worked under MODE-1512.
    rhauch committed Jun 21, 2012
  2. MODE-1512 Close Hibernate Search when repository is shutdown

    When the repository is shutdown, we're not closing the Hibernate Search SearchFactoryImplementor. This doesn't appear to remove the index's (native) write lock; will have to consult the Hibernate Search experts for assistance.
    rhauch committed Jun 21, 2012
  3. MODE-1521 Corrected JavaDoc

    The JavaDoc was corrected to properly define parameters and to remove references to recently-removed classes.
    rhauch committed Jun 21, 2012
  4. MODE-1521 Adde support for 'put-if-absent' behavior in the Schematic …

    …Editor/Changes functionality
    
    Using the Editor framework to modify a document didn't always work correctly when used in a heavily
    concurrent way, because when some of the 'put' operations (to use an empty document) were applied they'd
    forcibly override any existing value created since the changes were recorded. Adding a 'put-if-absent'
    operation makes the changes more correctly match the semantics.
    
    All unit tests and integration tests succeed with these changes.
    rhauch committed Jun 21, 2012
  5. MODE-1526 - Added test case which indicates a problem with ISPN and S…

    …chematic entries
    Horia Chiorean committed with rhauch Jun 21, 2012
  6. MODE-1515 - Added Arquillian test for the configured sequencers. In o…

    …rder for all the sequencers to be present in the repository configuration, a workaround with a TODO was added for MODE-1521
    Horia Chiorean committed Jun 21, 2012
  7. MODE-1515 - Updated classloading mechanism used for components

    Since AS7 uses modules dedicated classloaders, it was necessary to update the way in which components (sequencers, extractors etc) are loaded. The solution was to move the classloader creation to the Environment (with the dedicated LocalEnvironment and RepsitoryService implementations)  and to use a new class loader implementation: DelegatingClassLoader. This implementation uses an inner list of class loader and delegates each operation to them. In the case of AS7, there is a delegate class loader which uses the ModuleLoader to find the classloader for each module.
    
    The changes also contain an update to the common package: the component package and most of its unused classes have been removed. The classes which are still used have been moved to .util.
    Horia Chiorean committed Jun 20, 2012
  8. MODE-1515 - Fixed passing the environment when performing an engine.u…

    …pdate. This fixes part of the problem described in https://issues.jboss.org/browse/MODE-1516
    Horia Chiorean committed Jun 19, 2012
  9. MODE-1515 - Extracted AS7 "common" module and fixed the dependencies …

    …between modules.
    
    Extracting the common module did bring up a small issue in that i18n resources from other modules (e.g. main) could not be loaded. The reason what that the ClasspathLocalizationRepository always used its own CL to load the .properties file, which doesn't work with the AS7 classloading mechanism. The solution was to simplify the loading  and always use the class loader of the i18n class which we're trying to localize.
    Horia Chiorean committed Jun 18, 2012
  10. MODE-1515 - Added a separate AS7 module for each sequencer inside the…

    … AS7 distribution kit
    Horia Chiorean committed Jun 18, 2012
Commits on Jun 20, 2012
  1. MODE-1524 Changed Infinispan Externalizer implementations

    The Infinispan Schematic Externalizers were changed from implementing AdvancedExternalizer
    (which has some benefits but also issues in AS7.1) to Externalizer (which works in all environments
    but isn't as efficient as AdvancedExternalizer).
    
    One important fix: several of the externalized classes did not have a SerializeWith annotation.
    rhauch committed Jun 20, 2012
Commits on Jun 19, 2012
  1. MODE-1492 Changed JCR TCK artifact version to 2.5.0

    This version includes several fixes for the TCK unit tests, including:
    - https://issues.apache.org/jira/browse/JCR-2662 Journaled Observation tests should check for repository support ...
    - https://issues.apache.org/jira/browse/JCR-3300 Tests should check for repository support ...
    - https://issues.apache.org/jira/browse/JCR-3307 Activities tests should check for repository support ...
    
    However, two issues are still outstanding in 2.5.0:
    - https://issues.apache.org/jira/browse/JCR-2666 (Patch submitted 5/25/12, but test fails when running Jackrabbit Core) Restore tests assert incorrectly
    - https://issues.apache.org/jira/browse/JCR-3313 (Patch submitted 5/24/12) QOM test asserts are too restrictive
    
    In addition to changing the version number of the "{{org.apache.jackrabbit.jcr-tests}}" dependency, we also had to add some properties so that the new tests used node types that had required but not auto-created properties. Once this was done, all the same TCK tests passed with no problems.
    
    All our unit tests pass with these changes.
    rhauch committed May 30, 2012
  2. MODE-1522 Changed the sequencer portion of the JSON configuration

    Previously the sequencers were defined in the JSON configuration using an array of nested
    documents. However, this made it difficult to easily identify and update a particular sequencer
    configuration. And even though the names were intended to be unique, using an array did
    not enforce that constraint. Finally, the sequencer configurations are not ordered.
    
    Now, the 'sequencing/sequencers' field in the JSON configuration files are documents,
    with the field name containing the unique name of the sequencer. The value of these
    fields are each the sequencer configuration for the given name.
    
    An error in the JSON Schema validation logic was discovered and corrected. Note that very
    few of the changes involved the production code; most changes were in fact for test code
    or configurations.
    rhauch committed Jun 19, 2012
  3. MODE-1514 Renamed JcrEngine to ModeShapeEngine

    We're trying to position ModeShape first and foremost as a distributed, hierarchical, transactional, and consistent data store
    that happens to use the JCR API for its public API. Therefore, ModeShape's engine isn't so much a "JCR engine" as it is
    just a "ModeShape engine". Thus, the renaming.
    
    All unit and integration tests pass with these changes.
    rhauch committed Jun 19, 2012
  4. MODE-1519 Several more corrections

    This commit contains several other minor corrections to ensure that the sequencers can be
    initialized correctly, and that the AS7 sample repositories are configured properly.
    rhauch committed Jun 19, 2012
Commits on Jun 18, 2012
  1. MODE-1516 Corrected repository when configuration is updated

    When a repository configuration was updated (e.g., when the sequencers are added to the repository,
    even in the configuration file), the AS7-specific Environment implementation
    was being lost, causing a problem finding the correct cache container an cache. The problem
    was that JcrRepository was not correctly transferring the Environment object to the
    new/updated RepositoryConfiguration. Once this was done, then everything seems to work
    just fine.
    rhauch committed Jun 18, 2012
  2. MODE-1519 Changed JSON configuration format to use "classname" for se…

    …quencers, extractors, and security providers
    
    These components previously used a "type" field to specify the classname or alias, whereas the AS7 configuration
    uses "classname". The names of these fields were changed to "classname" to be more consistent with the AS7 configuration.
    rhauch committed Jun 18, 2012
  3. MODE-1516 Corrected error when repository is updated

    When a repository configuration was updated (e.g., when the sequencers are added to the repository,
    even in the configuration file), the AS7-specific Environment implementation
    was being lost, causing a problem finding the correct cache container an cache. The problem
    was that JcrRepository was not correctly transferring the Environment object to the
    new/updated RepositoryConfiguration. Once this was done, then everything seems to work
    just fine.
    rhauch committed Jun 18, 2012
  4. MODE-1516 Added sequencers to second sample repository

    Added sequencer configurations to a new 'artifacts' repository in 'standalone-modeshape.xml'.
    rhauch committed Jun 18, 2012