a.sreekumar [Thu, 23 Jan 2020 14:56:06 +0000 (14:56 +0000)]
 
policy/distribution jdk11 upgrades
Change-Id: Idb8fdd34eaafbdcf5ea3da6c770ce18dff5d852a
Issue-ID: POLICY-1585
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Pamela Dragosh [Wed, 22 Jan 2020 16:10:01 +0000 (11:10 -0500)]
 
Finish sonar config update
Now that JDK11 upgrade done, policy/parent has the right
parameters defined. Cleaned up and made sure only one
.exec file being generated.
Issue-ID: POLICY-2321
Change-Id: I058119982e56bc5c111ba3f2fe44079be97fd889
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
HOCKLA [Mon, 20 Jan 2020 22:37:27 +0000 (16:37 -0600)]
 
policy/distribution jdk11 upgrades
Issue-ID: POLICY-1585
Change-Id: I4aa879656c039d9de9c288f0309105c21f4bf285
Signed-off-by: HOCKLA <ah999m@att.com>
Pamela Dragosh [Mon, 20 Jan 2020 15:26:22 +0000 (15:26 +0000)]
 
Merge "Update sonar config"
Pamela Dragosh [Mon, 20 Jan 2020 13:00:43 +0000 (08:00 -0500)]
 
Update sonar config
First update for sonar config, once this is updated to JDK11
I will cleanup. This reports just under 80% for the moment.
Issue-ID: POLICY-2321
Change-Id: I1b3338c53e152ad663ba513bbd15226052142587
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
HOCKLA [Fri, 10 Jan 2020 21:44:01 +0000 (15:44 -0600)]
 
Point to policy/models release version
Issue-ID: POLICY-1592
Change-Id: Ia402dc123ddaf746f5680eecc3d302e868b4cc26
Signed-off-by: HOCKLA <ah999m@att.com>
a.sreekumar [Wed, 8 Jan 2020 12:57:48 +0000 (12:57 +0000)]
 
Enabling logback files to be loaded using oom configmap
Change-Id: I0391f339f50d6e1fc35a45ce2941cd8c272f90d8
Issue-ID: POLICY-2308
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Pamela Dragosh [Fri, 6 Dec 2019 21:41:28 +0000 (21:41 +0000)]
 
Merge "Point to release versions of policy/parent and policy/common"
HOCKLA [Thu, 5 Dec 2019 20:50:59 +0000 (14:50 -0600)]
 
Point to release versions of policy/parent and policy/common
Issue-ID: POLICY-1594
Change-Id: If6e7d96fb200d6947732c94ba4a0f621aac9d9d6
Signed-off-by: HOCKLA <ah999m@att.com>
Hengye [Thu, 5 Dec 2019 07:01:58 +0000 (15:01 +0800)]
 
change HealthCheckReport URL from self to hostName
Issue-ID: POLICY-1689 Consolidate Policy Health Check into PAP
Change-Id: I00e17610d3e4788008649791c684c0af415863ee
Signed-off-by: Hengye <yehui.wang@est.tech>
jhh [Tue, 19 Nov 2019 22:46:15 +0000 (16:46 -0600)]
 
Build tar.gz without requiring docker image build
This allows the tar.gz to be released by LF jobs.
Change-Id: Iae827268a69fa4ebde75892debb3c36443b288ea
Issue-ID: POLICY-2250
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Pamela Dragosh [Fri, 8 Nov 2019 19:56:32 +0000 (14:56 -0500)]
 
Do not hardcode io.fabric8 plugin
policy/parent now defines this plugin
Issue-ID: POLICY-2222
Change-Id: Ib0405557b60ad55f0b26dc0f3052400b313454dd
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
liamfallon [Fri, 1 Nov 2019 12:06:52 +0000 (12:06 +0000)]
 
Add common Jersey version
Add a common version of Jersey for all Policy Framework components.
Issue-ID: POLICY-2209
Change-Id: I7fa5d0f4419242d9d0c71b9d2ae17e0e1a49af8e
Signed-off-by: liamfallon <liam.fallon@est.tech>
Jorge Hernandez [Thu, 31 Oct 2019 12:56:07 +0000 (12:56 +0000)]
 
Merge "changes in decoder as per new infra APIs"
Liang Ding [Wed, 23 Oct 2019 04:56:25 +0000 (21:56 -0700)]
 
changes in decoder as per new infra APIs
Change-Id: Ie2ebfa16bc6b08dc54d60ef276f52e9ea2c91b1f
Issue-ID: POLICY-1869
Signed-off-by: Liang Ding <liang.ding@intel.com>
jhh [Thu, 17 Oct 2019 20:05:07 +0000 (15:05 -0500)]
 
