Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MODE-1522 Changed the sequencer portion of the JSON configuration #413

Merged
merged 1 commit into from Jun 19, 2012

Conversation

rhauch
Copy link
Contributor

@rhauch rhauch commented Jun 19, 2012

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.

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 rhauch merged commit b17efd0 into ModeShape:master Jun 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant