Uploaded image for project: 'Common Controller SDK'
  1. Common Controller SDK
  2. CCSDK-3282

odlsli-alpine pom overrides ccsdk/oparent version numbers

    XMLWordPrintable

Details

    Description

      There are version conflicts during sdnc build, because sdnc/northbound is using different sli version than odlsli-alpine contains.

      bash-5.0$ grep "1.3.0-SNAP" $(find -name "*.xml")
      ./org/onap/sdnc/northbound/sdnc-generic-resource-api/2.2.0-SNAPSHOT/sdnc-generic-resource-api-2.2.0-SNAPSHOT-features.xml: <repository>mvn:org.onap.ccsdk.sli.core/ccsdk-sli/1.3.0-SNAPSHOT/xml/features</repository>
      ./org/onap/sdnc/northbound/sdnc-vnftools/2.2.0-SNAPSHOT/sdnc-vnftools-2.2.0-SNAPSHOT-features.xml: <repository>mvn:org.onap.ccsdk.sli.core/ccsdk-sli/1.3.0-SNAPSHOT/xml/features</repository>
      ./org/onap/sdnc/northbound/sdnc-vnftools/2.2.0-SNAPSHOT/sdnc-vnftools-2.2.0-SNAPSHOT-features.xml: <bundle>mvn:org.onap.ccsdk.sli.core/sliPluginUtils-provider/1.3.0-SNAPSHOT</bundle>
      ./org/onap/sdnc/northbound/sdnc-optical-service/2.2.0-SNAPSHOT/sdnc-optical-service-2.2.0-SNAPSHOT-features.xml: <repository>mvn:org.onap.ccsdk.sli.core/ccsdk-sli/1.3.0-SNAPSHOT/xml/features</repository>

      A second point are wrong artifact includes

      •  ansible-adapt*e*r-installer should be ansible-adapt*o*r-installer
      • saltstack-adapt*e*r-installer should be saltstack-adapt*o*r-installer

      Proposal how to fix:

      Step1

      • Remove from [ccsdk/distribution.git] / odlsli / odlsli-alpine / pom.xml
        • <ccsdk.features.version>1.1.1</ccsdk.features.version> <ccsdk.sli.core.version>1.2.0</ccsdk.sli.core.version> <ccsdk.sli.adaptors.version>1.2.0</ccsdk.sli.adaptors.version> <ccsdk.sli.northbound.version>1.2.0</ccsdk.sli.northbound.version> <ccsdk.sli.plugins.version>1.2.0</ccsdk.sli.plugins.version>
        • <ccsdk.oran.a1adapter.version>1.1.1</ccsdk.oran.a1adapter.version> 
      • Adapt <ccsdk.oran.a1adapter.version>1.2.0-SNAPSHOT</ccsdk.oran.a1adapter.version> 

      Step2

      Details

      odlsli-alpine

      the lowest pom.xml contains this definitions, that overrides with wrong version numbers a  couple of parameters:

       

      <groupId>org.onap.ccsdk.distribution</groupId> 
      <artifactId>distribution-odlsli-alpine</artifactId>
      <version>1.2.0-SNAPSHOT</version> <packaging>pom</packaging>
      .....
      <ccsdk.features.version>1.1.1</ccsdk.features.version> <ccsdk.sli.core.version>1.2.0</ccsdk.sli.core.version> <ccsdk.sli.adaptors.version>1.2.0</ccsdk.sli.adaptors.version> <ccsdk.sli.northbound.version>1.2.0</ccsdk.sli.northbound.version> <ccsdk.sli.plugins.version>1.2.0</ccsdk.sli.plugins.version> <ccsdk.oran.a1adapter.version>1.1.1</ccsdk.oran.a1adapter.version> 
      

      The top level parent of this pom above is the following with correct version numbers:

       

      <groupId>org.onap.ccsdk.parent</groupId>
       <artifactId>oparent</artifactId>
      <version>2.2.0-SNAPSHOT</version>
      .....
      <!-- CCSDK component versions --> 
      <ccsdk.cds.version>1.2.0-SNAPSHOT</ccsdk.cds.version> <ccsdk.features.version>1.2.0-SNAPSHOT</ccsdk.features.version> <ccsdk.sli.version>1.3.0-SNAPSHOT</ccsdk.sli.version> <ccsdk.sli.core.version>${ccsdk.sli.version}</ccsdk.sli.core.version> <ccsdk.sli.adaptors.version>${ccsdk.sli.version}/ccsdk.sli.adaptors.version>
      <ccsdk.sli.northbound.version>${ccsdk.sli.version}</ccsdk.sli.northbound.version> <ccsdk.sli.plugins.version>${ccsdk.sli.version}</ccsdk.sli.plugins.version> <ccsdk.distribution.version>1.1.1-SNAPSHOT</ccsdk.distribution.version>
      

       

      sdnc/northbound

       

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            highstreetherbert Herbert Eiselt
            highstreetherbert Herbert Eiselt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: