dcaegen2/platform/plugins.git
5 years agoFix k8s plugin version in type file 78/81878/1
Jack Lucas [Fri, 8 Mar 2019 22:27:42 +0000 (17:27 -0500)]
Fix k8s plugin version in type file

Issue-ID: DCAEGEN2-987
Change-Id: I74a17b3c8d79f12b77a7e7dd4b57b3fde2e77147
Signed-off-by: Jack Lucas <jflucas@research.att.com>
5 years agoUndeploy k8s artifacts on timeout 38/79838/1
Jack Lucas [Tue, 5 Mar 2019 16:43:01 +0000 (11:43 -0500)]
Undeploy k8s artifacts on timeout

Issue-ID: DCAEGEN2-987
Change-Id: I35a2dcdb7b7f1b7280dba6593a9ee2b8921b6df9
Signed-off-by: Jack Lucas <jflucas@research.att.com>
5 years agoAdd k8sclient unit tests 00/79400/1
Jack Lucas [Wed, 27 Feb 2019 16:38:13 +0000 (11:38 -0500)]
Add k8sclient unit tests

Change-Id: I4b664865618bf87822af325e2c2dd43e71c0bdac
Issue-ID: DCAEGEN2-1261
Signed-off-by: Jack Lucas <jflucas@research.att.com>
5 years agoAdd resource_config to specify CPU and menory 37/79137/4
Jason Luo [Mon, 25 Feb 2019 22:01:05 +0000 (22:01 +0000)]
Add resource_config to specify CPU and menory

Enhance K8s plugin used by DCAE Platform to specify CPU and memory

Issue-ID: DCAEGEN2-1126

Change-Id: I2431b0b7f67f855122ed4494aa21cad0f99dcc37
Signed-off-by: Jason Luo <cl4531@att.com>
5 years agouse new onap-dcae-dcaepolicy-lib 53/75953/2
Schmalzried, Terry (ts862m) [Thu, 17 Jan 2019 19:44:29 +0000 (14:44 -0500)]
use new onap-dcae-dcaepolicy-lib

Issue-ID: DCAEGEN2-1086
Change-Id: I64f994e99b417f4d79ac95f64aa9596bb77ce8f0
Signed-off-by: Schmalzried, Terry (ts862m) <ts862m@att.com>
5 years agofix typos 95/72195/1
Stanislav Chlebec [Thu, 8 Nov 2018 10:49:24 +0000 (11:49 +0100)]
fix typos

Change-Id: I95954edbf2827292a5da500330ba43781cc2cd8d
Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>
Issue-ID: AAF-582

5 years agoR4 tag update 91/71791/1
Vijay Venkatesh Kumar [Sat, 3 Nov 2018 07:04:56 +0000 (07:04 +0000)]
R4 tag update

Change-Id: I3c248253f40dc31d055f263ada3b6dd1e6375a6b
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-937

5 years agoUpdate plugin version in k8s type file 81/70381/1 casablanca 3.0.0-ONAP 3.0.1-ONAP
Jack Lucas [Fri, 12 Oct 2018 19:19:26 +0000 (15:19 -0400)]
Update plugin version in k8s type file

Issue-ID: DCAEGEN2-796
Change-Id: Ic89231138ec7da7004334547031fef26df03032c
Signed-off-by: Jack Lucas <jflucas@research.att.com>
5 years agoAdd support for UDP port mapping 79/70379/1
Jack Lucas [Fri, 12 Oct 2018 15:30:05 +0000 (11:30 -0400)]
Add support for UDP port mapping

Issue-ID: DCAEGEN2-796
Change-Id: I09038d0bc7154b989f9ce9e328da57aac0020597
Signed-off-by: Jack Lucas <jflucas@research.att.com>
5 years agoDon't change to https when use_tls is set 47/67447/1
Andrew Gauld [Tue, 18 Sep 2018 19:19:46 +0000 (15:19 -0400)]
Don't change to https when use_tls is set

The k8s plugin's behavior of setting the health check probe type
scheme to https when it was http and the use_tls flag is set is
causing a problem for the Policy Handler.  This change leaves the
health check type alone, so, if it was http, it stays http even if
use_tls is set.

Change-Id: If004876f5142889abe0b24aeb4c0fdedaea3ab2b
Issue-ID: DCAEGEN2-591
Signed-off-by: Andrew Gauld <ag1282@att.com>
5 years agoinclude registry on tls image 79/67179/1
vagrant [Mon, 17 Sep 2018 06:56:45 +0000 (06:56 +0000)]
include registry on tls image

Change-Id: Ic109995f29922ca3a28107970fa1aae5246b9b67
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-790

5 years agoUpdate image name for default TLS_IMAGE 67/67067/1
Andrew Gauld [Mon, 17 Sep 2018 18:45:46 +0000 (14:45 -0400)]
Update image name for default TLS_IMAGE

