Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
Issue-ID: POLICY-1550
Change-Id: I16801ad4fa0c2db578a9d1e41adef053df5074be
Signed-off-by: ning.xi <ning.xi@est.tech>
|
|
|
|
est.tech
Issue-ID: POLICY-1556
Change-Id: I2d49ebac72911e59e0d0f12546652280593e0a26
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: Ic190774c74c11a2d11c3b3b7e0144f69cd8770e8
Issue-ID: POLICY-1428
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
|
|
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>
|
|
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>
|
|
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>
|
|
Some fixes for minor checkstyle issues.
Issue-ID: POLICY-1221
Change-Id: I86577f47283a6fa97be25d7550ed9c2d7ec026a9
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
. 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>
|
|
. 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>
|
|
. 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>
|
|
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>
|
|
Change-Id: I1c3e083a9ce050ce67acd5f68d0dcf498927592a
Issue-ID: POLICY-1260
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Fixed 6 code smell issues reported by sonar.
Change-Id: I537df24f0f0624470efd8675f01ecd433aed1cb0
Issue-ID: POLICY-1256
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I4286c6defdef331ee5c40399d17381d3c8b8a544
Issue-ID: POLICY-836
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
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>
|
|
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>
|
|
Issue-ID: POLICY-1232
Change-Id: Ib72ebd05fb88de05c356f05ee7ca2a4e4d00881c
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
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>
|
|
To align with OOF/Policy/SO, need add below:
. resource should be set as name field of SDC resource.
. identity should be set as a concatenation of PolicyType + "_" + Resource
. value of flavorDirective's type, expected from OOF, is "flavor_directives"
. policyScope should add the name of service from SDC to align with that from SO.
. Update the Testcase
Change-Id: I57f461ef51e0f50e6096c9c9ba84c5832cb13656
Issue-ID: POLICY-1227
Signed-off-by: liboNet <libo.zhu@intel.com>
|
|
Issue-ID: POLICY-1213
Change-Id: I7262a00ec35549e63127f8a3730ca8aa75da09aa
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
|
|
add HPA into PolicyScope to fix the NullPointerException
Change-Id: I160e630d982257c57e1f950906c231c895872c71
Issue-ID: POLICY-1200
Signed-off-by: liboNet <libo.zhu@intel.com>
|
|
Fixing bug in distributor due to which malformed xml
was being sent to apex-pdp for updating the policy.
And due to which the parser in apex-pdp use to fail.
Change-Id: I5feaad0eeb06c820904acacd5cc47858b14eb963
Issue-ID: POLICY-1201
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
Maven does not like the version being inherited from parent.
So must explicitly set it.
Issue-ID: POLICY-1189
Change-Id: I4097368f5084c6da724df185cfb58bd88a668130
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
policy/common and policy/engine are released.
Issue-ID: POLICY-1189
Change-Id: I9ea1222fc3330493595cd9545a2728d48b9e044e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Remove these license in zip file from the Artifacts/Deployments
directory which will NOT impact the test
reduce the size of csar file by using zip -9 compression
Change-Id: I234da7c13f0ce00fc2f1edbc16aac279bf90752d
Issue-ID: POLICY-1185
Signed-off-by: liboNet <libo.zhu@intel.com>
|
|
Remove these license from the Artifacts/Information directory
which will NOT impact the test
Change-Id: I3280ca902616248313fe357cfa0cda9bc254b178
Issue-ID: POLICY-1185
Signed-off-by: liboNet <libo.zhu@intel.com>
|
|
the schema format of HPA requirement has been modified
so that the parse needs update too based on the wiki:
https://wiki.onap.org/display/DW/Specifying+HPA+
Capability+Requirements+using+TOSCA-based+VNF+Descriptors
Change-Id: I48b39797e70d686ed0b9b2e7001b9a00068e76fd
Issue-ID: POLICY-1160
Signed-off-by: liboNet <libo.zhu@intel.com>
|
|
SDC will do authorization based on the input configuration.
Change-Id: Ie4b3eca8d24a669e14e9752f7d7f67a222fdc3d1
Issue-ID: POLICY-1158
Signed-off-by: liboNet <libo.zhu@intel.com>
|
|
|
|
|
|
Change-Id: Iebc19d2e734ead405ac398a1011dcd42990b20b8
Issue-ID: POLICY-1147
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
|
|
Change-Id: I2eceec9d4f015bd6ecd961d47ed0a8fbe41f40ab
Issue-ID: POLICY-1147
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
|
|
SdcToscaParserFactory is looking file file type of .yaml .yml .zip or .csar
As no suffix was provided, .tmp was being appended, hence the process was
failing to parse the csar file.
Change-Id: Ia87bb1e2402f94e44f6cbf3e28beb2adea52db4d
Issue-ID: POLICY-1146
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
|
|
* SdcReceptionHandler in distribution tries to initialize & start the
SDC Client when distribution framework comes up. If by any chance the
SDC service is not up then currently the SdcReceptionHandler throws an
exception to the distribution activator and the distribution framework
goes down. And the health check fails.
* This review fixes it by adding a retry mechanism in
SdcReceptionHandler for all lifecycle methods of SdcClient (init, start,
stop). After failure the same operation is retried again with some
delay. The delay is passed as parameter from configuration json file.
The minimum default value for the delay is kept as 30 seconds.
* Adding SdcClientHandler timer task for performing the retries
asynchronously.
Change-Id: Ibb6d936fcf4872c82f87e2cd04a00583b81c92ff
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|