Permalink
Commits on May 10, 2012
  1. Updated release script

    rhauch committed May 10, 2012
  2. Updated release script

    rhauch committed May 10, 2012
  3. Updated release script for 3.0

    rhauch committed May 10, 2012
Commits on May 9, 2012
  1. MODE-1480 Added support for clustering a ModeShape repository deploye…

    …d to AS7
    
    Added the ability to configure a ModeShape repository to use a named JGroups channel and
    predefined stack.
    rhauch committed May 9, 2012
  2. MODE-1480 Corrected formatting

    rhauch committed May 9, 2012
  3. MODE-1435 Continued work on ModeShape's AS7 subsystem

    With these changes, the ModeShape subsystem is working well, can be configured via the 'standalone.xml' configuration file (the kit includes a 'standalone-modeshape.xml' file with a sample repository already configured), and can be configured and managed via the AS7 Command Line Interface (CLI) tool. The latter required adding and registering OperationStepHandler implementations (e.g., RepositoryWriteAttributeHandler, SequencerWriteAttributeHandler, IndexStorageWriteAttributeHandler, and BinaryStorageWriteAttributeHandler) to make the model node attributes for the services be writable. Many of the attributes for the repository and sequencer services do not require restart, since they automatically and immediately update the configuration for the (running) repository. An AbstractRepositoryConfigurationWriteAttributeHandler class was created to centralize all this logic, and relies upon a new MappedAttributeDefinition interface was defined to supplement some of the attribute definitions with the path within the repository configuration's JSON document, allowing the abstract handler to generically update the repository configuration for any such attribute definition.
    
    The kit installs several AS7 modules: several for ModeShape (as before this change), one for the Hibernate Search engine, and one for Lucene. This commit changes the HSearch and Lucene modules to use specific slots (other than "main") so that if the Hibernate Search team (or anyone else) produces more 'standard' modules, our modules will not interfere. (I worked with Sanne Grinovero and Scott Marlow on the module IDs, so technically if they define modules with the same IDs but with 'master', our slots will merge into modules.)
    
    Additionally, prior to this commit there were a 'remove-*-binary-storage' operation for each 'add-*-binary-storage' operation, and a 'remove-*-index-storage' operation for each 'add-*-index-storage' operation. Now, the 'add-*' operations still exist, but there is only one 'remove-index-storage' operation that handles removing all index storage types, and one 'remove-binary-storage' operation that handles removing all binary storage types. This makes configuring the index and binary storage options much easier.
    rhauch committed May 9, 2012
  4. MODE-1435 Removed unnecessary (and incorrect) resource filtering

    The resource filtering specified in the 'deploy/jbossas/pom.xml' was incorrect and has not been used since the AS7 kit was first created. The assembly now does the filtering, so this section in the POM is no longer needed.
    rhauch committed May 9, 2012
  5. Corrected formatting issues

    rhauch committed May 9, 2012
  6. MODE-1479 Corrected Schematic checks for array indexes

    When getting an array element by string index, the string is converted to an integer and checked against the valid index range for the array. Unfortunately, the range check was invalid and never considered '0' to be a valid index (even when the array is not empty). This change corrects this check, and adds a test case to verify it is working.
    rhauch committed May 9, 2012
Commits on May 4, 2012
  1. MODE-1408 - Fixed the fact the new namespaces were not being persiste…

    …d but only saved in the cache, when they were registered
    
    The fix automatically fixed the original issue, meaning that events are now being fired. Also, the tests involving queries had to be updated, as now there are new nodes in the system workspace
    hchiorean committed May 4, 2012
Commits on May 3, 2012
  1. MODE-1410 - Enabled ignored tests, as the issues have been been fixed…

    … as part of MODE-1396
    hchiorean committed May 3, 2012
Commits on May 2, 2012
  1. MODE-1361 - Fixed sequencing outputPath in case when the parent of th…

    …e output node is new and has the same name as the alleged output node
    
    Also, updated the generic SequencingTest to use the sequencing events instead of Thread.sleep.
    hchiorean committed May 2, 2012
Commits on May 1, 2012
  1. MODE-1465 - Added extra information for sequencer events: user id, se…

    …quencer name, output path and selected path (from the sequencer work info)
    hchiorean committed May 1, 2012
