Age | Commit message (Collapse) | Author | Files | Lines |
|
Issue-ID: POLICY-4482
Change-Id: Iab954284a842d6065b05138efa501dd9dc7dff63
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
The Policy Framework base image run under the "onap" user rather than
under the "root" user. This means that root access has to be enabled in
child Dockerfiles for configuraiton that requires root access.
Root access is turned off again later in the Dockerfile so that the
image will run under another user.
Issue-ID: POLICY-4558
Change-Id: I4da232b60353ce175465bb020db21f22a246f643
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
policy/pap updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I14d931b8d2f7a8f63a0a5ffbb2fd2cfafaddc33a
|
|
updated references in the policy/pap pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I2ee988f48734963c693712dc60024c4dfb930d8d
|
|
The POM config for git-commit-id-maven-plugin is duplicated in each
repo, so the config is moved to policy/parent
Issue-ID: POLICY-4466
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I2e46e014cbc277785a236b60603d395490e58220
|
|
policy/pap updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I09bf91495a8ae93e7e3c4aaadf3ad14971c6bbfb
|
|
policy/pap updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I61b9bc417feeccbda2cf55d2f79327d01f362fae
|
|
updated references in the policy/pap pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Id4f5ddedad25e513aaee953d17e5c323fa7487f1
|
|
policy/pap updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Iacf22dfa0876db72b906b1b4e5b95611379be9b3
|
|
updated references in the policy/pap pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ie9178a197f5789b66bf0945839bdab302bdebccb
|
|
If building with an external dockerfile, e.g. using
mvn clean install -Pdocker -DdockerFile=/path/to/dockerfile
docker will look for project files in the same directory as the
new dockerfile. A new property is added for setting the context
path, to allow using existing project files in src/main/docker.
Issue-ID: POLICY-4334
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ica6984b0460e5814df56ab6679003e98b983d397
|
|
Update docker base image to snapshot
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4287
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Idc09b2371c376dc32d4827cca8d28afe2184cae1
|
|
Remove unused jar files from image (not needed since spring boot)
Avoid creating extra layers when extracting tarball
Reduce size of Alpine image by 73% (959MB to 259MB)
Reduce size of OpenSuse image by 62% (1.12GB to 423MB)
Issue-ID: POLICY-4266
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I5a0a3efc81b0cb8da899c12f65479fd2af935451
|
|
Issue-ID: POLICY-4278
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Iafe1e311a22693eb30758949cdb1414d4c8d080a
|
|
Issue-ID: POLICY-4254
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ide30dc437f25846b569b5f4ac9a581880705a7c4
|
|
Create OpenSuse docker file
Add build profile for OpenSuse docker image
Issue-ID: POLICY-4189
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I4aca4c5d3486cecf012989e9227557587f83bbb6
|
|
policy/pap updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4073
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I71900f971ba646a97d54113351406398ada70a12
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
policy/pap updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I312fe988c4e2611dead50a7e7b28ab18de6cd75c
|
|
updated references in the policy/pap pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ic269481eed341f1c3043f53e76e6fa21b9856075
|
|
policy/pap updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ia650fc73cb0af8e8b36b82791918e23e51367308
|
|
updated references in the policy/pap pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Icf68c7320c8e1b20dde8b0db2cfbd728ba2f77bf
|
|
policy/pap updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I856f412dc6e27011d13aa6ff05dff8f000cc9a2b
|
|
updated references in the policy/pap pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ia809db011a805e9bec71b5843dbf6a3b5b2ea30b
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
1) Swagger was getting generated in a different format
due to a serialization isue. It is fixed.
2) Improved exception handling by taking care of any exceptions
that could occur in and around database operations.
3) AAF enabling/disabling was done using spring profiles.
This is changed to using parameters, as it is more easier to configure
in an OOM helm chart deployment
Change-Id: If1bee01379ba5c4efac29822662896d8aa883fc8
Issue-ID: POLICY-3975
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
|
|
Use YamlHttpMessageConverter from policy/common.
Use CustomImplicitNamingStrategy from policy/common.
Fix few sonar issues.
Issue-ID: POLICY-3931
Change-Id: I4720761cbf8da464ec57541f9b19f8d124503e17
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
1) PAP fails to start in OOM when no pdp group configuration file is
specified with the recent changes. This is fixed.
2) logback.xml file mounted in OOM is not used by PAP. This is also
fixed in this review.
Change-Id: I84096e1b100e2be20a9a2d95e1eb6ffc79486f29
Issue-ID: POLICY-3754
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
This review makes PAP talk to DB directly using the spring repositories
instead of going to policy-models-provider.
The models-provider methods that were just used by PAP (and not used
anymore) will be removed in a different review.
Also a bug identified with the usage of GeneratedValue in
PfGeneratedIdKey (which is just used by PAP in statistics & audit) will
also be fixed in a separate review as part of POLICY-3897.
CSIT changes: https://gerrit.onap.org/r/c/policy/docker/+/127033
WIP OOM review: https://gerrit.onap.org/r/c/oom/+/127035
Change-Id: Idb13ba7eb2767cc718672b582a6518fcfc95320f
Issue-ID: POLICY-3867
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
Issue-ID: POLICY-2086
Change-Id: I891feb05d2e964ae8d4454d30672ffc77c1da555
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
|
|
As discussed during weekly call, with the move towards prometheus way of
monitoring policy framework components. There is no need to keep the
statistics flag turned on by default and utilize resources in processing
& storing them. Hence, turning off the flag here.
Will raise another review for OOM.
Won't cause any breakage to CSIT as we are already providing config
to enable the statistics there.
Issue-ID: POLICY-3156
Change-Id: I89962277a6b9aede713317336f776ea3ed9ffd65
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
This commit migrates pap config, startup and controllers to spring boot.
Change-Id: Icf91d728160a23db614dfba6b40ddccd2f6163a5
Issue-ID: POLICY-3754
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
*** This commit is generated by a PF release script ***
policy/pap is update from 2.6.0-SNAPSHOT to 2.6.1-SNAPSHOT
Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ic2f4f6b0a395298a74a7f354122605c64bfe2566
|
|
*** Release Phase 7: This commit is generated by a PF release script ***
This is the seventh release phase, it updates parent, common and models
references in policy/pap.
Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: If831839719c7ff87a9cc3778cd7c6803676d7469
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Use an account other than healthcheck in PAP for provisioning of policies.
Issue-ID: POLICY-2744
Change-Id: I897f7a4fffbac2d4bbd9cceb059bae1794753aa7
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
|
|
Change-Id: I2343607e6cf92488c6f74107ced8c4234d126d26
Issue-ID: POLICY-3696
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
Change-Id: Ifadbff28b39582016096865565d4b5c76f8dd027
Issue-ID: POLICY-3696
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
Issue-ID: POLICY-3696
Change-Id: Ie3cfd25c36e30d7e85448da48a27419252cea077
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Issue-ID: POLICY-3587
Change-Id: I525db19433347938645d31670729a9429ed0eb91
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3587
Change-Id: Ieedb4fc34a54306d74a3bf5b934ee36e2e07077f
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Add dmaap connectivity check in pap consolidated health check.
Make a rest call to fetch all the topics.
Verify POLICY-PDP-PAP topic is present.
Issue-ID: POLICY-2896
Change-Id: Ide39c70999eaca61205225c95b904e3009d41408
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Change-Id: Id75de7a8c02531acb9c461e917be971feca94ffd
Issue-ID: POLICY-3538
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
use groovy url resource from docker repo
to identify the tag for docker
Issue-ID: POLICY-3378
Change-Id: I1abd43ae0cd6f0ddc1060ccb525d2ba43e39f392
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
Issue-ID: POLICY-3374
Change-Id: Ibc4fe79ec588d5b7342d8d667d51d8b5662fd031
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Separated the heartbeat processing onto its own POLICY-HEARTBEAT topic,
still on the "real" (i.e., "effective") POLICY-PDP-PAP topic, like we
had originally been doing with the statistics. With this change,
statistics processing continues to be part of the heartbeat
class/processing, thus a separate class is not required to listen for,
and handle, statistics.
This new subscription uses a shared consumer group so that only one PAP
will process any given heartbeat message, which should reduce the
likelihood of DB contention and duplicate keys.
This also means that the "saveStatisticsInDb" flag will still be used,
which is a more obvious mechanism for controlling the storing of
statistics than the presence/absence of a topic in the config file.
Issue-ID: POLICY-3460
Change-Id: Ia07132b1c7aef006af86fddbe677fb1243a4e2c3
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Adding an ability in pap to turn on/off processing of pdp statistics.
By default it will be turned on and can be changed via configuration.
Issue-ID: POLICY-3450
Change-Id: I093fe3f1390769f9acf2cfe85dd0d4edf0539de8
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3331
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Idccfa3761b9a7d9d8907f105a261c9c7c85e70c5
(cherry picked from commit 689ec7f2a61c0f5347d807f70244588590cd9b8a)
|
|
- modify policy-pap.sh to optionally provision
a custom group if such a file is present.
Issue-ID: POLICY-3331
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ib53bc14ee6b9471ab48f5a792b4283db3ed53b93
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
|
|
Issue-ID: POLICY-3160
Change-Id: I79c41aa584efd3f4c617fd7c6de9ccf3862eb34d
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
The Keystore is no longer needed in the tarball, as it is supplied
externally by the CSITs and Helm charts. Deleted that file.
Also modified the junits to use utils-test to generates keystores at
runtime, thus deleted the junit keystore file, too.
Issue-ID: POLICY-3143
Change-Id: I2b0c4868613e0923aad87844dd16f3ac236d4291
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3139
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I728118f2eb691dddb93b36c832eb4c8a72e0d5af
|