Consumed API from other projects
Project | API Dependency | Notes |
---|---|---|
AAF | v2.1.21 | Completed |
Dmaap | v1.1.11 | Completed |
SDC | 1.6.5 - sdc-tosca 1.4.1 - sdc-distribution-client | Completed |
AAI | aai-schema 1.7.2 | Completed |
SO | REST - No direct link to any libraries | |
VFC | REST - No direct link to any libraries | |
SDNR | Dmaap - No direct link to any libraries | |
SDNC | REST - No direct link to any libraries | |
CDS | 0.4.4 | TODO |
Published API - These projects use the policy libraries to build their code
Project | API | Notes |
---|---|---|
CLAMP | Policy Lifecycle API | implemented in own java code |
OOF | Legacy Policy API | implemented in own python code |
SDNC | Legacy Policy API | implemented in own code |
DCAE | Policy Lifecycle API | Implemented own python code |
1. Follow the process as outlined here: Independent Versioning and Release Process. Policy repositories inherit from oparent so release jobs will fail if any SNAPSHOT artifact is referenced in the pom.xml's.
- Verify there are no SNAPSHOTs and we are up-to-date with other team's released artifacts. The CI/CD daily release job does this by automatically failing if a SNAPSHOT is defined in the pom.xml's.
- Use the Self Releases Workflow (Nexus2) to release artifacts. Look at comments by Jorge Hernandez for steps.
- Update the OOM team K8S Helm Charts.
Note: If using maven version or release plugin, also manually check the versions are set correctly in the POMs, these plugins can miss POMs especially if they do not have Java source code in them.
2. For any new changes to be done post-Release. Then the we must update to the next SNAPSHOT version:
Release Order | Repo (released version) | Notes | Example Commit(s) for upgrading versions |
---|---|---|---|
1 | policy/parent 3.2.0 (TBD) | all pom.xml's version.properties | https://gerrit.onap.org/r/c/policy/parent/+/104021 |
2a | policy/docker 2.1.0 (TBD) | all pom.xml's version.properties In main pom.xml change the following properties
| https://gerrit.onap.org/r/c/policy/docker/+/102678 |
2b | policy/common 1.7.0 (TBD) | all pom.xml's version.properties In main pom.xml change the following properties
| https://gerrit.onap.org/r/c/policy/common/+/104047 |
3 | policy/models 2.3.0 (TBD) | all pom.xml's version.properties In main pom.xml change the following properties
| |
4a | policy/api 2.3.0 (TBD) | all pom.xml's version.properties In main pom.xml change the following properties
| https://gerrit.onap.org/r/c/policy/api/+/104257 |
4b | policy/pap 2.3.0 (TBD) | all pom.xml's version.properties In main pom.xml change the following properties
| https://gerrit.onap.org/r/c/policy/pap/+/104262 |
4c | policy/drools-pdp 1.7.0 (TBD) | all pom.xml's version.properties In main pom.xml consider changing the policy.common.version property:
Update policy/drools-applications dockerfile to pull this image (see below) Update policy/drools-applications files:
| |
4d | policy/apex-pdp 2.4.0 (TBD) | all pom.xml's version.properties In main pom.xml consider changing the policy.common.version property:
| |
4e | policy/xacml-pdp 2.3.0 (TBD) | all pom.xml's version.properties In main pom.xml consider changing the policy.common.version property:
| https://gerrit.onap.org/r/c/policy/xacml-pdp/+/104294 |
4f | policy/distribution 2.4.0 (TBD) | all pom.xml's version.properties In main pom.xml change the following properties
| https://gerrit.onap.org/r/c/policy/distribution/+/104296 |
5 - Dependent only on policy/drools-pdp | policy/drools-applications 1.6.0 | all pom.xml's version.properties In main pom.xml change the following properties
| https://gerrit.onap.org/r/c/policy/drools-applications/+/104408 |
When branching, its easiest to update the .gitreview file ON the new branch in order to ensure that new gerritt submissions are tracked on that branch.
If this is not done, then one should specify the branch when submitting the git review. 'git review guilin'
[gerrit] host=gerrit.onap.org port=29418 project=policy/engine.git defaultbranch=guilin
When tagging for a release the following commands should be used:
git tag -sm "7.0.0-ONAP Release" 7.0.0-ONAP git push <remote-name> 7.0.0-ONAP