Age | Commit message (Collapse) | Author | Files | Lines |
|
These are the lines removed:
+ Proprietary information (Restricted)
+ For use only by authorized individuals and not for general distribution.
Change-Id: I5a51d6f6bb40e464f9f9952cb139b668a4530298
Issue-ID: POLICY-2107
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
|
|
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>
|
|
Issue-ID: POLICY-2107
Change-Id: Ib237140f44460cecf7b379c77c7edbd7387638a0
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
(cherry picked from commit 304d66038475c7dc629f3c8e204e22e3a7fdbf73)
|
|
Change-Id: I47cca5177a7f8daac387abfff961d0badd8d3737
Issue-ID: POLICY-2045
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
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>
|
|
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>
|
|
Issue-ID: POLICY-1881
Change-Id: Ib8638bd3f5b8a5527cafa817cde2605b9545aebd
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
|
|
* 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
remove the txt file from generated csar file
Change-Id: Ib8074b70d955440f22ea95781a698fb7e084bfb5
Issue-ID: POLICY-1867
Signed-off-by: liboNet <libo.zhu@intel.com>
|
|
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>
|
|
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>
|
|
Released 2.2.1
Issue-ID: POLICY-1737
Change-Id: I41bf18cc17f3e287d59da86ed3cc21dc8dcafd9a
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
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>
|
|
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>
|
|
Due to dublin branch.
Issue-ID: POLICY-1747
Change-Id: I889d3c5276a070404eeba86d99ca82852d2645e5
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Issue-ID: POLICY-1630
Change-Id: Ie107fa87bdce76eec39a8ee5ae55b700236a3017
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
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>
|
|
Fixed the sonar issues: S134, S3725, S2129.
Issue-ID: POLICY-1638
Change-Id: I1a91b8e5e071a770faf8182e8ac1ada04b63599e
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Change-Id: Ic9ad2d733ace26fdd085a03af901783192d72a79
Issue-ID: POLICY-1638
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
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>
|
|
Replace the FlexLogger with SLF4J in forward plugins.
Change-Id: I20077f1a400cd1a28b4b32f877d20d5628af881c
Issue-ID: POLICY-1346
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Some fixes for minor checkstyle issues.
Issue-ID: POLICY-1221
Change-Id: I86577f47283a6fa97be25d7550ed9c2d7ec026a9
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
. 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|