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-1519 Changed JSON configuration format to use "classname" for components #411

Merged
merged 3 commits into from Jun 19, 2012

Conversation

rhauch
Copy link
Contributor

@rhauch rhauch commented Jun 18, 2012

The sequencers, extractors, and security providers previously used a "type" field to specify the classname or alias, whereas the AS7 configuration uses "classname". The names of these fields were changed to "classname" to be more consistent with the AS7 configuration.

Note that the binary storage, index storage, and other components are still configured with a "type" field, because that field does not specify a classname, but is instead used as a switch within the JSON Schema.

All unit and integration tests pass with these changes.

…quencers, extractors, and security providers

These components previously used a "type" field to specify the classname or alias, whereas the AS7 configuration
uses "classname". The names of these fields were changed to "classname" to be more consistent with the AS7 configuration.
When a repository configuration was updated (e.g., when the sequencers are added to the repository,
even in the configuration file), the AS7-specific Environment implementation
was being lost, causing a problem finding the correct cache container an cache. The problem
was that JcrRepository was not correctly transferring the Environment object to the
new/updated RepositoryConfiguration. Once this was done, then everything seems to work
just fine.
This commit contains several other minor corrections to ensure that the sequencers can be
initialized correctly, and that the AS7 sample repositories are configured properly.
@rhauch rhauch merged commit 641a1d8 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