override cert stores
Change-Id: I8590b699300f17b25133d691a2aeb3322b75d7ef
Issue-ID: POLICY-2064
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Liang Ding [Tue, 3 Sep 2019 07:35:54 +0000 (00:35 -0700)]
 
changes in policy decoder per hpa OOF definition
Change-Id: I25f956c863f93c998c681535f5ef7ec43ca88cde
Issue-ID: POLICY-2029
Signed-off-by: Liang Ding <liang.ding@intel.com>
jhh [Fri, 11 Oct 2019 17:37:20 +0000 (12:37 -0500)]
 
Remove "Restricted" info from csars
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>
ramverma [Tue, 1 Oct 2019 08:51:25 +0000 (09:51 +0100)]
 
Create decoder/parameters infra for HPA policy
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>
Jim Hahn [Thu, 19 Sep 2019 19:33:53 +0000 (15:33 -0400)]
 
Use snapshot version of models in distribution
Change-Id: I8b6bbe14a2c4fcf97d799b42253403c448e71f7d
Issue-ID: POLICY-2065
Signed-off-by: Jim Hahn <jrh3@att.com>
ramverma [Thu, 19 Sep 2019 14:40:46 +0000 (15:40 +0100)]
 
Remove proprietary license added in csar by SDC
Issue-ID: POLICY-2107
Change-Id: Ib237140f44460cecf7b379c77c7edbd7387638a0
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
Jim Hahn [Mon, 16 Sep 2019 20:51:15 +0000 (16:51 -0400)]
 
Bump versions in distribution master
Also added default branch to .gitreview to facilitate branching
in the future.
Change-Id: I37d40b122924c35ddfc2e18aed3b126f0dab819c
Issue-ID: POLICY-2045
Signed-off-by: Jim Hahn <jrh3@att.com>
jhh [Mon, 16 Sep 2019 20:11:52 +0000 (15:11 -0500)]
 
Add release yaml for 2.2.1
Change-Id: If149a5ec768c67aa718d861da35841d9c7588dda
Issue-ID: POLICY-2045
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
jhh [Tue, 10 Sep 2019 00:44:58 +0000 (19:44 -0500)]
 
Update to released dependencies
Change-Id: If7727b1235e84476c68ccacfe524a99d008d4bb3
Issue-ID: POLICY-2045
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
ramverma [Fri, 6 Sep 2019 15:24:09 +0000 (15:24 +0000)]
 
Fix few unit tests in distribution
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>
ramverma [Wed, 4 Sep 2019 09:26:53 +0000 (09:26 +0000)]
 
Bring back the old HPA decoder & model
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>
jhh [Fri, 23 Aug 2019 03:36:50 +0000 (22:36 -0500)]
 
update keystore
Change-Id: I4b3bb5f76d58477132cebef3410be547f2adf41d
Issue-ID: POLICY-1988
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
ramverma [Mon, 19 Aug 2019 19:26:18 +0000 (19:26 +0000)]
 
Upgrading dependencies to latest snapshot version
Issue-ID: POLICY-1871
Change-Id: Ic23b3ee7cfd1e1df387548e68f5a7a15b4e64fdb
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
ramverma [Fri, 16 Aug 2019 18:49:22 +0000 (18:49 +0000)]
 
Upgrade sdc client & tosca parser
Issue-ID: POLICY-1881
Change-Id: Ib8638bd3f5b8a5527cafa817cde2605b9545aebd
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
ramverma [Fri, 16 Aug 2019 10:13:09 +0000 (10:13 +0000)]
 
Add LifecycleApiForwarder in policy/distribution
* 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>
Bruno Sakoto [Thu, 8 Aug 2019 14:29:03 +0000 (10:29 -0400)]
 
Upgrade to snapshot integration parent artifact
Issue-ID: POLICY-1603
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: If51a76b5b5701b6692e03daa3a0e21c36a2b3530
ramverma [Tue, 6 Aug 2019 14:14:01 +0000 (14:14 +0000)]
 
Changing parameters to use ParameterGroupImpl
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>
ramverma [Fri, 2 Aug 2019 08:57:40 +0000 (08:57 +0000)]
 
Change parameters to extend ParameterGroupImpl
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>
Jim Hahn [Fri, 26 Jul 2019 13:50:52 +0000 (09:50 -0400)]
 
Add lombok.config to DISTRIBUTION
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>
ramverma [Tue, 23 Jul 2019 11:03:52 +0000 (11:03 +0000)]
 
