aditya.puthuparambil [Wed, 4 Mar 2020 14:31:19 +0000 (14:31 +0000)]
Fixing SONAR bug + code smell
Change-Id: If76ddc860b67e0d8dcd4c48bacb5436ffc773faa
Issue-ID: POLICY-1913
Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech>
Liam Fallon [Wed, 4 Mar 2020 13:32:27 +0000 (13:32 +0000)]
Merge "replace test sleep() with awaitality package"
Pamela Dragosh [Wed, 4 Mar 2020 12:50:06 +0000 (12:50 +0000)]
Merge "Preparing integration tests for Graal Javascript"
Pamela Dragosh [Wed, 4 Mar 2020 12:49:14 +0000 (12:49 +0000)]
Merge "GRPC support for APEX-CDS interaction"
liamfallon [Mon, 2 Mar 2020 17:08:47 +0000 (17:08 +0000)]
Preparing integration tests for Graal Javascript
Graal enforces Javascript more strictly than Nashorn does. This review
changes the tests in apex-pdp to comply with the stricter -Javascript
checking, re-enabling the integration test module.
- All log calls must be passed as strings, using toString()
- Byte/Float/Long Java types not supported in Javascript
Disable integration tests so that other changes can be brought in.
JMS integration test is disabled for now, it will be re-enabled in a
review shortly.
Issue-ID: POLICY-2106
Change-Id: I14bdb930eff735e862b51802cf72e4793cec3699
Signed-off-by: liamfallon <liam.fallon@est.tech>
Henry.Sun [Mon, 2 Mar 2020 07:47:09 +0000 (15:47 +0800)]
replace test sleep() with awaitality package
Signed-off-by: Henry.Sun <henry.a.sun@est.tech>
Change-Id: I305771ddef42bd3032ad52f4c5ecd55b01ed5a1a
Issue-ID: POLICY-1914
Signed-off-by: Henry.Sun <henry.a.sun@est.tech>
a.sreekumar [Sun, 1 Mar 2020 19:38:50 +0000 (19:38 +0000)]
GRPC support for APEX-CDS interaction
Change-Id: I586153244dbd97a41e9b9d616ee9a84327b7c2da
Issue-ID: POLICY-1656
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Pamela Dragosh [Tue, 3 Mar 2020 14:27:23 +0000 (09:27 -0500)]
use policy/parent awaitility
use common version
Issue-ID: POLICY-2381
Change-Id: Id231aa8709b3c4515fcac80b82d53fb8ed45eaf0
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Jorge Hernandez [Mon, 2 Mar 2020 19:15:46 +0000 (19:15 +0000)]
Merge "FIxing Sonar issues in APEX"
Ram Krishna Verma [Mon, 2 Mar 2020 15:24:14 +0000 (15:24 +0000)]
Merge "Switch apex to Graal javascript engine"
aditya.puthuparambil [Mon, 2 Mar 2020 13:25:29 +0000 (13:25 +0000)]
FIxing Sonar issues in APEX
Change-Id: I8ac07eede6758c84a4a9ca505382f215d531cf47
Issue-ID: POLICY-1913
Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech>
Pamela Dragosh [Sun, 1 Mar 2020 21:42:04 +0000 (16:42 -0500)]
Point to docker 2.0.1
policy/docker is released.
Issue-ID: POLICY-2378
Change-Id: If3ed5a595f9e6138c18ed8d7386e07a776d7c903
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
liamfallon [Fri, 28 Feb 2020 16:54:48 +0000 (16:54 +0000)]
Switch apex to Graal javascript engine
This is the main review to switch out the Nashorn Javascript interpreter
and switch in the Graal javascript interpreter for apex Javascript
tasks.
The Graal Javascript dialect differs slightly from Nashorn in the way it
accesses information passed over from the Java world so Javascript
tasks need to be converted.
Subsequent reviews will convert the JUnit tests marked @Ignore in
previous reviews to this one and will convert the Javascript tasks into
a format Graal can handle. Subsequent reviews will also convert the
examples over to Graal format.
Issue-ID: POLICY-2106
Change-Id: Ief582a36539e8a87724c17fb7e56864d5e471c07
Signed-off-by: liamfallon <liam.fallon@est.tech>
Liam Fallon [Thu, 27 Feb 2020 17:00:08 +0000 (17:00 +0000)]
Merge "Add integration tests for Parameter passing in APEX"
a.sreekumar [Tue, 25 Feb 2020 16:49:33 +0000 (16:49 +0000)]
Add integration tests for Parameter passing in APEX
Change-Id: I5d01766ffb0104f632bebc9b553e7dca83b4829f
Issue-ID: POLICY-2364
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Jim Hahn [Wed, 26 Feb 2020 14:23:16 +0000 (14:23 +0000)]
Merge "Fix Java 11/Checkstyle/Sonar warnings"
liamfallon [Tue, 25 Feb 2020 16:10:08 +0000 (16:10 +0000)]
Fix Java 11/Checkstyle/Sonar warnings
A number of Java 11, checkstyle, and SONAR warnings have crept into the
Apex codebase over the last number of reviews. This change fixes those
issues.
Issue-ID: POLICY-1913
Change-Id: I2afd607e80f48323355380fb2fe5e048e18879f9
Signed-off-by: liamfallon <liam.fallon@est.tech>
ning.xi [Tue, 25 Feb 2020 08:55:22 +0000 (16:55 +0800)]
remove duplication code in plugins-event producer
Issue-ID: POLICY-1884
Change-Id: I7774dfdc7d7edcc0409a817bfd21ddacec21d085
Signed-off-by: ning.xi <ning.xi@est.tech>
Ram Krishna Verma [Mon, 24 Feb 2020 14:39:34 +0000 (14:39 +0000)]
Merge "remove code duplication in plugins"
Ram Krishna Verma [Mon, 24 Feb 2020 14:38:07 +0000 (14:38 +0000)]
Merge "remove code duplication in plugin-event-carrier"
shaoqiu [Thu, 20 Feb 2020 04:28:25 +0000 (12:28 +0800)]
remove code duplication in plugins
Remove consumer code duplication in plugins-event-carrier
Issue-ID: POLICY-1884
Signed-off-by: shaoqiu <tim.huang@est.tech>
Change-Id: I2d222436a97224e54a03c2501f4dc14d3f5f6ac0
a.sreekumar [Thu, 13 Feb 2020 11:17:54 +0000 (11:17 +0000)]
Passing taskParameters from ApexConfig to policy logic
TaskParameters can be used to pass parameters from ApexConfig to the policy logic. In the config, these are optional.
Usage as below:
{
"engineParameters": {
"taskParameters": [
{
"key": "ParameterKey1",
"value": "ParameterValue1"
},
{
"taskId": "TaskIdVal",
"key": "ParameterKey2",
"value": "ParameterValue2"
}
]
}
}
In the taskLogic, taskParameters can be accessed as below:
eg: executor.parameters.get("ParameterKey1"))
If taskId is provided in ApexConfig for an entry, then that
parameter is updated only for that particular task. Otherwise, the task
parameter is added to all tasks.
Change-Id: I9e1b3d3697428309e7d86db40b63ffe822935b69
Issue-ID: POLICY-2364
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
ning.xi [Thu, 20 Feb 2020 03:17:28 +0000 (11:17 +0800)]
remove code duplication in plugin-event-carrier
Issue-ID: POLICY-1884
Change-Id: I610d7ee34d640cc3a7d3381b24993ee9b6f76f2d
Signed-off-by: ning.xi <ning.xi@est.tech>
Ram Krishna Verma [Wed, 5 Feb 2020 21:31:01 +0000 (16:31 -0500)]
Updating module names to resolve conflicts
Issue-ID: POLICY-2355
Change-Id: I67f0ca2ced9cbe37a3d00d9f312101e756454107
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
a.sreekumar [Mon, 3 Feb 2020 15:14:48 +0000 (15:14 +0000)]
Adding Tosca compliant operational policy type to default config file for apex-pdp
Change-Id: I6de1fd31c2e73814a546b05ee71419fded4a3357
Issue-ID: POLICY-2147
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
a.sreekumar [Wed, 29 Jan 2020 09:50:33 +0000 (09:50 +0000)]
Remove content section from ToscaPolicy properties in APEX
Currently APEX specific information is placed under properties|content in ToscaPolicy.
Avoid keeping under "content" and keep the information directly under properties.
Change-Id: Ic437271c9a2d71104013b5568af5525df4a4bb56
Issue-ID: POLICY-2332
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Pamela Dragosh [Mon, 27 Jan 2020 15:04:00 +0000 (10:04 -0500)]
Remove unnecessary sonar config
This is no longer needed now that it is pointing to
latest policy/parent.
BTW - I decided there were too many changes required
for combining into one single .exec jacoco file. And it
was not improving any of the numbers. This repo is very
close to original numbers before the move to sonar cloud.
Will investigate another time.
Issue-ID: POLICY-2321
Change-Id: If2f3a762de943fb6f73709d9308333b8feda436e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
liamfallon [Thu, 23 Jan 2020 16:50:47 +0000 (16:50 +0000)]
Remove apex-pdp TextFileUtils class
This class was moved to policy-common some time ago. Removing it in
apex-pdp.
Issue-ID: POLICY-1913
Change-Id: I982fbd799334b34f1526e19f339236b52205b91e
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Wed, 22 Jan 2020 12:11:11 +0000 (12:11 +0000)]
Run apex-pdp in Java 11: base changes
This change brings in the minimum changes to get apex-pdp running in
Java 11. Other reviews will bring in changes to remove Java 11 warnings
and to convert apex-pdp Javascript handling from the now deprecated
nashorn engine.
Issue-ID: POLICY-1581
Change-Id: I879bbae08d4e67aca3f1bfeedeca639d8dbbc281
Signed-off-by: liamfallon <liam.fallon@est.tech>
Pamela Dragosh [Mon, 20 Jan 2020 14:41:21 +0000 (09:41 -0500)]
First sonar update
Just updating this way gets apex to around 79%, which
passes. Previously around 80%, when JDK11 is done I will
fix it up and hopefully we will get it back to over 80%.
Issue-ID: POLICY-2321
Change-Id: If3440e8c8c71f858adcc3f1b349da4e1048f8464
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
HOCKLA [Fri, 10 Jan 2020 21:37:28 +0000 (15:37 -0600)]
Point to policy/models release version
Issue-ID: POLICY-1592
Change-Id: I4a795fc1496f5608884a7b8bdad0c212c4321392
Signed-off-by: HOCKLA <ah999m@att.com>
Jim Hahn [Thu, 9 Jan 2020 14:34:54 +0000 (14:34 +0000)]
Merge "Populate the PdpStatistics data in heartbeat"
Pamela Dragosh [Thu, 9 Jan 2020 13:38:02 +0000 (13:38 +0000)]
Merge "Enabling logback file to be loaded using oom configmap"
Jorge Hernandez [Wed, 8 Jan 2020 16:53:02 +0000 (16:53 +0000)]
Merge "Update vCPE example to use Avro schemas"
a.sreekumar [Wed, 8 Jan 2020 12:55:20 +0000 (12:55 +0000)]
Enabling logback file to be loaded using oom configmap
Change-Id: I746ee57003175ae9e3f903ee3e5948ed1875dceb
Issue-ID: POLICY-2308
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
liamfallon [Fri, 20 Dec 2019 03:42:34 +0000 (21:42 -0600)]
Update vCPE example to use Avro schemas
THis change updates the vCPE example to show how the example can work
towards the APPC using Avro schemas only. This means that Policies can
be adapted to changes in controller APIs using Avro alone.
This example works with the old and new format policy-models.
Issue-ID: POLICY-2043
Change-Id: I42ac0eac5203eaa37316cf6c460c67f7e8d6deb2
Signed-off-by: liamfallon <liam.fallon@est.tech>
shaoqiu [Fri, 13 Dec 2019 07:10:29 +0000 (15:10 +0800)]
Populate the PdpStatistics data in heartbeat
Apex to populate the PdpStatistics data in every heartbeat sent to PAP
Issue-ID: POLICY-2302
Change-Id: I2d3a6c1e8605d53bf754a135980527bd50762abd
Signed-off-by: shaoqiu <tim.huang@est.tech>
a.sreekumar [Mon, 6 Jan 2020 15:48:31 +0000 (15:48 +0000)]
Changing ownership of configuration files in APEX
Default user when logging into APEX container is apexuser. Updating the
ownership of configuration files such as logback.xml and key files so
that these can be updated at runtime.
Change-Id: Icf21e0b408d3b4ef829e1b1c5505f142a7d08adc
Issue-ID: POLICY-2308
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Pamela Dragosh [Fri, 6 Dec 2019 21:56:04 +0000 (21:56 +0000)]
Merge "Adding native policy type to the config file in APEX"
Pamela Dragosh [Fri, 6 Dec 2019 21:09:23 +0000 (21:09 +0000)]
Merge "Point to release versions of policy/parent and policy/common"
HOCKLA [Thu, 5 Dec 2019 20:24:04 +0000 (14:24 -0600)]
Point to release versions of policy/parent and policy/common
Issue-ID: POLICY-1583
Change-Id: I5dd6f77991bd5e8419176ea4cba751f58c05d501
Signed-off-by: HOCKLA <ah999m@att.com>
Pamela Dragosh [Fri, 6 Dec 2019 14:08:23 +0000 (14:08 +0000)]
Merge "Minor changes for new Eclipse checkstyle checks"
a.sreekumar [Fri, 6 Dec 2019 12:37:05 +0000 (12:37 +0000)]
Adding native policy type to the config file in APEX
Change-Id: If8167c837d7d28ec9049b00ff6ca314eb4199930
Issue-ID: POLICY-2279
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
a.sreekumar [Thu, 5 Dec 2019 16:01:40 +0000 (16:01 +0000)]
APEX-PDP remove supported policy types from heartbeat
Change-Id: Iafd2e2625cfabd89480ca1807eb1607788b30899
Issue-ID: POLICY-2235
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
liamfallon [Wed, 4 Dec 2019 09:20:04 +0000 (09:20 +0000)]
Minor changes for new Eclipse checkstyle checks
The laest Eclipse checkstyle version 8.26.0 does more thorough checking
and identified a number of small issues in the apex-pdp codebase. This
review fixes those issues.
Issue-ID: POLICY-1913
Change-Id: I30ba25e3e425c6d54c77f925e8da3ab841a8357c
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Wed, 27 Nov 2019 13:32:45 +0000 (13:32 +0000)]
Replace getCaononicalName() with getName() in code base
Issue-ID: POLICY-1861
Change-Id: Iccbdcbc5b5978305c56ab74c01a52a562697bee1
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Tue, 26 Nov 2019 14:31:28 +0000 (14:31 +0000)]
Reduce verbosity of logging during unit test
Logging dialled back in logback.xml files and on ligging statements in
unit test java code.
Issue-ID: POLICY-2272
Change-Id: I3b9a46d8993b1571c8dc62687a9c136af46c1f51
Signed-off-by: liamfallon <liam.fallon@est.tech>
Ram Krishna Verma [Tue, 26 Nov 2019 13:55:31 +0000 (13:55 +0000)]
Merge "Fixing Junit test cases causing too much logs output during APEX build"
Ram Krishna Verma [Tue, 26 Nov 2019 13:55:03 +0000 (13:55 +0000)]
Merge "Update vCPE example for A&AI custom query"
a.sreekumar [Mon, 25 Nov 2019 18:00:22 +0000 (18:00 +0000)]
Fixing Junit test cases causing too much logs output during APEX build
Change-Id: If0ad9c6b3a0f19ff3711d6230eb64e0dca1c1ef1
Issue-ID: POLICY-2272
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
liamfallon [Fri, 22 Nov 2019 17:09:57 +0000 (17:09 +0000)]
Update vCPE example for A&AI custom query
The change in policy-models to use custom queries means that the named
queries used in apex examples must be updated to use custom queries.
This review is the second of two reviews to implement this change.
This patch updates the policy and its associated tests to work with A&AI
custom queries.
Issue-ID: POLICY-2125
Change-Id: I6a5b90002e43272e3cf296158f09f91a0f6d6907
Signed-off-by: liamfallon <liam.fallon@est.tech>
jhh [Tue, 19 Nov 2019 22:48:24 +0000 (16:48 -0600)]
Build tar.gz without requiring docker image build
This allows the tar.gz to be released by LF jobs.
Issue-ID: POLICY-2250
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I5c4aa52b6cd599b3b4a8f537d927631a14036dfc
a.sreekumar [Tue, 19 Nov 2019 17:00:59 +0000 (17:00 +0000)]
Apex PDP change to add PDP group
Change-Id: I6cff921bdc65fe505c0b5e7dba94a6cf9aa3ba91
Issue-ID: POLICY-2234
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
liamfallon [Thu, 21 Nov 2019 13:52:37 +0000 (13:52 +0000)]
Update vCPE example for A&AI custom query
The change in policy-models to use custom queries means that the named
queries used in apex examples must be updated to use custom queries.
This review is the first of two reviews to implement this change. I
thcnages the A&AI simulator, which will allow the apex-pdp to build
again. A further change will bring in the policy changes to get the
example implementation fixed.
Issue-ID: POLICY-2125
Change-Id: I833c351b43995e648288cdf1c87c0abbe7a671cc
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Fri, 15 Nov 2019 13:40:08 +0000 (13:40 +0000)]
Fix JRuby interpreter shutdown issue
The new version of JRuby fixes this issue. Also amended unit test to
check for shutdown and immediate recreation of JRuby interpreter.
Issue-ID: POLICY-1276
Change-Id: I723e0396985d3163b483e52fdaceb4b4fab7274b
Signed-off-by: liamfallon <liam.fallon@est.tech>
a.sreekumar [Tue, 5 Nov 2019 14:37:09 +0000 (14:37 +0000)]
Retaining context in APEX Engine based on policies received in PdpUpdate
Change-Id: I73fad5bf76ed6b4979f5ab76013f204ea82da30b
Issue-ID: POLICY-2215
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Pamela Dragosh [Mon, 11 Nov 2019 16:32:59 +0000 (16:32 +0000)]
Merge "Do not hardcode io.fabric8 plugin"
Pamela Dragosh [Fri, 8 Nov 2019 19:54:12 +0000 (14:54 -0500)]
Do not hardcode io.fabric8 plugin
policy/parent now has this plugin defined
Issue-ID: POLICY-2222
Change-Id: I2cc318e0f46f1ae9b9bda23a160c6db55003eca9
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
liamfallon [Thu, 7 Nov 2019 21:33:12 +0000 (21:33 +0000)]
Fix vCPE example apex-pdp policy
The changes in policy-models for appclcm had knock-on impacts on the
apex-pdp example policies. This patch fixes the vCPE policy to comply
with the new APPCLCM POJOs.
Issue-ID: POLICY-2043
Change-Id: Ieebc2cf97a05efde560a2f5a819924ff63dfd695
Signed-off-by: liamfallon <liam.fallon@est.tech>
Pamela Dragosh [Tue, 5 Nov 2019 12:21:42 +0000 (12:21 +0000)]
Merge "Fixing multiple policies with optional event fields fails execution in APEX"
liamfallon [Mon, 4 Nov 2019 18:07:20 +0000 (18:07 +0000)]
Use jersey dependencies from policy-endpoints
There is no need to have Jersey dependencies in the PDP POMs as they are
inherited from the policy-endpoints POM.
Issue-ID: POLICY-2209
Change-Id: I5c53e7b29f4df25fd730f7a521e149e4ee70d964
Signed-off-by: liamfallon <liam.fallon@est.tech>
a.sreekumar [Mon, 4 Nov 2019 15:40:46 +0000 (15:40 +0000)]
Fixing multiple policies with optional event fields fails execution in APEX
Policy execution fails when multiple policy models are running and the policies have optional fields.
Change-Id: Ifb1a45a25e3a88b8707fb8b76f8279b6ec0b91ce
Issue-ID: POLICY-2211
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
liamfallon [Fri, 1 Nov 2019 11:47:21 +0000 (11:47 +0000)]
Add common Jersey version
Add a common version of Jersey for all Policy Framework components.
Issue-ID: POLICY-2209
Change-Id: I6282bc9938cbb63ddf3bf85e488f7b6be0dbdfc3
Signed-off-by: liamfallon <liam.fallon@est.tech>
a.sreekumar [Wed, 16 Oct 2019 10:46:21 +0000 (11:46 +0100)]
Resolve mapping between TOSCA policies and APEX policy models
Change-Id: Ifaedc5074bcc51a5d495e342feae89b6a2aac1cf
Issue-ID: POLICY-1626
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
liamfallon [Mon, 21 Oct 2019 18:59:22 +0000 (19:59 +0100)]
Use updated APPC model code in apex vcpe example
The APPC implementation was changed in a recent review, this review
fixes the apex vcpe example to use this new model.
Also fixes an an issue in the CLI editor where escape characters are not
now required in example JSON.
Issue-ID: POLICY-2043
Change-Id: Id251948c9de27f73ba48cec498e68a43f71c4062
Signed-off-by: liamfallon <liam.fallon@est.tech>
jhh [Fri, 25 Oct 2019 17:57:38 +0000 (12:57 -0500)]
Temporarily enable trace in startup script
No kubernetes logs are produced at start up.
This will be used temporarily to trace execution of
the initialization script.
Issue-ID: POLICY-2064
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I14d326b4e2065effccb3226c64a78bc77169c41e
jhh [Thu, 17 Oct 2019 20:29:19 +0000 (15:29 -0500)]
override cert stores
Issue-ID: POLICY-2064
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ie48b9c322b5a643d3e5fa5a6125389c81cf31c96
Henry.Sun [Wed, 9 Oct 2019 10:02:56 +0000 (18:02 +0800)]
replace grizzly server with policy common endpoint
Issue-ID: POLICY-1915
Change-Id: I8702a8b54e158dfd0ac08140ca083f14f23963a2
Signed-off-by: Henry.Sun <henry.a.sun@est.tech>
a.sreekumar [Tue, 1 Oct 2019 14:32:25 +0000 (15:32 +0100)]
Add example for creating apex policy in Tosca format
Change-Id: I30e7d162a2aecdfe5c51e920b48d659130ae74e4
Issue-ID: POLICY-2127
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
a.sreekumar [Mon, 30 Sep 2019 11:21:21 +0000 (12:21 +0100)]
Changing APEX PDP logging similar to other Policy components
Change-Id: I73dcfd581f82b5aa633b1f777166cdd3fa7a3b93
Issue-ID: POLICY-2062
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
liamfallon [Wed, 25 Sep 2019 13:13:37 +0000 (15:13 +0200)]
Fix typos in dependencies
Dependencies were spelt incorrectly in the dependency management section
of the main apex-pdp POM.
Issue-ID: POLICY-2115
Change-Id: I622dafe9f74b82dcc1c094eaee4ec113fe7f9c99
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Wed, 18 Sep 2019 14:23:06 +0000 (15:23 +0100)]
Upgrade dependency versions for security
This change upgrades dependencies to versions that ve no or lesser
security issues than the current versions.
Issue-ID: POLICY-1644
Change-Id: Ib6dc8193c8da2547046791d82956019e0c741544
Signed-off-by: liamfallon <liam.fallon@est.tech>
jrh3 [Thu, 19 Sep 2019 19:14:12 +0000 (15:14 -0400)]
Use snapshot version of models in apex-pdp
Issue-ID: POLICY-2065
Signed-off-by: jrh3 <jrh3@att.com>
Change-Id: I25dd66ed23a8b4269f95034b50a6b7d90e22c30d
liamfallon [Wed, 18 Sep 2019 09:39:55 +0000 (10:39 +0100)]
Upgrade jquery to 3.4.1 in jquery-ui
Jquery 3.3.1 is embedded in jquery-ui 1.12.1. This review replaces the
embedded jquery with version 3.4.1. This change is to remove security
vulnerabilities in jquery 3.3.1.
Issue-ID: POLICY-2083
Change-Id: I132dd83d2fc5add7df9988e21c663c17c5993aeb
Signed-off-by: liamfallon <liam.fallon@est.tech>
Liam Fallon [Mon, 16 Sep 2019 12:57:34 +0000 (12:57 +0000)]
Merge "Disable Jython Excutor for security"
liamfallon [Sat, 14 Sep 2019 11:39:25 +0000 (12:39 +0100)]
Disable Jython Excutor for security
The Jython interpreter pulls in many dependencies that are flagged as
having security problems. We will disable Python support in apex-pdp
until Frankfurt, users can compile from source if they wish to re-enable
python support.
Issue-ID: POLICY-1509
Change-Id: I84215ba8d1009cb7af99cd98ba19008fdff5c378
Signed-off-by: liamfallon <liam.fallon@est.tech>
jrh3 [Thu, 12 Sep 2019 14:07:06 +0000 (10:07 -0400)]
Bump version in apex-pdp master
Also added defaultbranch to the .gitreview file to make it easier
to change it when apex-pdp is branched in the future.
Issue-ID: POLICY-2045
Signed-off-by: jrh3 <jrh3@att.com>
Change-Id: Ib2570fd395aae38862299f2193b07ab06e32ace5
Pamela Dragosh [Tue, 10 Sep 2019 01:02:41 +0000 (21:02 -0400)]
Release apex-pdp 2.2.2
Releasing 2.2.2
Issue-ID: POLICY-2045
Change-Id: If6f76a203edb2e7c285c2f637f3361b20d5e150d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Mon, 9 Sep 2019 23:58:04 +0000 (19:58 -0400)]
Upgrade to released artifacts
Released parent, common and models.
Issue-ID: POLICY-2045
Change-Id: Ia812c58673a1e271a3cf84c6b78e7274ef126e62
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
a.sreekumar [Tue, 3 Sep 2019 14:44:15 +0000 (14:44 +0000)]
Enable https support in ApexRestServer
Enable https support in ApexRestServer by using the RestServer from policy-common
Change-Id: I3dc8d88a499dfa9f0a82585a083526e236420c6e
Issue-ID: POLICY-2016
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
shaoqiu [Tue, 27 Aug 2019 01:30:48 +0000 (01:30 +0000)]
add unit test for tools-common
Issue-ID: POLICY-1992
Change-Id: I6935b24b11ce62a18ae3d45795ff53cb4fa60f8b
Signed-off-by: shaoqiu <tim.huang@est.tech>
jhh [Fri, 23 Aug 2019 03:34:09 +0000 (22:34 -0500)]
update keystore
Issue-ID: POLICY-1988
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I576cf60ef4915f9e79246c42f0dd90710a244f47
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
ning.xi [Thu, 22 Aug 2019 03:11:18 +0000 (03:11 +0000)]
test case of model generator
Issue-ID: POLICY-1992
Change-Id: I90143d9903e0ada74dd9efba80aa6589b9f3dff4
Signed-off-by: ning.xi <ning.xi@est.tech>
liamfallon [Wed, 21 Aug 2019 09:39:44 +0000 (09:39 +0000)]
Fix checkstyle warnings in apex-pdp
Unit tests introduced some checkstyle warnings, this review resolves
those warnings.
Issue-ID: POLICY-1942
Change-Id: I16438621c1db0adfbe70bc8b237d05bd7cc72697
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Fri, 16 Aug 2019 10:16:37 +0000 (10:16 +0000)]
Update version of Kafka for security
Issue-ID: POLICY-1882
Change-Id: Ic26b0f43c27473e83b3c7a38019078d4db398b25
Signed-off-by: liamfallon <liam.fallon@est.tech>
Pamela Dragosh [Tue, 13 Aug 2019 15:42:56 +0000 (15:42 +0000)]
Merge "add JUnit test in client deployment and client full"
Pamela Dragosh [Tue, 13 Aug 2019 15:42:29 +0000 (15:42 +0000)]
Merge "Fix copy&paste typo in KeyedMapDifference"
Artem Naluzhnyy [Thu, 8 Aug 2019 09:41:05 +0000 (11:41 +0200)]
Fix copy&paste typo in AxEvent.compareTo
Coverity-scan: CID-229652
Issue-ID: POLICY-1961
Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com>
Change-Id: I29fa25d0ead6930dd47a0eed17d2a4dd6e489ee6
ning.xi [Tue, 13 Aug 2019 05:20:20 +0000 (05:20 +0000)]
add JUnit test in client deployment and client full
Issue-ID: POLICY-1962
Change-Id: Ic10b0edc9364624161f71935f51f4411fe67c882
Signed-off-by: ning.xi <ning.xi@est.tech>
Ram Krishna Verma [Fri, 9 Aug 2019 14:51:50 +0000 (14:51 +0000)]
Merge "Review maven dependency for snakeyaml"
Bruno Sakoto [Thu, 8 Aug 2019 15:08:31 +0000 (11:08 -0400)]
Review maven dependency for snakeyaml
Remove explicit version for snakeyaml maven dependency and inherit it
from integration parent artifact.
Upgrade snakeyaml to latest 1.24 version.
Issue-ID: POLICY-1603
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: Ice5c76ee720638154a7ed086f26e6a0ac2fa7a73
Artem Naluzhnyy [Thu, 8 Aug 2019 09:32:53 +0000 (11:32 +0200)]
Fix copy&paste typo in KeyedMapDifference
Coverity-scan: CID-229696
Issue-ID: POLICY-1961
Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com>
Change-Id: I4ed17eb14310501cb5de864e8c62839a4d41b56c
a.sreekumar [Thu, 8 Aug 2019 08:57:34 +0000 (08:57 +0000)]
Change to fix PDP-A incorrectly going into ACTIVE state even during APEX engine failure
PDP-A goes to ACTIVE state even when the APEX engine failed to start.
This is fixed.
Change-Id: Iad4b45abf257f68267dd2526a624dc6d882c84af
Issue-ID: POLICY-1980
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
jrh3 [Wed, 7 Aug 2019 19:27:11 +0000 (15:27 -0400)]
Bump version of apex-pdp
Issue-ID: POLICY-1965
Signed-off-by: jrh3 <jrh3@att.com>
Change-Id: Icd437f10c4d991030652ffa1abf48b7b5738145c
jhh [Tue, 6 Aug 2019 19:46:28 +0000 (14:46 -0500)]
Add release 2.2.1 file
Issue-ID: POLICY-1953
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I6c40a6a74c98e3901fa3f0ca477ffdf95a7a4425
Jorge Hernandez [Tue, 6 Aug 2019 16:09:43 +0000 (16:09 +0000)]
Merge "Fix typo in eventTab_activate()"
jhh [Mon, 5 Aug 2019 14:43:50 +0000 (09:43 -0500)]
Update to latest common/models released versions
policy/models: 2.1.2
policy/common: 1.5.1
Change-Id: I2e4fa7d01468054b478668c2a2bbd34f6b6c03d8
Issue-ID: POLICY-1953
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Artem Naluzhnyy [Mon, 29 Jul 2019 13:24:02 +0000 (15:24 +0200)]
Fix typo in eventTab_activate()
Coverity-scan: CID-229736
Issue-ID: POLICY-1961
Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com>
Change-Id: I6149f2c13d6721a5e026bf8ceb901c2d20913f82
jrh3 [Tue, 30 Jul 2019 19:50:13 +0000 (15:50 -0400)]
Use new addTopic() method in apex-pdp
Replaced ParameterUtils with the use of the new
addTopic(TopicParameterGroup) method.
Issue-ID: POLICY-1953
Signed-off-by: jrh3 <jrh3@att.com>
Change-Id: Ie1952c3bdf6d40834261029141ccb21edcdc1ad7
ning.xi [Tue, 30 Jul 2019 00:31:18 +0000 (00:31 +0000)]
integration test for execution property rest API
Issue-ID: POLICY-1936
Change-Id: Ifc720cd320f5eced2f3c039b2ce6442387de240b
Signed-off-by: ning.xi <ning.xi@est.tech>