Change-Id: If7a30270d07ce6283f4c24ca3802e23a5cbf70b5
Issue-ID: DCAEGEN2-790
Signed-off-by: Andrew Gauld <ag1282@att.com>
5 years agoAdd support for TLS init container 29/65529/1
Jack Lucas [Mon, 10 Sep 2018 12:14:29 +0000 (12:14 +0000)]
Add support for TLS init container

Change-Id: I118af2c8a0294ffc89e045f8cdae24dfb7e57ab6
Issue-ID: DCAEGEN2-591
Signed-off-by: Jack Lucas <jflucas@research.att.com>
5 years agoUse managed guava version 97/62597/2
Gary Wu [Fri, 24 Aug 2018 22:21:35 +0000 (15:21 -0700)]
Use managed guava version

Use centrally managed guava version specified in
oparent.  Includes upgrade to oparent 1.2.0.

This change was submitted by script and may include
additional whitespace or formatting changes.

Change-Id: I8ceadffca9d6424727582ebb7297b1dd36207b7c
Issue-ID: INT-619
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
5 years agoAdd modules to tox.ini coverage spec 25/61625/1
Jack Lucas [Tue, 21 Aug 2018 15:20:53 +0000 (15:20 +0000)]
Add modules to tox.ini coverage spec

Change-Id: I617b7f3b8a7b8ec068c16355530351aad0122062
Issue-ID: DCAEGEN2-723
Signed-off-by: Jack Lucas <jflucas@research.att.com>
5 years agoAdd checks on runtime props for uninstall 39/61139/1
Jack Lucas [Fri, 17 Aug 2018 21:27:26 +0000 (21:27 +0000)]
Add checks on runtime props for uninstall

Change-Id: Ib2e37713068e77126914d1af3bc238fc0119ef93
Issue-ID: DCAEGEN2-695
Signed-off-by: Jack Lucas <jflucas@research.att.com>
5 years agoFix k8splugin to accept intervals as strings 83/58283/3
Jack Lucas [Tue, 31 Jul 2018 21:10:25 +0000 (21:10 +0000)]
Fix k8splugin to accept intervals as strings

Also update type file to point to new plugin version
Add unit tests for parsing interval
Change RE to be non-Python specific
Use uppercase for RE constant and unit conversion factors

Issue-ID: DCAEGEN2-649
Change-Id: I1de728b3efd0725d4a3da996d95ec61e68f56ab4
Signed-off-by: Jack Lucas <jflucas@research.att.com>
5 years agoMerge "Add INFO.yaml file"
Vijay Venkatesh Kumar [Fri, 27 Jul 2018 21:27:05 +0000 (21:27 +0000)]
Merge "Add INFO.yaml file"

5 years agoMerge "Make docker node type consistent with k8s"
Jack Lucas [Fri, 27 Jul 2018 19:42:21 +0000 (19:42 +0000)]
Merge "Make docker node type consistent with k8s"

5 years agoAdd INFO.yaml file 73/46073/2
Jessica Wagantall [Fri, 4 May 2018 00:16:17 +0000 (17:16 -0700)]
Add INFO.yaml file

Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information

Change-Id: Ic6adb472e733d08cbed931e369fc47507fbfef5d
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoAdd policy update notification support 03/57603/1
Jack Lucas [Wed, 25 Jul 2018 20:33:50 +0000 (20:33 +0000)]
Add policy update notification support

Use k8s terminology instead of Docker terminology
Remove some redundant logging

Change-Id: Ic8e581ebde9ea062a7d0e145465425eec1db57c3
Issue-ID: DCAEGEN2-504
Signed-off-by: Jack Lucas <jflucas@research.att.com>
5 years agoMake docker node type consistent with k8s 41/57341/2
Michael Hwang [Fri, 13 Jul 2018 18:05:40 +0000 (14:05 -0400)]
Make docker node type consistent with k8s

Change-Id: I877a041cfa9e272be5835f5956a4c08e16de39b0
Issue-ID: DCAEGEN2-551
Signed-off-by: Michael Hwang <mhwang@research.att.com>
5 years agoMerge "Add support for updating image."
Michael Hwang [Wed, 18 Jul 2018 20:32:08 +0000 (20:32 +0000)]
Merge "Add support for updating image."

5 years agoAdd support for updating image. 63/56663/1
Jack Lucas [Tue, 17 Jul 2018 21:34:22 +0000 (21:34 +0000)]
Add support for updating image.

 - Refactor type file to reduce duplication
 - General code cleanup

Change-Id: I80354736100dcd3544db2f751335d704bd240666
Issue-ID: DCAEGEN2-543
Signed-off-by: Jack Lucas <jflucas@research.att.com>
5 years agoUpdate release tag 67/56567/1
Lusheng Ji [Tue, 17 Jul 2018 02:56:35 +0000 (22:56 -0400)]
Update release tag

