summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-04-13Point to parent, common, modelsPamela Dragosh4-29/+29
Released parent, fixes in model and commons. Issue-ID: POLICY-2486 Change-Id: I5c939dade1024dc6c606250ec8f55ece74614b36 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-09manual revert of jpa dependency on brmsgwjhh1-4/+0
The review https://gerrit.onap.org/r/c/policy/engine/+/105439 introduced an additional dependency that did not solve the underlying issue per testing. Reverting back the change, as other repos seem to be working without needing it. Issue-ID: POLICY-2471 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ibb2318e768b8fbb0fc4107757b80ca18cc89dcfb
2020-04-08Automation adds policy-engine-architecture.rstLF Jenkins CI1-7/+8
Issue-ID: CIMAN-376 Change-Id: I8079f4dee4b5b1e9ffd643f1c97eb01c8c675055 Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
2020-04-08Merge "Automation adds index.rst"Jessica Wagantall1-0/+1
2020-04-07Fix for healthcheck issue with brmsgwuj426b1-0/+4
Issue-ID: POLICY-2471 Change-Id: Ic0acc8889639a7346486797550a6bcb127e1291b Signed-off-by: uj426b <uj426b@att.com>
2020-04-07Automation adds index.rstLF Jenkins CI1-0/+1
Issue-ID: CIMAN-376 Change-Id: Iccb0fe8931fb22447e1d4983adf74d4be7fc92e2 Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
2020-04-07Point to parent SNAPSHOTPamela Dragosh1-1/+1
Issue-ID: POLICY-2378 Change-Id: I4522be8ab99a9d5dde6b1df731cf6135011c58d5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-27Point to released snapshotsPamela Dragosh6-34/+34
Issue-ID: POLICY-2378 Change-Id: I6213bdf4a5c3a83312f0bb2926474e4f3acaa681 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-25Bump engine 1.6.2 patchPamela Dragosh21-21/+21
I'm not going to bother with the other non-pom changes. Until we really need to. Issue-ID: POLICY-2378 Change-Id: Ib06ae950cd37d75fb34f49fd5cb207deca998c11 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-25Release engine 1.6.1 dockerPamela Dragosh1-0/+8
Issue-ID: POLICY-2378 Change-Id: I81ecd9eb4e26d4e51b52b4fd4dc7663555468444 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-25Release engine 1.6.1 artifactsPamela Dragosh1-0/+4
Issue-ID: POLICY-2378 Change-Id: Ib18bd384cd600492c7de0bd03d4738721e15f560 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-25Point to released artifactsPamela Dragosh6-33/+33
1.6.0 is drools-app 2.2.2 is models Issue-ID: POLICY-2378 Change-Id: I4329d433104e814ae023ee624442c79eb5eed3df Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-24Ignore JUnit that fails intermittentlyPamela Dragosh1-0/+5
Issue-ID: POLICY-2378 Change-Id: Iaa2e804af63d4ce1232326bd2dcca96083e5f087 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-24Bump patch 1.6.1 to fix JUnit issuePamela Dragosh22-51/+53
The docker stage job is not succeeded, nor is the sonar job. Logging doesn't produce anything useful, so the best bet is to fix the order of the tests and hope that fixes the problem. Regardless must bump the patch to release it again. Issue-ID: POLICY-2378 Change-Id: I01ff47c8deb124e9fd6ffcb37407dc580ecd6b03 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-24Release engine 1.6.0 artifactsPamela Dragosh1-0/+4
Issue-ID: POLICY-2378 Change-Id: I1f4a7adfdd35cf01faa943d33d4d8093c0f3ceb9 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-23Point to released artifactsPamela Dragosh2-4/+4
There are many other changes for when drools-applications gets released. Issue-ID: POLICY-2378 Change-Id: If652a44d9486563f4f5ceb01f58e71d15e5fa75c Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-18renew policy certs till 03/17/2021jhh1-0/+0
Issue-ID: POLICY-2402 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I0c1c7be414b81cb423ee6d9b3781bb75ec927c6c
2020-03-03use policy/parent awaitilityPamela Dragosh1-1/+0
use common version Issue-ID: POLICY-2381 Change-Id: I2463363beda83aa7ffb584a1f2b487389320c549 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-01Point to docker 2.0.1Pamela Dragosh1-1/+1
docker is released Issue-ID: POLICY-2378 Change-Id: Ide4c8898c21a4ddb7b845f15f66b7ff2b9ac3fb7 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-02-24Merge "Migrate policy-engine docs"Pamela Dragosh9-0/+145
2020-02-21Add pom.xml dependencies and exclusions needed for policy-engine guiPeyton Puckett4-3/+114
Update powermockignore annotation to fix junit failure Issue-ID: POLICY-1590 Change-Id: Iadd0855565c05d02af034a5ad02ea7b8e386fadc Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2020-02-21Fix policycreation testPamela Dragosh3-31/+51
This test was only performing code coverage, it should have revealed that IllegalArgument exceptions were incorrect. Fixed bug in savePolicy when an exception being thrown has a null message. Added warning and error messages for debugging in the future. Issue-ID: POLICY-1590 Change-Id: Ie32a73adbaf944f96e411a2c612cd8293382911c Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-02-18Update policy-engine to fix failing jUnit tests after jdk11 upgradePeyton Puckett2-2/+26
Issue-ID: POLICY-1590 Change-Id: I9f5a05112d943d7f3b6b0e807bf6ae4f2b993e55 Signed-off-by: Peyton Puckett <peyton.puckett@att.com> Signed-off-by: Peyton Puckett <pp5762@att.com>
2020-02-18Merge "Allow storing database password in environment variables"Jim Hahn2-4/+18
2020-02-18Allow storing database password in environment variablesDominik Mizyn2-4/+18
This patch allows to store and get database password from environment variables. This is needed if we want to send those variables by helm secrets. Issue-ID: OOM-2287 Change-Id: I041c3e4dd3b9042b2b6c2b34afc22867bab81b22 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2020-02-16Remove deletion of POLICY_HOME/etc/ssljhh1-3/+1
To match work from: https://gerrit.onap.org/r/#/c/policy/docker/+/101758/ Issue-ID: POLICY-2181 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I1f83508d7edd97337ee746cc09aff94bee684817
2020-02-10Migrate policy-engine docsJessica Wagantall9-0/+145
Merging this will create https://onap-policy-engine.readthedocs.io This build will run in parallel to the current docs generation method until we are ready to cut over. Issue-ID: CIMAN-364 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: I3582e1840308baf26778cbbbecfe53ad388ed2a6
2020-02-07Review intellij git ignored filesBruno Sakoto1-1/+6
Issue-ID: POLICY-2359 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Iee0846d913798e33d5f745c2d4fc7c3a89304cd0
2020-02-04Include jaxb in runtimeJim Hahn3-3/+0
The jaxb implementation was included with scope=test. As a result, it was not found when trying to run the engine within docker. Issue-ID: POLICY-1590 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I2e6e23929448b7c27bf6f6a1d2ea40c0c1cace97
2020-02-04Merge "policy/engine jdk11 junit and compilation error fixes"Pamela Dragosh16-69/+135
2020-02-03policy/engine jdk11 junit and compilation error fixesHOCKLA16-69/+135
Issue-ID: POLICY-1590 Change-Id: I0bbc6f7310705c20924812efc5be2b0f91cf71a2 Signed-off-by: HOCKLA <ah999m@att.com>
2020-01-28Updating docker image with new tools.Bilal A1-0/+2
Issue-ID: POLICY-2325 Signed-off-by: Bilal A <bilal@research.att.com> Change-Id: I352038ab7b3bfcf5a25d6d50b90c55b2536bcda9
2020-01-21Merge "policy/engine jdk11 upgrades"Pamela Dragosh30-101/+256
2020-01-20policy/engine jdk11 upgradesHOCKLA30-101/+256
Issue-ID: POLICY-1590 Change-Id: I4da8324a065ac9babe16368e69b76a4cbe9504ef Signed-off-by: HOCKLA <ah999m@att.com>
2020-01-20First update sonarPamela Dragosh2-73/+9
This is still pointing to old oparent, so only making the minor change. Note, I could not test this locally because the JUnits fail. Once Ali's review is merged I will make the final cleanup. Issue-ID: POLICY-2321 Change-Id: Idcd7633fc2fdbeaede8b24aab5dcd5437632da2f Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-01-10Point to policy/models release versionHOCKLA1-2/+2
Issue-ID: POLICY-1592 Change-Id: Ic8f5f5829b757578d0d5b32bf273cc9799faef71 Signed-off-by: HOCKLA <ah999m@att.com>
2020-01-07Add and modify jUnits for code coverage (continue admin)Peyton Puckett3-11/+413
Issue-ID: POLICY-2133 Change-Id: I4848e18c3ff638d6b659464b7c9293228dcc36d5 Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2019-12-18Add and modify jUnits for code coverage (continue components, admin)Peyton Puckett2-4/+259
Issue-ID: POLICY-2133 Change-Id: I6b308ad8e9dcd54a260312bbee8deeaec3af2cf1 Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2019-12-11Add and modify jUnits for code coverage (components)Peyton Puckett1-27/+404
Issue-ID: POLICY-2133 Change-Id: I0ded200797c112c1da4e50bd0721bb87c2d124ac Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2019-12-06Merge "Add and Modify jUnits for code coverage (model, admin)"Pamela Dragosh3-6/+184
2019-12-06Point to release versions of policy/parent and policy/commonHOCKLA1-2/+2
Issue-ID: POLICY-1583 Change-Id: I6d7ec1ccf00110d0f84998c05492b6d59a12cdf1 Signed-off-by: HOCKLA <ah999m@att.com>
2019-12-05Add and Modify jUnits for code coverage (model, admin)Peyton Puckett3-6/+184
Add tests to model after viewing sonarcloud coverage Start adding tests for admin Issue-ID: POLICY-2133 Change-Id: I690c612357fe3390c7904c6ba4c941dcefcc7640 Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2019-12-05Merge "Add and Modify JUnits for Code Coverage (components, controller)"Pamela Dragosh3-14/+368
2019-12-04Add and Modify JUnits for Code Coverage (components, controller)Peyton Puckett3-14/+368
Issue-ID: POLICY-2133 Change-Id: I9d8cecc7e9b1c280a0296a4e160f42e41264c1b6 Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2019-12-04Merge "Couple of JUnit additions for PAP-REST"Pamela Dragosh3-113/+271
2019-12-03Merge "Add and Modify JUnits for Code Coverage (daoImpl)"Jorge Hernandez2-15/+159
2019-12-02Add and Modify JUnits for Code Coverage (daoImpl)Peyton Puckett2-15/+159
Issue-ID: POLICY-2133 Change-Id: I1b16aa63394da0715dc50b5f0ac037b64d020a41 Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2019-12-02Unit/SONAR/Checkstyle in ONAP-RESTliamfallon4-8/+256
Util package of ONAP-REST, with JUnit added and SONAR/Checkstyle issues addressed. Coverage increased from 51% to 73% in large PolicyValidation class. Issue-ID: POLICY-2131 Change-Id: Iffa90e2dfa155d3e9cac114032fb9ca0df2cbab0 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-12-01Merge "Unit/SONAR/Checkstyle in ONAP-REST"Liam Fallon2-7/+747
2019-11-30Merge "Add and Modify JUnits for Code Coverage"Jorge Hernandez2-9/+94