X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fmessagebus-impl%2Fsrc%2Fmain%2Fyang%2Fmessagebus-app-impl.yang;h=01c1ba296a58d725b7448d00908e6a56df39e24f;hb=277612ebea9b441977cdb8460b2e76090df6f9e8;hp=bed6b1085a2593303cc0f195082033e22c8bd124;hpb=c31509c7a6630e54a9f9749a643fed5e1a1ad380;p=controller.git diff --git a/opendaylight/md-sal/messagebus-impl/src/main/yang/messagebus-app-impl.yang b/opendaylight/md-sal/messagebus-impl/src/main/yang/messagebus-app-impl.yang index bed6b1085a..01c1ba296a 100644 --- a/opendaylight/md-sal/messagebus-impl/src/main/yang/messagebus-app-impl.yang +++ b/opendaylight/md-sal/messagebus-impl/src/main/yang/messagebus-app-impl.yang @@ -6,24 +6,25 @@ module messagebus-app-impl { import config { prefix config; revision-date 2013-04-05; } import opendaylight-md-sal-binding {prefix sal;} import opendaylight-md-sal-dom {prefix dom;} - + import messagebus-event-source-registry {prefix esr;} description "Service definition for Message Bus application implementation."; - + revision "2015-02-03" { description "Second revision. Message Bus opensourcing"; } identity messagebus-app-impl { base config:module-type; + config:provided-service esr:event-source-registry; config:java-name-prefix MessageBusAppImpl; } - + augment "/config:modules/config:module/config:configuration" { case messagebus-app-impl { when "/config:modules/config:module/config:type = 'messagebus-app-impl'"; - + container binding-broker { uses config:service-ref { refine type { @@ -33,32 +34,7 @@ module messagebus-app-impl { } } - container dom-broker { - uses config:service-ref { - refine type { - mandatory true; - config:required-identity dom:dom-broker-osgi-registry; - } - } - } - - list namespace-to-stream { - key urn-prefix; - - leaf urn-prefix { - type string; - } - - leaf stream-name { - type string; - } - } - } - } - - augment "/config:modules/config:module/config:state" { - case messagebus-app-impl { - when "/config:modules/config:module/config:type = 'messagebus-app-impl'"; } } + } \ No newline at end of file