Issue-ID: DCAEGEN2-499
Change-Id: I1c28ccd0b5e3322347a6ea00c756086848bff9d6
Signed-off-by: Lusheng Ji <lji@research.att.com>
5 years agoCreate k8s readiness probe 09/55009/1
Jack Lucas [Mon, 18 Jun 2018 14:02:13 +0000 (14:02 +0000)]
Create k8s readiness probe

Change-Id: Iaf222957bc7aa049e3d8d6d1c290435767487387
Issue-ID: DCAEGEN2-503
Signed-off-by: Jack Lucas <jflucas@research.att.com>
6 years agoRemove explicit requirements to make build *any* 57/43757/2 2.0.0-ONAP beijing 2.0.0-ONAP
Michael Hwang [Thu, 19 Apr 2018 17:50:00 +0000 (13:50 -0400)]
Remove explicit requirements to make build *any*

There are certain python dependencies that will cause built wagons
to be tied to the operating system it was built on. Simply removed
almost all explicit dependencies.

Change-Id: I4823f3c32f87e1843f788badf98468a3159074f5
Issue-ID: DCAEGEN2-455
Signed-off-by: Michael Hwang <mhwang@research.att.com>
6 years agoSupport for /var/run/secrets/kubernetes.io 53/43353/1
Jack Lucas [Tue, 17 Apr 2018 13:15:46 +0000 (13:15 +0000)]
Support for /var/run/secrets/kubernetes.io

Change-Id: If259892dd332981654bcad6b1e07037afbf31c7d
Issue-ID: DCAEGEN2-447
Signed-off-by: Jack Lucas <jflucas@research.att.com>
6 years agoMerge "2.3.0 dcaepolicyplugin and data types"
Lusheng Ji [Thu, 12 Apr 2018 21:42:15 +0000 (21:42 +0000)]
Merge "2.3.0 dcaepolicyplugin and data types"

6 years ago2.3.0 dcaepolicyplugin and data types 41/42341/3
Alex Shatov [Thu, 12 Apr 2018 21:14:43 +0000 (17:14 -0400)]
2.3.0 dcaepolicyplugin and data types

- discovering consul at consul:8500 instead of localhost:8500
- added and refactored unit tests for discovery -- coverage 78%

Change-Id: I3712fe36df47d6117206d61ca4916c4dbc42d035
Signed-off-by: Alex Shatov <alexs@att.com>
Issue-ID: DCAEGEN2-438

6 years agoChange consul host to be "consul" 23/42523/3
Michael Hwang [Thu, 12 Apr 2018 14:24:30 +0000 (10:24 -0400)]
Change consul host to be "consul"

And not localhost

Change-Id: I68c1cb4bf52e0a39a256c0adc4b6b8fb0db269ac
Issue-ID: DCAEGEN2-442
Signed-off-by: Michael Hwang <mhwang@research.att.com>
6 years agoSet up env variables correctly 81/41281/1
Jack Lucas [Thu, 5 Apr 2018 21:44:07 +0000 (21:44 +0000)]
Set up env variables correctly

Change-Id: I4752510a4e36d8dc19d923a817c7fb687d78fa22
Issue-ID: DCAEGEN2-432
Signed-off-by: Jack Lucas <jflucas@research.att.com>
6 years ago2.2.1 dcaepolicyplugin and data types 79/39279/2
Alex Shatov [Tue, 27 Mar 2018 21:12:31 +0000 (17:12 -0400)]
2.2.1 dcaepolicyplugin and data types

- trying to avoid changing code for k8s deployment of
  policy-handler with unknown url to MSB or policy-handler
  at the moment
- expecting optional manual population of the consul-kv
  with config data for dcaepolicyplugin

- when not found service for policy-handler in consul
  -- try finding config for "dcaepolicyplugin" in consul-kv
  -- the config structure is expected to contain
      url to policy_handler
- example of config value for key=dcaepolicyplugin:
{
    "dcaepolicyplugin" : {
        "policy_handler" : {
            "url" : "http://policy-handler:25577"
        }
    }
}
- still drop down to hardcoded default when this config
   not found in consul-kv

- added and refactored unit tests for discovery -- coverage 78%
- making code more PEP8 compliant

Change-Id: Ia176b54ed62631baa30d614785d1937023408ddf
Signed-off-by: Alex Shatov <alexs@att.com>
Issue-ID: DCAEGEN2-419

6 years agoMerge "2.2.0 dcaepolicyplugin and data types"
Lusheng Ji [Tue, 27 Mar 2018 02:18:13 +0000 (02:18 +0000)]
Merge "2.2.0 dcaepolicyplugin and data types"

