Age | Commit message (Collapse) | Author | Files | Lines |
|
* 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>
|
|
Issue-ID: POLICY-1603
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: If51a76b5b5701b6692e03daa3a0e21c36a2b3530
|
|
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>
|
|
This prevents sonar from checking lombok annotations for code coverage.
Note: lombok is not currently used in the project, but is expected to
be soon. Adding the config file now so-as to avoid any oversight later.
Change-Id: I01dd024e492e5111081e6e23ce2f0bb3cf1b05ad
Issue-ID: POLICY-1938
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
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>
|
|
The documents are moved to policy/parent and hence removing them from
distribution repo.
Change-Id: I96f37b13280be6fc303d2d43e4720d14286de0e5
Issue-ID: POLICY-1898
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>
|
|
Changing ToStringTester from utils to utils-test.
Bumping the policy/common, policy/engine & policy/models version.
Change-Id: Id1f1b3f9a4a378c14d1adf2823aaa4c8626c8fd2
Issue-ID: POLICY-1746
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
|
|
Released 2.2.1
Issue-ID: POLICY-1737
Change-Id: I41bf18cc17f3e287d59da86ed3cc21dc8dcafd9a
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
|
|
Policy/common, models and apex are released
Issue-ID: POLICY-1737
Change-Id: I0cefaad8ad5791d07fe19382c12c5f0421361588
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
According to comment:
https://gerrit.onap.org/r/c/policy/xacml-pdp/+/90495/1/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh#43
Issue-ID: POLICY-1702
Change-Id: Ie7c37a07dfc33f6b6bca70d9f9c2cb4cfb3377f5
Signed-off-by: shaoqiu <tim.huang@est.tech>
|
|
|
|
Eliminating the patch - using Rashmi's changes.
Issue-ID: POLICY-1737
Change-Id: I4a790b3da6de823bb744af270f541c0699ed8092
Signed-off-by: pdragosh <pdragosh@research.att.com>
|
|
Update the policy-dist.sh and Dockerfile according to the comments in
commit: https://gerrit.onap.org/r/c/policy/api/+/89972
Issue-ID: POLICY-1702
Change-Id: Ia3d2ce356baac3a657da879fb9ccf5eefd2a9624
Signed-off-by: shaoqiu <tim.huang@est.tech>
|
|
Policy/parent released
Issue-ID: POLICY-1737
Change-Id: Ie2b62644526d49bc13ada05f39fc0551e5c5e428
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-1775
Change-Id: I9dc75811f0d65ed9533c0485c33bf623da4fda7a
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Issue-ID: POLICY-1630
Change-Id: Ie107fa87bdce76eec39a8ee5ae55b700236a3017
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
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>
|
|
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>
|
|
Change-Id: Iada6e88ac68f4cea874d2cf832da77657df576e6
Issue-ID: POLICY-1630
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
|
|
Added exact version of base image
Issue-ID: INT-999
Change-Id: I149b92c6e28d0dd325f9601a6aa979767d0a2e9b
Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.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: Ide8130ead1e5aff8d8346cb24f82233e64d4c144
Issue-ID: POLICY-1580
Signed-off-by: jhh <jorge.hernandez-herrero@att.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>
|
|
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>
|