policy/distribution.git
5 years agodefault to frankfurt 60/107960/1 frankfurt
Pamela Dragosh [Wed, 20 May 2020 11:59:07 +0000 (07:59 -0400)]
default to frankfurt

Issue-ID: POLICY-2514
Change-Id: Iba594cc44c0a93ec3222ea36d00f7d2f4b18691a
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoBump distribution 2.3.3 30/107930/1
Pamela Dragosh [Tue, 19 May 2020 22:52:48 +0000 (18:52 -0400)]
Bump distribution 2.3.3

Issue-ID: POLICY-2514
Change-Id: I6093e20eb2918a5a5ebf070b5a96c58380d8b30e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoRelease distribution 2.3.2 docker 28/107928/1 6.0.0-ONAP
Pamela Dragosh [Tue, 19 May 2020 22:36:43 +0000 (18:36 -0400)]
Release distribution 2.3.2 docker

Issue-ID: POLICY-2514
Change-Id: I881c84307fc7dfe314c2e9ef223e9ba997807910
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoRelease distribution 2.3.2 19/107919/1
Pamela Dragosh [Tue, 19 May 2020 20:37:54 +0000 (16:37 -0400)]
Release distribution 2.3.2

Issue-ID: POLICY-2514
Change-Id: I209db8c51386044a5a09027b0c1c01724eefe39a
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoPoint to released artifacts 94/107894/2
Pamela Dragosh [Tue, 19 May 2020 16:34:29 +0000 (12:34 -0400)]
Point to released artifacts

Issue-ID: POLICY-2514
Change-Id: I717741dc3227a55cdea4ec9163acddf61b5601f9
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoFixing clearuppolicies counter issue 72/107872/2
RossC [Tue, 19 May 2020 11:32:53 +0000 (12:32 +0100)]
Fixing clearuppolicies counter issue

Issue-ID: POLICY-2458
Change-Id: I8aca5c2f4a4cae790ed8c129dcf542cab2dd50bd
Signed-off-by: RossC <ross.carter@est.tech>
5 years agoFrankfurt Distribution Performance Test 70/107670/4
RossC [Thu, 14 May 2020 09:40:00 +0000 (10:40 +0100)]
Frankfurt Distribution Performance Test

Issue-ID: POLICY-2458
Change-Id: I475ac795256db980ae68993a8cbc509d74278549
Signed-off-by: RossC <ross.carter@est.tech>
5 years agoStability tests and scripts for Frankfurt 21/107121/2
RossC [Tue, 5 May 2020 14:02:51 +0000 (15:02 +0100)]
Stability tests and scripts for Frankfurt

Issue-ID: POLICY-2458

Change-Id: I193d4ec14aee3313a6ea01bb9c02c048da09dbca
Signed-off-by: RossC <ross.carter@est.tech>
5 years agoPoint to latest SNAPSHOTs 72/106672/1
Pamela Dragosh [Mon, 27 Apr 2020 12:06:10 +0000 (08:06 -0400)]
Point to latest SNAPSHOTs

Security fix for glassfish, fixes in common/models and
parent.

Issue-ID: POLICY-2510
Change-Id: Iffb3a0ee13b5adb38b610bdd59b5c57c9a0d2c02
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoBump distribution to 2.3.2-SNAPSHOT 08/106008/1
Ram Krishna Verma [Wed, 15 Apr 2020 12:31:43 +0000 (08:31 -0400)]
Bump distribution to 2.3.2-SNAPSHOT

Issue-ID: POLICY-2378
Change-Id: I09f030b2256d0cefe69d88cdedd3f5dc05472296
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoRelease distribution 2.3.1 docker image 60/105960/1
Ram Krishna Verma [Tue, 14 Apr 2020 21:18:11 +0000 (17:18 -0400)]
Release distribution 2.3.1 docker image

Issue-ID: POLICY-2378
Change-Id: I91c053acadb05c2d2e0607b08cedaa5725388943
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoRelease distribution 2.3.1 artifacts 49/105949/1
Ram Krishna Verma [Tue, 14 Apr 2020 19:35:16 +0000 (15:35 -0400)]
Release distribution 2.3.1 artifacts

Issue-ID: POLICY-2378
Change-Id: Ieaf10d9affb5fbdf759f753f8d7a880ea688453a
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoPoint to released common/models 42/105942/1
Pamela Dragosh [Tue, 14 Apr 2020 18:53:53 +0000 (14:53 -0400)]
Point to released common/models

