diff options
author | Dan Timoney <dtimoney@att.com> | 2017-09-14 18:15:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-14 18:15:38 +0000 |
commit | 9f0995e647ba28ae429a0d46fb2686dbf61bb9d4 (patch) | |
tree | cf0338a29e77ce872c857c1bf36995cd918eb0b9 /sli/recording/src/main/resources/org/opendaylight/blueprint/recording-blueprint.xml | |
parent | b26263ebcd02862aee41677eb22cbaf954fa97fd (diff) | |
parent | eb790498dacf46fc594b93bf62a6e17f686af62e (diff) |
Merge "Fix SDNC service registration"
Diffstat (limited to 'sli/recording/src/main/resources/org/opendaylight/blueprint/recording-blueprint.xml')
-rw-r--r-- | sli/recording/src/main/resources/org/opendaylight/blueprint/recording-blueprint.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sli/recording/src/main/resources/org/opendaylight/blueprint/recording-blueprint.xml b/sli/recording/src/main/resources/org/opendaylight/blueprint/recording-blueprint.xml new file mode 100644 index 00000000..d8035376 --- /dev/null +++ b/sli/recording/src/main/resources/org/opendaylight/blueprint/recording-blueprint.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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"> + + <bean id="fileRecorder" class="org.onap.ccsdk.sli.core.sli.recording.FileRecorder" /> + <!-- Implementation name was chosen over interface name due to the fact that this Service + was previously registered using the implementation name rather than the interface name. + To ensure backwards compatibility with abstractions polling the Service Registry for the + fileRecorder, the implementation name was chosen here. --> + <service ref="fileRecorder" interface="org.onap.ccsdk.sli.core.sli.recording.FileRecorder" /> + + <bean id="slf4jRecorder" class="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder" /> + <!-- Implementation name was chosen over interface name due to the fact that this Service + was previously registered using the implementation name rather than the interface name. + To ensure backwards compatibility with abstractions polling the Service Registry for the + slf4jRecorder, the implementation name was chosen here. --> + <service ref="slf4jRecorder" class="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder" /> + +</blueprint>
\ No newline at end of file |