Commits on Apr 30, 2012
  1. MODE-1460 Use flags to eliminate unnecessary grid requests

    As suggested by ISPN-1987, the SchematicEntryProxy can use the cache flags
    to eliminate sending unnecessary requests to the grid when an update occurs
    within a SchematicEntryLiteral map (similar to the changes for AtomicHashMapProxy).
    
    All tests pass with these changes.
    rhauch committed Apr 30, 2012
  2. Merge branch 'mode-1435' of https://github.com/rhauch/modeshape into …

    …rhauch-mode-1435
    rhauch committed Apr 30, 2012
  3. MODE-1423 Corrected SchematicEntryLiteral serialization

    The @SerializeWith annotation used in the SchematicEntryLiteral class was incorrectly the JavaDoc annotation, but should have been the Java annotation. This was corrected, and the AS7 kit was used to verify that the changed code correctly configures Infinispan to correctly serialize/deserialize the values.
    rhauch committed Apr 30, 2012
  4. MODE-1435 Cleaned up parent POM

    ModeShape's parent POM was cleaned up to remove some potential errors and/or warnings.
    rhauch committed Apr 30, 2012
  5. MODE-1435 Upgraded MongoDB Java driver used to test JSON/BSON I/O

    The MongoDB driver is used in some of Schematic's test cases to validate the I/O of the JSON and BSON readers and writers. The version of the MongoDB driver was upgraded to the latest; since this is only used for tests, it has no influence on any non-test artifacts.
    rhauch committed Apr 30, 2012
  6. MODE-1435 Corrected JAAS security provider

    The JAAS security provider would incorrectly throw an exception whenever it came across a Credentials implementation that it did not know about (or whose class was not accessible to the class loader).
    rhauch committed Apr 30, 2012
  7. MODE-1423 Upgraded Hibernate Search to 4.1.0.Final

    Upgraded the Hibernate Search library from 4.0.0.Final to 4.1.0.Final, and corrected a few uses of classes that changed. The build and all tests succeed with these changes.
    rhauch committed Apr 30, 2012
  8. MODE-1435 Changed invalid repository configuration exception message

    Changed the message in the exception thrown when a repository's configuration is invalid or has problems. The message now includes the list of problems.
    rhauch committed Apr 30, 2012
  9. MODE-1396 Corrected JavaDoc

    Corrected the JavaDoc for recent changes.
    rhauch committed Apr 30, 2012
  10. MODE-1435 Corrected ModeShape subsystem for AS7

    Corrected the ModeShape subsystem for AS7 so that repository deployments are done correctly and that the RESTful service now correctly exposes all repository content. Additional fixes include:
    - all dependencies are represented within AS7 modules,
    - Hibernate Search is correctly initialized,
    - the XSD for the subsystem XML is renamed to allow for more versions in the future, and
    - the XML configuration for the subsystem no longer creates empty elements
    
    The ModeShape Kit for AS7 now installs on top of AS 7.1.0.Final and will automatically start a "sample" repository.
    rhauch committed Apr 30, 2012
Commits on Apr 27, 2012
  1. MODE-1472 - Removed SLF4J from the modeshape-client.jar

    - unnecessary dependencies to slf4j have been removed
    - the LogFactory from common searches for SFL4j's API in the classpath prior to defaulting to java.util
    hchiorean committed Apr 27, 2012
Commits on Apr 26, 2012
Commits on Apr 25, 2012
  1. MODE-1464- Fixed problem with facet values which don't fit in a long …

    …- their type will be BigDecimal
    hchiorean committed with rhauch Apr 25, 2012
Commits on Apr 24, 2012
  1. MODE-1466 - Updated sequencing to keep track of the userId of the use…

    …r which triggered the sequencing, when setting the createdBy property (instead of using the default system sessions's context)
    hchiorean committed Apr 24, 2012
Commits on Apr 23, 2012
  1. MODE-1435 Refactored ModeShape subsystem for AS7

    Redesigned the XML schema for the ModeShape subsystem, incorporating all of the features
    that we'll want to have included in the configuration. Also changed significantly how
    the XML elements and attributes are processed and written, and separated them from the
    AttibuteDefinitions used in the model (which are now used to parse the XML literals into
    the model values and marshal the model values into XML). This new design was patterned
    after Infinispan's subsystem and relies more upon code provided by DMR and AS7.
    
    There are operations for adding and removing sequencers, index stores and binary stores;
    other operations will be added in later commits.
    
    Finally, a number of additional tests were added to more thoroughly test the subsystem
    and various configurations, including reading and writing the XML configurations
    and comparing to expected JSON configurations.
    
    Much of this change was patterned after the Infinispan subsystem.
    rhauch committed Mar 27, 2012