aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-07-24Add junit coverage to drools-pdpJim Hahn4-17/+252
Change-Id: I253d3e85a08b893e7a9b168d92752205bcc459f6 Issue-ID: POLICY-1772 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-18Merge "Fix checkstyle issues in feature-active-standby-management"Ram Krishna Verma6-59/+28
2019-07-18Fix checkstyle issues in feature-active-standby-managementJim Hahn6-59/+28
Also deleted the checkstyle suppression file. Change-Id: I4a70c7abc8d73803c54a5c9353c7f460f815b4f0 Issue-ID: POLICY-1903 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-18Rename lock XxxAPI to XxxApi in META-INFJim Hahn1-0/+0
Change-Id: Ie90d8a9311378359a11d9126245d6ab8fc37fc9f Issue-ID: POLICY-1074 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-17Fix checkstyle issues in api-state-managementJim Hahn10-247/+216
Also deleted the checkstyle suppression file. Change-Id: Ib43a75c2e214db61a75173be095c380c7c7488f1 Issue-ID: POLICY-1902 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-17Fix checkstyle issues in api-active-standby-managementJim Hahn7-50/+19
Also deleted the checkstyle suppression file. Change-Id: I3518f29c75061dced8f507b274388f7588859037 Issue-ID: POLICY-1901 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-17Merge "Fix checkstyle issues in policy-core"Ram Krishna Verma17-77/+46
2019-07-16Fix checkstyle issues in policy-utilsJim Hahn7-685/+672
Also deleted the checkstyle suppression file. Change-Id: I51c69bce644204435fa8131c14132e0384b4e886 Issue-ID: POLICY-1909 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-16Fix checkstyle issues in policy-coreJim Hahn17-77/+46
Also deleted the checkstyle suppression file. Change-Id: I93e9f9154b614b56f7826ec978e1a99bd9369348 Issue-ID: POLICY-1907 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-16Merge "Fix checkstyle issues in policy-management"Jorge Hernandez55-3379/+3543
2019-07-16Merge "Fix checkstyle issues in feature-state-management"Jorge Hernandez7-53/+22
2019-07-16Merge "Fix checkstyle issues in feature-healthcheck"Jorge Hernandez4-246/+251
2019-07-11Fix checkstyle issues in policy-managementJim Hahn55-3380/+3544
Also deleted the checkstyle suppression file. Moved classes into their own source files per checkstyle. Change-Id: I586223aac0e5b7623cfd7b0acfceca4742ecc013 Issue-ID: POLICY-1908-mgmt-style Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-10Fix checkstyle issues in feature-state-managementJim Hahn7-53/+22
Also deleted the checkstyle suppression file. Change-Id: I41adf8c09fe0613134876976c6aadd193e38fbaa Issue-ID: POLICY-1905 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-10Fix checkstyle issues in feature-test-transactionJim Hahn7-272/+292
Also deleted the checkstyle suppression file. Change-Id: If3eaadfbbd9b6a7942d514af78018b987d94fe4c Issue-ID: POLICY-1906 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-10Fix checkstyle issues in feature-healthcheckJim Hahn4-246/+251
Also deleted the checkstyle suppression file. Change-Id: I44b5eaac4b75a7fc2186066d2bb109752a9e2e0f Issue-ID: POLICY-1904 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-08Fix drools-pdp due to sonar changes in commonJim Hahn19-164/+170
Fixed breakages due to changes made in policy/common to satisfy sonar. Change-Id: I26a38340707b2903e089350c31c5dfdb5c019ee0 Issue-ID: POLICY-1791 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-02Upgrade to common/models snapshotPamela Dragosh1-2/+2
Keep in step with these artifacts to avoid multiple versions loading during runtime. Issue-ID: POLICY-1737 Change-Id: I4f3c46ed7da969abf5d517e88a5221d10287c75e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-28Bump drools-pdp to 1.5.1-SNAPSHOTPamela Dragosh23-23/+23
Released 1.5.0 Issue-ID: POLICY-1737 Change-Id: I2ebc4255aa7b03b1c402e825bfb714224fb7db84 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-25Remove docker scripts1.5.0Pamela Dragosh3-302/+0
These are no longer needed as the maven docker plugin is being used. Issue-ID: POLICY-1737 Change-Id: If0aa1fbf85b48577562bea48149f1643596c17d9 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-24Upgrade to release common and modelsPamela Dragosh1-2/+2
Released policy/common 1.5.0 and policy/models 2.1.0 Issue-ID: POLICY-1737 Change-Id: I03ada36e643af92ff68d9b36f9e36c8389c36e66 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-21Merge "Improved test speed"Jorge Hernandez1-30/+37
2019-06-21Improved test speedKrysiak Adam1-30/+37
Issue-ID: POLICY-1671 Change-Id: Ia3f9313aac1f194fd56aed9be605b590a0d51c8e Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
2019-06-20Upgrade to release 3.0.0 parentPamela Dragosh1-1/+1
Policy/parent released Issue-ID: POLICY-1737 Change-Id: I970b0e444f046af28b0356e2011140b55ed2fd7b Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-19Update the right classname in the loggersRashmi Pujar3-3/+6
Issue-ID: POLICY-1791 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: I57de01a329fed8ef043103f157a242f47e607452
2019-06-17Change getCanonicalName() to getName() in drools-pdpJim Hahn9-33/+33
Per javadocs, getName() should generally be used instead of Class.getCanonicalName(). This change only applies to classes; it does not apply to File objects. Change-Id: I28df56b3dfd0382239960d7f0f6e1131d702b2ab Issue-ID: POLICY-1646 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-06-11Merge "Use io.fabric8:docker-maven-plugin to build and push docker images"Jorge Hernandez4-87/+152
2019-06-11Use io.fabric8:docker-maven-plugin to build and push docker imagesRashmi Pujar4-87/+152
Addressed POLICY-1808 for drools-pdp to fix the tag to be major.minor-SNAPSHOT-latest Issue-ID: POLICY-969 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: I21cd6080972ddf8cf357d6c134203b92fa9eb09b
2019-06-10Missing error description in error logChou, Joseph (jc2555)1-1/+1
Fix a typo in default arror pattern for error description field Issue-ID: POLICY-1838 Change-Id: I83bd932ac07a9d60945d6cecbc9cbabc443deaf3 Signed-off-by: Chou, Joseph (jc2555) <jc2555@att.com>
2019-06-06Remove nexus staging pluginpdragosh1-10/+0
Not used Issue-ID: POLICY-1737 Signed-off-by: pdragosh <pdragosh@research.att.com> Change-Id: I3020009b4ba8022eb7dc8f389ae7ff49eee3b33f
2019-05-31Bump drools-pdp to version 1.5.0Jim Hahn24-28/+28
Change-Id: I6eb1f0e7dc2c0ac9b4f1594497c321aa57db8ecd Issue-ID: POLICY-1747 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-05-22Update INFO.yaml to add Jim and Ramliamfallon1-1/+17
Issue-ID: POLICY-1775 Change-Id: Ia6df04e2ac7e44140bfa61282f894ee57df1395a Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-05-16Step snapshot version of drools-pdpliamfallon27-57/+57
Issue-ID: POLICY-1630 Change-Id: Ia77856077ae89f839aa930101c2002ac25f79595 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-05-14Upgrade to release policy/models4.0.0-ONAP1.4.0Pamela Dragosh1-1/+1
Version 2.0.0 Issue-ID: POLICY-1630 Change-Id: I0a18d4a5c52321b69757c07f48d6dd747606f9f3 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-13Ensure passive policies are injected when activejhh8-9/+69
Add vim package for testing support Change-Id: Icefcf8a57eea80b4fed97d4c63080f6159d8167a Issue-ID: POLICY-1748 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-05-13Upgrade policy/parent & policy/common in drools-pdpramverma1-2/+2
Change-Id: I5caa80f14e642d7c539c5b9df7da1f6770c68147 Issue-ID: POLICY-1630 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-05-08Track policies when active.jhh13-44/+126
Do not honor group/subgroup changes with status messages. When no present group/subgroups in update messages, assume that they have to be reset. Keep the policy cache of non-installed policies tracking them when in passive state besides active. Wait until go active to enable them. Remove legacy PAP and PDP-X healtchecks as it was basically testing reachability. There are conflicts with maintaining 2 different sets of PAPs and PDPs, trying to avoid it. Alternative healtchecks are being placed on the robot test framework. What to healtcheck should be considered more carefully in the near future. Change-Id: I574f30bb5899faf521123c79046793d16b4a46e0 Issue-ID: POLICY-1748 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-05-01relax check in features for multiversion depsjhh1-3/+4
print a warning instead, and the base install one wins. Change-Id: I666481e270bc03a8a7164e0fa947822d1ac8bbb6 Issue-ID: POLICY-1726 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-30Enable noop source support in controllerjhh3-179/+286
Additional telemetry apis for testing. Change-Id: I60a61ffbbe86bbb0474777905de922434deabbe2 Issue-ID: POLICY-1716 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-28Change config dir owner to policy instead of rootjhh1-1/+1
Change-Id: I3318df8eb31568fe1c9ca06d588d18b355d7095b Issue-ID: INT-998 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-26New BUILD_VERSION needed as fixed in parent imagejhh4-5/+5
BUILD_VERSION could not be used in ENV variable as it is cooked in the base image itself. Need to create a new one to reflect the drools build to get by. Change-Id: I681726f76e0ccfe84406f1414cad85edbcae52a8 Issue-ID: INT-998 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-26Add back BUILD_VERSION to Dockerfilejhh1-0/+2
It is needed by drools and drools applications images and were empty after using new base alpine images. Change-Id: I76c0e1b01b6edc49e9fc8f69fdef4fe3baa22e48 Issue-ID: INT-998 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-25Manually pull the base alpine images.jhh4-1/+15
Undo directory creation of base image to preserve original layout pre-use of alpine common/base images. Change-Id: I0e95cc2d6d6da03be66e3b0c2413676539909bb0 Issue-ID: INT-998 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-24Merge "Add telemetry API interface for Lifecycle"Jorge Hernandez7-208/+247
2019-04-24Add telemetry API interface for Lifecyclejhh7-208/+247
Some cleanup consolidating code in cire telemetry apis. Issue-ID: POLICY-1687 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ic5241d45eba06796192cca1e82cba5ae53dc5aaf Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-24Rebase image on policy-common-alpineDmitry Puzikov1-24/+12
Issue-ID: INT-1000 Change-Id: Ibd575b57c794a107d8fc890ffbe7303030984892 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-04-16Add response section to PAP status messagejhh7-14/+58
Change-Id: I26bf9f515c8639c030e8beb9e8b37a6a632da686 Issue-ID: POLICY-1655 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-16One year cert with new component namesjhh1-0/+0
Change-Id: I50afac9fc880d4dd5619093f917be8e55ee80fad Issue-ID: POLICY-1580 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-15Change json files from typeVersion to type_versionjhh3-3/+3
Change-Id: I8544977c47c3b428b2d2cea568122f8927d8a4db Issue-ID: POLICY-1647 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-10Send policies in statusjhh2-2/+34
Change-Id: Ia1f02857922a81c5d94ffc33cee72ce9a822c876 Issue-ID: POLICY-1624 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>