Issue-ID: POLICY-2378
Change-Id: I5e6222c187a1afee9cb37f1091f64a6057ef984e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoPoint to common/models fix 67/105867/1
Pamela Dragosh [Mon, 13 Apr 2020 20:15:10 +0000 (16:15 -0400)]
Point to common/models fix

Fix in naming policy and yaml coder string fix.

Issue-ID: POLICY-2486
Change-Id: If6af74ee77692ba08208555f0b55eb30544541aa
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoPoint to released parent, common models 22/105822/1
Pamela Dragosh [Sat, 11 Apr 2020 19:36:06 +0000 (15:36 -0400)]
Point to released parent, common models

Issue-ID: POLICY-2378
Change-Id: Idb05f97911fc1ebb5998467a5484973e5e650bae
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoPoint to parent SNAPSHOT 51/105251/1
Pamela Dragosh [Tue, 7 Apr 2020 12:39:53 +0000 (08:39 -0400)]
Point to parent SNAPSHOT

Issue-ID: POLICY-2378
Change-Id: I9c987e4a2ca3186b502aa64f8490ecc8a10e3452
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoAtomicInteger cleanup 06/104606/1
Pamela Dragosh [Fri, 27 Mar 2020 18:47:30 +0000 (14:47 -0400)]
AtomicInteger cleanup

Per Jim's last comments.

Issue-ID: POLICY-2305
Change-Id: I1bc73dcd264e9a122f6ec0eece08202cbcb3a8e9
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoPoint to latest snapshots 93/104593/1
Pamela Dragosh [Fri, 27 Mar 2020 16:59:52 +0000 (12:59 -0400)]
Point to latest snapshots

Issue-ID: POLICY-2378
Change-Id: I3d6c118cb34202fc594b3ad7656b4f5ad75295f2
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoUse AtomicInteger and other sonar 75/104575/1
Pamela Dragosh [Fri, 27 Mar 2020 15:12:11 +0000 (11:12 -0400)]
Use AtomicInteger and other sonar

Removed unused logger.
Added NOSONAR to main to remove security risk, as we do
validate arguments.
Used AtomicInteger.

Issue-ID: POLICY-2305
Change-Id: I18e91836e914b7fd6e3cd9a950dca58fcd8be5b5
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoFix comments from last review 57/104557/1
Pamela Dragosh [Fri, 27 Mar 2020 12:10:25 +0000 (08:10 -0400)]
Fix comments from last review

Issue-ID: POLICY-2305
Change-Id: If0778cb7bdade11575cab12c4742274939cd22c7
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoRemove unused imports and clean logs 03/104503/2
Pamela Dragosh [Thu, 26 Mar 2020 14:03:11 +0000 (10:03 -0400)]
Remove unused imports and clean logs

Unused imports and marked an unused variable.
Added m2e eclipse settings (other repos have this).
Added some test logback.xml to clear out jetty debug
messages.
Replaced deprecated newInstance with getDeclaredConstructor.
newInstance
Either log or throw Exception - chose throw
Added some assertions to JUnit test.

Issue-ID: POLICY-2305
Change-Id: Ia4e9ce62dc7fb45aea247d470ca7245e694fc26e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoPoint to models 2.2.2 50/104450/1
Pamela Dragosh [Thu, 26 Mar 2020 00:00:42 +0000 (20:00 -0400)]
Point to models 2.2.2

Issue-ID: POLICY-2378
Change-Id: Ie58d8fca94c0062b62e4930a726fd26babd28d04
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoBump policy/distribution to 2.3.1-SNAPSHOT 96/104296/1
Ram Krishna Verma [Tue, 24 Mar 2020 19:32:53 +0000 (15:32 -0400)]
Bump policy/distribution to 2.3.1-SNAPSHOT

Issue-ID: POLICY-2378
Change-Id: Ib343ff092b761c6642d9d0dcd4538ffd41423602
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoRelease 2.3.0 docker artifacts for policy/distribution 79/104279/1
Ram Krishna Verma [Tue, 24 Mar 2020 17:32:19 +0000 (13:32 -0400)]
Release 2.3.0 docker artifacts for policy/distribution

Issue-ID: POLICY-2378
Change-Id: I547d83250731d41291eeb831064bf36f640e4f27
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoRelease 2.3.0 artifacts for policy/distribution 73/104273/1
Ram Krishna Verma [Tue, 24 Mar 2020 16:26:32 +0000 (12:26 -0400)]
Release 2.3.0 artifacts for policy/distribution

