summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-12Update plugin version in k8s type file3.0.1-ONAP3.0.0-ONAPcasablancaJack Lucas1-1/+1
Issue-ID: DCAEGEN2-796 Change-Id: Ic89231138ec7da7004334547031fef26df03032c Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-10-12Add support for UDP port mappingJack Lucas6-18/+105
Issue-ID: DCAEGEN2-796 Change-Id: I09038d0bc7154b989f9ce9e328da57aac0020597 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-09-18Don't change to https when use_tls is setAndrew Gauld1-2/+2
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>
2018-09-17include registry on tls imagevagrant1-1/+1
Change-Id: Ic109995f29922ca3a28107970fa1aae5246b9b67 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-790
2018-09-17Update image name for default TLS_IMAGEAndrew Gauld1-1/+1
Change-Id: If7a30270d07ce6283f4c24ca3802e23a5cbf70b5 Issue-ID: DCAEGEN2-790 Signed-off-by: Andrew Gauld <ag1282@att.com>
2018-09-10Add support for TLS init containerJack Lucas7-20/+90
Change-Id: I118af2c8a0294ffc89e045f8cdae24dfb7e57ab6 Issue-ID: DCAEGEN2-591 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-08-27Use managed guava versionGary Wu1-3/+1
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>
2018-08-21Add modules to tox.ini coverage specJack Lucas1-2/+2
Change-Id: I617b7f3b8a7b8ec068c16355530351aad0122062 Issue-ID: DCAEGEN2-723 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-08-17Add checks on runtime props for uninstallJack Lucas4-22/+32
Change-Id: Ib2e37713068e77126914d1af3bc238fc0119ef93 Issue-ID: DCAEGEN2-695 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-08-01Fix k8splugin to accept intervals as stringsJack Lucas5-5/+117
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>
2018-07-27Merge "Add INFO.yaml file"Vijay Venkatesh Kumar1-0/+90
2018-07-27Merge "Make docker node type consistent with k8s"Jack Lucas1-0/+108
2018-07-26Add INFO.yaml fileJessica Wagantall1-0/+90
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>
2018-07-25Add policy update notification supportJack Lucas9-114/+201
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>
2018-07-24Make docker node type consistent with k8sMichael Hwang1-0/+108
Change-Id: I877a041cfa9e272be5835f5956a4c08e16de39b0 Issue-ID: DCAEGEN2-551 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2018-07-18Merge "Add support for updating image."Michael Hwang12-172/+285
2018-07-17Add support for updating image.Jack Lucas12-172/+285
- 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>
2018-07-16Update release tagLusheng Ji1-2/+9
Issue-ID: DCAEGEN2-499 Change-Id: I1c28ccd0b5e3322347a6ea00c756086848bff9d6 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-06-18Create k8s readiness probeJack Lucas8-76/+80
Change-Id: Iaf222957bc7aa049e3d8d6d1c290435767487387 Issue-ID: DCAEGEN2-503 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-04-19Remove explicit requirements to make build *any*2.0.0-ONAPbeijing2.0.0-ONAPMichael Hwang1-9/+0
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>
2018-04-17Support for /var/run/secrets/kubernetes.ioJack Lucas4-5/+24
Change-Id: If259892dd332981654bcad6b1e07037afbf31c7d Issue-ID: DCAEGEN2-447 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-04-12Merge "2.3.0 dcaepolicyplugin and data types"Lusheng Ji8-23/+89
2018-04-122.3.0 dcaepolicyplugin and data typesAlex Shatov8-23/+89
- 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
2018-04-12Change consul host to be "consul"Michael Hwang7-8/+17
And not localhost Change-Id: I68c1cb4bf52e0a39a256c0adc4b6b8fb0db269ac Issue-ID: DCAEGEN2-442 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2018-04-05Set up env variables correctlyJack Lucas4-5/+5
Change-Id: I4752510a4e36d8dc19d923a817c7fb687d78fa22 Issue-ID: DCAEGEN2-432 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-03-272.2.1 dcaepolicyplugin and data typesAlex Shatov11-213/+397
- 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
2018-03-27Merge "2.2.0 dcaepolicyplugin and data types"Lusheng Ji6-17/+62
2018-03-262.2.0 dcaepolicyplugin and data typesAlex Shatov6-17/+62
- 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
2018-03-26Specify dcaepolicy-lib 2.3.0 in requirementsMichael Hwang4-4/+8
Change-Id: I2c251e25daea18f5be723b5238a00f40e42ba142 Issue-ID: DCAEGEN2-415 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2018-03-23Merge "Add DCAE Kubernetes plugin"Lusheng Ji29-2/+3151
2018-03-232.1.0 dcaepolicyplugin and data typesAlex Shatov12-26/+37
- 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
2018-03-23Add DCAE Kubernetes pluginJack Lucas29-2/+3151
Change-Id: Ic329f77bb09dcccfd49a34a8f84d387e8da929c6 Issue-ID: DCAEGEN2-410 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-03-21Revert "Revert "Update docker plugin to use dcaepoMichael Hwang7-33/+27
This reverts commit aa2922da3cf8b83306a49a09bd85114817ae1eba. Issue-ID: DCAEGEN2-408 Change-Id: Ib622645d2f41d68b3652cbac19c98239bd60a18a Signed-off-by: Michael Hwang <mhwang@research.att.com>
2018-03-20Add pushing wagon as archiveLusheng Ji1-60/+17
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>
2018-03-16Upgrade to latest oparentGildas Lanilis1-1/+1
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>
2018-03-08Switch to R2 mvn-phase-libLusheng Ji1-1/+2
Change-Id: I47b786da6c0275bb888ff3e2578961efe3af2943 Signed-off-by: Lusheng Ji <lji@research.att.com> Issue-ID: DCAEGEN2-206
2018-03-05Use the mvn-phase-lib under dcaegen2/utilsLusheng Ji2-430/+6
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>
2018-03-02Bound the dcaepolicylib abstract requirementMichael Hwang2-2/+2
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>
2018-03-01Revert "Update docker plugin to use dcaepolicy .."Michael Hwang7-27/+33
This reverts commit d2ce7db538f97bc7f86b87e15fe6fcda2b089294. Change-Id: Ia1eb2a55b9c92253ed5f2d85b87455c4fb2683c7 Issue-ID: DCAEGEN2-377 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2018-03-01Add -r in wagon buildLusheng Ji1-2/+2
Change-Id: I79657464a302af3836d098100fd75777348e7abe Signed-off-by: Lusheng Ji <lji@research.att.com> Issue-ID: DCAEGEN2-206
2018-02-26Update docker plugin to use dcaepolicy 2.1.0Michael Hwang7-32/+27
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>
2018-02-23Merge "fixed dcaegen2-363"Tony Hansen1-0/+2
2018-02-23fixed dcaegen2-363Schmalzried, Terry1-0/+2
Change-Id: I3446be1a8c1240659baaa2de924ac295e19d3de5 Signed-off-by: Schmalzried, Terry <ts862m@att.com> Issue-ID: DCAEGEN2-363 Signed-off-by: Schmalzried, Terry <ts862m@att.com>
2018-02-23fixed a bug in policy-get pluginAlex Shatov1-1/+0
- 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
2018-02-22Make cdap plugin SONAR code cov workAndrew Gauld1-5/+6
Change-Id: Ib2a3bb760c3906885256d53f1de14d360b53bbd1 Issue-ID: DCAEGEN2-355 Signed-off-by: Andrew Gauld <ag1282@att.com>
2018-02-22Make SONAR code coverage workAndrew Gauld13-63/+43
Change-Id: I8a61f287d439a5bf0b2cb203e31b514a2cae0a5e Issue-ID: DCAEGEN2-355 Signed-off-by: Andrew Gauld <ag1282@att.com>
2018-02-19Increase unit test coverageMichael Hwang5-4/+145
Update licenses for the files touched Change-Id: Ia8616d37d34ca57246c285eead1378131c5fb8dc Signed-off-by: Michael Hwang <mhwang@research.att.com> Issue-ID: DCAEGEN2-291
2018-02-12Update license textLusheng Ji25-11/+287
Change-Id: I352c41a5150925327fc9f9b71eaa8f72f575a8b9 Signed-off-by: Lusheng Ji <lji@research.att.com> Issue-ID: DCAEGEN2-325
2018-02-05fix copyright from 2018 to 2017-2018Alex Shatov3-3/+3
Change-Id: I30bf8646d4f1b2c833e39fa2cc7e1b9b5e06b72a Issue-ID: DCAEGEN2-249 Signed-off-by: Alex Shatov <alexs@att.com>
2018-02-01improved message structure for latest policiesAlex Shatov3-4/+9
* unit test coverage 77% Change-Id: Iebe582bb20173a3f4689239f3a2d822edb48ccc1 Issue-ID: DCAEGEN2-249 Signed-off-by: Alex Shatov <alexs@att.com>