[OVSDB-474] Migrate OVSDB from XML to annotation based blueprint Created: 21/Dec/18  Updated: 01/May/19  Resolved: 01/May/19

Status: Resolved
Project: ovsdb
Component/s: None
Affects Version/s: None
Fix Version/s: Neon

Type: Improvement Priority: Medium
Reporter: Michael Vorburger Assignee: Deepthi V V
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
blocks COE-51 Light weight ("simple") COE distribution Open

 Description   

In order to significantly simplify the use of OVSDB in https://github.com/vorburger/opendaylight-simple, and potentially other non-OSGi standalone Java environments (e.g. https://lighty.io; technically unrelated to opendaylight-simple), the current XML based Blueprint declarations should be switched to annotation based.

This is documented on https://wiki.opendaylight.org/view/BestPractices/DI_Guidelines, and has already been successfully done so in a number of other ODL projects (including OpenFlowPlugin, genius, Neutron and others).

Look at the Gerrit Reviews on OPNFLWPLUG-1046 and https://git.opendaylight.org/gerrit/#/q/topic:simple-dist for inspiration how to do this.



 Comments   
Comment by Michael Vorburger [ 21/Dec/18 ]

as far as I can tell, this may actually be relatively easy - OVSDB doesn't seem to have a lot of BP? I only see:

  • southbound/southbound-impl/src/main/resources/OSGI-INF/blueprint/southbound.xml
  • hwvtepsouthbound/hwvtepsouthbound-impl/src/main/resources/OSGI-INF/blueprint/hwvtepsouthbound.xml
  • library/impl/src/main/resources/OSGI-INF/blueprint/library.xml
Comment by Michael Vorburger [ 21/Dec/18 ]

Put another way, to goal of this issue is to get https://github.com/vorburger/opendaylight-simple/pull/78 to pass...

deepthivv88 (deepthi.v.v@ericsson.com ?) FYI.

Generated at Wed Feb 07 20:36:30 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.