Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
(cherry picked from commit 53d8916cc60d97e2ce7ae345f8cc25f5602567da)
|
|
Pull in policy/parent 2.0.1 and common 1.3.3 so we
can finish the license fix for dmaap 1.1.9
Upgrading to 2.0.3 version for release.
Issue-ID: POLICY-1229
Change-Id: I7a196deadec2b92e4b3b58a9339e197d361accc0
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Issue-ID: POLICY-1233
Change-Id: I8a4a124041df0bb9d38424c8491e5dff027f9b01
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Issue-ID: POLICY-1213
Change-Id: I9187462aa470cff6ca7adc750c8a666bf8e15429
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
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>
|
|
The policy models for the decision maker, periodic, and
vCPE examples were not included in the install because the
policy model json files are generated from CLI commands.
THis review installs the generated policy models.
Issue-ID: POLICY-954
Change-Id: Ie2076ddfb6199dac0c8b272de8d7c47f1652485e
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
THere was no unit test for the command line tools. This
review adds unit test and also fixes a few small bugs that
showed up when uit test was run.
Issue-ID: POLICY-1034
Change-Id: Ic19aacdb168fb5a6faa0cd83ed22ccfcedaa51f5
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Checkstyle changes to some class names must be propgated
into example configurations and name changes meant some
examples were not being packaged.
Issue-ID: POLICY-1034
Change-Id: I5485fc2ffc22c496bbae9465e1c3b09c4feade97
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Parameter classes were renamed to correct camel case names, hence
the references to those parameter classes in the example config files
needs to be updated
Issue-ID: POLICY-1034
Change-Id: Ie388d6e25cf4bbec6984d4386cdeb19a7a3916c0
Signed-off-by: mmis <michael.morris@ericsson.com>
|
|
Sonar and Checkstyle changes in plugins and services, and
knock on changes
Issue-ID: POLICY-1034
Change-Id: Iff7df74e54fce2c661dcc2fae75ae93d4cacfe5b
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
|
|
Changed the config for the CSIT test to use javascript instead of mvel and
changed the REST server host to enable communication from outside the
docker container
Issue-ID: POLICY-1099
Change-Id: I6173545d70d6b83c86bbee132cf057985487a501
Signed-off-by: mmis <michael.morris@ericsson.com>
|
|
The install script for apex did not coreate the soft link for apex
correctly.
One of the example json files was named incorrectlu.
Issue-ID: POLICY-954
Change-Id: If7923e2287aebb956bd4bc9ed4b26b23a40d048b
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Added a config and model file to examples to be used in CSIT test
Issue-ID: POLICY-1099
Change-Id: Idbd3bf323b366273bca9a5472abcf528725b2f77
Signed-off-by: mmis <michael.morris@ericsson.com>
|
|
The examples are not packaged correctly in the apex build
and the client wars are missing
The links and location of the documents are corrected.
Some POM duplicate dependencies removed.
Javadoc warnings removed.
Issue-ID: POLICY-867
Change-Id: I555c29191c61c0a9887365d95005dbc584eddf04
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Switch parameter handling in apex to use
the ONAP PF common parameter service
Change-Id: Id318d19c726b18b1a69c630fa81ca7d695355e9c
Issue-ID: POLICY-954
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Change-Id: I2990157eb7bae51f7d38a652fd8dd488b7287cea
Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com>
Issue-ID: POLICY-867
|
|
Change-Id: I51c9963aca8381559643123ae2664c25117e3bee
Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com>
Issue-ID: POLICY-867
|
|
Change-Id: I0d7fd6f867ba280953eb4fd0dc2a5ad1779fb045
Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com>
Issue-ID: POLICY-1034
|
|
Common ResourceUtil class replaces specific one in APEX
Managed dependency version clashes removed in POMs
Dependency versions with security vulnerabilities changed for
zookeeper
kafka
infinispan
Change-Id: I3c4b367cb5556b2dc255ab62c84f85738165eb81
Issue-ID: POLICY-954
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Adding examples-servlet module to demonstrate the capability that
apex-pdp can be simply started as a servlet deployed in any application
server.
Change-Id: I5c9e323f1468cc14c6277c0037029679d00cd751
Issue-ID: POLICY-861
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
Renaming the examples as per what the documentation expects them.
Otherwise the documents won't work.
Change-Id: Ib9e30bf5a4cec0fec981372e1d9f3a0ee5d60f2f
Issue-ID: POLICY-861
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
- Adding more examples (DecisionMaker, Periodic & ONAPvCPE) to apex-pdp.
- Fixed CORS issue in plugin-event-carrier-restserver module.
Added a ContainerResponseFilter to intercept every request/response coming to
REST server and add the required headers to support CORS.
Change-Id: Ic3e36c683f2a78992ce1417d2c00233b34066f2f
Issue-ID: POLICY-861
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
Adding examples (MyFirstPolicy, AADM, Adaptive, PCVS) to apex-pdp
so that anyone can try out running few sample policies
and understand how to create and run policies in apex-pdp.
Change-Id: I0dff6d54ef94d8b5bdb63eabcb09e9f64d76fd0c
Issue-ID: POLICY-861
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
Fix apex-pdp packaging issue and add SampleDomain examples to try out
how apex-pdp works.
Change-Id: I4018b0902d06345e86ddbef80100e63232cee49d
Issue-ID: POLICY-861
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
|
|
This change fixes inconsistent naming on the context plugins
in APEX. All plugins should fillow the naming convention of
plugin-A.plugin-A.B.plugin.A.B.C and so on. Not following
this convention breaks the APEX documentation build.
Issue-ID: POLICY-954
Change-Id: I8aad4a28d143427e60017eaa119ee4f7ce9f5b3d
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Set the user in Dockerfile to apexuser so as the user will be set to
apexuser upon container starts up. Only apexuser is permitted to start
apex.
Issue-ID: POLICY-866
Change-Id: Ib9e29503d8fc252760df6385a78f353e8961c3d2
Signed-off-by: mmis <michael.morris@ericsson.com>
|
|
|
|
Issue-ID: POLICY-866
Change-Id: I6bc322224e087acae1c92a67c48506f061a59d14
Signed-off-by: mmis <michael.morris@ericsson.com>
|
|
|
|
Change the versions of JRuby and Java Websockets to
versions that are approved by the Linux Foundation.
Issue-ID: POLICY-905
Change-Id: I804ab1e9871bb573647035f47e674f472aba5528
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Change-Id: I02df58695b44d5768410a0eaccb090cda7eb85ba
Issue-ID: POLICY-865
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
|
|
Change-Id: I2513f00a3f49d4428470c173a717ccb9fbc49de5
Issue-ID: POLICY-863
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
|