Age | Commit message (Collapse) | Author | Files | Lines |
|
* Update docs/submodules/policy/apex-pdp.git from branch 'master'
to 1ba6a3268b220cc99e9ed993553fa6f34f111a39
- Change versions of Zookeeper and C3P0
This review changes the versions of Zookeeper and C3P0 to
resolve security issues.
It also merges the context test utils module into the context test because that
module was misplaced and put an incompatible Zookeeper dependency in the
APEX context module.
Issue-ID: POLICY-1540
Change-Id: I86048ae1fc8b818611f423d6fd1f4a9fcc3f76f9
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
* Update docs/submodules/policy/apex-pdp.git from branch 'master'
to 53d016bd95ded26821a7711c6f049ffc4ccd51ca
- correct a typo in doc APEX User Manual
Issue-ID: POLICY-1523
Change-Id: I44675a5119170ab724926ba08a3bfceefda31b57
Signed-off-by: Hengye <yehui.wang@est.tech>
|
|
* Update docs/submodules/policy/apex-pdp.git from branch 'master'
to 5a9a4c2149faa101915cd9c8912ac6627f1120a4
- Increase test coverage for apex-pdp/plugins
Add basic JUnit test cases for plugins-event-carrier-kafka
Issue-ID: POLICY-1513
Change-Id: I009547115705496a850a9609416cdf71f52fb936
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
|
|
* Update docs/submodules/policy/apex-pdp.git from branch 'master'
to 05df038e0b09bfd5f0c9bfc1e8aa10f9c97f39a4
- Fix bug with Apex rejecting HTTP 2xx responses
APEX rejects all HTTP responses except 200. This change accepts
any HTTP 2xx response code as a valid response.
Issue-ID: POLICY-1289
Change-Id: Ief681ba4dac1ef3ff5f257dd931569bd2274d017
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master aacfb4ca7da6a76282c5703049fb7b52f65a36a8
Fix version warning in apex pom
Change-Id: Ia3b7fa204fb8564b679a4416fcc0f70fa0a9a54f
Issue-ID: POLICY-1074
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
|
|
Project: policy/apex-pdp master 2d948a9099e2b000cc061fb77dc0502c5d721ac9
Fix crashing unit tests in Apex
Issue-ID: POLICY-1403
Change-Id: Ie9d2cc46f3daf4d6b2eb2774a8be8c35e0c45754
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master cd7fbbcec7e864d2bfd33ac32fe046e827d93468
Update comment to check Sonar build issue
Issue-ID: POLICY-1403
Change-Id: I87ebf85dbbe8544e38666e8e793a8e1cbbcfc7c6
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master 2e30d8c1127757d6557f142ff0288fb65412bf7a
Use parent version of Eclipselink
Issue-ID: POLICY-1360
Change-Id: I33d8cef3f5d273c0c2a93ecda321205316aea6de
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master cff079a8dc3eeaf4e88c0e89a828fe4244a1b3c8
Fix context clearing on model upgrade
Existing context is cleared when a model upgrade is carried out
on an Apex PDP. The clear() method is called in error on the
Apex engine during the upgrade.
This change also has some small updates to the DecisionMaker example,
which is used to test this feature.
Issue-ID: POLICY-1395
Change-Id: I547a3a60712d1572d9daadf5eab4afcae2a5c321
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master 8f142981c3f5fddfd58c2e106ead7b4f5fc93da0
Rename test classes in apex-pdp/services
Make test classes name consitence by adding 'Test' at end of junit test classes and adding 'Support' or 'Dummy' at start of util or dummy type of test classes
Issue-ID: POLICY-1263
Change-Id: I951f4e30736144010d69a0fb3b9181f7fee76013
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
|
|
Project: policy/apex-pdp master a3322831cd5efec598613e8335931944db222e9f
Merge "Rename test classes in apex-pdp/model,core"
Rename test classes in apex-pdp/model,core
Make test classes name consitence by adding 'Test' at end of junit test classes and adding 'Support' or 'Dummy' at start of util or dummy type of test classes
Issue-ID: POLICY-1263
Change-Id: I6cb8d09799d7abd1b50ead1edbc4986649ad4ba7
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
|
|
Project: policy/apex-pdp master 89817bf276d95091098dbd7ae9cb357ea4a38836
Merge "Add SSL keystore/truststore to Apex package"
Add SSL keystore/truststore to Apex package
Issue-ID: POLICY-1222
Change-Id: I4409b88d1a9439492f9aac6c3b971bae7dc04b19
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master 1dff5ebe27cbe79de8f9d798e256d41ecccdaa8c
Add example policy for HTTPS
Added an example of how to configure HTTPS for an Apex policy.
Issue-ID: POLICY-1222
Change-Id: Iea8a8accac32f6d25c64a8324e202ad5e6221c7a
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master b70b381538d2c6fca65530538b36c8f8fdebd104
Merge "Add Java property parameters for HTTPS"
Add Java property parameters for HTTPS
Issue-ID: POLICY-1222
Change-Id: I4a683cf2f52e7f1d28164954f84d0744b5ca7e9c
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master fabd8bd3d510fd8f0af13d51c2fa97a778a3375a
Remove unused @throws warnings
Previous checkstyle fixes rationalised the
exceptions thrown by methods, however the javadoc
comments were not updated. This review updates them.
Issue-ID: POLICY-1263
Change-Id: I2746f30e76018ec4d0f1e74a6a415979b7874329
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master 8e8f3458646ec97d058d7322917f56021de2dc7f
Fix sonar test renaming issues
Renaming tests introduced Sonar issues:
- Tests where coverage was <80% flagged as they are new code
- Support test classes with names ending in "Test" flagged
becasue they did not contain test cases
Issue-ID: POLICY-1263
Change-Id: I17a4b27b2952a4978fab1c76579a013478b60ae1
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master 4b01ae1ca8bc592fbbbc4d5408d6c645487811dd
Add period after inheritDoc
Issue-ID: POLICY-1074
Change-Id: I88dc888b2a374b38499241f578a36dd116e2b85b
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master 44bd7f187f704712b057b5870819b32e72bfd8e0
Merge "Remove unused parameter from test data"
Remove unused parameter from test data
The "restRequestTimeout" parameter is not used in the current
version of Apex, it was replaced by the "requestorTimeout" paramter.
However, the parameter remained in the JSON data files.
Also updated to improve output of messages during unit test.
This review also sets the Jersey injection dependendy scope to "test"
Issue-ID: POLICY-1074
Change-Id: I75f495f571c8101310bd1eaec01a305318346cd9
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master 36ac8e1434a2747d8cb410557cf5fcabcfae3901
Merge "Support HTTP headers in REST Client"
Support HTTP headers in REST Client
Fixed REST client plugin to supprot HTTP headers and add unit
test to plugin.
Change-Id: I6a71ab7f83ed2126b8600bb5e586f971dbdacdc0
Issue-ID: POLICY-1222
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master 92dd84cb28d341e9fff892adb4b616b8b795be91
Fix checkstyle issues
Some minor line length and formatting checkstyle warnings fixed.
Change-Id: Ib92069bbdb444560083e6d0dbf5d16a3ab824d82
Issue-ID: POLICY-1074
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master e6753352980648bac92aff9a7295639349ea1295
Merge "Fix bugs in context flushing"
Fix bugs in context flushing
The context flushing support in the context distributor can throw a
concurrent exception when a lot of context is active and a flush takes
place. This fix introduces proper synchronized access to the album maps.
In addition, there was an incorrect cast in the call to the persist() method
of the persistor.
Change-Id: I6594ffed83a0b34251a0c5c7893d4abb17437fd4
Issue-ID: POLICY-1380
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master cbf3ade089e2cb866758efcb5fb9a3027b331700
Merge "Support HTTP headers in REST Requestor"
Support HTTP headers in REST Requestor
Change-Id: Iea4211e7d3324f5ea6244f45c91241a4067d8d33
Issue-ID: POLICY-1222
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master 259039fa91e3038c41f4a322d81e7ea07a78b96e
Add unit test for Java executor
Code coverage in the Apex-PDP plugins is very low. JUnit coverage will be
increased for the Plugins over the Dublin design timeline.
Issue-ID: POLICY-1379
Change-Id: Ie70ab5a9be650818cb330ec5be2a89a5db6153c5
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master dc2e6900325c0e69e7efb0346602d29ee634fbea
Merge "Fix checkstyle/sonar issues"
Fix checkstyle/sonar issues
Remove unused imports
Add @FunctionalInterface annotation
Reduce the complexity of some methods
Change-Id: If519c31b113233361fbb935121fe6494263ac957
Issue-ID: POLICY-1074
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master a3532f2fd160f1751162d27caae65414afa9c30c
Merge "Rename test classes in apex-pdp"
Rename test classes in apex-pdp
Make test classes name consitence by adding 'Support' or 'Dummy' at start of util or dummy type of test classes
Issue-ID: POLICY-1263
Change-Id: I1dc1a7f174660a90664ebdcff2ea79ed30aa465c
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
|
|
Project: policy/apex-pdp master 457f041685a3a404a58a9f934282c76eba35ad81
Use Parent Eclipselink
Issue-ID: POLICY-1360
Change-Id: I99a9e7bf60590fd0da5d7ba001e8ab322623fee6
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Project: policy/apex-pdp master fb7c89ebe2e682170b09275a5e531d0a49d70ada
Merge "Fixing issues in apex documents"
Fixing issues in apex documents
Change-Id: Ibc07c20fa8ac1018443a3c061613fdaecc5efb83
Issue-ID: POLICY-1280
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
Project: policy/apex-pdp master 9f637618ce0b5a4c893e2b6973096b52c6e564b7
Merge "Rename test classes in apex-pdp/model/basic-model"
Rename test classes in apex-pdp/model/basic-model
Make test classes name consitence by adding 'Support' or 'Dummy' at start of util or dummy type of test classes
Issue-ID: POLICY-1263
Change-Id: Ia90e0ea73af16f6cde37692e98f1c4afc408dd2b
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
|
|
Project: policy/apex-pdp master 80540def7348e195ffacfbbc7c23e2e68e154965
Merge "Fix sonar issue cli codegen"
Fix sonar issue cli codegen
Modify CodeGeneratorCliEditor to use param object for sonar issue fix
Add javadoc for the method addEventDecl Method. Modify meth
declaration. Run formatter
Issue-ID: POLICY-1251
Change-Id: I4f95e868c047f54dff9cf991e8f4f60e8954c788
Signed-off-by: kris.jinka <kris.jinka@samsung.com>
|
|
Project: policy/apex-pdp master 3688d3901ad241be26671e520da0e01e4c8089c0
Create label for architecture to ref
Creating a label so other documentation in the architecture
section can reference this PDP engine documentation.
Issue-ID: POLICY-1163
Change-Id: Ida9caba405e36675f65843b1d49e79175634fa02
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Project: policy/apex-pdp master 1f7c861c65aa8689f11196581b8ca5e79d7e4e26
Refactor Apex benchmark tests
Apex performance tests are refactored and reorganised
to be all in the one place and to be coherent.
A test REST server that can generate events in batches
is introduced and this can be configured to respond to REST
calls from Apex with various batch sizes that can be varied
for performance tests.
Actual performance tests are added for the various executors
in Apex.
Change-Id: I692b41e1e4451e821a618c64dead5cc8e9685d08
Issue-ID: POLICY-812
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Project: policy/apex-pdp master e8b197315437cac84872752e2ea090d8fb233941
Rename test classes in apex-pdp
Make test classes name consistence under auth, model, plugins, testsuits, tools projects
Issue-ID: POLICY-1263
Change-Id: I49ec9a9f5b457d6381e693de2c04ec0268ad1b02
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
|
|
Project: policy/apex-pdp master 62475a30ef2d425fe04df35ef2dac53c7ab5306a
Rename test classes in apex-pdp
Make test classes name consistence by putting 'Test' at end
Issue-ID: POLICY-1263
Change-Id: I0179388d84826e698276a1995dd8173a40b5fd2b
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
|
|
Project: policy/apex-pdp master da727fa247fd97a9dc5cbf010210a6dbc307bba9
Fix timing and move tests
The timings on the REST test are too short and time out on ONAP Jenkins
The tests of the Apex service and Apex model upgrade are not
benchmark tests so are moved to Integration.
Issue-ID: POLICY-1251
Change-Id: I2672d01042b33fe0cce5223005295e3b1aa26e7a
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Project: policy/apex-pdp master 96b3da652c35313d9c18b689f5606d8d7f153fe3
Fix checkstyle warnings in AxState/Codegen
Recent checkins introduced some very minor checkstyle warnings, this
review fixes those.
Change-Id: Ie7784ad22a748017e1647be0e23dc9d3fe100cf0
Issue-ID: POLICY-1251
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Project: policy/apex-pdp master b8398930512273f8bddae59134868be52d3a76a9
Merge "Use param obj for contxt album decln"
Use param obj for contxt album decln
Modify code generator cli editor to use param object
for the sonar issue fix
Issue-ID: POLICY-1251
Change-Id: I3efbdbe2ce7c16702508b9f1f36ecbb9b1e12856
Signed-off-by: kris.jinka <kris.jinka@samsung.com>
|
|
Project: policy/apex-pdp master 383a478c451300196db8fbcdac2ca1f1ff021913
Merge "Refactored Asynchronous tests to integration"
Refactored Asynchronous tests to integration
Moved the tests of asynchronous and synchronous inputs and outputs
for Apex from benchmark tests to integration tests which is where
they should be. Also the tests were amended to use the common
integration test data.
Change-Id: Id2d098b0a7d70c50dbb4547b0386cc7bcf6245a9
Issue-ID: POLICY-954
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Project: policy/apex-pdp master 59f9596e12ae31d74653d77fadd6b5cebfc71273
Use param obj for policymodel AxState
Define AxStateParams object for parameters input
Fix sonar issue about more than 7 parameters in method
Modify the builder approach as suggested in review
Issue-ID: POLICY-1251
Change-Id: Ic11b8cc2a4aed5394c5450fed4f0702c4ad9eda4
Signed-off-by: kris.jinka <kris.jinka@samsung.com>
|
|
Project: policy/apex-pdp master 32497610bd7bc721bb73f0d753fc1426bba677e2
Clean up eclipse and document warnings
Parent versions in some POMs only called on the test profile
were incorrect
Warnings in Eclipse on POM including from outside its project
are fixed
Some checkstyle fixes
Some javadoc warnings fixed
Issue-ID: POLICY-954
Change-Id: I640bc842dc79a9fa580015abb9a76c84a7845efe
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Project: policy/apex-pdp master 53d8916cc60d97e2ce7ae345f8cc25f5602567da
Refactor unit test data
There were many copies of test policies and examples
strewn through the Apex unit tests. This change cleans
up the unit tests so that a single version of all example
policies is used in all tests.
Also added a new relative file root command line parameter
to Apex to allow the root of relative paths in configuration
files to be set.
Apologies for the size of this review but unfortunately
all of this must be done in one shot.
Issue-ID: POLICY-1252
Change-Id: Ibbb18fbf18e3897a1c61301d0a65e62bc643a0e9
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Project: policy/apex-pdp master 9dc414a0cabc9074e87a7c9cd5c3e5ceee733e5a
Upgrade Jython for security, add doc warning
Upgrading Jython to use a full release version. This will probably
noit remove security problem but upgrades Jython to the most popular
version.
A warning is added telling developers to check extra pcakages in the
Jython plugin documentation.
Issue-ID: POLICY-1065
Change-Id: I83275204c1905bd48dd5ea58e98dcbbd9c47195f
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Project: policy/apex-pdp master 3aa7cbec7f96dba5503757482bb604921116b6c1
Set new master version for Dublin
Issue-ID: POLICY-1232
Change-Id: If43c40e9e13bd9387e2b6ee876717f8413a17e34
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Project: policy/apex-pdp master 79e5edea6fdbbab122e280f95cd3f2dbfc431e8b
Fix refering to snapshot in policy/apex-pdp
Issue-ID: POLICY-1213
Change-Id: I9187462aa470cff6ca7adc750c8a666bf8e15429
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
Project: policy/apex-pdp master 78c6f58b317633acfb934ec3bc0e2f3b511bf309
Adding stability test plan of apex-pdp
Change-Id: I41e1237c350b9cceca2b80db3fc9dcccf1173a66
Issue-ID: POLICY-817
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
Project: policy/apex-pdp master 5dd6b756e87a71905f1e7e16f9f2e4f72563d614
Merge "Add utility packages to Apex docker image"
Add utility packages to Apex docker image
Add zip/curl/ping/vi to the image for debugging
Issue-ID: POLICY-812
Change-Id: I31b156aedd1500ef0ae50a45354f033b057dc7e4
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Project: policy/apex-pdp master 56858b0b356c62bd6fdea3486343d331bbc9567d
Fix bug to allow JSON arrays of events
Apex should allow JSON arrays of events to be processed, processing
the array of events as they come in. This review changes the Apex
JSON array handling to allow arrays of JSON events to be processed.
Arrays of events are required to perform Apex pewrformance tests.
Change-Id: I08ddc9659414bd076fbaa250182335d6f38473e6
Issue-ID: POLICY-812
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Project: policy/apex-pdp master d4e7632aa00b42c544406fe9d83621c50831fe8e
Added documentation for readthedocs
Issue-ID: POLICY-1161
Change-Id: I8a3ac2b8fbfccacd04cfd5cb3bc649d9674ec59b
Signed-off-by: mmis <michael.morris@ericsson.com>
|
|
Project: policy/apex-pdp master 88ca44387f65cae61b500f4219d985bd9a1687a9
Upgrade to release policy/common
1.3.0 is released.
Change-Id: I2da787ab3203ef7eba5f50aa4bff30c76f1c6cd4
Issue-ID: POLICY-1189
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Project: policy/apex-pdp master 775b5f0ebf4cce18e89da45927f929c20df41712
Remove Sonar Vulnerabilit
The coverage review for teh Apex engine introduced a
vulnerability flag in Sonar. This review fixes that
vulnerability
Change-Id: Ie90c61a22c79604513ff2393a768a22ec9542484
Issue-ID: POLICY-1034
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Project: policy/apex-pdp master fb0ea8cd5d4a7b4a1c9731b45839be1f291455bf
Merge "Unit test for Apex engine"
Unit test for Apex engine
Coverage for unit test of engie state and state machine handling.
Added coverage of the facade and executor context classes
Added coverage for executors
Added coverage for the remainder of the core engine
Issue-ID: POLICY-1034
Change-Id: I85c66005dfdffdf2b4ee5672473a3ae4823d0d9c
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|