This page describes how to get and build the Jakarta Kohn release version of A1-Policy functions.
...
Java 11 JDK (make sure that JAVA_HOME environment variable points to correct Java version)
Maven 3.68.3+
Docker and docker-compose (latest)
- Python
Build Code
- 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 Kohn - Run - but note the version numbers of the newly-built functions may 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, Istanbul branch:Code Block language bash $ git clone "https://gerrit.onap.org/r/ccsdk/oran" -b jakartakohn
Build the code and create docker image
...
Code Block | ||||
---|---|---|---|---|
| ||||
$ docker images onap/ccsdk-oran-a1policymanagementservice 1.34.42-SNAPSHOT |
Build A1 Adapter for Controller
...
Project | Repo | Gerrit Link | Command | Note |
---|---|---|---|---|
CCSDK | ccsdk/parent | git clone "https://gerrit.onap.org/r/ccsdk/parent" -b jakartakohn | mvn clean install -Dmaven.test.skip=true | If 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 ) |
CCSDK | ccsdk/features | git clone "https://gerrit.onap.org/r/ccsdk/features" -b jakartakohn | mvn clean install -Dmaven.test.skip=true | |
CCSDK | ccsdk/distribution | git clone "https://gerrit.onap.org/r/ccsdk/distribution" -b jakartakohn | mvn clean install -Dmaven.test.skip=true -Pdocker | Creates the CCSDK docker image |
SDNC | sdnc/northbound | git clone "https://gerrit.onap.org/r/sdnc/northbound" -b jakartakohn | mvn clean install -Dmaven.test.skip=true | |
SDNC | sdnc/oam | git clone "https://gerrit.onap.org/r/sdnc/oam" -b jakartakohn | mvn clean install -Dmaven.test.skip=true -Pdocker | Creates the SDNC docker image. Make sure you refer to the appropriate docker image version/tag in the pom file, e.g., you may need to update ccsdk.docker.version for onap/ccsdk-ansible-server-image from 1.34.32-STAGING-latest to 1.34.32-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.) |
...