...
Project | API Dependency | Notes |
---|---|---|
Portal | 2.6.0 ? Upgrade to 3.0? | |
AAF | v2.1.2 ? | |
Dmaap | v1.1.8 | |
SDC | 1.6.0 | |
AAI | v16 aai-schema 1.0.3 | No direct link to any libraries |
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 |
...
Release Order | Repo (released version) | Notes | Example Commit(s) for upgrading versions | |||
---|---|---|---|---|---|---|
1 | policy/parent 3.1.03 | all pom.xml's version.properties | https://gerrit.onap.org/r/c/policy/parent/+/104021 | |||
2a | policy/docker 2.0.01 | 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 | https://gerrit.onap.org/r/c/policy/docker/+/102678 | |||
2b | policy/common 1.6.05 | 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.2.06 | 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.2.04 | 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.2.03 | 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.6.03 | all pom.xml's version.properties In main pom.xml consider changing the policy.common.version property:
Update policy/drools-applications files:
| ||||
4d | policy/apex-pdp 2.3.2.0 | all pom.xml's version.properties In main pom.xml consider changing the policy.common.version property:
| ||||
4e | policy/xacml-pdp 2.2.02 | 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 | |||
4f5 | policy/drools-applicationsdistribution 12.63.02 | 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.4 | all pom.xml's version.properties In main pom.xml change the following properties
OOM: Additional files to change in JUnit tests: controlloop/common/feature-controlloop-management/src/test/resources/op.pom
BRMS_DEPENDENCY_VERSION
BRMS_DEPENDENCY_VERSION
| https://gerrit.onap.org/r/c/policy/drools-applications/+/104408 | |||
6 - Dependent on policy/drools-applications | policy/engine 1.6.04 | 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 packages/base/src/files/install/servers/brmsgw/config.properties packages/install/src/files/brmsgw.conf In main pom.xml change the following properties
all pom.xml's version.properties In main pom.xml change the following properties
| 7 | policy/distribution 2.3.0 |
|
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 elaltofrankfurt'
Code Block |
---|
[gerrit] host=gerrit.onap.org port=29418 project=policy/engine.git defaultbranch=frankfurt |
...
Code Block |
---|
git tag -sm "6.0.0-ONAP Release" 6.0.0-ONAP git push <remote-name> 6.0.0-ONAP |
Steps for Releasing and branching |
---|
1. Go to latest merged review of repo and comment “stage-release” |
2. It will trigger2 Jenkins jobs - stage-master & docker-stage-master |
3. Once the jobs are successful, create a yaml filefor releasing maven artifacts firstandraise a review |
4. Once that is merged andbuildis successful, create another container.yaml filefor releasing docker image andraise a review NOTE: Drools-applications will require a 2nd "stage-release" to be done after step 3 due to the way it is built. The docker image requires the java artifacts to be released first, which are packaged into the image. |
5. Once that is merged andbuildis successful, goto nexus3.onap.org andverify that the image was released |
6. Bump the snapshotversiontonextpatchversionandraise a review - I use this command “mvn versions:set -DnewVersion=2.5.1-SNAPSHOT” |
7. Once that is merged andbuildis successful, goto gerrit andcreate a “frankfurt” branch. |
8. Once the branch is created, bump the master branch tonext minor versionusing the same maven command andraise a review 9. Finally goto frankfurt branch andchange the .gitreview fileto point to frankfurt asdefault branch andraise the review. |