Permalink
Commits on Aug 4, 2010
  1. Added the SCM URL as it is now required by the JBoss Maven repository…

    … staging promotion rules.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/tags/modeshape-2.1.0.Final@2100 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Aug 4, 2010
  2. MODE-813 Changed the JBoss AS kit assembly specification to not use a…

    … dependency set. Apparently this causes a problem when called from within the parent module because during the assembly plugin the assembly operation is determined in the parent before the child modules are built. (See http://mail-archives.apache.org/mod_mbox/maven-users/200709.mbox/%3C9AB4FF82-4097-4391-B1DC-9C7A7217D9E0@commonjava.org%3E for more information.) The changes convert the dependencySet into a fileSet, and everything appears to work just file, including during a full integration build.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2096 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Aug 4, 2010
Commits on Aug 3, 2010
  1. MODE-637 - Adding repository discovery

    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2094 76366958-4244-0410-ad5e-bbfabb93f86b
    tejones committed Aug 3, 2010
  2. Merge branch 'patches'

    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2093 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Aug 3, 2010
  3. MODE-637 - Adding repository discovery

    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2092 76366958-4244-0410-ad5e-bbfabb93f86b
    tejones committed Aug 3, 2010
  4. MODE-637 - Adding repository discovery

    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2091 76366958-4244-0410-ad5e-bbfabb93f86b
    tejones committed Aug 3, 2010
Commits on Aug 2, 2010
  1. MODE-637 - Removing unnecessary serialization of class and transient …

    …variables
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2090 76366958-4244-0410-ad5e-bbfabb93f86b
    tejones committed Aug 2, 2010
  2. MODE-637 - Changes to ManagedEngine to allow operations to be execute…

    …d from Jopr
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2089 76366958-4244-0410-ad5e-bbfabb93f86b
    tejones committed Aug 2, 2010
  3. Added more language about the JDBC driver and JBoss AS console plugin…

    … being technology previews.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2088 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Aug 2, 2010
  4. MODE-840 Implemented several of the methods in JcrQueryResult that we…

    …re previously just throwing UnsupportedOperationException. Also added a new integration test for testing the query/search of a repository backed by a file system connector. All unit and integration tests pass.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2087 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Aug 2, 2010
  5. MODE-637 - Add REPOSITORY_NAME constant

    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2085 76366958-4244-0410-ad5e-bbfabb93f86b
    tejones committed Aug 2, 2010
  6. MODE-737: Adding descriptors to the JCREngine and method to return ve…

    …rsion
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2084 76366958-4244-0410-ad5e-bbfabb93f86b
    tejones committed Aug 2, 2010
  7. MODE-810 Corrected various compiler warnings, and corrected the Seque…

    …ncerTest, which regressed recently.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2083 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Aug 2, 2010
  8. MODE-794 Updated the Getting Started and Reference Guide documents wi…

    …th information about the shareable nodes feature.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2082 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Aug 2, 2010
  9. MODE-813 : delete managedConfigRespository.xml due to name change to …

    …modeshape-config.xml,
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2081 76366958-4244-0410-ad5e-bbfabb93f86b
    vhalbert committed Aug 2, 2010
  10. MODE-813 : changes so that the default respository "mode:repository" …

    …is changed to "repository", updated doc's references to mode:repository and renamed managedConfigRespository.xml to modeshape-config.xml,
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2080 76366958-4244-0410-ad5e-bbfabb93f86b
    vhalbert committed Aug 2, 2010
  11. MODE-783 - Fix the JsonRestClient so that it no longer uses a default…

    … repository when one is not specified, it now must be passed in.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2079 76366958-4244-0410-ad5e-bbfabb93f86b
    vhalbert committed Aug 2, 2010
  12. MODE-783 - Fix the JsonRestClient so that it no longer uses a default…

    … repository when one is not specified, it now must be passed in.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2078 76366958-4244-0410-ad5e-bbfabb93f86b
    vhalbert committed Aug 2, 2010
  13. MODE-810 RepositoryNodeTypeManager should respond when stored node ty…

    …pes are changed (in clustered environment)
    
    Applied a patch that makes RepositoryNodeTypeManager implement JcrSystemObserver and be registered in JcrRepository.  This allows RTNM to listen for changes to the registered node types in the system graph and update itself accordingly.  The current implementation is fairly brutish in that any change to the projected node types causes other nodes in the cluster to reload their entire node type hierarchy.  A separate defect will be opened to optimize this in the future.  Test cases have been added for node type registration and unregistration in a cluster.
    
    The patch makes a number of ancillary changes.  First, the default value of the PROJECT_NODE_TYPES option in JcrRepository was changed from false to true.  The node type clustering piece works by listening for changes to that projection.  Any repository that does not project node types will not work correctly in a cluster.  Changing this value did not seem to have an appreciable impact on the total execution time for the TCK test on my local machine.
    
    A bug in JcrNodeTypeManager.createNodeTypeTemplate(NodeTypeDefinition) was identified and corrected.  JNTM was previously not properly setting values on any child nodes in the new node type template.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2077 76366958-4244-0410-ad5e-bbfabb93f86b
    bcarothers-xx committed Aug 2, 2010
Commits on Aug 1, 2010
  1. MODE-806 Corrected import of Base64.

    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2076 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Aug 1, 2010
  2. MODE-806 RESTful server should allow queries to be executed

    Applied a patch that adds a new URI pattern (/<context root>/<repository name>/<workspace name>/query) for query support.  Users can execute a query by POSTing a request to that URI with the unencoded query in the body of the message and a content type that specifies which language to use.  The REST server will then execute that query in the workspace described by the URI.
    
    The query results will be returned as a JSON-encoded object with two properties: types, which maps the column names in the query results to their JCR type, and rows, which contains a JSON-encoded array of rows.  Each element in the rows array corresponds to a single row in the query results and each element is a JSON object that maps column names to their value for that particular row.  The types property relies on ModeShape-specific functionality and will not contain any mappings if the REST server is configured to use another JCR implementation.
    
    This patch also updates the REST client to add a new query method that returns a list of QueryRow objects.  Each QueryRow provides a collection of column names in the row, the t value for a named column, and the type for a named column.  The type of the column will always be null if a JCR implementation other than ModeShape is used.
    
    This patch includes Randall's suggestion to perform case-insensitive compares in the JsonRestClient when determining the query language.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2075 76366958-4244-0410-ad5e-bbfabb93f86b
    bcarothers-xx committed Aug 1, 2010
  3. MODE-813 Updated the documentation to describe the new JDBC and JBoss…

    … AS modules. Plus, the deployment sections of the Getting Started and Reference Guides were both updated to document the new JBoss AS kit, what it contains, and how to take advantage of it.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2074 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Aug 1, 2010
Commits on Jul 31, 2010
  1. MODE-822 Corrected the Getting Started guide (and the Reference Guide…

    …) to better describe the various URL formats and to state more clearly that 'classpath:' URLs can't necessarily be used in all environments. I also took the opportunity to refine the description of how to use the RepositoryFactory, including how to shutdown ModeShape via the extended RepositoryFactory.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2073 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Jul 31, 2010
  2. MODE-838 Fixed the XPathQueryResult class in a similar way to what wa…

    …s done to the JcrSqlQueryResult class for MODE-773: simply keep a list of the types (like the names) in the subclass. Added a new unit test to verify the desired behavior, and all unit and integration tests pass.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2072 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Jul 31, 2010
  3. MODE-837 Corrected several CND files that used the older MULTIPLE key…

    …words, and also changed the CND import flag to 'true' to allow pre-JCR 2.0 CND formats. All unit and integration tests run.
    
    I also created an integration test that configures an engine with all of the sequencer and connector CND files, and in the process I noticed that it was difficult to specify a lot of (longer) CND file paths and keep the XML readable. So I changed JcrEngine to treat the 'mode:resources' property on 'jcr:nodeTypes',  as a multi-valued property (where each value can contain a comma-delimited list of CND paths).
    
    he Reference Guide was updated to reflect this. Again, all unit and integration tests pass.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2071 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Jul 31, 2010
Commits on Jul 30, 2010
  1. MODE-836 Corrected the AbstractJcrItem.getSession() method to no long…

    …er check the validity of the session. The method now just returns the session immediately, allowing clients to call this method and then call isLive() on the session.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2070 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Jul 30, 2010
  2. MODE-835 Corrected the property type (from 'int' to 'long') of one of…

    … the node type definitions in the JDBC Metadata Connector's CND.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2069 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Jul 30, 2010
  3. Fixed NPE in SimpleProblems class

    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2068 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Jul 30, 2010
  4. MODE-834 The XPath-to-JCRSQL2 translator was not inserting any specia…

    …l pattern for any path segment missing a literal SNS index value. And thus the XPath behavior was identical to the JCR-SQL and JCR-SQL2 behavior. However, this was incorrect.
    
    Therefore, the fix is to change the translator to insert '[%]' into the JCR-SQL2 PATH(...) expression for each path segment missing an SNS index. This way the JCR-SQL and JCR-SQL2 behaviors remain the same, while the XPath behavior is corrected. Several new test cases were added to verify this new XPath behavior. All unit and integration tests pass. And the Reference Guide was updated to correct some of the XPath examples and to correctly describe the behavior.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2067 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Jul 30, 2010
  5. MODE-783 - JsonRestClient is what's used by the modeshape eclipse plu…

    …gin for publishing files. It's been updated with the ability to be run as an application so that it can be run from the command line and scripted for automation purposes. Also, a commandline kit will be packaged during assembly that will include the jar-with-dependencies.jar and the restclient.sh script.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2066 76366958-4244-0410-ad5e-bbfabb93f86b
    vhalbert committed Jul 30, 2010
Commits on Jul 29, 2010
  1. MODE-830 Corrected the JavaDoc and Reference Guide documentation to u…

    …se 'getNodeTypeDefinitions()' and to show passing a Session reference into the constructor. Also overrode several methods in JackrabbitXmlNodeTypeReader and CndNodeTypeReader classes so that they appear to developers (as the GraphNodeTypeReader abstract base class is not public).
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2065 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Jul 29, 2010
  2. MODE-813 Corrected the Eclipse .classpath files to include the correc…

    …t folders under 'src' in each of these modules.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@2064 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Jul 29, 2010