[JBoss JIRA] (ISPN-6686) Improve fluency of persistent store configuration builders
by Sebastian Łaskawiec (JIRA)
[ https://issues.jboss.org/browse/ISPN-6686?page=com.atlassian.jira.plugin.... ]
Sebastian Łaskawiec reassigned ISPN-6686:
-----------------------------------------
Assignee: Krzysztof Sobolewski
> Improve fluency of persistent store configuration builders
> ----------------------------------------------------------
>
> Key: ISPN-6686
> URL: https://issues.jboss.org/browse/ISPN-6686
> Project: Infinispan
> Issue Type: Enhancement
> Components: Configuration, Loaders and Stores
> Affects Versions: 8.2.2.Final
> Reporter: Krzysztof Sobolewski
> Assignee: Krzysztof Sobolewski
>
> Configuration of cache stores has some fluency issues. I'd like to do:
> {code:java}
> ConfigurationBuilder builder = ...;
> builder
> .persistence()
> .addStore(JdbcStringBasedStoreConfigurationBuilder.class)
> .dialect(...)
> .table() // <- compilation error
> ...
> .connectionPool() // <- compilation error
> ...;
> {code}
> but I'm forced to do:
> {code:java}
> ConfigurationBuilder builder = ...;
> JdbcStringBasedStoreConfigurationBuilder store = builder
> .persistence()
> .addStore(JdbcStringBasedStoreConfigurationBuilder.class)
> .dialect(...);
> store
> .table()
> ...;
> store
> .connectionPool()
> ...;
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months
[JBoss JIRA] (ISPN-6777) Improve Cache Stores configuration screen
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-6777?page=com.atlassian.jira.plugin.... ]
Ryan Emerson reassigned ISPN-6777:
----------------------------------
Assignee: Ryan Emerson (was: Vladimir Blagojevic)
> Improve Cache Stores configuration screen
> -----------------------------------------
>
> Key: ISPN-6777
> URL: https://issues.jboss.org/browse/ISPN-6777
> Project: Infinispan
> Issue Type: Feature Request
> Components: Console
> Reporter: Pedro Zapata
> Assignee: Ryan Emerson
> Fix For: 9.0.0.Beta2
>
>
> Infinispan administrators should be able to select and configure any cache store easily, without having to enter class names and other free-form properties.
> Only one tab ‘Cache store’ will be displayed in the cache configuration options
> The user will have the option to select a type of store from the list (Single File, LevelDB, …) + the option ‘NONE’
> When the option is changed, all the generic + specific properties will be shown below.
> Properties should be presented as combos, if they are enumerable. For example, class (if there’s a way of filtering all implementing classes in classpath).
> Sensible defaults should be set.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months