6 years ago2.2.0 dcaepolicyplugin and data types 65/38665/2
Alex Shatov [Mon, 26 Mar 2018 21:16:29 +0000 (17:16 -0400)]
2.2.0 dcaepolicyplugin and data types

- dcaepolicyplugin to use default policy-handler url
  by dns to discover policy-handler under k8s
  when policy_handler record not found under consul-service
- pending hardcoding the proper dns based url that is to be
   provided by k8s + MSB solution

Change-Id: I8bf49fe29735ec842235c0b58595c7196f5d24ca
Signed-off-by: Alex Shatov <alexs@att.com>
Issue-ID: DCAEGEN2-419

6 years agoSpecify dcaepolicy-lib 2.3.0 in requirements 87/38587/2
Michael Hwang [Mon, 26 Mar 2018 15:08:58 +0000 (11:08 -0400)]
Specify dcaepolicy-lib 2.3.0 in requirements

Change-Id: I2c251e25daea18f5be723b5238a00f40e42ba142
Issue-ID: DCAEGEN2-415
Signed-off-by: Michael Hwang <mhwang@research.att.com>
6 years agoMerge "Add DCAE Kubernetes plugin"
Lusheng Ji [Fri, 23 Mar 2018 19:21:59 +0000 (19:21 +0000)]
Merge "Add DCAE Kubernetes plugin"

6 years ago2.1.0 dcaepolicyplugin and data types 73/38173/2
Alex Shatov [Fri, 23 Mar 2018 18:35:12 +0000 (14:35 -0400)]
2.1.0 dcaepolicyplugin and data types

- configAttributes in policy_filter being a stringified json,
   rather than the map due to SDC UI limitations
- safely parse the configAttributes string into json

Change-Id: I934b6254aed285ddab245b440f43403a4fe918fe
Signed-off-by: Alex Shatov <alexs@att.com>
Issue-ID: DCAEGEN2-413

6 years agoAdd DCAE Kubernetes plugin 31/37831/3
Jack Lucas [Thu, 22 Mar 2018 17:43:01 +0000 (17:43 +0000)]
Add DCAE Kubernetes plugin

Change-Id: Ic329f77bb09dcccfd49a34a8f84d387e8da929c6
Issue-ID: DCAEGEN2-410
Signed-off-by: Jack Lucas <jflucas@research.att.com>
6 years agoRevert "Revert "Update docker plugin to use dcaepo 75/37575/1
Michael Hwang [Wed, 21 Mar 2018 20:08:04 +0000 (16:08 -0400)]
Revert "Revert "Update docker plugin to use dcaepo

This reverts commit aa2922da3cf8b83306a49a09bd85114817ae1eba.

Issue-ID: DCAEGEN2-408
Change-Id: Ib622645d2f41d68b3652cbac19c98239bd60a18a
Signed-off-by: Michael Hwang <mhwang@research.att.com>
6 years agoAdd pushing wagon as archive 71/36771/5
Lusheng Ji [Mon, 19 Mar 2018 16:08:03 +0000 (12:08 -0400)]
Add pushing wagon as archive

This is the fix needed for using mvn-phase-lib new feature as submitted
at https://gerrit.onap.org/r/#/c/36395/, uploading Cloudify Manager plugins
as zip and tgz files.
Also this change cleans up the mvn-phase-script.sh by removing code that is
redendunt (already in mvn-script-lib).

Issue-ID: DCAEGEN2-206
Change-Id: I922dd10f5423e19535d6f24506585b398028a2eb
Signed-off-by: Lusheng Ji <lji@research.att.com>
6 years agoUpgrade to latest oparent 05/36305/1
Gildas Lanilis [Fri, 16 Mar 2018 22:29:16 +0000 (15:29 -0700)]
Upgrade to latest oparent

Update pom.xml file to latest version release of oparent, 1.1.0

Change-Id: Iaf77cff8825106354554dd6e497318270cebe6cf
Issue-ID: INT-443
Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>
6 years agoSwitch to R2 mvn-phase-lib 11/34811/2
Lusheng Ji [Thu, 8 Mar 2018 17:34:08 +0000 (12:34 -0500)]
Switch to R2 mvn-phase-lib

Change-Id: I47b786da6c0275bb888ff3e2578961efe3af2943
Signed-off-by: Lusheng Ji <lji@research.att.com>
Issue-ID: DCAEGEN2-206

6 years agoUse the mvn-phase-lib under dcaegen2/utils 59/34059/1
Lusheng Ji [Mon, 5 Mar 2018 13:13:39 +0000 (08:13 -0500)]
Use the mvn-phase-lib under dcaegen2/utils

Review along with change https://gerrit.onap.org/r/34057