Update PolicyDecoderCsarPdpx to match policy/api
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>
ramverma [Sun, 21 Jul 2019 13:15:10 +0000 (13:15 +0000)]
 
Changing policy decoder to support Tosca
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>
Jim Hahn [Fri, 19 Jul 2019 19:19:22 +0000 (15:19 -0400)]
 
Modify policy/distribution to use RestServer from common
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>
liboNet [Fri, 19 Jul 2019 08:48:14 +0000 (16:48 +0800)]
 
Fix proprietary licenses
remove the txt file from generated csar file
Change-Id: Ib8074b70d955440f22ea95781a698fb7e084bfb5
Issue-ID: POLICY-1867
Signed-off-by: liboNet <libo.zhu@intel.com>
ramverma [Wed, 17 Jul 2019 11:03:26 +0000 (11:03 +0000)]
 
Changing policy/distribution to use policy/models
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>
ramverma [Thu, 11 Jul 2019 16:24:01 +0000 (16:24 +0000)]
 
Removing docs from distribution repo
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>
Jim Hahn [Mon, 8 Jul 2019 16:07:42 +0000 (12:07 -0400)]
 
Fix distribution due to sonar changes in common
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>
ramverma [Tue, 2 Jul 2019 20:52:48 +0000 (20:52 +0000)]
 
Use ToStringTester from utils-test
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>
Pamela Dragosh [Tue, 2 Jul 2019 13:46:58 +0000 (09:46 -0400)]
 
Bump distribution to 2.2.1-SNAPSHOT
Released 2.2.1
Issue-ID: POLICY-1737
Change-Id: I41bf18cc17f3e287d59da86ed3cc21dc8dcafd9a
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Jim Hahn [Mon, 1 Jul 2019 18:31:59 +0000 (18:31 +0000)]
 
Merge "Upgrade to released artifacts"
Pamela Dragosh [Mon, 1 Jul 2019 18:11:28 +0000 (14:11 -0400)]
 
Upgrade to released artifacts
Policy/common, models and apex are released
Issue-ID: POLICY-1737
Change-Id: I0cefaad8ad5791d07fe19382c12c5f0421361588
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
shaoqiu [Fri, 28 Jun 2019 05:45:55 +0000 (05:45 +0000)]
 
Add curly braces in shell script file
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>
Pamela Dragosh [Thu, 27 Jun 2019 10:34:20 +0000 (10:34 +0000)]
 
Merge "Remove POLICY_DISTRIBUTION_HOME in Dockerfile"
pdragosh [Wed, 26 Jun 2019 17:54:26 +0000 (13:54 -0400)]
 
Fix distribution latest tag
Eliminating the patch - using Rashmi's changes.
Issue-ID: POLICY-1737
Change-Id: I4a790b3da6de823bb744af270f541c0699ed8092
Signed-off-by: pdragosh <pdragosh@research.att.com>
shaoqiu [Wed, 26 Jun 2019 04:08:11 +0000 (04:08 +0000)]
 
Remove POLICY_DISTRIBUTION_HOME in Dockerfile
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>
Pamela Dragosh [Thu, 20 Jun 2019 20:36:02 +0000 (16:36 -0400)]
 
Upgrade to release 3.0.0 parent
Policy/parent released
Issue-ID: POLICY-1737
Change-Id: Ie2b62644526d49bc13ada05f39fc0551e5c5e428
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Jim Hahn [Mon, 17 Jun 2019 22:04:43 +0000 (18:04 -0400)]
 
Change getCanonicalName to getName in distribution
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>
Jim Hahn [Tue, 18 Jun 2019 16:25:03 +0000 (12:25 -0400)]
 
Fix junit tests in distribution
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>
Pamela Dragosh [Fri, 31 May 2019 15:48:36 +0000 (11:48 -0400)]
 
Bump distribution to 2.2.0
Due to dublin branch.
Issue-ID: POLICY-1747
Change-Id: I889d3c5276a070404eeba86d99ca82852d2645e5
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
liamfallon [Wed, 22 May 2019 14:43:05 +0000 (14:43 +0000)]
 
Update INFO.yaml to add Jim and Ram
Issue-ID: POLICY-1775
Change-Id: I9dc75811f0d65ed9533c0485c33bf623da4fda7a
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Thu, 16 May 2019 15:09:45 +0000 (15:09 +0000)]
 
Step snapshot version of policy-distribution
Issue-ID: POLICY-1630
Change-Id: Ie107fa87bdce76eec39a8ee5ae55b700236a3017
Signed-off-by: liamfallon <liam.fallon@est.tech>
Pamela Dragosh [Wed, 15 May 2019 20:04:06 +0000 (16:04 -0400)]
 
