Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Ifd9c18586d22c6a84997adf2d20a943df371504a
Issue-ID: POLICY-1262
Signed-off-by: liamfallon <liam.fallon@ericsson.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>
(cherry picked from commit bf30e81ea77ab361a25f0076c7f81c10ded9c53e)
|
|
|
|
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>
(cherry picked from commit 9b18d4f702586fd022fd142f0f23e5a0e3b24359)
|
|
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>
|
|
Fixed 6 code smell issues reported by sonar.
Change-Id: I537df24f0f0624470efd8675f01ecd433aed1cb0
Issue-ID: POLICY-1256
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
(cherry picked from commit 3c0823e37b6cf933b23687a2d7339b131fe5a464)
|
|
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>
(cherry picked from commit 70f9f24e6ed39a6ddb4afef02516af624f50079d)
|
|
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>
(cherry picked from commit 789f09f2430440d6be44a5fad26715d002aff757)
|
|
Change-Id: I4286c6defdef331ee5c40399d17381d3c8b8a544
Issue-ID: POLICY-836
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
(cherry picked from commit c1647ba56080a79d149b2e9fd647bda4da39997e)
|
|
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>
(cherry picked from commit de0e18b974cb40cbbfac1accdc7d4b460ccd4186)
|
|
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>
(cherry picked from commit 3bd15a55aeb69c1caad1a1f32175cb3b7797733a)
|
|
Upgrade to release parent 2.0.1 and common
1.3.3 to fix license issue in dmaap 1.1.9
Fixes to package distribution and docker
pom.xml which mvn version missed.
Also need to upgrade engine 1.3.3 release
Bumping version to 1.3.3-SNAPSHOT for release
Issue-ID: POLICY-1229
Change-Id: If5247308ea8eba6dd65614a67f38396896d8ed0f
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Upgrade to policy/common 1.3.2 and apex pdp 2.0.2.
Will upgrade to engine when it is released.
Issue-ID: POLICY-1245
Change-Id: If79e65d93206e160c76328d8c9f0628099b55538
Signed-off-by: Pamela Dragosh <pdragosh@research.att.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-1233
Change-Id: Iebf0b77a9b87543ebe99d6a6eab0939bd276931c
Signed-off-by: liamfallon <liam.fallon@ericsson.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>
|
|
|
|
* As per jacoco, the try-with-resources coverage issue is fixed in 0.8.0
release - https://www.jacoco.org/jacoco/trunk/doc/changes.html
* Adding openpojo test for all the models in distribution-model
* Removed jacoco version from distribution pom as oparent 1.2.1 already
comes with jacoco 0.8.2
Change-Id: I55e2891a0dad1f10113730b46f10d760a883bea6
Issue-ID: POLICY-922
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
Issue-ID: POLICY-923
Change-Id: I8803b5a94e33d0175a84665dd3b253c7220451ea
Signed-off-by: mmis <michael.morris@ericsson.com>
|
|
Change-Id: I6bcb6f6af1020ceb22dd92d6633717d2a183d5b8
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
Change-Id: I42e568cab649da74e2a179fe487c32feec9c88fa
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
|
|
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>
|
|
|
|
* Add hugePage feature parse
* Add SRIOV feature parse
* Add pciePassthrough feature parse
* Add more test cases and resources
Change-Id: Ib45515a26e3fdac742a631b3a13d739fd1784d2f
Issue-ID: POLICY-927
Signed-off-by: liboNet <libo.zhu@intel.com>
|
|
Change-Id: I619b0f6e0ff9a31cfeafbd9c23dc93739e065d0c
Issue-ID: POLICY-923
Signed-off-by: mmis <michael.morris@ericsson.com>
|
|
Change-Id: I20c1246efc3ce0ad6d874e6a0b5c8230c96b9425
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
|
|
Change-Id: I93c77f929217c185c422fc8f16e9ac2fefe0fd42
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
* Adding statistics endpoint in DistributionRestController
* Adding DistributionStatisticsManager to hold all stats.
* Adding StatisticsReport class to represent distribution stats report.
* Updating stats at each step in SdcReceptionHandler.
* Adding test cases for all code changes.
Change-Id: I0b0f97aecc64b18314367fdff6d3ca7bee06efc7
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
* Adding decoder configuration parameters infrastructure to support
plugin based architecture. Adding a new policy decoder after this will be just
creating a new decoder class and its corresponding parameter class.
* Adding a new decoder which extracts policy file from given csar. It is
written in a generic way to extract file for any pdp like apex, drools.
* Adding configuration parameters for the new decoder. The policy file name and
policy type is passed as parameter to the decoder.
* Fixing few broken package declaration in pdpx decoder tests.
* Adding test cases for all code changes.
Change-Id: I95e68cebce0f9747ca63b090f9b9116ce8836939
Issue-ID: POLICY-1101
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
|
|
* Update sdc tosca version to 1.4.1
* Define the objects to represents the policy
used by OOF/Mutlicloud/AAI etc
* Integration into the distribution framework
to update PdpxPolicy and add new File
PolicyDecoderCsarPdpx to do decoder from CSAR
* Add two Test case including 2 VNFs, each VNF
maps to 1 policy, so to generate 2 polices
* use @SerializedName make the variable name
different with that in the out json field
Change-Id: Icc7175082063db8a245bbe576085cdf5a4b51adc
Issue-ID: POLICY-927
Signed-off-by: liboNet <libo.zhu@intel.com>
|