-"""
-rmr messages
-"""
# ==================================================================================
# Copyright (c) 2019 Nokia
# Copyright (c) 2018-2019 AT&T Intellectual Property.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==================================================================================
+"""
+rmr messages
+"""
def a1_to_handler(operation, policy_type_id, policy_instance_id, payload=None):
"policy_instance_id": policy_instance_id,
"payload": payload,
}
+
+
+def ei_to_handler(ei_job_id, payload=None):
+ """
+ used to create the payloads that get sent to downstream policy handlers
+ """
+ return {
+ "ei_job_id": ei_job_id,
+ "payload": payload,
+ }