...
Project | API Dependency | Notes | ||
---|---|---|---|---|
Portal | 2.4.0 (Casablanca, TBD Dublin) | |||
AAF | v2.1.2 (Casablanca, TBD Dublin) | |||
Dmaap | v1.1.8 (Casablanca, TBD Dublin) | |||
SDC | 1.35.0 1 (Casablanca, TBD Dublin) | |||
AAI | v16 aai-schema 1.0.3 | No direct link to any libraries | ||
SO | REST - No direct link to any libraries | |||
VFC | REST - | APP-C | No direct link to any libraries | |
SOSDNR | Dmaap - No direct link to any libraries | |||
VFCSDNC | REST - No direct link to any libraries |
Published API - These projects use the policy libraries to build their code
Project | API | Notes | |
---|---|---|---|
CLAMPTBD | 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 | |
DCAEn/a | Policy Lifecycle API | Implemented own python | APIcode |
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.
...
2. For any new changes to be done post-Release. Then the we must update to the next SNAPSHOT version:
Release Order | Repo (current released version) | Notes | Example Commit(s) for upgrading versions | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | policy/parent 2.1.0 | all pom.xml's version.properties | https://gerrit.onap.org/r/#/c/86556/ | |||||||||
2a | policy/docker 1.4.0 | all pom.xml's version.properties In main pom.xml change the following properties
NOTE: Be sure the following are set to match drools-applications and models repo ./config/pe/brmsgw.conf: BRMS_DEPENDENCY_VERSION BRMS_MODELS_DEPENDENCY_VERSION | ||||||||||
2b2 | policy/common 1.34.40 | all pom.xml's version.properties In main pom.xml change the following properties
| https://gerrit.onap.org/r/#/c/7154986722/ | |||||||||
3 | policy/drools-pdpmodels 12.30.52 | all pom.xml's version.properties In main pom.xml change the following properties
BRMS_MODELS_DEPENDENCY_VERSION
BRMS_MODELS_DEPENDENCY_VERSION | ||||||||||
4a | policy/api 2.0.1 | all pom.xml's version.propertiespolicy-management/src/test/resources/echo.pom In main pom.xml consider changing the policychange the following properties
| https://gerrit.onap.org/r/#/c/87851/ | |||||||||
4b | policy/pap 2.0.1 | all pom.xml's version.properties In main pom.xml change the following properties
| https://gerrit.onap.org/r/#/c/87852/ | |||||||||
4c | policy/drools-pdp 1.4.0 | 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 pom.xml property:*NOTE: The drools-pdp, drools-applications and engine must have the same version to support pre-loading of artifacts correctly. | ||||||||||
34d | policy/apex-pdp 2.0.4 | all pom.xml's version.properties In main pom.xml consider changing the policy.common.version property:
| https://gerrit.onap.org/r/#/c/7156287856/ | |||||||||
44e | policy/ | droolsxacml- | applicationspdp | 12. | 30. | 51 | version.all pom.xml's version.properties In main pom.xml | change the following propertiesconsider changing the policy.common.version property:
|
| version
| policy.drools-pdp*NOTE: The drools-pdp and drools-applications must have the same version to support pre-loading of artifacts correctly.
| https://gerrit.onap.org/r/#/c/7156687882/ |
54f | policy/engine 1.34.51 | all pom.xml's version.properties BRMSGateway/config.properties BRMSGateway/dependency.json BRMSGateway/src/main/java/org/onap/policy/brms/api/BrmsPush.java BRMSGateway/src/test/resources/config.properties In main pom.xml change the following properties
| ||||||||||
65a | policy/distributiondrools-applications 21.04.42 | all pom.xml's version.properties In main pom.xml change the following properties
Additional files to change in JUnit tests: controlloop/common/feature-controlloop-management/src/test/resources/op.pom In the dockerfile change to point to released drools-pdp image: FROM onap/policy-drools:1.4.0 and force pull the policy-drools:1.4.0 image: /71575/ | 7 (no dependencies, just ordering) | policy/docker (tagged 1.3.5) | /87814/1/controlloop/build/docker-cl
BRMS_DEPENDENCY_VERSION
There are no artifacts in this repo. But we need to be sure that any scripts that pull anything like templates are updated when branching. config/pe/push-policies.sh .
: BRMS_DEPENDENCY_VERSIONAnd it should be tagged by the LF release team to ensure consistency. | https://gerrit.onap.org/r/#/c/87840/ | ||||||
5b | policy/distribution 2.1.0 | all pom.xml's version.properties In main pom.xml change the following properties
| https://gerrit.onap.org/r/#/c/87893/ |
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.
...
Code Block |
---|
[gerrit] host=gerrit.onap.org port=29418 project=policy/engine.git defaultbranch=dublin |
When tagging for a release the following commands should be used:
Code Block |
---|
git tag -sm "4.0.1-ONAP Release" 4.0.1-ONAP
git push <remote-name> 4.0.1-ONAP |