Issue-ID: POLICY-2378
Change-Id: Ia20f526f1c5aeca8b4a6d4e11d72afcf6685327b
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoPoint to released artifacts 96/104196/1
Pamela Dragosh [Mon, 23 Mar 2020 14:41:02 +0000 (10:41 -0400)]
Point to released artifacts

parent, common and models are released.

Issue-ID: POLICY-2378
Change-Id: I9d171e66f5a85b7979bb7e6c663820e93083a7ab
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agorenew policy certs till 03/17/2021 83/103883/1
jhh [Wed, 18 Mar 2020 15:43:41 +0000 (10:43 -0500)]
renew policy certs till 03/17/2021

Change-Id: Ic3089d7c8697e500d49d454dfd21e9360a4df893
Issue-ID: POLICY-2402
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
5 years agoRemove apex and engine properties 41/103041/1
Pamela Dragosh [Wed, 4 Mar 2020 18:18:17 +0000 (13:18 -0500)]
Remove apex and engine properties

These are not needed and may fail release.

Issue-ID: POLICY-2404
Change-Id: Ie212a8e0466814eccb6ee583fbbccc19d8ec7a9c
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoRemove policy/engine & apex dependency from distribution 75/102775/2
Ram Krishna Verma [Mon, 2 Mar 2020 20:27:21 +0000 (15:27 -0500)]
Remove policy/engine & apex dependency from distribution

Issue-ID: POLICY-2404
Change-Id: Ia3084c55ea65a3119354079d9afd3ee35689b7d4
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoPoint to docker 2.0.1 84/102684/1
Pamela Dragosh [Sun, 1 Mar 2020 22:00:36 +0000 (17:00 -0500)]
Point to docker 2.0.1

policy/docker is released

Issue-ID: POLICY-2378
Change-Id: I2ea4988f1ee5c244188dbc58a44d8b9cf3fa5151
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoReview intellij git ignored files 01/101401/1
Bruno Sakoto [Fri, 7 Feb 2020 18:52:22 +0000 (13:52 -0500)]
Review intellij git ignored files

Issue-ID: POLICY-2359
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: I60172e584a21a85a5acb14dfc2e57c7a90b3f726

5 years agoUpdating module names to resolve conflicts 99/101199/2
Ram Krishna Verma [Wed, 5 Feb 2020 21:10:59 +0000 (16:10 -0500)]
Updating module names to resolve conflicts

Issue-ID: POLICY-2355
Change-Id: I84fe65adb91284f1537ed0422aced705e765b05c
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
5 years agoMerge "Remove assembly warning"
Pamela Dragosh [Thu, 23 Jan 2020 18:20:57 +0000 (18:20 +0000)]
Merge "Remove assembly warning"

5 years agopolicy/distribution jdk11 upgrades 93/100693/1
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>
5 years agoRemove assembly warning 82/100682/1
Pamela Dragosh [Thu, 23 Jan 2020 13:46:04 +0000 (08:46 -0500)]
Remove assembly warning

Replease with ${file.separator}

Issue-ID: POLICY-2329
Change-Id: I48567726f3540dddbd9d93fa306b8c7244c33bfc
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoFinish sonar config update 06/100606/2
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>
5 years agopolicy/distribution jdk11 upgrades 18/100518/8
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>
5 years agoMerge "Update sonar config"
Pamela Dragosh [Mon, 20 Jan 2020 15:26:22 +0000 (15:26 +0000)]
Merge "Update sonar config"

5 years agoUpdate sonar config 73/100473/2
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>
5 years agoPoint to policy/models release version 22/100222/1
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>
5 years agoEnabling logback files to be loaded using oom configmap 90/100090/2
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>
5 years agoMerge "Point to release versions of policy/parent and policy/common"
Pamela Dragosh [Fri, 6 Dec 2019 21:41:28 +0000 (21:41 +0000)]
Merge "Point to release versions of policy/parent and policy/common"

5 years agoPoint to release versions of policy/parent and policy/common 33/99233/2
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>
5 years agochange HealthCheckReport URL from self to hostName 95/99195/1
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>
5 years agoBuild tar.gz without requiring docker image build 35/98635/1
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>
5 years agoDo not hardcode io.fabric8 plugin 08/98208/1
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>
6 years agoAdd common Jersey version 50/97850/1
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>
6 years agoMerge "changes in decoder as per new infra APIs"
Jorge Hernandez [Thu, 31 Oct 2019 12:56:07 +0000 (12:56 +0000)]
Merge "changes in decoder as per new infra APIs"

