summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2019-03-06Use Alpine as base docker image in distributionning.xi2-20/+10
Issue-ID: POLICY-1550 Change-Id: I16801ad4fa0c2db578a9d1e41adef053df5074be Signed-off-by: ning.xi <ning.xi@est.tech>
2019-03-01Merge "Changes directory structure of S3P Tests"Pamela Dragosh330-0/+51687
2019-02-28Update INFO.yaml Liam's emailPamela Dragosh1-1/+1
est.tech Issue-ID: POLICY-1556 Change-Id: I2d49ebac72911e59e0d0f12546652280593e0a26 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-02-27Changes directory structure of S3P TestsBilal A330-0/+51687
Changes Include: a) Moving performance and stability tests into two separate directories. Change-Id: Ib98713b2c37658de16c5eb6ee8918b867bdf5b8a Issue-ID: POLICY-1462 Signed-off-by: Bilal A <bilal@research.att.com>
2019-02-18Use gson by defaultjh73581-0/+4
Add a property to force the REST server to use gson instead of jackson. Change-Id: I0dd762e0f9b4a4809f68e5b5498e16136f611d12 Issue-ID: POLICY-1525 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-02-07Fix docker build in policy/distributionramverma2-9/+1
policyLoger.properties file was removed as part of moving to slf4j for logging. But the assembly.xml file was still refering to it. Since the file was not there the /bin directory was missing from the created package. Resulting in docker builds failing. Change-Id: Ia800c949d180d592aa0adb6cf61773b37329be48 Issue-ID: POLICY-1346 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-02-05Change policy/distribution logging to slf4jramverma30-561/+419
1) Changed logging from FlexLogger to SLF4J with logback 2) Fixed test cases of distribution REST endpoints having infinite while loop Change-Id: I1551873b3d348f9a7d2b4f8dfc3ae5dd6462bdb8 Issue-ID: POLICY-1346 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-01-25Fix compilation error on policy-distributionramverma3-11/+17
Change-Id: Ic190774c74c11a2d11c3b3b7e0144f69cd8770e8 Issue-ID: POLICY-1428 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-01-22Fix issues in policy-distributionramverma7-35/+143
1) Creating a new thread for watching directory path for new file. 2) Updating distribution statistics from FileSystemReceptionHandler. Change-Id: Ic539f2cad015f0756407fe910f309a2ea661a764 Issue-ID: POLICY-1437 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-01-22Remove properietary license from CSARliboNet8-174/+0
Remove these license from the Artifacts/Information directory which will NOT impact the test in S3p and reception-plugins Change-Id: I6551d37b704b2191b865af8c69f01eae685d0adb Issue-ID: POLICY-1433 Signed-off-by: liboNet <libo.zhu@intel.com>
2019-01-11Fix Noncompliant usage sonar issueliboNet3-6/+4
remove the Thread.sleep about such noncompliant usage rename the funciton name for codestyle's alignment Change-Id: I71b66143d7d68fa58a1a60de70e1836fde7df8c4 Issue-ID: POLICY-1256 Signed-off-by: liboNet <libo.zhu@intel.com>
2018-12-20Fix checkstyle issues in distributionliamfallon8-98/+86
Some fixes for minor checkstyle issues. Issue-ID: POLICY-1221 Change-Id: I86577f47283a6fa97be25d7550ed9c2d7ec026a9 Signed-off-by: liamfallon <liam.fallon@est.tech>
2018-12-20Fix lineEnding issue for policy-keystoreliboNet2-2/+12
. separate the etc/ssl from etc in assembly . fix the JVM property typo by using trustStorePassword Change-Id: I0e00bf211de96939346c46e0486361e29f9e20f7 Issue-ID: POLICY-1385 Signed-off-by: liboNet <libo.zhu@intel.com>
2018-12-19add Https support for distribution endpointsliboNet12-7/+381
. add the https into the RestServerParameters interface . update CommonTestData to support https interface . add two cases for healthcheck and statistic https validation . update the package script to use JVM properties . add keystore and truststore to resources dir . update the keystore path for consistency Change-Id: I04b2a3e1afef84eafbb6a22e6fe2122a5a181883 Issue-ID: POLICY-1221 Signed-off-by: liboNet <libo.zhu@intel.com>
2018-12-04Fix policy format with vCPE serviceliboNet9-68/+119
. change the capital and lower-case letter . add missing fields in ConfigBody policyName and templateVersion that are requried by OOF . add '=' into default operator once no such info in the input CSAR . based on the vCPE service, which includes several CPs, some may do NOT connect any VDU. so need deal with such case. . add new test case to cover complicated service includes 5 policies . change the resource's type from String to List as requried by OOF which needs such format to deal with all kind of policies beides hpa . improve the code style Change-Id: Id39b1a0511c362c5ae9dce409af18b032832de80 Issue-ID: POLICY-1282 Signed-off-by: liboNet <libo.zhu@intel.com>
2018-11-23Create label for architecture to refPamela Dragosh1-1/+3
Creating a label so architecture document can reference this new application. Issue-ID: POLICY-1163 Change-Id: Ie3cef673f179240d562dc02411d38c9dfc038252 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-11-22policy/distribution documentsramverma3-0/+708
Change-Id: I1c3e083a9ce050ce67acd5f68d0dcf498927592a Issue-ID: POLICY-1260 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-11-20Added additional supporting scripts for s3p testLianhao Lu2-0/+90
clean_policy.sh: remove policies correspdoing to s3p csar files. list_failed_policy.sh: try to get failed policies from pdp in s3p test. Issue-ID: POLICY-837 Change-Id: I742437f740eee191875b25eccd03f00574bc0dcc Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-11-13Fix unchecked cast sonar issuePamela Dragosh3-14/+10
Removed the unused variable. We are reasonably sure that the cast is ok. Fixed the JUnit tests, removed useless imports, unused variables and raw types. Issue-ID: POLICY-1256 Change-Id: Iad7dbbf02a4dd48648fc9d5c20595c9f0f8d7acb Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-11-13s3p: Remove temporary workaroundLianhao Lu4-14/+10
Since bug POLICY-1254 has been fixed, remove the workaround for it. Change-Id: I40a706b439b8db8530299921c8a59ef04e0d250d Issue-ID: POLICY-837 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-11-13FileSystemReceptionHandler: Fix sonar issuesLianhao Lu3-46/+82
Fixed 6 code smell issues reported by sonar. Change-Id: I537df24f0f0624470efd8675f01ecd433aed1cb0 Issue-ID: POLICY-1256 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-11-12Merge "Fix virtual_binding error under VDU requirements"Liam Fallon5-8/+47
2018-11-13Fix virtual_binding error under VDU requirementsliboNet5-8/+47
virtual_binding will bind CP to a VDU but virtual_link use the node name instead of the name of node's propertiy add new test case to cover s3p the picvendorId's path has been changed based on demo repo Change-Id: I0ca400eab4d16284f14cb568fe3da5b409dd9222 Issue-ID: POLICY-1254 Signed-off-by: liboNet <libo.zhu@intel.com>
2018-11-12Make FileSystemReceptionHandler more tolerantLianhao Lu6-11/+280
Make FileSystemReceptionHandler tolerant of exceptions thrown when parsing tosca template and be able to handle new incoming csar. Also added the unit test for FileSystemReceptionHandler. Change-Id: I0f1647f6f952576a8e61adca4d027990706d1411 Issue-ID: POLICY-837 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-11-09Fix sonar/checkstyle issuesPamela Dragosh18-53/+56
The main pom.xml was incorrect, so these issues have creeped into the source code. Issue-ID: POLICY-1256 Change-Id: Ic0b52f3a28f869252120991b0c1946ef8402bcc5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-11-09Added JMeter scripts for perf testLianhao Lu4-0/+530
Change-Id: I4286c6defdef331ee5c40399d17381d3c8b8a544 Issue-ID: POLICY-836 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-11-09Added JMeter scripts for stability testLianhao Lu165-0/+51950
Added the scripts and JMeter scenario for stability test Change-Id: If495321e54e56d688cfadd53894a0361f283079d Issue-ID: POLICY-837 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-11-09S3P: added FileSystemReceptionHandler pluginLianhao Lu7-4/+316
For S3P test, we need to add a new FileSystemRecpetionHandler plugin which monitors a local directory for newly come csar files. This patch added the plugin code as well as the configuration file for s3p to use. Change-Id: I8f1e65489abde15ae32c54d819bbc6e7cbdf36d0 Issue-ID: POLICY-837 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-10-31Set new master version for Dublinliamfallon10-33/+24
Issue-ID: POLICY-1232 Change-Id: Ib72ebd05fb88de05c356f05ee7ca2a4e4d00881c Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-11-01use https instead of http to do forwardliboNet1-2/+2
use https instead of http set default as the value of pdpGroup Change-Id: I9c4fa901bfc00be465b6ba9777d4c35c0ac93eb3 Issue-ID: POLICY-1237 Signed-off-by: liboNet <libo.zhu@intel.com>