Issue-ID: DCAEGEN2-206
Change-Id: I2b6d400a7879a2fc3276faadbadb16100a85c4af
Signed-off-by: Lusheng Ji <lji@research.att.com>
6 years agoBound the dcaepolicylib abstract requirement 17/33817/1
Michael Hwang [Fri, 2 Mar 2018 15:18:27 +0000 (10:18 -0500)]
Bound the dcaepolicylib abstract requirement

This is needed because of a potential bug in wagon where instead of
just taking dependencies from requirements.txt.  Wagon meets the
requirements of both requirements.txt and the abstract requirements in
setup.py.  This is when running wagon with the "-r".

Change-Id: If6aebb5b4d98c34e379bdfaa5ff0f7af4fa3504b
Issue-ID: DCAEGEN2-377
Signed-off-by: Michael Hwang <mhwang@research.att.com>
6 years agoRevert "Update docker plugin to use dcaepolicy .." 23/33723/2
Michael Hwang [Fri, 2 Mar 2018 04:17:21 +0000 (23:17 -0500)]
Revert "Update docker plugin to use dcaepolicy .."

This reverts commit d2ce7db538f97bc7f86b87e15fe6fcda2b089294.

Change-Id: Ia1eb2a55b9c92253ed5f2d85b87455c4fb2683c7
Issue-ID: DCAEGEN2-377
Signed-off-by: Michael Hwang <mhwang@research.att.com>
6 years agoAdd -r in wagon build 85/33685/2
Lusheng Ji [Thu, 1 Mar 2018 21:15:21 +0000 (16:15 -0500)]
Add -r in wagon build

Change-Id: I79657464a302af3836d098100fd75777348e7abe
Signed-off-by: Lusheng Ji <lji@research.att.com>
Issue-ID: DCAEGEN2-206

6 years agoUpdate docker plugin to use dcaepolicy 2.1.0 61/32961/2
Michael Hwang [Mon, 26 Feb 2018 02:18:24 +0000 (21:18 -0500)]
Update docker plugin to use dcaepolicy 2.1.0

This involved all sorts of updates in how policy is
expected to work for the component where the updates
are not backwards friendly.

Change-Id: I08707229b97755d560152fa14affd0bd7b37a3f8
Issue-ID: DCAEGEN2-349
Signed-off-by: Michael Hwang <mhwang@research.att.com>
6 years agoMerge "fixed dcaegen2-363"
Tony Hansen [Fri, 23 Feb 2018 21:42:31 +0000 (21:42 +0000)]
Merge "fixed dcaegen2-363"

6 years agofixed dcaegen2-363 25/32725/1
Schmalzried, Terry [Fri, 23 Feb 2018 21:30:27 +0000 (16:30 -0500)]
fixed dcaegen2-363

Change-Id: I3446be1a8c1240659baaa2de924ac295e19d3de5
Signed-off-by: Schmalzried, Terry <ts862m@att.com>
Issue-ID: DCAEGEN2-363
Signed-off-by: Schmalzried, Terry <ts862m@att.com>
6 years agofixed a bug in policy-get plugin 11/32711/1
Alex Shatov [Fri, 23 Feb 2018 19:29:38 +0000 (14:29 -0500)]
fixed a bug in policy-get plugin

- do not raise an exception on not being able to bring policies

Change-Id: I39dda5492903c5b25f4a8b46d96d27a5b8ee1547
Signed-off-by: Alex Shatov <alexs@att.com>
Issue-ID: DCAEGEN2-347

6 years agoMake cdap plugin SONAR code cov work 27/32627/1
Andrew Gauld [Thu, 22 Feb 2018 21:22:33 +0000 (16:22 -0500)]
Make cdap plugin SONAR code cov work

Change-Id: Ib2a3bb760c3906885256d53f1de14d360b53bbd1
Issue-ID: DCAEGEN2-355
Signed-off-by: Andrew Gauld <ag1282@att.com>
6 years agoMake SONAR code coverage work 87/32587/1
Andrew Gauld [Thu, 22 Feb 2018 16:35:58 +0000 (11:35 -0500)]
Make SONAR code coverage work

Change-Id: I8a61f287d439a5bf0b2cb203e31b514a2cae0a5e
Issue-ID: DCAEGEN2-355
Signed-off-by: Andrew Gauld <ag1282@att.com>
6 years agoIncrease unit test coverage 07/32007/3
Michael Hwang [Tue, 6 Feb 2018 19:39:10 +0000 (14:39 -0500)]
Increase unit test coverage

Update licenses for the files touched

Change-Id: Ia8616d37d34ca57246c285eead1378131c5fb8dc
Signed-off-by: Michael Hwang <mhwang@research.att.com>
Issue-ID: DCAEGEN2-291

6 years agoUpdate license text 95/31495/2
Lusheng Ji [Mon, 12 Feb 2018 18:05:42 +0000 (13:05 -0500)]
Update license text

