Skip to content

Commit

Permalink
Add CC plugin design (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
asifdxtreme authored and tianxiaoliang committed Jul 23, 2018
1 parent eadbf95 commit 6c1c4c4
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 7 deletions.
9 changes: 9 additions & 0 deletions docs/design-guides.rst
@@ -0,0 +1,9 @@
Design guides
=========================

.. toctree::
:maxdepth: 4
:glob:

design-guides/cc-plugin

15 changes: 15 additions & 0 deletions docs/design-guides/cc-plugin.rst
@@ -0,0 +1,15 @@
Config Client Plugin
====================

Config Client
#############
Go-Chassis provides the functionality to pull the configs from different config-centers, to keep the go-chassis extensible to support multiple config-center this Client was implemented as a plugin.

More Details of the plugin can be found `here <../dev-guides/archaius-config-source-plugin>`_

Currently Go-Chassis has two implementation of this plugin for Huawei Config-Center and Ctrip Apollo Config-Center.

Basic Sequence diagram for this plugin is given below.

.. image:: images/CC-Plugin.png
:alt: CC Plugin Sequence Diagram
Binary file added docs/design-guides/images/CC-Plugin.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions docs/dev-guides.rst
Expand Up @@ -2,12 +2,12 @@ Development guides
=========================

.. toctree::
:maxdepth: 4
:glob:
:maxdepth: 4
:glob:

dev-guides/how-to-implement-handler
dev-guides/archaius
dev-guides/archaius-config-source-plugin
dev-guides/how-to-write-cipher
dev-guides/how-to-extend-protocol
dev-guides/how-to-implement-handler
dev-guides/archaius
dev-guides/archaius-config-source-plugin
dev-guides/how-to-write-cipher
dev-guides/how-to-extend-protocol

5 changes: 5 additions & 0 deletions docs/index.rst
Expand Up @@ -22,6 +22,11 @@ Welcome to go-chassis's documentation!

dev-guides

.. toctree::
:maxdepth: 2
:caption: Design Documentations

design-guides



Expand Down

0 comments on commit 6c1c4c4

Please sign in to comment.