summaryrefslogtreecommitdiffstats
path: root/packages/policy-distribution-tarball/src/main
AgeCommit message (Collapse)AuthorFilesLines
2021-11-04Rename user for API and PAP references.adheli.tavares2-4/+4
Use an account other than healthcheck in API and PAP for provisioning of policies. Issue-ID: POLICY-2744 Change-Id: I2d626276daba25d405be24cf81233ae848a8674e Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-10-07Distribution S3P Testing for Istanbuladheli.tavares2-2/+2
Issue-ID: POLICY-3654 Change-Id: Ib410008418a6d94948270fea1c37e20eb0c59003 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-08-30Fix default config in distributionRam Krishna Verma1-2/+2
Issue-ID: POLICY-3526 Change-Id: Iae0d43829eb284a4aed5547d0944b66ccff77396 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-23Enable prometheus by default in policy-distributiona.sreekumar1-1/+2
Change-Id: I5bfd9ff7597f10e5eb08c01183bf02a17676afb5 Issue-ID: POLICY-3538 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-07-30Use new RestClientParameters class in distributionJim Hahn2-7/+13
This is a re-do of a previously reverted review. It's mostly the same as before, but there are some minor differences. Replaced LifecycleApiForwarderParameters with RestClientParameters. Also modified the code to get the HttpClient objects once. Also removed some unused json test files. This requires changes to property files in CSITs and OOM: - add "clientName" to the api & pap structures - rename "hostName" to "hostname" - rename "isHttps" to "useHttps" and move it inside the api & pap structures Issue-ID: POLICY-3456 Change-Id: I32b04bc3b6880ec7798814dad268143bc3b06faf Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-19Delete keystores from distributionJim Hahn1-0/+0
The Keystore is no longer needed in the tarball, as it is supplied externally by the CSITs and Helm charts. Deleted that file. Also modified the junits to use utils-test to generates keystores at runtime, thus deleted the junit keystore file, too. Issue-ID: POLICY-3143 Change-Id: I9daf6da10f2027880c260bd6f529bf6c6e7c2e91 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-16Update policy-keystore with newer certificatesjhh1-0/+0
Issue-ID: POLICY-3139 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I7e228797bc5f51715c86141a279a990699fa6fe4
2020-09-24update default keystoresjhh1-0/+0
Issue-ID: POLICY-2827 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: If5da9a12dad83b3b596ff5e1ac2c1f8fc0987b9c
2020-07-21Remove hpa decoder from policy/distributionRam Krishna Verma2-24/+16
Issue-ID: POLICY-2477 Change-Id: Iff4158e2322724265007d5a90459c3ebf62d3fc2 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-03-18renew policy certs till 03/17/2021jhh1-0/+0
Change-Id: Ic3089d7c8697e500d49d454dfd21e9360a4df893 Issue-ID: POLICY-2402 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-03-03Remove policy/engine & apex dependency from distributionRam Krishna Verma2-163/+135
Issue-ID: POLICY-2404 Change-Id: Ia3084c55ea65a3119354079d9afd3ee35689b7d4 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
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>
2019-10-04Create decoder/parameters infra for HPA policyramverma1-83/+123
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-08-22update keystorejhh1-0/+0
Change-Id: I4b3bb5f76d58477132cebef3410be547f2adf41d Issue-ID: POLICY-1988 Signed-off-by: jhh <jorge.hernandez-herrero@att.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-02-07Fix docker build in policy/distributionramverma1-8/+0
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 slf4jramverma2-271/+100
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-22Fix issues in policy-distributionramverma1-2/+2
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>
2018-12-20Fix lineEnding issue for policy-keystoreliboNet1-1/+11
. 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 endpointsliboNet3-1/+2
. 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-11-09S3P: added FileSystemReceptionHandler pluginLianhao Lu1-0/+68
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-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>
2018-09-30Add user and password into client settingliboNet1-3/+3
SDC will do authorization based on the input configuration. Change-Id: Ie4b3eca8d24a669e14e9752f7d7f67a222fdc3d1 Issue-ID: POLICY-1158 Signed-off-by: liboNet <libo.zhu@intel.com>
2018-09-24Enable TRACE log for distributionAlexis de Talhouët1-1/+4
Change-Id: I2eceec9d4f015bd6ecd961d47ed0a8fbe41f40ab Issue-ID: POLICY-1147 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-09-14Aligned decoder with forwarder for opt. policiesmmis1-22/+40
Changed decoder for optimization policies to generate instance of OptimizationPolicy (instead of PdpxPolicy) as expected by the forwarder. Without this change there is a mismatch between the decoder and the forwarder. Added parameters for configuring the static elements of the optimization policies and setting of these elements. Issue-ID: POLICY-927 Change-Id: Ib91a905dc89eed13622fb88e4dd19b3cb9f62c75 Signed-off-by: mmis <michael.morris@ericsson.com>
2018-09-05Generate docker image for policy distributionmmis4-0/+419
Added generation of tarball of policy distribution jars and generation of docker image using the tarball Issue-ID: POLICY-923 Change-Id: I9e38143fee864b765fbfd567c7e52bc7b0be2c9a Signed-off-by: mmis <michael.morris@ericsson.com>