6 years agochanges in decoder as per new infra APIs 46/97446/10
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>
6 years agooverride cert stores 85/97285/1
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>
6 years agochanges in policy decoder per hpa OOF definition 03/94803/9
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>
6 years agoRemove "Restricted" info from csars 61/96961/1
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>
6 years agoCreate decoder/parameters infra for HPA policy 55/96455/6
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>
6 years agoUse snapshot version of models in distribution 34/96034/1
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>
6 years agoRemove proprietary license added in csar by SDC 02/96002/1
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>
6 years agoBump versions in distribution master 69/95769/1
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>
6 years agoAdd release yaml for 2.2.1 67/95767/1 5.0.0-ONAP
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>
6 years agoUpdate to released dependencies 92/95292/1
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>
6 years agoFix few unit tests in distribution 67/95167/1
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>
6 years agoBring back the old HPA decoder & model 53/94853/3
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>
6 years agoupdate keystore 78/94178/1
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>
6 years agoUpgrading dependencies to latest snapshot version 90/93890/1
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>
6 years agoUpgrade sdc client & tosca parser 21/93721/1
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>
6 years agoAdd LifecycleApiForwarder in policy/distribution 22/93422/5
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>
6 years agoUpgrade to snapshot integration parent artifact 92/93092/1
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

6 years agoChanging parameters to use ParameterGroupImpl 90/92790/3
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>
6 years agoChange parameters to extend ParameterGroupImpl 56/92456/3
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>
6 years agoAdd lombok.config to DISTRIBUTION 17/92117/1
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>
6 years agoUpdate PolicyDecoderCsarPdpx to match policy/api 59/91859/1
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>
6 years agoChanging policy decoder to support Tosca 55/91755/2
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>
6 years agoModify policy/distribution to use RestServer from common 68/91768/3
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>
6 years agoFix proprietary licenses 84/91684/1
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>
6 years agoChanging policy/distribution to use policy/models 51/91551/2
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>
6 years agoRemoving docs from distribution repo 81/91281/1
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>
6 years agoFix distribution due to sonar changes in common 45/91045/3
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>
6 years agoUse ToStringTester from utils-test 11/90811/1
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>
6 years agoBump distribution to 2.2.1-SNAPSHOT 84/90784/1
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>
6 years agoMerge "Upgrade to released artifacts" 2.2.0
Jim Hahn [Mon, 1 Jul 2019 18:31:59 +0000 (18:31 +0000)]
Merge "Upgrade to released artifacts"

6 years agoUpgrade to released artifacts 43/90743/1
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>
6 years agoAdd curly braces in shell script file 42/90642/1
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>
6 years agoMerge "Remove POLICY_DISTRIBUTION_HOME in Dockerfile"
Pamela Dragosh [Thu, 27 Jun 2019 10:34:20 +0000 (10:34 +0000)]
Merge "Remove POLICY_DISTRIBUTION_HOME in Dockerfile"

6 years agoFix distribution latest tag 45/90545/1
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>
6 years agoRemove POLICY_DISTRIBUTION_HOME in Dockerfile 96/90496/1
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>
6 years agoUpgrade to release 3.0.0 parent 60/90260/2
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>
6 years agoChange getCanonicalName to getName in distribution 43/90043/2
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>
6 years agoFix junit tests in distribution 99/90099/1
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>
6 years agoBump distribution to 2.2.0 57/89057/1
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>
6 years agoUpdate INFO.yaml to add Jim and Ram 65/88265/1
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>
6 years agoStep snapshot version of policy-distribution 93/87893/1
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>
6 years agoUpgrade to release versions 02/87802/1 2.1.0 4.0.0-ONAP
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>
6 years agoupgrade sdc tosca parse to v1.5.1 21/87221/3
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>
6 years agoUpgrade policy/parent & policy/common in distribution 59/87559/1
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>
6 years agoRebase image on policy-common-alpine 65/83465/2
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>
6 years agoMerge "One year cert with new component names"
Pamela Dragosh [Tue, 16 Apr 2019 13:34:49 +0000 (13:34 +0000)]
Merge "One year cert with new component names"

6 years agoFix more sonar issues 98/85398/1
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>
6 years agoOne year cert with new component names 81/85381/1
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>
6 years agoFix sonnar issues 33/85133/1
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>
6 years agoGracefully release resource in file reception plugin 86/84986/1
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>
6 years agoChange logging from FlexLogger to SLF4J 78/84978/1
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>
6 years agoAdd multi-thread support in FileSystemReceptionHander 99/84799/1
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>