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>
a.sreekumar [Fri, 26 Jul 2019 13:02:44 +0000 (13:02 +0000)]
Updating scripts to support APEX CLI Tosca editor
As per the new LifeCycle API, the policies are expected to be defined as
a ToscaServiceTemplate. Hence, the Apex CLIEditor is extended to support the tosca way.
Scripts to support these changes are added here.
Change-Id: I1d9e9607af10cbb258d5c9994342cc4622962a23
Issue-ID: POLICY-1885
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
a.sreekumar [Wed, 24 Jul 2019 09:35:31 +0000 (09:35 +0000)]
Extend APEX CLIEditor to generate policy in ToscaServiceTemplate format
Currently apex CLIEditor is used to generate a json policy model from
apex CLI language (.apex) file.
As per the new LifeCycle API, the policies are expected to be defined
as ToscaServiceTemplate. Hence, the current CLIEditor is extended to
generate the policies in ToscaServiceTemplate way.
Change-Id: I2eb5d5b146643d40b623e329a2a63d6bb0c1fb42
Issue-ID: POLICY-1885
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Henry.Sun [Fri, 12 Jul 2019 15:49:30 +0000 (15:49 +0000)]
add status filter in restclient and restrequestor
Issue-ID: POLICY-1742
Change-Id: Ib4984b18c0353cddb12c13c352277728be691bf5
Signed-off-by: Henry.Sun <henry.a.sun@est.tech>
Jim Hahn [Fri, 12 Jul 2019 13:10:58 +0000 (13:10 +0000)]
Merge "fix sonar issues in restclient/restrequest"
ning.xi [Fri, 12 Jul 2019 08:02:09 +0000 (08:02 +0000)]
fix sonar issues in restclient/restrequest
Issue-ID: POLICY-1743
Change-Id: I2bd2224904e459d56f5802e8b5276823e7f5d454
Signed-off-by: ning.xi <ning.xi@est.tech>
ramverma [Thu, 11 Jul 2019 16:24:18 +0000 (16:24 +0000)]
Removing docs from apex-pdp repo
The documents are moved to policy/parent and hence removing them from
apex-pdp repo.
Change-Id: I479cf477e953049292dc9681f960ca965b90d591
Issue-ID: POLICY-1898
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
Jim Hahn [Thu, 11 Jul 2019 12:24:21 +0000 (12:24 +0000)]
Merge "Make URL configurable in REST Requestor/Client"
ning.xi [Thu, 11 Jul 2019 07:31:31 +0000 (07:31 +0000)]
Make URL configurable in REST Requestor/Client
Change-Id: Ifb9870636996d1af786f05fcef7aa811d6f57532
Issue-ID: POLICY-1743
Signed-off-by: ning.xi <ning.xi@est.tech>
liamfallon [Wed, 10 Jul 2019 19:44:39 +0000 (19:44 +0000)]
Add integration tests for executor properties
Added integration test that sets properties in a dummy plugin and amends
them in tasks in a policy. Variosu tests added to check combinations of
where properties are set in plugins or in tasks or both.
Implementaiton changed to:
- Always pass in a Properies object, the properties object coming into
the policy cannot be null because the task/TSL/SFL may wish to set it
- Fix a bug where the properties were not passed from the ApexEvent to
the engine event in the ApexEventUnmarshaller class
Issue-ID: POLICY-1743
Change-Id: I6aa152b28d46cf3cc6fa56a1a95b76a8e55f5a49
Signed-off-by: liamfallon <liam.fallon@est.tech>
Ram Krishna Verma [Wed, 10 Jul 2019 09:18:15 +0000 (09:18 +0000)]
Merge "Updating documentation with the topic.properties removal changes"
a.sreekumar [Tue, 9 Jul 2019 14:35:39 +0000 (14:35 +0000)]
Updating documentation with the topic.properties removal changes
Change-Id: Id770c0b4e16f4c8123b2bb2d0356aed75f9e54db
Issue-ID: POLICY-1744
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
liamfallon [Tue, 9 Jul 2019 12:29:34 +0000 (12:29 +0000)]
Fix typo in CLI editor error message
Issue-ID: POLICY-1897
Change-Id: I810c2550c6615d32b8d30148efc36a3660c3c1a5
Signed-off-by: liamfallon <liam.fallon@est.tech>
jrh3 [Mon, 8 Jul 2019 17:16:46 +0000 (13:16 -0400)]
Fix apex-pdp due to sonar changes in common
Fixed breakages due to changes made in policy/common to satisfy
sonar.
Issue-ID: POLICY-1791
Signed-off-by: jrh3 <jrh3@att.com>
Change-Id: I79ee847db2fc3c5af992af85b78ccaa587328463
liamfallon [Fri, 5 Jul 2019 13:41:03 +0000 (13:41 +0000)]
Add duplicate check, examples for kafka Properties
Added checks for dealing with duplication of specification of properties
explicitly and in kafkaPropertes
Added examples for kafkaProperties
Added documentation for kafkaProperties
Issue-ID: POLICY-1818
Change-Id: Icbe01d6f1d25d4570dcc85cc3db28588743b9c41
Signed-off-by: liamfallon <liam.fallon@est.tech>
JohnKeeney [Tue, 2 Jul 2019 15:50:56 +0000 (15:50 +0000)]
ApexPDP: Fixed jenkin failure in Nordix
getLocalHost() fails in Nordix jenkins test build - misconfiguration of
nordix jenkins vms/containers
Change-Id: I726fc141ced07f15cfaa8a9815b4d090dbb74c9a
Issue-ID: POLICY-1879
Signed-off-by: JohnKeeney <John.Keeney@est.tech>
liamfallon [Tue, 2 Jul 2019 11:01:03 +0000 (11:01 +0000)]
Fix security vulnerabilities in apex-pdp
Upgraded the versions of avro, jquery and jgroups to versions
in order to remove security vulnerabilities.
Issue-ID: POLICY-1074
Change-Id: I412b9c951b061b19e6ae6edacf7b3785d4c7869b
Signed-off-by: liamfallon <liam.fallon@est.tech>
Pamela Dragosh [Mon, 1 Jul 2019 18:15:50 +0000 (18:15 +0000)]
Merge "ApexPDP: Adding support to omit the (context) albums entry in an apex policy model if it is empty. Implemented as a pair of JAXB XMLAdaters Updated copyright, fixed somecheckstyle issues, refactored affected tests & Merge"
Ram Krishna Verma [Mon, 1 Jul 2019 15:21:39 +0000 (15:21 +0000)]
Merge "Fix issues from Checkstyle reviews"
Jim Hahn [Mon, 1 Jul 2019 15:09:23 +0000 (15:09 +0000)]
Merge "Bump apex-pdp to 2.2.1-SNAPSHOT"
JohnKeeney [Mon, 1 Jul 2019 14:46:49 +0000 (14:46 +0000)]
ApexPDP: Adding support to omit the (context) albums entry in an apex
policy model if it is empty. Implemented as a pair of JAXB XMLAdaters
Updated copyright, fixed somecheckstyle issues, refactored affected tests
& Merge
Issue-ID: POLICY-1802
Change-Id: Id68d9a524700f44c164939b7533f2d511b591e36
Signed-off-by: JohnKeeney <John.Keeney@est.tech>
liamfallon [Mon, 1 Jul 2019 09:01:19 +0000 (09:01 +0000)]
Fix issues from Checkstyle reviews
Use lombok on fields in EnEvent.
Remove unnecessary code in BBS WebClient class
Address Sonar issue in Execurot class
Issue-ID: POLICY-1791
Change-Id: If07dc4529b121f8bfcd6ab1ae6c9def4774f9f4d
Signed-off-by: liamfallon <liam.fallon@est.tech>
Ram Krishna Verma [Mon, 1 Jul 2019 08:57:52 +0000 (08:57 +0000)]
Merge "Remove topic.properties and incorporate into overall properties"
Pamela Dragosh [Fri, 28 Jun 2019 17:51:45 +0000 (13:51 -0400)]
Bump apex-pdp to 2.2.1-SNAPSHOT
Released 2.2.0
Issue-ID: POLICY-1737
Change-Id: I144a3c07d3eaf8c53d339eecedf2b3d8d3ce3c7e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
a.sreekumar [Fri, 28 Jun 2019 11:36:58 +0000 (11:36 +0000)]
Remove topic.properties and incorporate into overall properties
1) The properties in the topic.properties file is moved into overall
config json file and the topic.properties file is removed.
2) Common parameters such as RestServer and Topic related parameters
from policy-common is used.
Change-Id: Ifc25185c8f717c95a226b2db25c1a8e96b9bbff9
Issue-ID: POLICY-1744
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
liamfallon [Fri, 28 Jun 2019 10:42:34 +0000 (10:42 +0000)]
Replace non-Javadoc comments with inheritDocs
Copyright headers not changed as this review only amends comments.
Issue-ID: POLICY-1791
Change-Id: Icbeb2c6e591b3b160ae102bb67aef2d407924a4d
Signed-off-by: liamfallon <liam.fallon@est.tech>
Ram Krishna Verma [Thu, 27 Jun 2019 19:12:31 +0000 (19:12 +0000)]
Merge "Add period after inheritDoc for Sonar"
Ram Krishna Verma [Thu, 27 Jun 2019 19:12:16 +0000 (19:12 +0000)]
Merge "Fix Sonar/Checkstyle issues in apex-pdp"
liamfallon [Thu, 27 Jun 2019 15:43:14 +0000 (15:43 +0000)]
Add period after inheritDoc for Sonar
Issue-ID: POLICY-1791
Change-Id: I60f65fb60ca77fe97bd1c23822038b835bd98a11
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Thu, 27 Jun 2019 14:58:28 +0000 (14:58 +0000)]
Fix Sonar/Checkstyle issues in apex-pdp
BBS Java code introduced Sonar issues, these are resolved.
Also fixed checkstyle errors in other classes.
Also fiexed "unexpected type" eclipse errors.
Issue-ID: POLICY-1791
Change-Id: I3931051f0944c6d53745c8dd1db7cca4ee118f1c
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Wed, 26 Jun 2019 15:40:41 +0000 (15:40 +0000)]
Add passthrough properties for APEX engine
APEX event receiver and sender plugins sometimes need to exchange
information with tasks, especially in the case of REST communication.
This change enables passthrough of Properties from the event carrier
technology plugins to APEX task, task selection, and state finalizer
logics.
Apologies for the size of the review but this change involves passinng
the properties through all the APEX components, hence the large number
of small changes.
Issue-ID: POLICY-1742
Change-Id: I219fd69550f06702ef64adbb165fe7baac422e96
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Tue, 25 Jun 2019 16:10:25 +0000 (16:10 +0000)]
Allow Kafka plugin to take arbitrary properties
This change adds support for arbitrary Kafka properties to be passed to
Kafka through the Kafka plugin.
Issue-ID: POLICY-1818
Change-Id: I4389876286747b250c8abe492e9e31674a9483c9
Signed-off-by: liamfallon <liam.fallon@est.tech>
Pamela Dragosh [Mon, 24 Jun 2019 15:44:03 +0000 (11:44 -0400)]
Upgrade to released common and models
Released common 1.5.0 and models 2.1.0
Issue-ID: POLICY-1737
Change-Id: I677d1c210869ea565fc4edd9c190567a6ad01642
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
a.sreekumar [Fri, 21 Jun 2019 11:21:14 +0000 (11:21 +0000)]
Replace uses of getCanonicalName() with getName() in APEX
Change-Id: Ifcd8866e65a7bc1238d5a4137f7bad288a5bfb3b
Issue-ID: POLICY-1861
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Pamela Dragosh [Thu, 20 Jun 2019 20:23:14 +0000 (16:23 -0400)]
Upgrade to release 3.0.0 parent
Policy/parent released
Issue-ID: POLICY-1737
Change-Id: I55c99667e2775c934c7e1f41d2225facdecb121b
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
a.sreekumar [Thu, 20 Jun 2019 09:39:59 +0000 (09:39 +0000)]
Enable maven-checkstyle-plugin in apex-pdp
Enable maven-checkstyle-plugin in apex-pdp/pom.xml to fail the build at warning level.
Fix all the existing check style issues in the component.
Change-Id: I4de9c1bd9ca5a2876de9086d2d3526cbdc25c080
Issue-ID: POLICY-1732
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Rashmi Pujar [Mon, 17 Jun 2019 14:34:49 +0000 (10:34 -0400)]
Use io.fabric8:docker-maven-plugin to build and push docker images
Issue-ID: POLICY-969
Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca>
Change-Id: Ia3c7c2d6b77d87848c344f212f4a0266db90426e
liamfallon [Wed, 19 Jun 2019 09:43:28 +0000 (09:43 +0000)]
Fix junit tests in apex-pdp
Sonar fix broke some of the junit tests for parameters; fixed those.
Issue-ID: POLICY-1791
Change-Id: If39472b9936d5312a1d4109ad83610f5913d3e34
Signed-off-by: liamfallon <liam.fallon@est.tech>
a.sreekumar [Fri, 14 Jun 2019 13:07:14 +0000 (13:07 +0000)]
Policy JSON formatting issues in APEX
In APEX, the policy model currently needs to be escaped, otherwise
causes json formatting issues. This is fixed.
Change-Id: If9d5043acef0b175494be797fc7acd9c6c4f4494
Issue-ID: POLICY-1839
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
s00370346 [Tue, 11 Jun 2019 12:32:57 +0000 (18:02 +0530)]
BBS APEX policy not updating PNF attachment point after relocation
Issue-ID: POLICY-1835
Signed-off-by: s00370346 <swarup.nayak1@huawei.com>
Change-Id: I47473444b58fa3b064ba142ce13c5e3520adb8c7
Jorge Hernandez [Thu, 6 Jun 2019 18:56:10 +0000 (18:56 +0000)]
Merge "Removing rpm build option from apex-pdp"
Jorge Hernandez [Thu, 6 Jun 2019 18:55:40 +0000 (18:55 +0000)]
Merge "BBS Apex Policy vendor --> manufacturer and other"
ramverma [Thu, 6 Jun 2019 14:44:52 +0000 (14:44 +0000)]
Removing rpm build option from apex-pdp
Removing the commented rpm profile from pom of apex-pdp-package-full as
the rpm build is no longer needed. Also, in ONAP build servers the rpm
package is missing which leads to build failure.
However, I have created a wiki under Policy R5 collboration area to
document the steps needed to generate a rpm build if needed in fture.
Change-Id: Ie3703f7bcf7b07d23c2d9de813583c29ea2af720
Issue-ID: POLICY-1121
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
s00370346 [Thu, 6 Jun 2019 12:57:25 +0000 (18:27 +0530)]
BBS Apex Policy vendor --> manufacturer and other
Issue-ID: POLICY-1831
Signed-off-by: s00370346 <swarup.nayak1@huawei.com>
Change-Id: Ib1e60287c6209e1f16764d071e28facc75a12c6e
jrh3 [Tue, 4 Jun 2019 15:02:43 +0000 (11:02 -0400)]
Fix apex docker chmod
The chmod in the docker builder for my local VM does not appear to
support the "+x" style options. Modified the apex docker
file to use "755" instead.
Issue-ID: POLICY-1829
Signed-off-by: jrh3 <jrh3@att.com>
Change-Id: I99faa8a31e92243bcc28207afba40b2b680ba1bf
shaoqiu [Mon, 3 Jun 2019 07:08:41 +0000 (07:08 +0000)]
Remove POLICY_APEX_PDP_HOME in Dockerfile
To use POLICY_HOME not POLICY_XXX_HOME
Issue-ID: POLICY-1702
Change-Id: I145164f662d2d0fdd94875e8bcacd4f7a669309a
Signed-off-by: shaoqiu <tim.huang@est.tech>
Jim Hahn [Thu, 30 May 2019 17:04:05 +0000 (13:04 -0400)]
Bump apex-pdp to version 2.2.0
Issue-ID: POLICY-1747
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: Iba1c6a80917a37cc63e2250a32df40046df9ee4f
a.sreekumar [Thu, 23 May 2019 13:44:09 +0000 (13:44 +0000)]
Update Apex PDP Documentation
Updating the Apex PDP documentation to support the new architecture.
Change-Id: Ice4d91080d57504d10db24ada08757ae3d03afd3
Issue-ID: POLICY-1682
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
liamfallon [Wed, 22 May 2019 14:42:18 +0000 (14:42 +0000)]
Update INFO.yaml to add Jim and Ram
Issue-ID: POLICY-1775
Change-Id: I5d3b555c6a089c7562d8b00584a5b3e2a616f880
Signed-off-by: liamfallon <liam.fallon@est.tech>
Hengye [Tue, 21 May 2019 02:51:57 +0000 (02:51 +0000)]
update apexApps.sh to support JMX connection
Issue-ID: POLICY-1781
Change-Id: Ic0dba48c67048dbafd4e2efa106b466f4dd4ca81
Signed-off-by: Hengye <yehui.wang@est.tech>
liamfallon [Thu, 16 May 2019 09:46:58 +0000 (09:46 +0000)]
Step snapshot version of apex-pdp
Issue-ID: POLICY-1630
Change-Id: I6dfce7eb33d9bc41caabf6b8842377b486de672d
Signed-off-by: liamfallon <liam.fallon@est.tech>
Pamela Dragosh [Wed, 15 May 2019 00:47:04 +0000 (20:47 -0400)]
Upgrade to release policy/models
Release 2.0.0
Issue-ID: POLICY-1630
Change-Id: I2ccca4576253d066e219c367097d98d9594730ea
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
ramverma [Mon, 13 May 2019 10:45:00 +0000 (10:45 +0000)]
Upgrade policy/parent & policy/common in apex-pdp
Change-Id: If8120ba787fbd721f334c6f4d19df8d168ba9182
Issue-ID: POLICY-1630
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
Pamela Dragosh [Thu, 9 May 2019 16:07:59 +0000 (16:07 +0000)]
Merge "ONAP BBS Policy: CPE-Authentication event throwing error"
a.sreekumar [Tue, 7 May 2019 13:13:12 +0000 (13:13 +0000)]
Fix to accomodate recent changes in policy-models-tosca
Recent change in JpaToscaPolicy require corresponding changes in PDP-A as the code
was expecting a simple string earlier. This review contains the changes to fix
this
Change-Id: I3bbae264800b2c8bb8bdd61eae7b171028a85bc3
Issue-ID: POLICY-1739
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
s00370346 [Fri, 3 May 2019 06:10:28 +0000 (11:40 +0530)]
ONAP BBS Policy: CPE-Authentication event throwing error
Issue-ID: POLICY-1734
Change-Id: I8d209afb67e9b46a7db516fce76977e679d7ab7b
Signed-off-by: s00370346 <swarup.nayak1@huawei.com>
liamfallon [Fri, 3 May 2019 12:08:27 +0000 (12:08 +0000)]
Fix HTTPS configuration on PDP-A
This review enables HTTPS for health check on PDP-A
Issue-ID: POLICY-1732
Change-Id: I139a4c3ba043f978d1a75ae560037f713def1c1f
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Wed, 1 May 2019 14:53:46 +0000 (14:53 +0000)]
Fix docker version for Apex
Docker build is breaking, version of base alpine set in this
review. Changed to use version 1.4.0.
Issue-ID: INT-997
Change-Id: Icacb31e1fa9abef29930507fab7d53af125588e3
Signed-off-by: liamfallon <liam.fallon@est.tech>
Liam Fallon [Tue, 30 Apr 2019 16:08:06 +0000 (16:08 +0000)]
Merge "Rebase image on policy-base-alpine"
Dmitry Puzikov [Mon, 25 Mar 2019 09:47:23 +0000 (10:47 +0100)]
Rebase image on policy-base-alpine
Issue-ID: INT-997
Change-Id: I1a39eaf9cc0fc546eafde10d0b81a90ed5d32b13
Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
a.sreekumar [Mon, 29 Apr 2019 14:06:04 +0000 (14:06 +0000)]
Updating the supportedPolicyTypes in config files
Changing the supportedPolicyTypes in apex-pdp configuration files
to "onap.policies.controlloop.operational.Apex"
Change-Id: Ie92d5284fbd80da48318ce7863471876ccb380bb
Issue-ID: POLICY-1632
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Liam Fallon [Mon, 29 Apr 2019 11:43:01 +0000 (11:43 +0000)]
Merge "ONAP BBS: Apex Nomadic ONT bug fixes"
s00370346 [Wed, 24 Apr 2019 13:40:05 +0000 (19:10 +0530)]
ONAP BBS: Apex Nomadic ONT bug fixes
Issue-ID: DCAEGEN2-1237
Change-Id: Ibc1b5a221af5eb28799764498b2751d99f5764f3
Signed-off-by: s00370346 <swarup.nayak1@huawei.com>
a.sreekumar [Thu, 25 Apr 2019 12:29:06 +0000 (12:29 +0000)]
Changes to fix PDP-A not going to ACTIVE state
PDP-A state will now change to ACTIVE even when the policy list is
empty.
When the state is ACTIVE and PAP sends a PDP_UPDATE with policies, PDP-A
will start executing the policies.
Change-Id: Icb5b139939698920d4fa3991dcca33536c6caefc
Issue-ID: POLICY-1674
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Jorge Hernandez [Mon, 22 Apr 2019 17:38:54 +0000 (17:38 +0000)]
Merge "ONAP BBS: Apex Nomadic ONT bug fixes"
s00370346 [Wed, 17 Apr 2019 18:02:08 +0000 (23:32 +0530)]
ONAP BBS: Apex Nomadic ONT bug fixes
Issue-ID: DCAEGEN2-1237
Change-Id: I739f8e55113793f5cd4d3b70e0a1296d775bb414
Signed-off-by: s00370346 <swarup.nayak1@huawei.com>
liamfallon [Wed, 17 Apr 2019 13:58:47 +0000 (13:58 +0000)]
Add DMaaP sim configuration files
Add configurtion files that work with the DMaaP simulator.
Issue-ID: POLICY-1643
Change-Id: I719f9db4ec5273a32ba350811eb39b4238002341
Signed-off-by: liamfallon <liam.fallon@est.tech>
Pamela Dragosh [Tue, 16 Apr 2019 16:05:51 +0000 (16:05 +0000)]
Merge "ONAP BBS: Apex Nomadic ONT Policy Implementation"