...
Java 11 (make sure that JAVA_HOME environment variable points to correct Java version)
Maven 3.6
Docker and docker-compose (latest)
Build Code
While instructions to build the artifacts are included below, pre-built versions are available as Docker Images in http://nexus3.onap.org
Build A1 Policy Management Service container
Download the ccsdk/oran repo, iItanbul Istanbul branch:
Code Block language bash $ git clone "https://gerrit.onap.org/r/ccsdk/oran" -b istanbul
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "config": { "type": "object", "properties": { "//description": { "type": "string" }, "description": { "type": "string" }, "controller": { "type": "array", "items": [ { "type": "object", "properties": { "name": { "type": "string" }, "baseUrl": { "type": "string" }, "userName": { "type": "string" }, "password": { "type": "string" } }, "required": [ "name", "baseUrl", "userName", "password" ], "additionalProperties": false } ] }, "ric": { "type": "array", "items": [ { "type": "object", "properties": { "name": { "type": "string" }, "baseUrl": { "type": "string" }, "controller": { "type": "string" }, "managedElementIds": { "type": "array", "items": [ { "type": "string" }, { "type": "string" } ] } }, "required": [ "name", "baseUrl", "managedElementIds" ], "additionalProperties": false } ] }, "streams_publishes": { "type": "object", "properties": { "dmaap_publisher": { "type": "object", "properties": { "type": { "type": "string" }, "dmaap_info": { "type": "object", "properties": { "topic_url": { "type": "string" } }, "required": [ "topic_url" ] } }, "required": [ "type", "dmaap_info" ] } }, "required": [ "dmaap_publisher" ] }, "streams_subscribes": { "type": "object", "properties": { "dmaap_subscriber": { "type": "object", "properties": { "type": { "type": "string" }, "dmaap_info": { "type": "object", "properties": { "topic_url": { "type": "string" } }, "required": [ "topic_url" ] } }, "required": [ "type", "dmaap_info" ] } }, "required": [ "dmaap_subscriber" ] } }, "required": [ "ric" ], "additionalProperties": false } }, "required": [ "config" ] } |
For more information on configuring the A1-Policy Management Service please see Istanbul - Component configuration
Build the code and create docker image
...
- Add proxy URL to properties file odlsli/src/main/properties/a1-adapter-api-dg.properties variable a1Mediator.proxy.url
- This file is part of CCSDK/distribution project
- After adding this information in the file, the distribution repo from CCSDK must be rebuild, follow by the SDNC/oam repo.
- URL format must be protocol://host:port for example http://proxy:8443
Running the functions
Component | Release image and version tag | Staging images and version tag | Manual snapshot (only available if manually built) and version tag |
---|---|---|---|
A1 Policy Management Service | nexus3.?????:10???/??????:0.0.0.0? | nexus3.?????:10???/??????:0.0.0.0? | ??????:0.0.0.0_Snapshot-latest....? |
Run A1-enabled Controller
...