Upgrade to release versions
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>
liboNet [Thu, 9 May 2019 00:54:06 +0000 (08:54 +0800)]
 
upgrade sdc tosca parse to v1.5.1
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>
ramverma [Mon, 13 May 2019 13:33:23 +0000 (13:33 +0000)]
 
Upgrade policy/parent & policy/common in distribution
Change-Id: Iada6e88ac68f4cea874d2cf832da77657df576e6
Issue-ID: POLICY-1630
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
Dmitry Puzikov [Mon, 25 Mar 2019 14:16:04 +0000 (15:16 +0100)]
 
Rebase image on policy-common-alpine
Added exact version of base image
Issue-ID: INT-999
Change-Id: I149b92c6e28d0dd325f9601a6aa979767d0a2e9b
Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
Pamela Dragosh [Tue, 16 Apr 2019 13:34:49 +0000 (13:34 +0000)]
 
Merge "One year cert with new component names"
Lianhao Lu [Tue, 16 Apr 2019 02:37:32 +0000 (10:37 +0800)]
 
Fix more sonar issues
Fixed the sonar issues: S134, S3725, S2129.
Issue-ID: POLICY-1638
Change-Id: I1a91b8e5e071a770faf8182e8ac1ada04b63599e
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
jhh [Mon, 15 Apr 2019 23:19:40 +0000 (18:19 -0500)]
 
One year cert with new component names
Change-Id: Ide8130ead1e5aff8d8346cb24f82233e64d4c144
Issue-ID: POLICY-1580
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Lianhao Lu [Fri, 12 Apr 2019 00:53:46 +0000 (08:53 +0800)]
 
Fix sonnar issues
Change-Id: Ic9ad2d733ace26fdd085a03af901783192d72a79
Issue-ID: POLICY-1638
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Lianhao Lu [Thu, 11 Apr 2019 02:26:45 +0000 (10:26 +0800)]
 
Gracefully release resource in file reception plugin
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>
Lianhao Lu [Thu, 11 Apr 2019 01:49:42 +0000 (09:49 +0800)]
 
Change logging from FlexLogger to SLF4J
Replace the FlexLogger with SLF4J in forward plugins.
Change-Id: I20077f1a400cd1a28b4b32f877d20d5628af881c
Issue-ID: POLICY-1346
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Lianhao Lu [Wed, 10 Apr 2019 06:40:11 +0000 (14:40 +0800)]
 
Add multi-thread support in FileSystemReceptionHander
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>
Lianhao Lu [Wed, 10 Apr 2019 04:39:16 +0000 (12:39 +0800)]
 
Add a new policy file log forwarder.
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>
Jorge Hernandez [Sun, 17 Mar 2019 05:19:56 +0000 (00:19 -0500)]
 
Add NSS libraries to images
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>
Jessica Wagantall [Fri, 15 Mar 2019 20:53:39 +0000 (13:53 -0700)]
 
Update INFO.yaml file
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>
ning.xi [Wed, 6 Mar 2019 03:32:53 +0000 (03:32 +0000)]
 
Use Alpine as base docker image in distribution
Issue-ID: POLICY-1550
Change-Id: I16801ad4fa0c2db578a9d1e41adef053df5074be
Signed-off-by: ning.xi <ning.xi@est.tech>
Pamela Dragosh [Fri, 1 Mar 2019 15:44:53 +0000 (15:44 +0000)]
 
Merge "Changes directory structure of S3P Tests"
Pamela Dragosh [Thu, 28 Feb 2019 16:10:03 +0000 (11:10 -0500)]
 
Update INFO.yaml Liam's email
est.tech
Issue-ID: POLICY-1556
Change-Id: I2d49ebac72911e59e0d0f12546652280593e0a26
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Bilal A [Wed, 27 Feb 2019 18:52:05 +0000 (13:52 -0500)]
 
Changes directory structure of S3P Tests
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>
jh7358 [Mon, 18 Feb 2019 14:37:38 +0000 (09:37 -0500)]
 
Use gson by default
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>
ramverma [Thu, 7 Feb 2019 12:02:07 +0000 (12:02 +0000)]
 
Fix docker build in policy/distribution
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>
ramverma [Tue, 5 Feb 2019 15:34:35 +0000 (15:34 +0000)]
 
Change policy/distribution logging to slf4j
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>
ramverma [Fri, 25 Jan 2019 15:26:52 +0000 (15:26 +0000)]
 
