summaryrefslogtreecommitdiffstats
path: root/dcae-policy/dcaepolicyplugin/discovery.py
diff options
context:
space:
mode:
authorAlex Shatov <alexs@att.com>2018-01-10 11:27:44 -0500
committerAlex Shatov <alexs@att.com>2018-01-11 10:55:32 -0500
commit9cbe049d92690f94ca4e07e6a823b90340b922c1 (patch)
tree0cbfab002f8e55b2394eb8a09d32aaf1d8b8c69c /dcae-policy/dcaepolicyplugin/discovery.py
parent5ed29250d08b8c5a826f535f48fcfa76c756964a (diff)
variable collection of policies per component
* new feature variable collection of policies per component in DCAE * Unit Test coverage 78% * moved module docstring below the license text Change-Id: Iefe6d4c31e2e125194781edc79e69af2c11e96ef Issue-ID: DCAEGEN2-249 Signed-off-by: Alex Shatov <alexs@att.com>
Diffstat (limited to 'dcae-policy/dcaepolicyplugin/discovery.py')
-rw-r--r--dcae-policy/dcaepolicyplugin/discovery.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dcae-policy/dcaepolicyplugin/discovery.py b/dcae-policy/dcaepolicyplugin/discovery.py
index 8cdbde1..6bed180 100644
--- a/dcae-policy/dcaepolicyplugin/discovery.py
+++ b/dcae-policy/dcaepolicyplugin/discovery.py
@@ -1,5 +1,3 @@
-"""client to talk to consul on standard port 8500"""
-
# ============LICENSE_START=======================================================
# org.onap.dcae
# ================================================================================
@@ -20,6 +18,8 @@
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+"""client to talk to consul on standard port 8500"""
+
import requests
# it is safe to assume that consul agent is at localhost:8500 along with cloudify manager