terrymanu opened a new issue #11669:
URL: https://github.com/apache/shardingsphere/issues/11669


   The governance module is the master feature in the product. 
   I just consider about refactor it to plugged features by the plugged 
architecture.
   
   The current YAML configuration is:
   
   ```yaml
   governance:
     registryCenter:
       type: ZooKeeper
       namespace: governance_ds
       serverLists: localhost:2181
     overwrite: false
   
   rules:
     - !AUTHORITY
       users:
         - root@%:root
       provider:
         type: NATIVE
   ```
   
   It should be changed to:
   
   ```yaml
   rules:
     - !AUTHORITY
       users:
         - root@%:root
       provider:
         type: NATIVE
     
     - !GOVERNANCE
       registryCenter:
         type: ZooKeeper
         namespace: governance_ds
         serverLists: localhost:2181
       overwrite: false
   ```
   
   The tasks are:
   
   - [ ] Proxy YAML configuration change
   - [ ] JDBC YAML configuration change
   - [ ] JDBC java API change
   - [ ] JDBC spring namespace change
   - [ ] JDBC spring boot starter change
   - [ ] Move governance module from top level to the submodule of feature
   - [ ] Adjust DistMetadataPersistService as plugged rule
   - [ ] Resolve conflict if independent DistMetadataPersistService rule and 
governance rule in the same config file
   
   After finish all tasks, I prefer to discuss about change governance module 
name to cluster.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to