Change-Id: I352c41a5150925327fc9f9b71eaa8f72f575a8b9
Signed-off-by: Lusheng Ji <lji@research.att.com>
Issue-ID: DCAEGEN2-325

6 years agofix copyright from 2018 to 2017-2018 27/30327/1
Alex Shatov [Mon, 5 Feb 2018 18:20:35 +0000 (13:20 -0500)]
fix copyright from 2018 to 2017-2018

Change-Id: I30bf8646d4f1b2c833e39fa2cc7e1b9b5e06b72a
Issue-ID: DCAEGEN2-249
Signed-off-by: Alex Shatov <alexs@att.com>
6 years agoimproved message structure for latest policies 31/30031/1
Alex Shatov [Thu, 1 Feb 2018 19:07:44 +0000 (14:07 -0500)]
improved message structure for latest policies

* unit test coverage 77%

Change-Id: Iebe582bb20173a3f4689239f3a2d822edb48ccc1
Issue-ID: DCAEGEN2-249
Signed-off-by: Alex Shatov <alexs@att.com>
6 years agodo not raise the Nonrecoverable on 404 23/29223/1
Alex Shatov [Thu, 25 Jan 2018 22:26:00 +0000 (17:26 -0500)]
do not raise the Nonrecoverable on 404

* when policy is not required on not finding the policy
+ better logging

Change-Id: I80875b6e2d08ef2cbb8d46e5797a0c3bd2d1197c
Issue-ID: DCAEGEN2-249
Signed-off-by: Alex Shatov <alexs@att.com>
6 years agovariable collection of policies per component 41/27841/2
Alex Shatov [Wed, 10 Jan 2018 16:27:44 +0000 (11:27 -0500)]
variable collection of policies per component

* new feature variable collection of policies per component in DCAE
* Unit Test coverage 78%
* moved module docstring below the license text

Change-Id: Iefe6d4c31e2e125194781edc79e69af2c11e96ef
Issue-ID: DCAEGEN2-249
Signed-off-by: Alex Shatov <alexs@att.com>
6 years agoupdate versioning 41/25241/1 amsterdam 1.0.0-Amsterdam 1.0.0-ONAP
vagrant [Sat, 25 Nov 2017 06:38:04 +0000 (06:38 +0000)]
update versioning

Change-Id: Ic527095239790de9f94cb03956402a8309cdfe1a
Issue-ID: DCAEGEN2-211
Signed-off-by: vagrant <vv770d@att.com>
6 years agoUse 1.4.0 dockering lib 03/21703/1
Michael Hwang [Wed, 1 Nov 2017 20:07:56 +0000 (16:07 -0400)]
Use 1.4.0 dockering lib

Change-Id: Iedca16eeb45ac978dfcc18bbee27c1c6e6e916c9
Issue-Id: DCAEGEN2-189
Signed-off-by: Michael Hwang <mhwang@research.att.com>
6 years agoFix push path 19/17819/1
Lusheng Ji [Tue, 10 Oct 2017 05:59:07 +0000 (05:59 +0000)]
Fix push path

Issue-Id: DCAEGEN2-128
Change-Id: I51d0cbd6a3d844ac773167e5eacf0e2966bf437e
Signed-off-by: Lusheng Ji <lji@research.att.com>
6 years agoPush plugin wgn and type files 13/17813/1
Lusheng Ji [Tue, 10 Oct 2017 05:25:29 +0000 (05:25 +0000)]
Push plugin wgn and type files

Issue-Id: DCAEGEN2-128
Change-Id: If93a71e8cac73d805918210bf15977ad3f332eb6
Signed-off-by: Lusheng Ji <lji@research.att.com>
6 years agoRemove cd to module directory 07/17807/1
Lusheng Ji [Tue, 10 Oct 2017 04:53:14 +0000 (04:53 +0000)]
Remove cd to module directory

Issue-Id: DCAEGEN2-128
Change-Id: Ic1ea79d772469547dc2e0370e87941303e893ad9
Signed-off-by: Lusheng Ji <lji@research.att.com>
6 years agoChange artifact deployment locations 91/17791/3
Lusheng Ji [Tue, 10 Oct 2017 03:29:34 +0000 (03:29 +0000)]
Change artifact deployment locations

Issue-Id: DCAEGEN2-128
Change-Id: I55f533c0fa1a2a51e6a11b1e8e1dbb221b992fbe
Signed-off-by: Lusheng Ji <lji@research.att.com>
6 years agoUT 78% dcaepolicy plugin 21/15721/1
Alex Shatov [Tue, 26 Sep 2017 20:58:37 +0000 (16:58 -0400)]
UT 78% dcaepolicy plugin

* unit test withcoverage of 78 %
* minor refactoring for lazy init for discovery - useful for UT

