Permalink
Commits on Oct 3, 2012
  1. MODE-1662 - Cleaned up the "connect" role, updating the documentation…

    … in the web.xml files where it's being used and removing any internal usages
    hchiorean committed with rhauch Oct 3, 2012
  2. MODE-1266 use different http status codes in case of jcr exceptions a…

    …nd added some more loggings in case of exceptions
    kosch committed with rhauch Oct 3, 2012
Commits on Oct 2, 2012
  1. MODE-1659 Changed new REST service to support same-name-siblings

    This was an oversight in the original implementation, and has been resolved and verified with additional tests.
    rhauch committed Oct 2, 2012
  2. MODE-1656 Repositories are always calling Environment.shutdown

    It is now the responsibility of the Environment implementations to know what to do when shutdown is called.
    The JBoss AS service does nothing, but the LocalEnvironment does attempt to shutdown all containers (though
    there is now a way to set a LocalEnvironment instance as being "shared", which means shutdown does nothing).
    The LocalEnvironment class can be extended for custom logic.
    
    All unit and integration tests pass with these changes.
    rhauch committed Oct 2, 2012
  3. MODE-1655 Corrected namespace registration logic

    Added code that validates supplied namespace prefixes to see if they are valid JCR names. Also added a test case.
    rhauch committed Oct 2, 2012
  4. MODE-1646 Changed the Server object in the REST client to know whethe…

    …r it's validated
    
    The REST client's Server object was changed to know about the validated and original URLs, and
    whether it was validated. This will make it easier for applications using the client to know
    more about the Server's state and make it easier to track the original URL.
    rhauch committed Oct 2, 2012
Commits on Oct 1, 2012
  1. MODE-1654 Corrected the binding of the 'mode:depth' column to the values

    The tuple collector inserts the actual values for the pseudo-columns from the actual node, but was incorrectly
    binding the local name to the 'mode:depth' result set column. This was corrected to fix the issue.
    rhauch committed Oct 1, 2012
  2. MODE-1629 Changed the Teiid CNDs so that all property definitions wit…

    …h defaults are autocreated
    
    This better represents what the Teiid sequencer is expecting, and is compatible with the JCR behavior.
    Also changed the ModelSequencerTest to verify that the properties with the default values are indeed created.
    rhauch committed Oct 1, 2012
  3. MODE-1629 Changed the Teiid CNDs so that all property definitions wit…

    …h defaults are autocreated
    
    This better represents what the Teiid sequencer is expecting, and is compatible with the JCR behavior.
    rhauch committed Oct 1, 2012
  4. MODE-1629 Added tests to confirm existing behavior is correct re prop…

    …erty definitions & defaults
    
    Added a few tests to confirm that ModeShape's existing behavior regarding property definitions with default
    values is correct: if the property definition has a default value but is not autocreated, the default value
    is ignored; if the property definition has a default value and is autocreated, then the property is created
    immediately using the default value.
    rhauch committed Oct 1, 2012
  5. MODE-1619 - Added a new method on the IRestClient interface, which ch…

    …ecks the existence of a file on the server
    
    Also, fixed the log4j appender pattern for some of the test modules.
    hchiorean committed Oct 1, 2012
  6. MODE-1648 Added several Maven BOMs for ModeShape clients

    This commit adds several Maven BOMs that make it much easier for Maven-based applications and libraries
    to add the necessary ModeShape dependencies as a consistent stack with the correct versions of ModeShape
    components and third-party dependencies.
    
    Unfortunately, I couldn't find a way to make the existing parent POM file extend or use these BOMs.
    Therefore, the parent BOM and existing parent POM both contain properties defining the versions of all
    dependencies. (Note that the BOMs should not extend the JBoss Parent POM, which our existing parent POM
    does. This is the major source of contention.) However, if may be able to figure out how to share the
    property definitions in a way that is transparent to clients that use the BOMs.
    
    Note that these BOMs were tested by updating the example modules in the 'modeshape-examples' Git repository
    and the module in the 'modeshape-performance' Git repository that uses the latest (post-Beta4) release of
    ModeShape.
    rhauch committed Sep 28, 2012
  7. MODE-1646 REST client can now be used to talk to 3.x and 2.x servers

    Because of the improvements/changes in the RESTful API in 3.0, using the REST client required using slightly
    different URLs to talk to 3.x vs 2.x servers. The reason is that the REST client still uses the older REST API,
    and the URL for the older API is different on 3.x servers.
    
    Although it was not feasible to transparently and automatically discover the correct URL given the actual server
    the client talks to, it was possible to add a new method that does this. There is now a "validate(Server):Server"
    method on the IRestClient interface, and this method can be used to validate a Server instance with a normal
    URL (that is, excluding the API version qualifier) based upon the actual server. The method returns a new
    Server instance that should be used for all subsequent communications.
    
    Note that clients that don't take advantage of this new method can still work, as long as the URL ends with "/v1" for
    3.x servers.
    rhauch committed Oct 1, 2012
Commits on Sep 28, 2012
  1. MODE-1613- Fixed caching of node paths (via parentReferenceToSelf) in…

    … the case of SNS. The solution was to check that the parent of the actual cached children reference isn't stale.
    hchiorean committed Sep 28, 2012
Commits on Sep 27, 2012
  1. MODE-1649 Added support for using programmatically-created Infinispan…

    … components
    
    Changed LocalEnvironment to enable easily using Infinispan cache and cache containers
    instances. Also added more documentation.
    rhauch committed Sep 27, 2012
  2. MODE-1563 - Added mechanism for executing repository initialization o…

    …perations only once (the first startup of an empty repository) and moved the initial content import into that section.
    
    In addition, had to correct all the tests which make assumptions about the/ jcr:system content.
    hchiorean committed Sep 27, 2012
  3. MODE-1563 - Integrated the initial content feature with the AS7 subsy…

    …stem, including an integration test
    hchiorean committed Sep 27, 2012
Commits on Sep 26, 2012
Commits on Sep 25, 2012
Commits on Sep 24, 2012
Commits on Sep 20, 2012
  1. MODE-1639 Added log message.

    rhauch committed Sep 20, 2012