You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Jun Gan (Jira)" <ji...@apache.org> on 2020/05/19 14:44:00 UTC

[jira] [Updated] (SCB-1905) Refactor Registry Factory Architecture and Interface

     [ https://issues.apache.org/jira/browse/SCB-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jun Gan updated SCB-1905:
-------------------------
    Summary: Refactor Registry Factory Architecture and Interface  (was: [Refactor service-registry Module] Refactor Registry Factory architecture)

> Refactor Registry Factory Architecture and Interface
> ----------------------------------------------------
>
>                 Key: SCB-1905
>                 URL: https://issues.apache.org/jira/browse/SCB-1905
>             Project: Apache ServiceComb
>          Issue Type: Task
>            Reporter: Jun Gan
>            Priority: Major
>         Attachments: image-2020-05-14-15-41-33-706.png
>
>
> Currently, the factory design is based on static factory pattern, which means, if we have to add new registry mechanism , we need to modify this static factory class (i.e. ServiceRegistryFactory.java). This design doesn't follow *O*pen/Closed Principle design principal. We should refactor to adopt factory method design pattern. i.e. each registry mechanism has its own factory classs.
> !image-2020-05-14-15-41-33-706.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)