summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-09-12Bump version in apex-pdp masterjrh388-88/+89
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
2019-09-09Release apex-pdp 2.2.25.0.0-ONAPPamela Dragosh1-0/+4
Releasing 2.2.2 Issue-ID: POLICY-2045 Change-Id: If6f76a203edb2e7c285c2f637f3361b20d5e150d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-09-09Upgrade to released artifactsPamela Dragosh1-3/+3
Released parent, common and models. Issue-ID: POLICY-2045 Change-Id: Ia812c58673a1e271a3cf84c6b78e7274ef126e62 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-09-03Enable https support in ApexRestServera.sreekumar8-74/+264
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>
2019-08-27add unit test for tools-commonshaoqiu4-2/+150
Issue-ID: POLICY-1992 Change-Id: I6935b24b11ce62a18ae3d45795ff53cb4fa60f8b Signed-off-by: shaoqiu <tim.huang@est.tech>
2019-08-22update keystorejhh2-0/+0
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>
2019-08-22test case of model generatorning.xi5-0/+1093
Issue-ID: POLICY-1992 Change-Id: I90143d9903e0ada74dd9efba80aa6589b9f3dff4 Signed-off-by: ning.xi <ning.xi@est.tech>
2019-08-21Fix checkstyle warnings in apex-pdpliamfallon24-88/+86
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>
2019-08-16Update version of Kafka for securityliamfallon1-1/+1
Issue-ID: POLICY-1882 Change-Id: Ic26b0f43c27473e83b3c7a38019078d4db398b25 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-08-13Merge "add JUnit test in client deployment and client full"Pamela Dragosh15-15/+1682
2019-08-13Merge "Fix copy&paste typo in KeyedMapDifference"Pamela Dragosh1-1/+1
2019-08-13Fix copy&paste typo in AxEvent.compareToArtem Naluzhnyy1-1/+1
Coverity-scan: CID-229652 Issue-ID: POLICY-1961 Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com> Change-Id: I29fa25d0ead6930dd47a0eed17d2a4dd6e489ee6
2019-08-13add JUnit test in client deployment and client fullning.xi15-15/+1682
Issue-ID: POLICY-1962 Change-Id: Ic10b0edc9364624161f71935f51f4411fe67c882 Signed-off-by: ning.xi <ning.xi@est.tech>
2019-08-09Merge "Review maven dependency for snakeyaml"Ram Krishna Verma2-2/+1
2019-08-08Review maven dependency for snakeyamlBruno Sakoto2-2/+1
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
2019-08-08Fix copy&paste typo in KeyedMapDifferenceArtem Naluzhnyy1-1/+1
Coverity-scan: CID-229696 Issue-ID: POLICY-1961 Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com> Change-Id: I4ed17eb14310501cb5de864e8c62839a4d41b56c
2019-08-08Change to fix PDP-A incorrectly going into ACTIVE state even during APEX ↵a.sreekumar4-28/+59
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>
2019-08-07Bump version of apex-pdpjrh387-89/+89
Issue-ID: POLICY-1965 Signed-off-by: jrh3 <jrh3@att.com> Change-Id: Icd437f10c4d991030652ffa1abf48b7b5738145c
2019-08-06Add release 2.2.1 filejhh1-0/+4
Issue-ID: POLICY-1953 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I6c40a6a74c98e3901fa3f0ca477ffdf95a7a4425
2019-08-06Merge "Fix typo in eventTab_activate()"Jorge Hernandez1-1/+1
2019-08-06Update to latest common/models released versionsjhh1-2/+2
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>
2019-08-02Fix typo in eventTab_activate()Artem Naluzhnyy1-1/+1
Coverity-scan: CID-229736 Issue-ID: POLICY-1961 Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com> Change-Id: I6149f2c13d6721a5e026bf8ceb901c2d20913f82
2019-07-30Use new addTopic() method in apex-pdpjrh35-32/+18
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
2019-07-30integration test for execution property rest APIning.xi10-7/+736
Issue-ID: POLICY-1936 Change-Id: Ifc720cd320f5eced2f3c039b2ce6442387de240b Signed-off-by: ning.xi <ning.xi@est.tech>
2019-07-26Updating scripts to support APEX CLI Tosca editora.sreekumar4-0/+101
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>
2019-07-24Extend APEX CLIEditor to generate policy in ToscaServiceTemplate formata.sreekumar18-385/+2056
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>
2019-07-12add status filter in restclient and restrequestorHenry.Sun20-557/+797
Issue-ID: POLICY-1742 Change-Id: Ib4984b18c0353cddb12c13c352277728be691bf5 Signed-off-by: Henry.Sun <henry.a.sun@est.tech>
2019-07-12Merge "fix sonar issues in restclient/restrequest"Jim Hahn2-19/+14
2019-07-12fix sonar issues in restclient/restrequestning.xi2-19/+14
Issue-ID: POLICY-1743 Change-Id: I2bd2224904e459d56f5802e8b5276823e7f5d454 Signed-off-by: ning.xi <ning.xi@est.tech>
2019-07-11Removing docs from apex-pdp reporamverma39-14066/+0
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>
2019-07-11Merge "Make URL configurable in REST Requestor/Client"Jim Hahn12-37/+415
2019-07-11Make URL configurable in REST Requestor/Clientning.xi12-37/+415
Change-Id: Ifb9870636996d1af786f05fcef7aa811d6f57532 Issue-ID: POLICY-1743 Signed-off-by: ning.xi <ning.xi@est.tech>
2019-07-10Add integration tests for executor propertiesliamfallon69-167/+1424
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>
2019-07-10Merge "Updating documentation with the topic.properties removal changes"Ram Krishna Verma1-43/+45
2019-07-09Updating documentation with the topic.properties removal changesa.sreekumar1-43/+45
Change-Id: Id770c0b4e16f4c8123b2bb2d0356aed75f9e54db Issue-ID: POLICY-1744 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-07-09Fix typo in CLI editor error messageliamfallon1-9/+9
Issue-ID: POLICY-1897 Change-Id: I810c2550c6615d32b8d30148efc36a3660c3c1a5 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-07-08Fix apex-pdp due to sonar changes in commonjrh33-9/+11
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
2019-07-05Add duplicate check, examples for kafka Propertiesliamfallon4-32/+162
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>
2019-07-02ApexPDP: Fixed jenkin failure in NordixJohnKeeney5-50/+93
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>
2019-07-02Fix security vulnerabilities in apex-pdpliamfallon11-10/+20
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>
2019-07-01Merge "ApexPDP: Adding support to omit the (context) albums entry in an apex ↵Pamela Dragosh14-782/+4914
policy model if it is empty. Implemented as a pair of JAXB XMLAdaters Updated copyright, fixed somecheckstyle issues, refactored affected tests & Merge"
2019-07-01Merge "Fix issues from Checkstyle reviews"Ram Krishna Verma8-140/+52
2019-07-01Merge "Bump apex-pdp to 2.2.1-SNAPSHOT"Jim Hahn87-87/+87
2019-07-01ApexPDP: Adding support to omit the (context) albums entry in an apexJohnKeeney14-782/+4914
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>
2019-07-01Fix issues from Checkstyle reviewsliamfallon8-140/+52
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>
2019-07-01Merge "Remove topic.properties and incorporate into overall properties"Ram Krishna Verma20-182/+160
2019-06-28Bump apex-pdp to 2.2.1-SNAPSHOTPamela Dragosh87-87/+87
Released 2.2.0 Issue-ID: POLICY-1737 Change-Id: I144a3c07d3eaf8c53d339eecedf2b3d8d3ce3c7e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-28Remove topic.properties and incorporate into overall propertiesa.sreekumar20-182/+160
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>
2019-06-28Replace non-Javadoc comments with inheritDocsliamfallon250-4985/+2301
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>
2019-06-27Merge "Add period after inheritDoc for Sonar"Ram Krishna Verma14-106/+117