CCSDK - Porting from SDN-C seed code
As part of the ONAP Amsterdam release, the seed code that was originally contributed in March for form the basis of the SDNC project is being refactored into 2 projects:
Code related to the underlying platform which should be shared across controllers (e.g. SDNC, APP-C) is being moved to the new Common Controller SDK (CCSDK) project
Code related to the ONAP SDN Controller itself (that is, code that implements a specific network controller) will remain in the SDNC project
To allow for backward compatibility, the original SDNC seed code will remain in the SDNC ONAP repository for release 1, but will be deprecated. It is anticipated that this code will be removed in the Beijing release.
Clients of these classes will need to:
Update the parent pom if they are currently using the org.openecomp.sdnc.core/root as their parent. CCSDK has a separate repository (ccsdk/parent) for root poms. We plan to offer several different parent poms, based on the OpenDaylight release they support. The following table shows the currently supported parent POMs and which should be used for each supported OpenDaylight release
OpenDaylight release | Parent pom |
---|---|
Boron SR3 | <parent> <groupId>org.onap.ccsdk.parent</groupId> <artifactId>odlparent-boron-sr3</artifactId> <version>0.0.1-SNAPSHOT</version> </parent> |
Carbon SR1* | <parent> <groupId>org.onap.ccsdk.parent</groupId> <artifactId>odlparent-carbon-sr1</artifactId> <version>0.0.1-SNAPSHOT</version> </parent> |
Note: at this writing, the Carbon port is still underway and the Carbon root pom is not yet available. This page will be updated when it is available for use.
Update to use the new Maven artifacts, which will retain the same artifactId but will have a new groupId, which changes from org.openecomp.sdnc.* to org.onap.ccsdk.sli.* and to use the new package names. The following table lists the mappings of SDNC seed repositories to their Amsterdam repositories. Clients should note that the maven groupIds and Java package names are impacted by this change, which is needed to move from the old org.openecomp name to org.onap.
Seed code | Amsterdam release | |||||
---|---|---|---|---|---|---|
Feature | Gerrit repo | Maven groupId | Java package(s) | Gerrit repo | Maven groupId | Java package |
dblib | sdnc/core | org.openecomp.sdnc.core | org.openecomp.sdnc.sli.resource.dblib | ccsdk/sli/core | org.onap.ccsdk.sli.core | org.onap.ccsdk.sli.core.dblib |
filters | sdnc/core | org,openecomp.sdnc.core | org.openecomp.sdnc.filters | ccsdk/sli/core | org,onap.ccsdk.sli.core | org.onap.ccsdk.sli.core.filters |
sli | sdnc/core | org.openecomp.sdnc.core | org.openecomp.sdnc.sli | ccsdk/sli/core | org.onap.ccsdk.sli.core | org.onap.ccsdk.sli.core.sli |
sliapi | sdnc/core | org,openecomp.sdnc.core | org.openecomp.sdnc.sliapi | ccsdk/sli/core | org.onap.ccsdk.sli.core | org.onap.ccsdk.sli.core.sliapi |
sliPluginUtils | sdnc/core | org.openecomp.sdnc.core | org.openecomp.sdnc.sli.SliPluginUtils | ccsdk/sli/core | org,onap.ccsdk.sli.core | org.onap.ccsdk.sli.core.slipluginutils |
aai-service | sdnc/adaptors | org.openecomp.sdnc.adaptors | org.openecomp.sdnc.sli.aai | ccsdk/sli/adaptors | org.onap.ccsdk.sli.adaptors | org.onap.ccsdk.sli.adaptors.aai |
mdsal-resource | sdnc/adaptors | org.openecomp.sdnc.adaptors | org.openecomp.sdnc.sli.resource.mdsal | ccsdk/sli/adaptors | org.onap.ccsdk.sli.adaptors | org.onap.ccsdk.sli.adaptors.resource.mdsal |
resource-assignment | sdnc/adaptors | org.openecomp.sdnc.adaptors | org.openecomp.sdnc.lock org.openecomp.sdnc.ra org.openecomp.sdnc.rm org.openecomp.sdnc.util | ccsdk/sli/adaptors | org.onap.ccsdk.sli.adaptors | org.onap.ccsdk.sli.adaptors.ra.lock org.onap.ccsdk.sli.adaptors.ra.ra org.onap.ccsdk.sli.adaptors.ra.rm org.onap.ccsdk.sli.adaptors.ra.util |
sql-resource | sdnc/adaptors | org.openecomp.sdnc.adaptors | org.openecomp.sdnc.sli.resource.sql | ccsdk/sli/adaptors | org.onap.ccsdk.sli.adaptors | org.onap.ccsdk.sli.adaptors.resource.sql |
asdcApi | sdnc/northbound | org.openecomp.sdnc.northbound | org.openecomp.sdnc.asdcapi | ccsdk/sli/northbound | org.onap.ccsdk.sli.northbound | org.onap.ccsdk.sli.northbound.asdcapi |
dataChange | sdnc/northbound | org.openecomp.sdnc.northbound | org.openecomp.sdnc.datachange | ccsdk/sli/northbound | org.onap.ccsdk.sli.northbound | org.onap.ccsdk.sli.northbound.datachange |
dmaap-listener | sdnc/northbound | org.openecomp.sdnc.northbound | org.openecomp.sdnc.dmaapclient | ccsdk/sli/northbound | org.onap.ccsdk.sli.northbound | org.onap.ccsdk.sli.northbound.dmaapclient |
ueb-listener | sdnc/northbound | org.openecomp.sdnc.northbound | org.openecomp.sdnc.uebclient | ccsdk/sli/northbound | org.onap.ccsdk.sli.northbound | org.onap.ccsdk.sli.northbound.uebclient |
vnfapi | sdnc/northbound | org.openecomp.sdnc.northbound | org.openecomp.sdnc.vnfapi | sdnc/northbound | org.onap.sdnc.northbound | org.onap.sdnc.northbound.vnfapi |
vnftools | sdnc/northbound | org.openecomp.sdnc.northnound | org.openecomp.sdnc.vnftools | sdnc/northbound | org.onap.sdnc.northbound | org.onap.sdnc.northbound.vnftools |
properties-node | sdnc/plugins | org.openecomp.sdnc.plugins | org.openecomp.sdnc.prop | ccsdk/sli/plugins | org.onap.ccsdk.sli.plugins | org.onap.ccsdk.sli.plugins.prop |
restapi-call-node | sdnc/plugins | org.openecomp.sdnc.plugins | org.openecomp.sdnc.restapicall | ccsdk/sli/plugins | org.onap.ccsdk.sli.plugins | org.onap.ccsdk.sli.plugins.restapicall |