Change-Id: I7bee1d5dc5c66477c6e8f19484b0179d5f726fe0
Issue-Id: DCAEGEN2-62
Signed-off-by: Alex Shatov <alexs@att.com>
6 years agoMerge "Toxify for docker and relationship"
Lusheng Ji [Mon, 25 Sep 2017 17:31:26 +0000 (17:31 +0000)]
Merge "Toxify for docker and relationship"

6 years agoToxify for docker and relationship 59/15159/1
Michael Hwang [Mon, 25 Sep 2017 16:13:10 +0000 (12:13 -0400)]
Toxify for docker and relationship

Issue-Id: DCAEGEN2-60
Change-Id: Idaacf7239a54a21d45d77731cae13e5115b68f02
Signed-off-by: Michael Hwang <mhwang@research.att.com>
6 years agoUpdate sonar section of pom 31/15131/1
Tommy Carpenter [Mon, 25 Sep 2017 16:05:09 +0000 (12:05 -0400)]
Update sonar section of pom

Issue-ID: DCAEGEN2-74
Change-Id: I3da21783ea44099892b23673bfdc8479d3a3591f
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
6 years agoUpgrade to public PyPi policy-lib 35/14335/2
Tommy Carpenter [Thu, 21 Sep 2017 18:33:42 +0000 (14:33 -0400)]
Upgrade to public PyPi policy-lib

Issue-ID: DCAEGEN2-74
Change-Id: I85f43a73da58497c5677bffcb2de79015febfa7c
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
6 years agoAdd back .coveragerc, removed by mistake 21/14321/1
Tommy Carpenter [Thu, 21 Sep 2017 16:58:35 +0000 (12:58 -0400)]
Add back .coveragerc, removed by mistake

Issue-ID: DCAEGEN2-74
Change-Id: I18a2c7e54550f10f87bbb97cd150965acd95bb96
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
6 years agoDRY up code with decorators 05/12605/1
Tommy Carpenter [Fri, 15 Sep 2017 01:54:32 +0000 (21:54 -0400)]
DRY up code with decorators

Issue-ID: DCAEGEN2-74
Change-Id: Iefdfe3fa60879161ebc6ba3224f342a9af575d94
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
6 years agoUnit test discovery 79/12479/1
Tommy Carpenter [Thu, 14 Sep 2017 15:57:31 +0000 (11:57 -0400)]
Unit test discovery

Issue-ID: DCAEGEN2-74
Change-Id: Ibc676f118e9e85db306e38c3e40265d1b1d71ff0
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
6 years agoCombine all task inputs for create and start 51/12051/1
Michael Hwang [Tue, 12 Sep 2017 21:28:37 +0000 (17:28 -0400)]
Combine all task inputs for create and start

Change-Id: Ia86d3b26b5ecccd636fb171b3967f924b0cb1250
Issue-Id: DCAEGEN2-91
Signed-off-by: Michael Hwang <mhwang@research.att.com>
6 years agoUse latest dcaepolicy 03/12003/1
Michael Hwang [Tue, 12 Sep 2017 17:27:30 +0000 (13:27 -0400)]
Use latest dcaepolicy

Issue-Id: DCAEGEN2-97
Change-Id: I6e5e701f5a64575c9280b1bea3b17e50023e599d
Signed-off-by: Michael Hwang <mhwang@research.att.com>
6 years agoUpdate to policy 1.0.0 97/11997/3
Tommy Carpenter [Tue, 12 Sep 2017 17:00:52 +0000 (13:00 -0400)]
Update to policy 1.0.0

Issue-ID: DCAEGEN2-97
Change-Id: Idf54f589c71b7e032b21f5d48c88f0128bb50b56
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
6 years agoMerge "Cleanup after Policy update"
Lusheng Ji [Tue, 12 Sep 2017 16:10:29 +0000 (16:10 +0000)]
Merge "Cleanup after Policy update"

6 years agodcaepolicy plugin and dcae.node.type 79/11979/1
Alex Shatov [Tue, 12 Sep 2017 15:30:55 +0000 (11:30 -0400)]
dcaepolicy plugin and dcae.node.type

* new plugin and node type file to be used by blueprints that use policy

Change-Id: I79dc24f3bf6f8471457544f6bb8562cbcd448d00
Issue-Id: DCAEGEN2-62
Signed-off-by: Alex Shatov <alexs@att.com>
6 years agoMake components policy reconfigurable and more 37/11737/2
Michael Hwang [Thu, 7 Sep 2017 15:29:16 +0000 (11:29 -0400)]
Make components policy reconfigurable and more

* Add in dcae policy dependencies and policy decorators into tasks
* Fetch docker logins dynamically
* Add in policy example blueprint
* Add in policy update operation for components

