Age | Commit message (Collapse) | Author | Files | Lines |
|
Retain datetime precision during downgrade operation
to prevent duplicate keys in pdpstatistics
Issue-ID: POLICY-3679
Change-Id: Ic93519b9420f0f77c3af7b63d3963f1971d77c37
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
Update timeStamp column in pdpstatistics to include microseconds.
Issue-ID: POLICY-3679
Change-Id: Ibf622b090b1cd914413f79c663db8128263c4ac2
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
DB-Migrator job completes even during failed upgrade
Issue-ID: POLICY-3660
Change-Id: I7295c740853e4dd533e989faa3dddebab4d4ccab
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
Issue-ID: POLICY-3587
Change-Id: Ie5f862a6030b2db250b0bdf39ec89d58213093c5
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Issue-ID: POLICY-3587
Change-Id: I36ba5d9d3ccedd5ce256fdfa3b23a52b3b150f55
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
|
|
Update the INFO.yaml file with latest information.
Issue-ID: POLICY-3552
Change-Id: Ie57f51e435b0e8caaf56524fc092e43c7ed79653
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
|
|
Adding CSIT test for consolidated healthcheck.
Also, verifying the an external groups file can be mounted to replace
PapDb.json present inside the docker image for database initialization.
Issue-ID: POLICY-3609
Change-Id: Icf2585d9d9df7e820fbddfbd1fe044b5a9e29cb3
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Update LASTUPDATE column in pdp table to use CURRENT_TIMESTAMP as default value
Issue-ID: POLICY-3608
Change-Id: I28d267729ab3959a0d4602a4129737d6d8029f86
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
Issue-ID: POLICY-3199
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Iefd75ae810c7b91b8cc37469b1169031346b2c4e
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
|
|
|
|
|
|
|
|
Also changed db-migrator to base off of 2.3.0 jre-alpine version. (We
have a "chicken and egg" problem where the migrator can't point to the
current docker version, as it hasn't been released yet, thus pointing it
to the latest released version, which is one back.)
Issue-ID: POLICY-3587
Change-Id: Idf34e9c6a724e31f16636388e239bed059c5dd3e
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3587
Change-Id: I27d917e77b32bb9bf405f45caf3b04f802e7ba6d
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3587
Change-Id: I49396f998f623bdb384c67891d770de0caafc79c
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Updates to pdpstatistics have a knock on effect on pdp_enginestats.
Table data needs to updated to ensure records are in sync
Issue-ID: POLICY-3583
Change-Id: Id7408beceb47e540e933e8ccc0ff05095f8da85b
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
Change-Id: I5d090765ff29143f689c6754a7a1ad55dae1c1b4
Issue-ID: POLICY-3524
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
Appears the the drools-apps healthcheck server now launches with https
disabled, by default. The CSITs expect it to be enabled, so added a
property to enable it.
Issue-ID: POLICY-3553
Change-Id: Ia10e103d4e3964c3dbf28b7f6db19f6dd6ddb9c1
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
METADATA tables for policy/docker db-migrator should be different than counterpart in policy/drools-pdp seed
Issue-ID: POLICY-3547
Change-Id: Ie0c6ebf286ed410433014106425626cee55f222e
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
Update the new created ID column with values
when changing pdpstatistics PK composition.
Issue-ID: POLICY-3546
Change-Id: I53939557700237ccc7ab21e4069bd82ec6a4a4cf
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
|
|
Modified the CSIT to only use the first two digits when selecting the
db-migrator version.
Issue-ID: POLICY-3535
Change-Id: Ic3539d87806ec9115fbad5e39498b3215cd25045
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3535
Change-Id: I755bb0f279f4255eb9c452b9f569a88de69e14f2
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
|
|
|
|
ONAP does not allow code containing an EPL-1.0 license. To address
this, the offending file was re-cloned, this time from ci-management,
which does not contain the EPL-1.0 license.
Issue-ID: POLICY-3431
Change-Id: Idd973e71beb57d55b7086f52abefd3bc5c5de65d
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3491
Change-Id: I987986da7325a040b80b031ae4e7fbf9776c4c54
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
use groovy url resource from docker repo
to identify the tag for docker
With this change, the "SNAPSHOT-latest" docker
tag will change from "2.3.0-SNAPSHOT-latest"
to "2.3-SNAPSHOT-latest" for jdk/jre alpine base
image as well as db_migrator docker.
Also fix a bug in println groovy script.
Issue-ID: POLICY-3378
Change-Id: I72bd15e2535f688629ee5f1a823409d8fe83cdb1
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
|
|
Update file permissions for db-migrator scripts
Issue-ID: POLICY-3491
Change-Id: I6895d27cb45dcdb9faa94ef5dc5e97b610ba3509
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
For all docker builds, policy is using groovy-maven-plugin
to run a groovy script to determine the tag for docker.
The plan is:
1, move docker-tag groovy script to docker repo.
2, change source for groovy-maven-plugin to a URL
below, that will point to the source code from
step #1.
<configuration>
<source>https://raw.githubusercontent.com/onap
/policy-docker/master/utils/groovy
/docker-tag.groovy</source>
</configuration>
Issue-ID: POLICY-3378
Change-Id: Iff1f09e5ae47205240305b09602c49d403fad98f
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
Refactored pap csit test cases to
* remove code duplication
* create methods for rest call
* improve assertions
* make it easy to add new test cases
Issue-ID: POLICY-3525
Change-Id: I60a5a9128ca6e97044d5de13fb14610d721c78d2
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Policy/distribution has been modified to use RestClientParams, thus
the corresponding json was modified to match.
Issue-ID: POLICY-3456
Change-Id: I64b5f4caf2f927b62b8a02f3352d083f06483937
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Adding policy audit api's to pap csit.
However, I see that pap csit file can be refactored
and lot of duplications can be removed.
Will do it as part of next review.
Issue-ID: POLICY-3340
Change-Id: I4334ad957ae70c4bcc9f3aa18d882042ce96d57f
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
|
|
Issue-ID: POLICY-3458
Change-Id: I4ae930d7f903efc4cf10dfca88dfed843ea29edb
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
Allow user to upgrade or downgrade form a release that did not complete successfully
Issue-ID: POLICY-3490
Change-Id: Ie14a744246f26a9036066b9f4064bca0c23290be
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
|
|
|
|
Issue-ID: POLICY-3490
Change-Id: Ibd1898819a5cb70f25bf69d71f2975dd2845389e
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
Issue-ID: POLICY-3374
Change-Id: Icebaf8184c2177778891bcd24a61ec93b2a46491
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
The operationshistory10 DB is no longer needed; removed from the CSIT.
Issue-ID: POLICY-3419
Change-Id: Ifcf3022a9b9ca92ad3d4f00402ee4e8b141d40ba
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
The onap-java image only installs the java jre, but policy needs the
jdk, thus we have been uninstalling the jre and then installing the jdk.
Unfortunately, this means that the policy-jdk image does not use the
latest ONAP-specified point release for either the java jdk OR python.
With this change, the policy-jdk image will start with the onap-python
image instead, thus python, at least will be up to date, even if the jdk
is not.
Note: tried using the latest adoptjdk image, but apparently there's
something different about that image that triggers a stack overflow in
apex-pdp. Consequently, we'll stay with the openjdk installed via
alpine "apk". This is still java 11, which satisfies ONAP requirements,
it just isn't the point release that is preferred.
Issue-ID: POLICY-3486
Change-Id: I0959c7048a38e30927b37b58deb887cc961a2150
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
|
|
Issue-ID: POLICY-3326
Change-Id: I116bade6fd8da23363af78e89beb23ee6e73d577
Signed-off-by: Dragosh, Pamela (pd1248) <pd1248@att.com>
|
|
|
|
Note: Instructions on how to use: https://wiki.onap.org/display/DW/Instructions+for+running+db-migrator
Issue-ID: POLICY-3458
Change-Id: I42bce63eca94333c6aaab0e27eb3e514bb844661
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
Added code to the xacml-pdp robot script to check the exit status of
wait_topic, to ensure that it succeeded.
Issue-ID: POLICY-3473
Change-Id: Ie47bb861cd331c42aa5ae4f91c38a259796be842
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
As part of this review, a new policy is executed in APEX-PDP that
interacts with AAI and CDS simulators. At each execution phase, along
with sending a request to AAI/CDS, a log event is also sent to DMaaP
notifying every action taken. This is done using the multiple output
support.
Change-Id: If34df13823196f9ece9b5ce6448b6652507f0b63
Issue-ID: POLICY-3466
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
Eliminated the separate topic/feed for policy statistics and replaced it
with a topic/feed for heatbeats, as that will be used for both
heartbeats AND statistics.
Issue-ID: POLICY-3460
Change-Id: Ie81a9c3d263db969a8c14597910f75724c244952
Signed-off-by: Jim Hahn <jrh3@att.com>
|