diff --git a/doc/source/static-config.rst b/doc/source/static-config.rst index 691be4580..d92b6d129 100644 --- a/doc/source/static-config.rst +++ b/doc/source/static-config.rst @@ -64,10 +64,12 @@ Example type: switch # resource type, could be any string, not limited to the type from existing datasource. id: 12345 # resource ID, used together with ``type`` to refer a resource in real world name: switch-1 # name, state and other properties are considered as metadata of the resource + state: active # the state of the resource ... - static_id: h1 type: nova.host # resource type could be from existing datasource id: 1 # resource ID, used together with ``type`` to refer a resource in corresponding datasource + state: active # the state of the resource purpose: CI # additional properties could be defined - if from existing datasource, it could be updated ... relationships: diff --git a/vitrage/datasources/static/transformer.py b/vitrage/datasources/static/transformer.py index 3c480b2fe..da0aea6ff 100644 --- a/vitrage/datasources/static/transformer.py +++ b/vitrage/datasources/static/transformer.py @@ -12,8 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. -# TODO(yujunz) - skeleton only, methods to be implemented - from oslo_log import log as logging from vitrage.common.constants import DatasourceProperties as DSProps