From b868fb9e2e85af6c107f771aa8600ae4705925b7 Mon Sep 17 00:00:00 2001 From: Alexey Weyl Date: Thu, 26 Nov 2015 09:21:42 +0000 Subject: [PATCH] Rearranged entity graph directory Change-Id: I9886249c93e1fecb66eb5490f67d93cb85d2e8fc --- vitrage/api/__init__.py | 2 +- vitrage/cmd/__init__.py | 2 +- vitrage/db/__init__.py | 2 +- vitrage/{entitygraph => entity_graph}/__init__.py | 2 +- .../dbmanager => entity_graph/graph}/__init__.py | 2 +- .../processor => entity_graph/graph}/base.py | 2 +- .../processor/__init__.py | 2 +- .../strategy => entity_graph/processor}/base.py | 2 +- .../transformer}/__init__.py | 2 +- .../transformer}/base.py | 2 +- vitrage/entitygraph/dbmanager/resource.py | 15 --------------- vitrage/entitygraph/processor/alarm.py | 15 --------------- vitrage/entitygraph/processor/resource.py | 15 --------------- vitrage/entitygraph/synchronizer/__init__.py | 15 --------------- .../synchronizer/converter/__init__.py | 15 --------------- vitrage/entitygraph/synchronizer/listener.py | 15 --------------- .../entitygraph/synchronizer/pollster/__init__.py | 15 --------------- .../synchronizer/pollster/resources_and_alarms.py | 15 --------------- vitrage/locale/__init__.py | 2 +- 19 files changed, 11 insertions(+), 131 deletions(-) rename vitrage/{entitygraph => entity_graph}/__init__.py (96%) rename vitrage/{entitygraph/dbmanager => entity_graph/graph}/__init__.py (96%) rename vitrage/{entitygraph/processor => entity_graph/graph}/base.py (96%) rename vitrage/{entitygraph => entity_graph}/processor/__init__.py (96%) rename vitrage/{entitygraph/strategy => entity_graph/processor}/base.py (96%) rename vitrage/{entitygraph/strategy => entity_graph/transformer}/__init__.py (96%) rename vitrage/{entitygraph/dbmanager => entity_graph/transformer}/base.py (96%) delete mode 100644 vitrage/entitygraph/dbmanager/resource.py delete mode 100644 vitrage/entitygraph/processor/alarm.py delete mode 100644 vitrage/entitygraph/processor/resource.py delete mode 100644 vitrage/entitygraph/synchronizer/__init__.py delete mode 100644 vitrage/entitygraph/synchronizer/converter/__init__.py delete mode 100644 vitrage/entitygraph/synchronizer/listener.py delete mode 100644 vitrage/entitygraph/synchronizer/pollster/__init__.py delete mode 100644 vitrage/entitygraph/synchronizer/pollster/resources_and_alarms.py diff --git a/vitrage/api/__init__.py b/vitrage/api/__init__.py index 0011fca79..7a05fb1f4 100644 --- a/vitrage/api/__init__.py +++ b/vitrage/api/__init__.py @@ -12,4 +12,4 @@ # License for the specific language governing permissions and limitations # under the License. -__author = 'stack' +__author__ = 'stack' diff --git a/vitrage/cmd/__init__.py b/vitrage/cmd/__init__.py index 0011fca79..7a05fb1f4 100644 --- a/vitrage/cmd/__init__.py +++ b/vitrage/cmd/__init__.py @@ -12,4 +12,4 @@ # License for the specific language governing permissions and limitations # under the License. -__author = 'stack' +__author__ = 'stack' diff --git a/vitrage/db/__init__.py b/vitrage/db/__init__.py index 0011fca79..7a05fb1f4 100644 --- a/vitrage/db/__init__.py +++ b/vitrage/db/__init__.py @@ -12,4 +12,4 @@ # License for the specific language governing permissions and limitations # under the License. -__author = 'stack' +__author__ = 'stack' diff --git a/vitrage/entitygraph/__init__.py b/vitrage/entity_graph/__init__.py similarity index 96% rename from vitrage/entitygraph/__init__.py rename to vitrage/entity_graph/__init__.py index 0011fca79..7a05fb1f4 100644 --- a/vitrage/entitygraph/__init__.py +++ b/vitrage/entity_graph/__init__.py @@ -12,4 +12,4 @@ # License for the specific language governing permissions and limitations # under the License. -__author = 'stack' +__author__ = 'stack' diff --git a/vitrage/entitygraph/dbmanager/__init__.py b/vitrage/entity_graph/graph/__init__.py similarity index 96% rename from vitrage/entitygraph/dbmanager/__init__.py rename to vitrage/entity_graph/graph/__init__.py index 0011fca79..7a05fb1f4 100644 --- a/vitrage/entitygraph/dbmanager/__init__.py +++ b/vitrage/entity_graph/graph/__init__.py @@ -12,4 +12,4 @@ # License for the specific language governing permissions and limitations # under the License. -__author = 'stack' +__author__ = 'stack' diff --git a/vitrage/entitygraph/processor/base.py b/vitrage/entity_graph/graph/base.py similarity index 96% rename from vitrage/entitygraph/processor/base.py rename to vitrage/entity_graph/graph/base.py index 0011fca79..7a05fb1f4 100644 --- a/vitrage/entitygraph/processor/base.py +++ b/vitrage/entity_graph/graph/base.py @@ -12,4 +12,4 @@ # License for the specific language governing permissions and limitations # under the License. -__author = 'stack' +__author__ = 'stack' diff --git a/vitrage/entitygraph/processor/__init__.py b/vitrage/entity_graph/processor/__init__.py similarity index 96% rename from vitrage/entitygraph/processor/__init__.py rename to vitrage/entity_graph/processor/__init__.py index 0011fca79..7a05fb1f4 100644 --- a/vitrage/entitygraph/processor/__init__.py +++ b/vitrage/entity_graph/processor/__init__.py @@ -12,4 +12,4 @@ # License for the specific language governing permissions and limitations # under the License. -__author = 'stack' +__author__ = 'stack' diff --git a/vitrage/entitygraph/strategy/base.py b/vitrage/entity_graph/processor/base.py similarity index 96% rename from vitrage/entitygraph/strategy/base.py rename to vitrage/entity_graph/processor/base.py index 0011fca79..7a05fb1f4 100644 --- a/vitrage/entitygraph/strategy/base.py +++ b/vitrage/entity_graph/processor/base.py @@ -12,4 +12,4 @@ # License for the specific language governing permissions and limitations # under the License. -__author = 'stack' +__author__ = 'stack' diff --git a/vitrage/entitygraph/strategy/__init__.py b/vitrage/entity_graph/transformer/__init__.py similarity index 96% rename from vitrage/entitygraph/strategy/__init__.py rename to vitrage/entity_graph/transformer/__init__.py index 0011fca79..7a05fb1f4 100644 --- a/vitrage/entitygraph/strategy/__init__.py +++ b/vitrage/entity_graph/transformer/__init__.py @@ -12,4 +12,4 @@ # License for the specific language governing permissions and limitations # under the License. -__author = 'stack' +__author__ = 'stack' diff --git a/vitrage/entitygraph/dbmanager/base.py b/vitrage/entity_graph/transformer/base.py similarity index 96% rename from vitrage/entitygraph/dbmanager/base.py rename to vitrage/entity_graph/transformer/base.py index 0011fca79..7a05fb1f4 100644 --- a/vitrage/entitygraph/dbmanager/base.py +++ b/vitrage/entity_graph/transformer/base.py @@ -12,4 +12,4 @@ # License for the specific language governing permissions and limitations # under the License. -__author = 'stack' +__author__ = 'stack' diff --git a/vitrage/entitygraph/dbmanager/resource.py b/vitrage/entitygraph/dbmanager/resource.py deleted file mode 100644 index 0011fca79..000000000 --- a/vitrage/entitygraph/dbmanager/resource.py +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 2015 - Alcatel-Lucent -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -__author = 'stack' diff --git a/vitrage/entitygraph/processor/alarm.py b/vitrage/entitygraph/processor/alarm.py deleted file mode 100644 index 0011fca79..000000000 --- a/vitrage/entitygraph/processor/alarm.py +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 2015 - Alcatel-Lucent -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -__author = 'stack' diff --git a/vitrage/entitygraph/processor/resource.py b/vitrage/entitygraph/processor/resource.py deleted file mode 100644 index 0011fca79..000000000 --- a/vitrage/entitygraph/processor/resource.py +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 2015 - Alcatel-Lucent -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -__author = 'stack' diff --git a/vitrage/entitygraph/synchronizer/__init__.py b/vitrage/entitygraph/synchronizer/__init__.py deleted file mode 100644 index 0011fca79..000000000 --- a/vitrage/entitygraph/synchronizer/__init__.py +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 2015 - Alcatel-Lucent -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -__author = 'stack' diff --git a/vitrage/entitygraph/synchronizer/converter/__init__.py b/vitrage/entitygraph/synchronizer/converter/__init__.py deleted file mode 100644 index 0011fca79..000000000 --- a/vitrage/entitygraph/synchronizer/converter/__init__.py +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 2015 - Alcatel-Lucent -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -__author = 'stack' diff --git a/vitrage/entitygraph/synchronizer/listener.py b/vitrage/entitygraph/synchronizer/listener.py deleted file mode 100644 index 0011fca79..000000000 --- a/vitrage/entitygraph/synchronizer/listener.py +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 2015 - Alcatel-Lucent -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -__author = 'stack' diff --git a/vitrage/entitygraph/synchronizer/pollster/__init__.py b/vitrage/entitygraph/synchronizer/pollster/__init__.py deleted file mode 100644 index 0011fca79..000000000 --- a/vitrage/entitygraph/synchronizer/pollster/__init__.py +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 2015 - Alcatel-Lucent -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -__author = 'stack' diff --git a/vitrage/entitygraph/synchronizer/pollster/resources_and_alarms.py b/vitrage/entitygraph/synchronizer/pollster/resources_and_alarms.py deleted file mode 100644 index 0011fca79..000000000 --- a/vitrage/entitygraph/synchronizer/pollster/resources_and_alarms.py +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 2015 - Alcatel-Lucent -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -__author = 'stack' diff --git a/vitrage/locale/__init__.py b/vitrage/locale/__init__.py index 0011fca79..7a05fb1f4 100644 --- a/vitrage/locale/__init__.py +++ b/vitrage/locale/__init__.py @@ -12,4 +12,4 @@ # License for the specific language governing permissions and limitations # under the License. -__author = 'stack' +__author__ = 'stack'