Issue-Id: DCAEGEN2-97
Change-Id: Ib58adfbd7070999c7b8e59ab008f5ff90d4984a7
Signed-off-by: Michael Hwang <mhwang@research.att.com>
6 years agoCleanup after Policy update 05/11705/1
Tommy Carpenter [Mon, 11 Sep 2017 15:59:09 +0000 (11:59 -0400)]
Cleanup after Policy update

Issue-ID: DCAEGEN2-96
Change-Id: Iebc195340211faea6d0bcc834015117ba9ded09d
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
6 years agoCleanup project's name in Sonar 85/11185/1
Jessica Wagantall [Fri, 8 Sep 2017 18:37:34 +0000 (11:37 -0700)]
Cleanup project's name in Sonar

The name parameter in the root pom.xml should
match the project name in gerrit to reflect consistency
in Sonar.

Change-Id: I0c77715893304a55cafe5c7768b841108b08fccc
Issue-id: CIMAN-65
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoMerge "Fix pom and mvn script"
Vijay Venkatesh Kumar [Fri, 8 Sep 2017 14:01:52 +0000 (14:01 +0000)]
Merge "Fix pom and mvn script"

6 years agoIntegrate with policy handler 11/10911/1
Tommy Carpenter [Thu, 7 Sep 2017 19:20:11 +0000 (15:20 -0400)]
Integrate with policy handler

Issue-ID: DCAEGEN2-96
Change-Id: I2adbce7fafd5b84dd53a3deef4a53c253100bd9d
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
6 years agoFix pom and mvn script 95/10695/1
Lusheng Ji [Thu, 7 Sep 2017 04:06:32 +0000 (04:06 +0000)]
Fix pom and mvn script

Issue-Id: DCAEGEN2-60
Change-Id: I18134f2e2b2af7a40789ebec0379c4ee8e58370f
Signed-off-by: Lusheng Ji <lji@research.att.com>
6 years agoEnhance to query Consul for target docker host 43/10643/1
Michael Hwang [Wed, 6 Sep 2017 21:46:45 +0000 (17:46 -0400)]
Enhance to query Consul for target docker host

* `SelectedDockerHost` actually queries by a name stem and location
* Shorten name
* Tag components with deployment id

Change-Id: I715f1de25fa047ce70eb26a5cc7615cfd3b408e7
Issue-ID: DCAEGEN2-91
Signed-off-by: Michael Hwang <mhwang@research.att.com>
6 years agoAdd version.properties 75/9275/1
Lusheng Ji [Wed, 30 Aug 2017 02:50:31 +0000 (02:50 +0000)]
Add version.properties

Issue-Id: DCAEGEN2-60
Change-Id: Ie564d864eb6eeeeb3bc53e33e2c28157a59a5b94
Signed-off-by: Lusheng Ji <lji@research.att.com>
6 years agoFix pom.xml's 55/9255/1
Lusheng Ji [Wed, 30 Aug 2017 02:01:47 +0000 (02:01 +0000)]
Fix pom.xml's

Issue-Id: DCAEGEN2-60
Change-Id: I7c6adeba2578a66af634cd5197ca8308e89c34ee
Signed-off-by: Lusheng Ji <lji@research.att.com>
6 years agoUpdate LICENSE.txt 47/9147/1
Lusheng Ji [Tue, 29 Aug 2017 14:18:11 +0000 (14:18 +0000)]
Update LICENSE.txt

Issue-Id: DCAEGEN2-86
Change-Id: Id5116e4789431007ae31637265113101a7ad5c2b
Signed-off-by: Lusheng Ji <lji@research.att.com>
6 years agoAdd docker and relationships plugin 71/8471/1
Michael Hwang [Wed, 23 Aug 2017 18:26:36 +0000 (14:26 -0400)]
Add docker and relationships plugin

Change-Id: I323599ae2965f081f2061b6791635bbeddb09811
Issue-Id: DCAEGEN2-79
Signed-off-by: Michael Hwang <mhwang@research.att.com>
6 years ago[DCAEGEN2-74] merge broker deletion plugin to cdap 35/8335/1
Tommy Carpenter [Tue, 22 Aug 2017 21:49:55 +0000 (17:49 -0400)]
[DCAEGEN2-74] merge broker deletion plugin to cdap

Change-Id: If8fecde180c37ae1332e9ef53b9b2e8b17169cbe
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
6 years ago[DCAEGEN2-74] Push up initial CDAP plugin 29/8029/1
Tommy Carpenter [Fri, 18 Aug 2017 18:16:44 +0000 (14:16 -0400)]
[DCAEGEN2-74] Push up initial CDAP plugin

Change-Id: I2bad410e5c55a59950cabe8fc13066954c4f5c92
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
6 years agoInitial empty repository
Jessica Wagantall [Wed, 28 Jun 2017 01:23:46 +0000 (01:23 +0000)]
Initial empty repository