diff options
author | 2018-07-06 20:12:26 +0000 | |
---|---|---|
committer | 2018-07-13 16:15:28 -0400 | |
commit | 10cd619b5e6e34b22b3239a2516f1ca491c87a3a (patch) | |
tree | bd1d1b7a2bdc2b837cecb216f25e01b0f9a65311 /sdnr/northbound/energysavings/provider/src/main/resources/org | |
parent | fd23f3cf7c22ef284de0338c9fd380d5f189a87f (diff) |
First draft Energy Savings POLICY_TO_SDNR handler
Initial commit of a karaf feature to process a DMaaP topic sent by
Policy to SDNR as part of the Energy Savings project. The topic name
is POLICY_TO_SDNR, and the content is a large and complex JSON
structure. Currently, this feature simply forwards the JSON string to
a server and returns the response of the server to Policy in topic
SDNR_TO_POLICY.
Change-Id: I84cb891c98fb23f5dfe44a9e3ad8ce69afb72405
Issue-ID: CCSDK-350
Signed-off-by: George Clapp <gc731h@att.com>
Diffstat (limited to 'sdnr/northbound/energysavings/provider/src/main/resources/org')
-rw-r--r-- | sdnr/northbound/energysavings/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sdnr/northbound/energysavings/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml b/sdnr/northbound/energysavings/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml new file mode 100644 index 000000000..80d1d1a3f --- /dev/null +++ b/sdnr/northbound/energysavings/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- vi: set et smarttab sw=4 tabstop=4: --> +<!-- +Copyright © ${copyrightYear} ${copyright} and others. All rights reserved. + +This program and the accompanying materials are made available under the +terms of the Eclipse Public License v1.0 which accompanies this distribution, +and is available at http://www.eclipse.org/legal/epl-v10.html +--> +<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" + xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0" + odl:use-default-for-reference-types="true"> + + <reference id="dataBroker" + interface="org.opendaylight.controller.md.sal.binding.api.DataBroker" + odl:type="default" /> + + <bean id="provider" + class="org.onap.sdnc.northbound.sdnr.impl.EnergysavingsProvider" + init-method="init" destroy-method="close"> + <argument ref="dataBroker" /> + </bean> + +</blueprint> |