[infinispan-issues] [JBoss JIRA] Created: (ISPN-1189) config schema - clustering mode should validate format of the string

Michal Linhard (JIRA) jira-events at lists.jboss.org
Thu Jun 16 06:42:23 EDT 2011


config schema - clustering mode should validate format of the string
--------------------------------------------------------------------

                 Key: ISPN-1189
                 URL: https://issues.jboss.org/browse/ISPN-1189
             Project: Infinispan
          Issue Type: Enhancement
          Components: Configuration
    Affects Versions: 5.0.0.CR5
            Reporter: Michal Linhard
            Assignee: Manik Surtani
            Priority: Minor


currently the schema for the clustering mode says it's a string and
the mode is decided by first letter of the string. this means that any garbage starting with the correct letter may lead to use of a specific mode e.g.:

lasjadgadfg -> local
rhdbhgh -> replication
dfghbmjfgh -> distribution
IlkHhdf -> invalidation

what about forcing only the documented values
"For distribution, set mode to either 'd', 'dist' or 'distribution'. For replication, use either 'r', 'repl' or 'replication'. Finally, for invalidation, 'i', 'inv' or 'invalidation'."
+ LOCAL



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list