aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-10-14Fix for change of interface in SDC clientliamfallon2-4/+4
SDC changed their interface for the SDC client, this change caused a compile error. Issue-ID: POLICY-2169 Change-Id: Ia6d134e9dacbbcf98081c6e71a1be87dd82fd55b Signed-off-by: liamfallon <liam.fallon@est.tech>
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> (cherry picked from commit 304d66038475c7dc629f3c8e204e22e3a7fdbf73)
2019-09-16Bump versions in distribution elaltoJim Hahn16-15/+16
Change-Id: I47cca5177a7f8daac387abfff961d0badd8d3737 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>
2019-06-26Remove POLICY_DISTRIBUTION_HOME in Dockerfileshaoqiu2-13/+11
Update the policy-dist.sh and Dockerfile according to the comments in commit: https://gerrit.onap.org/r/c/policy/api/+/89972 Issue-ID: POLICY-1702 Change-Id: Ia3d2ce356baac3a657da879fb9ccf5eefd2a9624 Signed-off-by: shaoqiu <tim.huang@est.tech>
2019-06-20Upgrade to release 3.0.0 parentPamela Dragosh1-1/+1
Policy/parent released Issue-ID: POLICY-1737 Change-Id: Ie2b62644526d49bc13ada05f39fc0551e5c5e428 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-19Change getCanonicalName to getName in distributionJim Hahn5-5/+9
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: I7a575900f6d26065563e4907cd2176f690797021 Issue-ID: POLICY-1646 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-06-18Fix junit tests in distributionJim Hahn5-9/+9
Sonar fix broke some of the junit tests for parameters; fixed those. Also fixed some checkstyle errors (e.g., unused imports). Change-Id: I76c57792b82b9c2ddd27bdbc35910e9b11d86ea5 Issue-ID: POLICY-1791 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-05-31Bump distribution to 2.2.0Pamela Dragosh15-20/+20
Due to dublin branch. Issue-ID: POLICY-1747 Change-Id: I889d3c5276a070404eeba86d99ca82852d2645e5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-22Update INFO.yaml to add Jim and Ramliamfallon1-1/+17
Issue-ID: POLICY-1775 Change-Id: I9dc75811f0d65ed9533c0485c33bf623da4fda7a Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-05-16Step snapshot version of policy-distributionliamfallon15-15/+15
Issue-ID: POLICY-1630 Change-Id: Ie107fa87bdce76eec39a8ee5ae55b700236a3017 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-05-15Upgrade to release versions4.0.0-ONAP2.1.0Pamela Dragosh1-2/+2
Released policy/engine 1.4.0 and apex engine 2.1.0 Issue-ID: POLICY-1630 Change-Id: Ib39c9daae5966791f88885485978c1b4b95738c5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-13upgrade sdc tosca parse to v1.5.1liboNet8-7/+7
update pom.xml to use v1.5.1 for sdc-tosca parse update Extract file since the DM's change update the csar file based on new DM update Test file to reflect the new CSAR file Change-Id: I90da979ff1cedbdedadacc46386aa5ea0e7b6711 Issue-ID: POLICY-1720 Signed-off-by: liboNet <libo.zhu@intel.com>
2019-05-13Upgrade policy/parent & policy/common in distributionramverma1-2/+2
Change-Id: Iada6e88ac68f4cea874d2cf832da77657df576e6 Issue-ID: POLICY-1630 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-04-24Rebase image on policy-common-alpineDmitry Puzikov2-19/+8
Added exact version of base image Issue-ID: INT-999 Change-Id: I149b92c6e28d0dd325f9601a6aa979767d0a2e9b Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-04-16Merge "One year cert with new component names"Pamela Dragosh1-0/+0
2019-04-16Fix more sonar issuesLianhao Lu2-21/+24
Fixed the sonar issues: S134, S3725, S2129. Issue-ID: POLICY-1638 Change-Id: I1a91b8e5e071a770faf8182e8ac1ada04b63599e Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2019-04-15One year cert with new component namesjhh1-0/+0
Change-Id: Ide8130ead1e5aff8d8346cb24f82233e64d4c144 Issue-ID: POLICY-1580 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-12Fix sonnar issuesLianhao Lu2-18/+14
Change-Id: Ic9ad2d733ace26fdd085a03af901783192d72a79 Issue-ID: POLICY-1638 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2019-04-11Gracefully release resource in file reception pluginLianhao Lu1-25/+28
In the FileSystemReception plugin, we need to shutdown the thread pool to release the resources gracefully. Change-Id: I800e4070d7bf8c052d964139117a68dc48c50f76 Issue-ID: POLICY-1631 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2019-04-11Change logging from FlexLogger to SLF4JLianhao Lu3-17/+22
Replace the FlexLogger with SLF4J in forward plugins. Change-Id: I20077f1a400cd1a28b4b32f877d20d5628af881c Issue-ID: POLICY-1346 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2019-04-10Add multi-thread support in FileSystemReceptionHanderLianhao Lu7-18/+72
By adding multi-thread support in FileSystemReceptionHander, we can have a more thorough s3p test to test performance & stablity in multithread situations. Change-Id: Id263435531e26dcbadfbda6f82b26ac54a72ba1a Issue-ID: POLICY-1274 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2019-04-10Add a new policy file log forwarder.Lianhao Lu5-0/+483
By introducing the new file log policy forwarder, we now could remove dependency to external pap/pdp engine during s3p test, and focus only on the performance and stability of the pssd instead. Change-Id: I769d4f4a5425c82fa84e5fae20f08b6527bd5d70 Issue-ID: POLICY-1274 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2019-03-17Add NSS libraries to imagesJorge Hernandez1-1/+2
Alpine OpenJDK was updated 2 days ago (3/14), this upgrade seems to break java applications that depend on libnss*.so OS libraries, which seem are no longer installed with the jdk. Added some other libraries to aid when debugging. Change-Id: I97e58b963420a43e91f9596ed72a82185a20d859 Issue-ID: POLICY-1604 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-15Update INFO.yaml fileJessica Wagantall1-3/+26
Update missing information blocks and indentation to pass verify job. Change-Id: I6bfa10c8a3d214884882edd3ee9d0e8d02245113 Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>