Age | Commit message (Collapse) | Author | Files | Lines |
|
They will be loaded automatically at startup.
Remove POLICY-PAP-PDP topic as is moved to a feature.
Remove PDPD-CONFIGURATION topic as it is not used.
Change-Id: I55629f885d61ce1cc4e3f24bcae5279e65a96f22
Issue-ID: POLICY-1610
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
|
|
Removed OrderedService and OrderedServiceImpl from the
drools-pdp repo to use OrderedService and OrderedServiceImpl
from the common repo. All feature interfaces were updated
occordingly.
Issue-ID: POLICY-1499
Change-Id: Icc80dd1cbe73a97d4832f95ad2dad52d948b711a
Signed-off-by: Daniel Cruz <dc443y@att.com>
|
|
Alpine OpenJDK was updated 2 days ago (3/14), this
upgrade seems to break java applications that depend on libnss*.so
OS libraries, which seem are no longer installed with the jdk.
Before:
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (IcedTea 3.10.0) (Alpine 8.191.12-r0)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode
ls /usr/lib/libnss*
/usr/lib/libnss3.so /usr/lib/libnssckbi.so.41 /usr/lib/libnssdbm3.so.41
/usr/lib/libnss3.so.41 /usr/lib/libnssdbm3.chk /usr/lib/libnssutil3.so
/usr/lib/libnssckbi.so /usr/lib/libnssdbm3.so /usr/lib/libnssutil3.so.41
Now:
openjdk version "1.8.0_201"
OpenJDK Runtime Environment (IcedTea 3.11.0) (Alpine 8.201.08-r0)
OpenJDK 64-Bit Server VM (build 25.201-b08, mixed mode)
> ls /usr/lib/libnss*"
ls: cannot access '/usr/lib/libnss*': No such file or directory
Change-Id: I371d1b3426ded294dba16d4217f6c9ce5a5acf04
Issue-ID: POLICY-1604
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
|
|
Update missing information blocks and
indentation to pass verify job.
Change-Id: I3f057c3d0fd02a39391439a12d22f7db0e507f4e
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
|
|
Change-Id: I96e30e2ffb7dc35ffc1e377c1021ee871ab5a310
Issue-ID: POLICY-1560
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
|
|
Change-Id: Ibd69b100468716b929d42c9145fb72153cf685ed
Issue-ID: POLICY-1560
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
|
|
Three problems are solved: (a) no amsterdam application comes
up, (b) wait for mariadb not working, (c) timeout does not work
(different syntax).
Change-Id: Ib46312201e8be06816b1339e543711f293225ca1
Issue-ID: POLICY-1551
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
|
|
|
|
Change-Id: I5f7ab5de402a5412938f42ae76e21f112b106b3a
Issue-ID: POLICY-1560
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
|
|
Issue-ID: POLICY-1551
Change-Id: I565644e048c789c3c71546ae00c0beb84bb6358a
Signed-off-by: Hengye <yehui.wang@est.tech>
|
|
JAVA_HOME is known at image creation.
Change-Id: I7274c47b5e890870d61949109ed2e1292a049eb9
Issue-ID: POLICY-1560
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
|
|
|
|
|
|
volume is unused and hides config dir when
inherited from pdp-d-cl.
small simplification in pdp-d install
Change-Id: I50d343b8d289f2f883bc31a6c650584343d8cd97
Issue-ID: POLICY-1560
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
|
|
Modified code to use BeanConfigurator instead of PropertyConfiguration.
Change-Id: I296d9047262fbc87f04c3db92f23181f588bfeda
Issue-ID: POLICY-1444
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
|
|
|
|
This features provides a mechanism to extend the logback.xml
properties to add controller specific loggers. The controller's
logger will log messages from topics that the controller listens
to in a controller specific network log. The original network
log is preserved and still logs every message from every controller.
Note that the way a logger is associated with a controller is by
having the logger name match the controller's name. Any configuration
file that has "logback-include-" prepended and a ".xml" extension
will be added to the logback.xml and logback-eelf.xml files as
extensions to the base configuration.
Issue-ID: POLICY-1427
Change-Id: Iaeb823421eadb7ee413b6b03ae3dfe862f230612
Signed-off-by: Daniel Cruz <dc443y@att.com>
|
|
+ support multiple system properties files with variable interpolation
loaded at initialization
+ support of configurable JVM options (-X, etc ..).
+ rearrange aaf configuration to avoid {{}} installation variables
and use dynamic enviroment variables.
+ miscellaneous clean up in areas touched and checkstyle.
Change-Id: I71ad839778e17eb57c098a2c5cc2bf96e468669a
Issue-ID: POLICY-1524
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
|
|
est.tech
Issue-ID: POLICY-1556
Change-Id: I810dcac34ec078a07dfb2374067ecc06018fa7fb
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
With these changes the PDP should come up listening in
the new PAP-PDP topic for messages, and configured to
send.
Change-Id: I395f87a7401aeb6385d640e51f75d71c0def36b0
Issue-ID: POLICY-1548
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
|
|
A new method, getEffectiveTopic(), was added to the Topic interface.
A test class in the pooling feature uses that interface, thus the
method had to be added to the implementation within that test class.
Note: until this is merged, drools-pdp will not build.
Change-Id: Ib82e7a0d23f5b8e8eda08e8fc570e96543497da2
Issue-ID: POLICY-1534
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
|
|
The refactoring of the JsonProtocolFilter allows for complex filter
queries for JSON events coming in on network topics. The underlying
library used is json-path, which supports path based searching and
ruby regex filtering at any level of the JSON document.
The JsonProtocolFilter no longer requires a FilterRule class as one
json-path filter can contain multiple constraints using "&&" or "||".
This eliminates the need to identify the field name as a key with a
regex associated with it in the controller properties file (see the
original FilterRule implementation). It also simplifies the parsing
needed in the DroolsControllerFactory when extracting the filter
property and creating the JsonProtocolFilter.
JUnit coverage is 100% and all sonar flags were addressed related to
the JsonProtocolFilter class. Tested and verified working with the
telemetry API in a locally deployed PDP-D.
Change-Id: I8bd63db4e497c1ba0b5044b5449ccb7a9e4dbdbc
Issue-ID: POLICY-1489
Signed-off-by: Daniel Cruz <dc443y@att.com>
|
|
Change-Id: I01e0cf2e2399ec81337961e0a2b3a349c34f55c4
Issue-ID: POLICY-1517
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
|
|
|
|
Fixed sonar issue:
- remove the declaration of thrown exception
'com.google.gson.JsonParseException' which is a runtime exception
Change-Id: Ice29a875891a06a55932fcf80107d4dec2b10d1f
Issue-ID: POLICY-1533
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Change-Id: Ic9cc018e918527d610676b34f05da718f09d97b9
Issue-ID: POLICY-1529
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Modified property files to use gson instead of jackson for REST calls,
for both clients and servers.
Change-Id: Ib836886df33cd585b4c2d227e9cc496cc165fc2c
Issue-ID: POLICY-1431
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Added jackson-like Gson annotations to policy-management classes.
Also added tests to verify that the classes serialize the same
with gson as with jackson.
Removed some trailing spaces.
Replaced tabs and adjusted spacing in json files.
Removed trailing newlines.
Updated license data per review comment.
Fixed merge conflict.
Added files that were inadvertently deleted.
Change-Id: Ib546e70f9d9d83187a6a93ff5c634000c4d53da5
Issue-ID: POLICY-1431
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
|
|
Coders came in pairs, one for GSON and one for Jackson. Replaced the
pairs with a single coder for GSON.
Simplified list copy.
Removed multipleToolsetRetries flag.
Removed additional jackson code. It had been removed, but the changes
were somehow lost.
Simplified another list copy.
Updated license dates.
Note: the date in PolicyEngineTest will be updated via a
different review (mgmt-gson).
Change-Id: Id3c7688c2389d194f66afcefa14303cf403ada16
Issue-ID: POLICY-1431
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
This allows for nexus to be reconfigured dynamically.
Change-Id: I103707ab7525ddb29663d7785739a34dff538605
Issue-ID: POLICY-1518
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
|
|
|
|
Change-Id: I5028ad3b4fb63a96607915e8b424dd2e57696bf0
Issue-ID: POLICY-1514
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
|
|
PolicyAssert has a sonar issue and is no longer needed, as the
same functionality (and more) is provided by assertj. Modified
drools-pdp test code to replace PolicyAssert with assertj.
Updated license dates.
Removed trailing spaces.
Remove assertj version from poms, as it's now included in parent pom.
Change-Id: Ica82a959613e082dc6ed6fc9e103a198c2f17537
Issue-ID: POLICY-1393
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
The rule writer at design time can embed the domain base model(s) supported
at design time.
This information can be extracted at runtime to match a controller with the
domain/model functionality that it can support.
Change-Id: I7f7f1320d7d601d50949d0cd09bc48982c222333
Issue-ID: POLICY-1500
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
|
|
Modified code to use gson instead of jackson.
Change-Id: I5a1b2dacdc1801b1110154ed7c3c81e0713ef369
Issue-ID: POLICY-1431
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
This is to support some clean up changes done in
policy/common under commit 55f5c4dc9e130e48a25b048e1f3091b10c17e365.
Change-Id: I2961d7ba719d22f144af972dc3964c3ac402e75c
Issue-ID: POLICY-1397
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
|
|
Change-Id: I5c9c5e962a7e2a5617405d534c0719f4bdb6ff1c
Issue-ID: POLICY-1393
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
This commit adds tooling to better support development activities
for drools developers.
1. deploy artifacts to nexus or to local file repository on demand.
It also allows to test on a single drools instance without the
dependency on a nexus repo.
2. make installation configuration files conform to same
convention (all upper case).
Change-Id: Ia0a2fc25db2ef21b774a9eee4ed51d4b876a1993
Issue-ID: POLICY-1367
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
|
|
|
|
Per current logging spec, the location is recommended to be
under /etc/onap/<component>/subcomponent but is acceptable
to have an enviroment variable pointing to it instead.
Environment variable is preferred over fixed location so
the config files are not all over the place, and is not
placed under directories owned by root.
Change-Id: Id5679f49a726fa43147ffb3e141acec30ebfdaaf
Issue-ID: POLICY-1294
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
|
|
It is generic with extended expiration, and support for
policy-distribution and policy-apex-pdp components.
Change-Id: I02157b063159ed6f8fc71f00cf0f890059b20c7b
Issue-ID: POLICY-1377
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
|
|
|
|
Modify protocol coder to fix sonar issue about method
params too many. Using existing builder. Address review
comments, replace modified with modification
Issue-ID: POLICY-1251
Change-Id: I67bd753f346108865404b733e7cf6008c2012766
Signed-off-by: krisjinka <kris.jinka@samsung.com>
|
|
Use eclipselink from policy parent.
Re-insert scope=provided.
Change-Id: I325d13b7249747469d93bf451f5753cfbc728568
Issue-ID: POLICY-1361
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
|
|
|
|
Add method in Eventprotocolcoder uses more params than
allowed causing sonar issue, use builder object instead
Modify javadoc and tostring methods based on review comments
Issue-ID: POLICY-1251
Change-Id: I6f283135560bfa61ca9d9512f5c971d118d7e071
Signed-off-by: kris.jinka <kris.jinka@samsung.com>
|