From eab6a2ec8c238a9c3012e7862fcb9f0199844903 Mon Sep 17 00:00:00 2001 From: dongwenjuan Date: Mon, 7 Nov 2016 10:16:47 +0800 Subject: [PATCH] fix the parameter type of input and output Change-Id: Ie6dda854d808abddc7380610f5f1e157c520166e Signed-off-by: dongwenjuan --- doc/source/add-new-datasource.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/source/add-new-datasource.rst b/doc/source/add-new-datasource.rst index 5f175e5e8..3e419a7e3 100644 --- a/doc/source/add-new-datasource.rst +++ b/doc/source/add-new-datasource.rst @@ -72,13 +72,13 @@ and must implement the following methods: +----------------------+------------------------------------+--------------------------------+--------------------------------+ | Name | Input | Output | Comments | +======================+====================================+================================+================================+ -| get_all | sync mode | void | for snapshot mechanism | +| get_all | sync mode | entities | for snapshot mechanism | +----------------------+------------------------------------+--------------------------------+--------------------------------+ -| get_changes | sync mode | void | for update pulling mechanism | +| get_changes | sync mode | entities | for update pulling mechanism | +----------------------+------------------------------------+--------------------------------+--------------------------------+ -| get_event_types | conf | void | for update pushing mechanism | +| get_event_types | | event types | for update pushing mechanism | +----------------------+------------------------------------+--------------------------------+--------------------------------+ -| enrich_event | event, event_type | void | for update pushing mechanism | +| enrich_event | event, event_type | entity event | for update pushing mechanism | +----------------------+------------------------------------+--------------------------------+--------------------------------+ @@ -113,7 +113,7 @@ must implement the following methods: +----------------------------------+------------------------------------+----------------------------------------+ | _create_entity_key | entity event | the unique key of this entity | +----------------------------------+------------------------------------+----------------------------------------+ -| get_type | | datasources' type | +| get_type | | datasources type | +----------------------------------+------------------------------------+----------------------------------------+