Fix compilation error on policy-distribution
Change-Id: Ic190774c74c11a2d11c3b3b7e0144f69cd8770e8
Issue-ID: POLICY-1428
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
ramverma [Tue, 22 Jan 2019 12:39:39 +0000 (12:39 +0000)]
 
Fix issues in policy-distribution
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>
liboNet [Tue, 22 Jan 2019 00:45:03 +0000 (08:45 +0800)]
 
Remove properietary license from CSAR
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>
liboNet [Sat, 5 Jan 2019 05:31:04 +0000 (13:31 +0800)]
 
Fix Noncompliant usage sonar issue
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>
liamfallon [Wed, 19 Dec 2018 19:11:01 +0000 (19:11 +0000)]
 
Fix checkstyle issues in distribution
Some fixes for minor checkstyle issues.
Issue-ID: POLICY-1221
Change-Id: I86577f47283a6fa97be25d7550ed9c2d7ec026a9
Signed-off-by: liamfallon <liam.fallon@est.tech>
liboNet [Wed, 19 Dec 2018 22:57:56 +0000 (06:57 +0800)]
 
Fix lineEnding issue for policy-keystore
. 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>
liboNet [Tue, 18 Dec 2018 01:22:00 +0000 (09:22 +0800)]
 
add Https support for distribution endpoints
. 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>
liboNet [Tue, 27 Nov 2018 00:10:33 +0000 (08:10 +0800)]
 
Fix policy format with vCPE service
. 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>
Pamela Dragosh [Fri, 23 Nov 2018 19:50:58 +0000 (14:50 -0500)]
 
Create label for architecture to ref
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>
ramverma [Thu, 22 Nov 2018 11:33:03 +0000 (11:33 +0000)]
 
policy/distribution documents
Change-Id: I1c3e083a9ce050ce67acd5f68d0dcf498927592a
Issue-ID: POLICY-1260
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Lianhao Lu [Tue, 20 Nov 2018 05:59:49 +0000 (13:59 +0800)]
 
Added additional supporting scripts for s3p test
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>
Pamela Dragosh [Tue, 13 Nov 2018 15:19:07 +0000 (10:19 -0500)]
 
Fix unchecked cast sonar issue
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>
Lianhao Lu [Tue, 13 Nov 2018 03:41:16 +0000 (11:41 +0800)]
 
s3p: Remove temporary workaround
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>
Lianhao Lu [Tue, 13 Nov 2018 03:25:29 +0000 (11:25 +0800)]
 
FileSystemReceptionHandler: Fix sonar issues
Fixed 6 code smell issues reported by sonar.
Change-Id: I537df24f0f0624470efd8675f01ecd433aed1cb0
Issue-ID: POLICY-1256
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Liam Fallon [Mon, 12 Nov 2018 14:59:33 +0000 (14:59 +0000)]
 
Merge "Fix virtual_binding error under VDU requirements"
liboNet [Fri, 9 Nov 2018 21:32:42 +0000 (05:32 +0800)]
 
Fix virtual_binding error under VDU requirements
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>
Lianhao Lu [Fri, 9 Nov 2018 06:57:30 +0000 (14:57 +0800)]
 
Make FileSystemReceptionHandler more tolerant
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>
Pamela Dragosh [Fri, 9 Nov 2018 13:02:39 +0000 (08:02 -0500)]
 
Fix sonar/checkstyle issues
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>
Lianhao Lu [Wed, 7 Nov 2018 09:59:37 +0000 (17:59 +0800)]
 
Added JMeter scripts for perf test
Change-Id: I4286c6defdef331ee5c40399d17381d3c8b8a544
Issue-ID: POLICY-836
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Lianhao Lu [Wed, 7 Nov 2018 08:39:31 +0000 (16:39 +0800)]
 
Added JMeter scripts for stability test
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>
Lianhao Lu [Wed, 7 Nov 2018 03:46:28 +0000 (11:46 +0800)]
 
S3P: added FileSystemReceptionHandler plugin
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>
liamfallon [Wed, 31 Oct 2018 18:23:28 +0000 (18:23 +0000)]
 
Set new master version for Dublin
Issue-ID: POLICY-1232
Change-Id: Ib72ebd05fb88de05c356f05ee7ca2a4e4d00881c
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
liboNet [Thu, 1 Nov 2018 06:38:08 +0000 (14:38 +0800)]
 
use https instead of http to do forward
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>
liboNet [Wed, 31 Oct 2018 02:03:49 +0000 (10:03 +0800)]
 
Add more logics about fields value for OOF model
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>