aboutsummaryrefslogtreecommitdiffstats
path: root/policyhandler/policy_receiver.py
diff options
context:
space:
mode:
authorAlex Shatov <alexs@att.com>2018-01-11 11:15:56 -0500
committerAlex Shatov <alexs@att.com>2018-01-11 11:17:08 -0500
commitf53e5e70d88d813fb84848538472c601914ec652 (patch)
tree151346eb934e4a0c41136f0c2f44924d9f235853 /policyhandler/policy_receiver.py
parent1369bea8b3c24ef063799acefbfc01659878f034 (diff)
moved module docstring below the license text
Change-Id: I2a3628cb67d15ab2828f6818764d111df13e795a Issue-ID: DCAEGEN2-249 Signed-off-by: Alex Shatov <alexs@att.com>
Diffstat (limited to 'policyhandler/policy_receiver.py')
-rw-r--r--policyhandler/policy_receiver.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/policyhandler/policy_receiver.py b/policyhandler/policy_receiver.py
index ec25987..080f544 100644
--- a/policyhandler/policy_receiver.py
+++ b/policyhandler/policy_receiver.py
@@ -1,13 +1,3 @@
-"""
-policy-receiver communicates with policy-engine
-thru web-socket to receive push notifications
-on updates and removal of policies.
-
-on receiving the policy-notifications, the policy-receiver
-filters them out by the policy scope(s) provided in policy-handler config
-and passes the notifications to policy-updater
-"""
-
# org.onap.dcae
# ================================================================================
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
@@ -27,6 +17,16 @@ and passes the notifications to policy-updater
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+"""
+policy-receiver communicates with policy-engine
+thru web-socket to receive push notifications
+on updates and removal of policies.
+
+on receiving the policy-notifications, the policy-receiver
+filters them out by the policy scope(s) provided in policy-handler config
+and passes the notifications to policy-updater
+"""
+
import json
import logging
import re