Skip to content
Commits on May 6, 2009
  1. @bcarothers-xx

    Backed DNA-396 patches from trunk into 0.4 branch

    bcarothers-xx committed May 6, 2009
    git-svn-id: https://svn.jboss.org/repos/modeshape/tags/dna-0.4@894 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @bcarothers-xx

    Backed DNA-395 patches from trunk into 0.4 branch

    bcarothers-xx committed May 6, 2009
    git-svn-id: https://svn.jboss.org/repos/modeshape/tags/dna-0.4@892 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on May 4, 2009
  1. @rhauch

    The dna-jcr-tck and dna-sequencer-esbMessage projects had the wrong v…

    rhauch committed May 4, 2009
    …ersion identifier in their POM file.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/tags/dna-0.4@883 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on May 1, 2009
  1. @rhauch

    [maven-release-plugin] copy for tag dna-0.4

    rhauch committed May 1, 2009
    git-svn-id: https://svn.jboss.org/repos/modeshape/tags/dna-0.4@873 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Apr 30, 2009
  1. @rhauch

    DNA-385 Documentation Updates for 0.4

    rhauch committed Apr 30, 2009
    Reviewed and edited both documents to bring everything up to the current state of the code.  Most parts were still accurate, but there were a number of places there were minor changes and quite a few sections that needed more work.
    
    Pending errors or other changes/suggestions, the docs are complete and accurate for this release.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@870 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @rhauch

    DNA-277 Fix all text files in source code to have consistent line feeds

    rhauch committed Apr 30, 2009
    Used Eclipse to convert line endings to Unix, which removes the CR and forces all files to have a LF line terminator.  Also added a README_COMMITTERS.txt file that specifies what should be added to a developer's subversion configuration to ensure files are always uploaded with the correct terminators.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@869 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @rhauch

    DNA-378 XML Graph Importer should support importing multi-valued prop…

    rhauch committed Apr 30, 2009
    …erties
    
    Applied the patch, which adds support for multi-valued properties as child elements (intermixed with child elements for nodes).
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@868 76366958-4244-0410-ad5e-bbfabb93f86b
  4. @rhauch

    DNA-58 Create repository configuration and component

    rhauch committed Apr 30, 2009
    Refactored the DnaConfiguration class to use more interfaces and to move those interfaces (and reusable implementations) into a Configurator class that uses generics.  DnaConfiguration instantiates a configurator, but also implements some of the high-level interfaces by delegating them to the wrapped configurator instance.  This allows DnaConfiguration to appear to be doing the configurating, but in reality it is the wrapped builder that is doing it.  Also, DnaConfiguration (or other components) can choose which "aspects" of configuration it is to expose by inheriting controlling which higher-level interfaces are implemented.  Since delegation is used, this works very well.
    
    This is a more complicated design, but it is far more extensible and reusable.  A JcrConfiguration class was also created that works in the same way as DnaConfiguration, except that it uses a different type parameter (so all the interfaces return JcrConfiguration).  It thus gets to reuse all of the Configurator logic.  However, JcrConfiguration doesn't implement all of the "aspects", essentially hiding certain services (e.g., sequencers, since they don't yet work with our implementation).
    
    This change also made a few minor corrections to the JavaDoc and visibility modifiers on the classes in the 'org.jboss.dna.jcr' package.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@867 76366958-4244-0410-ad5e-bbfabb93f86b
  5. @rhauch

    DNA-387 Federation connector does not support updates, which are requ…

    rhauch committed Apr 30, 2009
    …ired when using with the JCR implementation
    
    Added support for writes in limited scenarios (when the nodes being changed are within a single projection), and addressed a couple of issues related to the handling of UUIDs in the federation connector.  Added more unit tests, verifying the behavior is correct.  Also corrected a few errors in CopyBranchRequest, MoveBranchRequest, and CreateNodeRequest.  Finally, the repository examples (from the Getting Started document) were corrected to use our JCR implementation.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@866 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Apr 29, 2009
  1. @rhauch

    DNA-376 Add request to change the order of a child node (or nodes) re…

    rhauch committed Apr 29, 2009
    …lative to the other children
    
    Added a partial implementation of the AbstractJcrNode.orderBefore(...) method, though this partial implementation is never reached because the method still throws an UnsupportedOperationException.  This partial implementation should be completed when the Graph API has support for reordering children.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@865 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @rhauch

    DNA-388 AbstractJcrNode.getReferences() is incorrectly implemented

    rhauch committed Apr 29, 2009
    The method now throws an UnsupportedOperationException, since the method is not implemented correctly.  Also commented out some unit tests that were testing these methods.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@864 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @rhauch

    DNA-386 AbstractJcrNode Javadoc Throws Clause Are Out Of Sync

    rhauch committed Apr 29, 2009
    Removed the "@throws UnsupportedOperationException always" line from the JavaDoc of several methods.  These lines were leftovers from when the methods were indeed not implemented.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@863 76366958-4244-0410-ad5e-bbfabb93f86b
  4. @rhauch

    DNA-282 Federation connector improperly handles root-level node with …

    rhauch committed Apr 29, 2009
    …one projection of a non-root node from a single source
    
    Corrected the connector to properly handle root-level nodes in this particular case.  The problem was in how the UUIDs were being handled.  Fixed a couple of other minor issues as well.  
    
    Found another issue while getting the Getting Started repository examples running (see DNA-387).
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@862 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Apr 28, 2009
  1. @spagop

    patched of BCar

    spagop committed Apr 28, 2009
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@861 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @rhauch

    DNA-385 Documentation Updates for 0.4

    rhauch committed Apr 28, 2009
    Applied the patch that updated some of the content in the Getting Started and Reference Guide documents.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@860 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @rhauch

    DNA-384 Trouble compiling Java sequencer using Eclipse JDT and its de…

    rhauch committed Apr 28, 2009
    …pendencies
    
    Adjusted the Eclipse JDT dependency fragments, removing some of its dependencies that remain unused in the "dna-sequencer-java" project.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@859 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Apr 27, 2009
  1. @rhauch

    DNA-383 dna-jcr-tck Project Keeps Getting Out Of Sync With dna-jcr Pr…

    rhauch committed Apr 27, 2009
    …oject
    
    Applied the patch, which removes the redundant files in dna-jcr-tck and fixes the POM.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@858 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @rhauch

    DNA-374 Multiplicity of some properties may change when saved and rel…

    rhauch committed Apr 27, 2009
    …oaded from the graph
    
    Added a patch that fixes this issue by maintaining a hidden property to store the names of the properties that use multi-valued definitions but that have only one value.  This property is persisted as required, but is also cleaned up if it is empty or no longer needed.
    
    The patch also moves the "dna:nodeDefinition" and this new property into a new "dnaint" namespace.  This allows some of the code to just check the namespace to know whether properties should be hidden from the JCR view.
    
    Committed the patch, which also added in a number of commented-out TCK unit tests.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@857 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Apr 23, 2009
  1. @rhauch

    DNA-58 Create repository configuration and component

    rhauch committed Apr 23, 2009
    Minor change to allow the configuration to have more than one PathExpression in any sequencer.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@856 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @rhauch

    DNA-382 Workspace.move Is Not Supported

    rhauch committed Apr 23, 2009
    Applied the patch to implement Workspace.move
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@855 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @rhauch

    DNA-364 Session.move Is Not Implemented

    rhauch committed Apr 23, 2009
    Applied the patch.  Some changes were required, as the before code was a little different than the patch was expecting.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@854 76366958-4244-0410-ad5e-bbfabb93f86b
  4. @rhauch

    DNA-365 Workspace.importXml and getContentHandler Are Not Implemented

    rhauch committed Apr 23, 2009
    DNA-369 Nodes Can Be Saved Without Mandatory Properties or Child Nodes Present
    
    Applied the patches from these two issues.  Unfortunately, they couldn't easily be applied separately.
    
    Note that several TCK unit tests had to be commented out (relative to the patch), since they must be testing behavior that is not yet committed to trunk.  (There were a few regressions, but it looks like they're actually related to DNA-374.)
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@853 76366958-4244-0410-ad5e-bbfabb93f86b
  5. @rhauch

    Corrected POM.xml file to add back in the projects that were temporar…

    rhauch committed Apr 23, 2009
    …ily commented out
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@852 76366958-4244-0410-ad5e-bbfabb93f86b
  6. @rhauch

    DNA-58 Create repository configuration and component

    rhauch committed Apr 23, 2009
    Minor change to allow a subclass to define the SessionFactory used by the SequencingService.  The configuration for the JCR engine may need to provide its own SessionFactory implementation (or instance).
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@851 76366958-4244-0410-ad5e-bbfabb93f86b
  7. @rhauch

    DNA-58 Create repository configuration and component

    rhauch committed Apr 23, 2009
    Changed DnaConfiguration to make it more tolernant of changes to the source pointing to the configuration repository.  In particular, this allows the DnaEngine to obtain an immutable definition of the configuration source, which allows the engine to properly access the source even if the DnaConfiguration instance is changed.
    
    The DnaEngine was also refactored to pull into a nested scanner class the code that reads the configuration content.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@850 76366958-4244-0410-ad5e-bbfabb93f86b
  8. @rhauch

    DNA-58 Create repository configuration and component

    rhauch committed Apr 23, 2009
    Refactored the DnaConfiguration to make use of the graph repository for storing the configuration.  When used, the DnaConfiguration instance persists all the information to this graph, where it can be read and used.  A "save()" method was added to allow the code using the DnaConfiguration instance to control when the content is updated.  (This also simplified the unit testing, since it's very easy to check the graph content after the DnaConfiguration methods are used.)  The DnaEngine was then updated to read the configuration repository content and to instantiate and set up the services.
    
    This "configuration repository" defaults to an in-memory repository, but can be set up to use a particular RepositorySource instance (that has already been set up) or to reflectively create an instance given the class name, optional class loader, and various (implementation-specific) Java bean properties.  
    
    This means that in the simplest case, one can simply create a DnaConfiguration and configure the sequencers, sources, detectors, etc.  It also makes it very simple to "read" an XML file with the configuration, since that just uses the XML graph importer.  But using a configuration repository shines in the more advanced cases, such as when a process participates in a cluster.  Here, the process can create a DnaConfiguration, very easily set it up to use a shared (and remote) configuration repository (that already has the content), and without any other work immediately build the DnaEngine.
    
    Using a graph as the configuration repository also means that any changes to the configuration could be monitored via graph events, allowing the DnaEngine to monitor any changes and dynamically alter its services.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@849 76366958-4244-0410-ad5e-bbfabb93f86b
  9. @rhauch

    DNA-381 The Graph API should allow creating a node if it does not alr…

    rhauch committed Apr 23, 2009
    …eady exist
    
    Added "createIfMissing(...)" methods that mirror the "create(...)" methods, but which use a different NodeConflictBehavior setting.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@848 76366958-4244-0410-ad5e-bbfabb93f86b
  10. @rhauch

    DNA-380 The inflector is not lowercasing the first character in the '…

    rhauch committed Apr 23, 2009
    …camelCase(...)' method
    
    Corrected the camelCase(...)  method to lowercase the first character per the JavaDoc.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@847 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Apr 22, 2009
  1. @rhauch

    DNA-58 Create repository configuration and component

    rhauch committed Apr 22, 2009
    Applied the second patch, which added DnaConfiguration and DnaEngine classes (along with test cases), and the MimeTypeDetectorConfig class (and its test cases).
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@846 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @rhauch

    DNA-58 Create repository configuration and component

    rhauch committed Apr 22, 2009
    Applied the first patch ("") and a small part of the second (""), which enhanced ComponentConfig to allow properties that are set reflectively on the components when they are instantiated.  Subclasses of ComponentConfig were also modified, as were the test cases.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@845 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @rhauch

    DNA-364 Session.move Is Not Implemented

    rhauch committed Apr 22, 2009
    Applied the patch, which implements the spec and passes the TCK unit tests.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@844 76366958-4244-0410-ad5e-bbfabb93f86b
  4. @rhauch

    DNA-377 AbstractJcrNode.addNode(String relPath) Throws Wrong Exceptio…

    rhauch committed Apr 22, 2009
    …n if relPath Has Form PropertyName/NodeName
    
    Applied the patch that handles a path of exactly 2 segments, so that the proper exception is thrown.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@843 76366958-4244-0410-ad5e-bbfabb93f86b
  5. @rhauch

    DNA-375 Enhance MoveBranchRequest to take a new name, analogous to ho…

    rhauch committed Apr 22, 2009
    …w CopyBranchRequest works
    
    Changed the connector API's MoveBranchRequest to have a new desiredName() field, and changed the writable connectors to implement these new semantics.  Also expose this through the Graph API.  Added several tests to the connector unit test framework to test for these additional move behaviors.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@842 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Apr 20, 2009
  1. @rhauch

    DNA-363 Define node types via CND files

    rhauch committed Apr 20, 2009
    Changed the DNA CND Sequencer to use the new CND importer.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@841 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @rhauch

    DNA-363 Define node types via CND files

    rhauch committed Apr 20, 2009
    Added a new 'dna-cnd' project containing a graph importer that reads JCR CND files and populates a repository with the content (based upon the JCR 'nt:nodeType', 'nt:propertyDefinition', and 'nt:childNodeDefinition').
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@840 76366958-4244-0410-ad5e-bbfabb93f86b
Something went wrong with that request. Please try again.