aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-01-23Merge "Remove assembly warning"Pamela Dragosh1-3/+4
2020-01-23policy/distribution jdk11 upgradesa.sreekumar1-1/+1
Change-Id: Idb8fdd34eaafbdcf5ea3da6c770ce18dff5d852a Issue-ID: POLICY-1585 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2020-01-23Remove assembly warningPamela Dragosh1-3/+4
Replease with ${file.separator} Issue-ID: POLICY-2329 Change-Id: I48567726f3540dddbd9d93fa306b8c7244c33bfc Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-01-22Finish sonar config updatePamela Dragosh2-3/+8
Now that JDK11 upgrade done, policy/parent has the right parameters defined. Cleaned up and made sure only one .exec file being generated. Issue-ID: POLICY-2321 Change-Id: I058119982e56bc5c111ba3f2fe44079be97fd889 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-01-22policy/distribution jdk11 upgradesHOCKLA18-70/+88
Issue-ID: POLICY-1585 Change-Id: I4aa879656c039d9de9c288f0309105c21f4bf285 Signed-off-by: HOCKLA <ah999m@att.com>
2020-01-20Merge "Update sonar config"Pamela Dragosh3-78/+15
2020-01-20Update sonar configPamela Dragosh3-79/+16
First update for sonar config, once this is updated to JDK11 I will cleanup. This reports just under 80% for the moment. Issue-ID: POLICY-2321 Change-Id: I1b3338c53e152ad663ba513bbd15226052142587 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: Ia402dc123ddaf746f5680eecc3d302e868b4cc26 Signed-off-by: HOCKLA <ah999m@att.com>
2020-01-09Enabling logback files to be loaded using oom configmapa.sreekumar1-2/+7
Change-Id: I0391f339f50d6e1fc35a45ce2941cd8c272f90d8 Issue-ID: POLICY-2308 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-12-06Merge "Point to release versions of policy/parent and policy/common"Pamela Dragosh1-2/+2
2019-12-06Point to release versions of policy/parent and policy/commonHOCKLA1-2/+2
Issue-ID: POLICY-1594 Change-Id: If6e7d96fb200d6947732c94ba4a0f621aac9d9d6 Signed-off-by: HOCKLA <ah999m@att.com>
2019-12-05change HealthCheckReport URL from self to hostNameHengye3-7/+11
Issue-ID: POLICY-1689 Consolidate Policy Health Check into PAP Change-Id: I00e17610d3e4788008649791c684c0af415863ee Signed-off-by: Hengye <yehui.wang@est.tech>
2019-11-19Build tar.gz without requiring docker image buildjhh1-0/+3
This allows the tar.gz to be released by LF jobs. Change-Id: Iae827268a69fa4ebde75892debb3c36443b288ea Issue-ID: POLICY-2250 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-11-08Do not hardcode io.fabric8 pluginPamela Dragosh1-1/+0
policy/parent now defines this plugin Issue-ID: POLICY-2222 Change-Id: Ib0405557b60ad55f0b26dc0f3052400b313454dd Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-11-01Add common Jersey versionliamfallon1-1/+1
Add a common version of Jersey for all Policy Framework components. Issue-ID: POLICY-2209 Change-Id: I7fa5d0f4419242d9d0c71b9d2ae17e0e1a49af8e Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-10-31Merge "changes in decoder as per new infra APIs"Jorge Hernandez2-165/+192
2019-10-30changes in decoder as per new infra APIsLiang Ding2-165/+192
Change-Id: Ie2ebfa16bc6b08dc54d60ef276f52e9ea2c91b1f Issue-ID: POLICY-1869 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-10-17override cert storesjhh1-1/+10
Change-Id: I8590b699300f17b25133d691a2aeb3322b75d7ef Issue-ID: POLICY-2064 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-10-15changes in policy decoder per hpa OOF definitionLiang Ding3-29/+14
Change-Id: I25f956c863f93c998c681535f5ef7ec43ca88cde Issue-ID: POLICY-2029 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-10-11Remove "Restricted" info from csarsjhh2-0/+0
These are the lines removed: + Proprietary information (Restricted) + For use only by authorized individuals and not for general distribution. Change-Id: I5a51d6f6bb40e464f9f9952cb139b668a4530298 Issue-ID: POLICY-2107 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-10-04Create decoder/parameters infra for HPA policyramverma8-139/+620
Creating a new policy decoder & its related parameter classes for decoding the HPA policy as ToscaServiceTemplate which is accepted by the new Lifecycle API of Policy Framework. Added couple of changes per review comments. Issue-ID: POLICY-2122 Change-Id: I2d19b04cd24dd9c5b9fbf959757272077e6413d4 Signed-off-by: ramverma <ram.krishna.verma@est.tech> Signed-off-by: Jim Hahn <jrh3@att.com>
2019-09-19Use snapshot version of models in distributionJim Hahn1-4/+4
Change-Id: I8b6bbe14a2c4fcf97d799b42253403c448e71f7d Issue-ID: POLICY-2065 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-09-19Remove proprietary license added in csar by SDCramverma2-0/+0
Issue-ID: POLICY-2107 Change-Id: Ib237140f44460cecf7b379c77c7edbd7387638a0 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-09-16Bump versions in distribution masterJim Hahn16-16/+17
Also added default branch to .gitreview to facilitate branching in the future. Change-Id: I37d40b122924c35ddfc2e18aed3b126f0dab819c Issue-ID: POLICY-2045 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-09-16Add release yaml for 2.2.15.0.0-ONAPjhh1-0/+4
Change-Id: If149a5ec768c67aa718d861da35841d9c7588dda Issue-ID: POLICY-2045 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-09-09Update to released dependenciesjhh1-5/+5
Change-Id: If7727b1235e84476c68ccacfe524a99d008d4bb3 Issue-ID: POLICY-2045 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-09-06Fix few unit tests in distributionramverma2-251/+233
Fixing few unit tests broken due to side effects of change in policy/models. Issue-ID: POLICY-1871 Change-Id: Ia702e54e21ddbdde114570078ad6fcf85765a660 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-09-04Bring back the old HPA decoder & modelramverma4-224/+180
Bringing back the old HPA policy decoder and its related classes and tests. The distribution framework will support both the new PAP/API and the old policy engine in El Alto release. Issue-ID: POLICY-1871 Change-Id: Iab911b793207a09b02e906ed6913c54bc252f64c Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-08-22update keystorejhh2-0/+0
Change-Id: I4b3bb5f76d58477132cebef3410be547f2adf41d Issue-ID: POLICY-1988 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-08-19Upgrading dependencies to latest snapshot versionramverma1-4/+4
Issue-ID: POLICY-1871 Change-Id: Ic23b3ee7cfd1e1df387548e68f5a7a15b4e64fdb Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-08-16Upgrade sdc client & tosca parserramverma1-2/+2
Issue-ID: POLICY-1881 Change-Id: Ib8638bd3f5b8a5527cafa817cde2605b9545aebd Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-08-16Add LifecycleApiForwarder in policy/distributionramverma15-64/+1029
* Adding implementation of LifecycleApiForwarder in policy/distribution for forwarding policy to new components (PAP & API). * Adding related test cases and json files for testing. * Created a rest simulator to use for testing the API calls. * Fixed review comments Issue-ID: POLICY-1890 Change-Id: I6682e0366206d3f4ac77f60b676f40a0fd1aad02 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-08-08Upgrade to snapshot integration parent artifactBruno Sakoto1-1/+1
Issue-ID: POLICY-1603 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: If51a76b5b5701b6692e03daa3a0e21c36a2b3530
2019-08-06Changing parameters to use ParameterGroupImplramverma28-1107/+252
1. Changing all the decoders & handlers parameters to use ParameterGroupImpl. 2. Fixed all the test cases. Issue-ID: POLICY-1890 Change-Id: I4a124c0acc650020977ac8e2cee143c72003973a Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-08-02Change parameters to extend ParameterGroupImplramverma27-605/+467
1. Changing all the forwarder parameter groups to extend the ParameterGroupImpl instead of implementing the ParameterGroup interface. 2. Introducing lombok in distribution. 3. Fixing all the affected test cases. 4. Creating parameter group to hold parameters needed for forwarding policies to the new lifecycle API's. Issue-ID: POLICY-1890 Change-Id: I0c8b72f355a610fa5d46daaacc9ef7f06b7cec09 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-07-26Add lombok.config to DISTRIBUTIONJim Hahn1-0/+2
This prevents sonar from checking lombok annotations for code coverage. Note: lombok is not currently used in the project, but is expected to be soon. Adding the config file now so-as to avoid any oversight later. Change-Id: I01dd024e492e5111081e6e23ce2f0bb3cf1b05ad Issue-ID: POLICY-1938 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-23Update PolicyDecoderCsarPdpx to match policy/apiramverma2-18/+18
Lifecycle API's for creating policies & policy types in policy/api expects ToscaServiceTemplate as input instead of ToscaPolicy or ToscaPolicyType. Hence, changing the return type of decoder to generate & return ToscaServiceTemplate instead of ToscaPolicy. Change-Id: I4fb92738e15ee7e2868741f7ca50cf09429d8cde Issue-ID: POLICY-1888 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-07-21Changing policy decoder to support Toscaramverma6-44/+58
1) Updated PolicyDecoderFileInCsarToPolicy to parse ToscaPolicy & TocsaPolicyType from the given csar. 2) Change the parameters 3) Tests cases updated/added. Change-Id: Ic8d652ae8043d5d332f663a6862eb08e282591cf Issue-ID: POLICY-1889 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-07-19Modify policy/distribution to use RestServer from commonJim Hahn13-327/+94
This also entailed removing the local copy of RestServerParameters. Also added an AafFilter, which was missing from the original code. Change-Id: Ibbdce8c395e0149ab540a3704b3554a9d96b9705 Issue-ID: POLICY-1652 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-19Fix proprietary licensesliboNet1-0/+0
remove the txt file from generated csar file Change-Id: Ib8074b70d955440f22ea95781a698fb7e084bfb5 Issue-ID: POLICY-1867 Signed-off-by: liboNet <libo.zhu@intel.com>
2019-07-17Changing policy/distribution to use policy/modelsramverma31-518/+465
1) Changed policy distribution framework to use entities from policy/models 2) Changed all the test cases. 3) Commented few test cases which will be fixed along with code fixes. 4) Will be removing the old policy entities once all the pieces are ready. Change-Id: I1fd7b975b2e072c0b24e429903c9ca4796173929 Issue-ID: POLICY-1888 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-07-11Removing docs from distribution reporamverma3-710/+0
The documents are moved to policy/parent and hence removing them from distribution repo. Change-Id: I96f37b13280be6fc303d2d43e4720d14286de0e5 Issue-ID: POLICY-1898 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-07-08Fix distribution due to sonar changes in commonJim Hahn3-58/+44
Fixed breakages due to changes made in policy/common to satisfy sonar. Change-Id: Ib1e57668f727db1b87a9aa3bc9a8266884f5e994 Issue-ID: POLICY-1791 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-02Use ToStringTester from utils-testramverma3-4/+9
Changing ToStringTester from utils to utils-test. Bumping the policy/common, policy/engine & policy/models version. Change-Id: Id1f1b3f9a4a378c14d1adf2823aaa4c8626c8fd2 Issue-ID: POLICY-1746 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-07-02Bump distribution to 2.2.1-SNAPSHOTPamela Dragosh15-15/+15
Released 2.2.1 Issue-ID: POLICY-1737 Change-Id: I41bf18cc17f3e287d59da86ed3cc21dc8dcafd9a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-07-01Merge "Upgrade to released artifacts"2.2.0Jim Hahn1-3/+3
2019-07-01Upgrade to released artifactsPamela Dragosh1-3/+3
Policy/common, models and apex are released Issue-ID: POLICY-1737 Change-Id: I0cefaad8ad5791d07fe19382c12c5f0421361588 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-28Add curly braces in shell script fileshaoqiu1-2/+2
According to comment: https://gerrit.onap.org/r/c/policy/xacml-pdp/+/90495/1/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh#43 Issue-ID: POLICY-1702 Change-Id: Ie7c37a07dfc33f6b6bca70d9f9c2cb4cfb3377f5 Signed-off-by: shaoqiu <tim.huang@est.tech>
2019-06-27Merge "Remove POLICY_DISTRIBUTION_HOME in Dockerfile"Pamela Dragosh2-13/+11
2019-06-26Fix distribution latest tagpdragosh1-13/+13
Eliminating the patch - using Rashmi's changes. Issue-ID: POLICY-1737 Change-Id: I4a790b3da6de823bb744af270f541c0699ed8092 Signed-off-by: pdragosh <pdragosh@research.att.com>