[CONTROLLER-1434] Changes to yangtools functions.xml not updated in controller or integration Created: 24/Oct/15  Updated: 25/Jul/23  Resolved: 12/Apr/16

Status: Resolved
Project: controller
Component/s: karaf
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Michael Senizaiz Assignee: Tony Tkacik
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 4522

 Description   

Commit: Change-Id: I8238a67676f25c11388ad94d276252a8a67df535
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>

Removed odl-yangtools-models. These are still referenced as requirements in the following:

controller/opendaylight/archetypes/opendaylight-karaf-features/target/test-classes/projects/basic/project/basic/src/main/resources/features.xml: <feature version='0.8.0-SNAPSHOT'>odl-yangtools-models</feature>
controller/opendaylight/archetypes/opendaylight-karaf-features/target/classes/archetype-resources/src/main/resources/features.xml: <feature version='0.8.0-SNAPSHOT'>odl-yangtools-models</feature>
controller/opendaylight/archetypes/opendaylight-karaf-features/src/main/resources/archetype-resources/src/main/resources/features.xml: <feature version='0.8.0-SNAPSHOT'>odl-yangtools-models</feature>
integration/distributions/karaf/target/assembly/system/org/opendaylight/ovsdb/southbound-features/1.2.0-SNAPSHOT/southbound-features-1.2.0-SNAPSHOT-features.xml: <feature version="0.8.0-SNAPSHOT">odl-yangtools-models</feature>
integration/distributions/karaf/target/assembly/system/org/opendaylight/controller/features-restconf/1.3.0-SNAPSHOT/features-restconf-1.3.0-SNAPSHOT-features.xml: <feature version='0.8.0-SNAPSHOT'>odl-yangtools-models</feature>
integration/distributions/karaf/target/assembly/system/org/opendaylight/controller/features-netconf-connector/1.3.0-SNAPSHOT/features-netconf-connector-1.3.0-SNAPSHOT-features.xml: <feature version='0.8.0-SNAPSHOT'>odl-yangtools-models</feature>

This causes the build to not be able to install various features:

No feature named 'odl-yangtools-models' with version '0.8.0-SNAPSHOT' available



 Comments   
Comment by Tony Tkacik [ 26/Oct/15 ]

Following feature descriptors are not part of Beryllium (all of them were removed):

/org/opendaylight/ovsdb/southbound-features/1.2.0-SNAPSHOT/southbound-features-1.2.0-SNAPSHOT-features.xml -> version is 1.2.1-SNAPSHOT
org/opendaylight/controller/features-restconf/1.3.0-SNAPSHOT/features-restconf-1.3.0-SNAPSHOT-features.xml -> Renamed to org.opendaylight.netconf/features-restconf

org/opendaylight/controller/features-netconf-connector/1.3.0-SNAPSHOT/features-netconf-connector-1.3.0-SNAPSHOT-features.xml -> Renamed to org.opendaylight.netconf/features-netconf-connector

Comment by Vratko Polak [ 26/Oct/15 ]

> integration/distributions/karaf/target/assembly/system/org/opendaylight/

Hmm. Do you mean the obsoleted read-only integration.git [0] respository, or the active integration/distribution.git [1] repository?
I cloned and built the integration/distribution one, and the three references are not there anymore.

> controller/opendaylight/archetypes/opendaylight-karaf-features/target/test-classes/projects/basic/project/basic/src/main/resources/features.xml

Those lines are there, but they are in commented-out block, which is intended as an example, and also references made-up features such as odl-foo-provider.
Anyway, this template should be updated:
controller/opendaylight/archetypes/opendaylight-karaf-features/src/main/resources/archetype-resources/src/main/resources/features.xml

[0] git clone https://git.opendaylight.org/gerrit/integration
[1] git clone https://git.opendaylight.org/gerrit/integration/distribution

Generated at Wed Feb 07 19:55:32 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.