[jboss-jira] [JBoss JIRA] (WFLY-12775) Deconstruct wildfly-clustering-common

Paul Ferraro (Jira) issues at jboss.org
Mon Nov 11 16:14:00 EST 2019


Paul Ferraro created WFLY-12775:
-----------------------------------

             Summary: Deconstruct wildfly-clustering-common
                 Key: WFLY-12775
                 URL: https://issues.jboss.org/browse/WFLY-12775
             Project: WildFly
          Issue Type: Task
          Components: Clustering
    Affects Versions: 18.0.0.Final
            Reporter: Paul Ferraro
            Assignee: Paul Ferraro


wildfly-clustering-common began as a module to house code common to clustering-related subsystem modules (e.g. infinispan, jgroups, singleton, mod_cluster, etc).  While this module is currently still a dumping ground of sorts, the majority of the code contained within makes up a framework for quickly building and evolving subsystems, with minimal boilerplate code, including:

* Simplified model/operation/attribute/metric registration
* Interfaces for enumerating schema and management model versions, used for parameterizing parsers and transfomers
* Generic add/remove operation handlers with a clean distinction between runtime behavior and model behavior.
* Mechanisms for easily renaming/relocating management attributes
* Abstractions for using capabilities
* Generic Resource decorator augmented to support additional runtime children.
* Abstractions for correctly implementing runtime operations and metrics using values from an MSC service
* Abstractions for complex transformers

On top of subsystem development abstractions, this module also contains:
* Abstractions for contextual execution
** Move to separate module
* Service configurator for JNDI bindings
** Move to separate module
* Helper methods for obtaining optional model values
** These are largely redundant now
* Common Function/Predicate/Consumer implementations
** These can likely be replaced with implementations from wildfly-common or guava

Once cleaned up, and excess dependencies eliminated, we can rename it to something more descriptive (e.g. wildfly-subsystem).



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list