Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This page describes how to get and build the London New Delhi release version of A1-Policy functions.

...

For more information on running the pre-built and tested versions see Montreal New Delhi - Run

Table of Contents

Project Requirements

...

  • Note 1: While instructions to build the artifacts are included below, pre-built versions are available as Docker Images in http://nexus3.onap.org
    • Building the code should only be attempted if you really need to, or wish in incorporate some change; it is much easier to use the pre-built versions.
  • Note 2: Before attempting to retrieve or build any ONAP component please follow the instructions for Setting Up Your Development Environment 
  • Note 3: After re-building run the functions by following instructions at Montreal New Delhi - Run - but note the version numbers of the newly-built functions will likely be slightly different from the pre-built versions.
    • Version numbers used in this page may not be the most recent ... you should verify version numbers of your newly built component, and check for latest versions of pre-built components

...

  • Download the ccsdk/oran repo, montreal branch: newdelhi

    Code Block
    languagebash
    $ git clone "https://gerrit.onap.org/r/ccsdk/oran" -b montrealnewdelhi


Build the code and create docker image

...

Code Block
languagebash
themeMidnight
$ docker images
onap/ccsdk-oran-a1policymanagementservice 1.67.20-SNAPSHOT

(Note: your version tag may be different - check the version in pom.xml to make sure)

...

Code Block
languagebash
$ cd oran/a1-adapter/
$ mvn clean install -Dmaven.test.skip=true

...

ProjectRepoGerrit LinkCommandNote
CCSDKccsdk/parentgit clone "https://gerrit.onap.org/r/ccsdk/parent" -b montrealnewdelhi
mvn clean install -Dmaven.test.skip=trueIf the parent artifacts are not yet released you need to build this repo in order to build other any other ccsdk repos (Including ccsdk/oran/a1-adapter)
CCSDKccsdk/featuresgit clone "https://gerrit.onap.org/r/ccsdk/features" -b montrealnewdelhi
mvn clean install -Dmaven.test.skip=true
CCSDKccsdk/distributiongit clone "https://gerrit.onap.org/r/ccsdk/distribution" -b montrealnewdelhi
mvn clean install -Dmaven.test.skip=true -PdockerCreates the CCSDK docker image
SDNCsdnc/northboundgit clone "https://gerrit.onap.org/r/sdnc/northbound" -b montrealnewdelhi
mvn clean install -Dmaven.test.skip=true
SDNCsdnc/oamgit clone "https://gerrit.onap.org/r/sdnc/oam" -b montrealnewdelhi
mvn clean install -Dmaven.test.skip=true -PdockerCreates the SDNC docker image.
Make sure you refer to the appropriate docker image version/tag in the pom.xml file, e.g., you may need to update some docker tags/versions to recently released or recently built snapshots. e..g. ccsdk.docker.xxx.version from 1.67.10-STAGING-latest to 1.67.10-SNAPSHOT-latest to refer to the latest newly built versions.
(You should double check the docker tag/versions corresponds to the latest released versions and the version you've just built.)

...