vv770d [Wed, 13 Jan 2021 21:37:27 +0000 (21:37 +0000)]
dcae INFO.yaml update
Committer changes
Change-Id: I3c67506c6606aa9e841cc5b8b06bd1baf0f9491b
Issue-ID: DCAEGEN2-2583
Signed-off-by: vv770d <vv770d@att.com>
JerzySzachniewicz [Wed, 9 Dec 2020 09:11:07 +0000 (10:11 +0100)]
Add option to use services with ipv6
Issue-ID: DCAEGEN2-2388
Signed-off-by: JerzySzachniewicz <jerzy.szachniewicz@nokia.com>
Change-Id: I34ca694b38e9c3121ec7a0bd95c92071392052d3
Signed-off-by: JerzySzachniewicz <jerzy.szachniewicz@nokia.com>
vv770d [Tue, 8 Dec 2020 21:44:59 +0000 (21:44 +0000)]
Support both py2 and py3 wagon push
Change-Id: I96a43f4173204070c46ab42df5d7fa6a74ac3342
Signed-off-by: vv770d <vv770d@att.com>
Issue-ID: DCAEGEN2-2525
Signed-off-by: vv770d <vv770d@att.com>
vv770d [Fri, 4 Dec 2020 18:22:12 +0000 (18:22 +0000)]
Build py3 wagons in-parallel
And disable helm2 plugin build
Change-Id: I36f70225fdea3cd5141d5d697fc060ed0a3f22f6
Signed-off-by: vv770d <vv770d@att.com>
Issue-ID: DCAEGEN2-2525
Issue-ID: DCAEGEN2-2544
Signed-off-by: vv770d <vv770d@att.com>
JerzySzachniewicz [Wed, 25 Nov 2020 12:23:52 +0000 (13:23 +0100)]
Update kubernetes python plugin to version 12.0.1
Issue-ID: DCAEGEN2-2388
Signed-off-by: JerzySzachniewicz <jerzy.szachniewicz@nokia.com>
Change-Id: Ie1e1964a1140b0be82d2e7ecd0aead232128642d
Signed-off-by: JerzySzachniewicz <jerzy.szachniewicz@nokia.com>
Piotr Marcinkiewicz [Tue, 13 Oct 2020 12:36:31 +0000 (14:36 +0200)]
Fix problem with helm build
- Limit cloudify-common to <5.1.0 in helm
Issue-ID: DCAEGEN2-2484
Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>
Change-Id: Iec427872a9b077f9c217b5aec525a9805817bfe8
Vijay Venkatesh Kumar [Mon, 12 Oct 2020 22:45:45 +0000 (22:45 +0000)]
Merge "[k8splugin] Update plugin to use OOM CertService"
vv770d [Fri, 2 Oct 2020 16:18:47 +0000 (16:18 +0000)]
R8 tag/path update
Change-Id: Ia615bc0cb35741cd6c052c6c1ebe65bc1282aed5
Signed-off-by: vv770d <vv770d@att.com>
Issue-ID: DCAEGEN2-2468
Piotr Marcinkiewicz [Tue, 29 Sep 2020 10:59:08 +0000 (12:59 +0200)]
[k8splugin] Update plugin to use OOM CertService
- Replace AAF CertService with OOM CertService
- Rename truststore merger init container to cert post processor
Issue-ID: OOM-2526
Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>
Change-Id: If3aecb9c62970e338c694ff7ae2dadf94c4daa8b
Jack Lucas [Wed, 16 Sep 2020 18:01:01 +0000 (14:01 -0400)]
Label k8s Deployments for healthcheck
Issue-ID: DCAEGEN2-2433
Signed-off-by: Jack Lucas <jflos@sonoris.net>
Change-Id: I12b5ca5d0c70d7c8d42c1ec1ce88841d2cf25cd7
vv770d [Fri, 11 Sep 2020 17:20:32 +0000 (17:20 +0000)]
dcae INFO.yaml update
Project maturity
Committer changes
Change-Id: Iff70a751dbb60fcadfb600d1a8c8fb2cec08f862
Issue-ID: DCAEGEN2-2425
Signed-off-by: vv770d <vv770d@att.com>
Jessica Wagantall [Tue, 8 Sep 2020 17:48:14 +0000 (10:48 -0700)]
Fix INFO.yaml files
Proper syntax for INFO.yaml requires the first
line to be "---" which was previously removed.
Re-adding this missing line.
Issue-ID: CIMAN-387
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I2e60cbe415fbd957ab10deae684e84eefc639b27
Remigiusz Janeczek [Tue, 1 Sep 2020 06:46:58 +0000 (08:46 +0200)]
[k8splugin] Add support to move CMPv2 keystore in place of AAFCertMan
keystore
Make secret with certs for cert-service-client container configurable
Issue-ID: DCAEGEN2-2253
Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
Change-Id: Ia17d3a1f32d2118aa6d5380e32ac5afb5ad2d017
Jan Malkiewicz [Wed, 19 Aug 2020 13:49:10 +0000 (15:49 +0200)]
Add init container support for truststore merger.
Issue-ID: DCAEGEN2-2253
Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com>
Change-Id: I98f27834b36cad333728d41ec079b86a090e77f3
Jack Lucas [Wed, 12 Aug 2020 15:30:41 +0000 (11:30 -0400)]
Add plugin testing blueprints
Issue-ID: DCAEGEN2-2352
Signed-off-by: Jack Lucas <jflos@sonoris.net>
Change-Id: Icacef912fc24d2814d513bd2df2a6aaed117ebb5
Joanna Jeremicz [Wed, 29 Jul 2020 10:20:10 +0000 (12:20 +0200)]
Certificates from CMPv2 server - handle incorrect blueprint
K8splugin will stop without deployment creation when external_cert does not contain all the required parameters
Bugfix: K8splugin will not create cert-service-client init container by default
Issue-ID: DCAEGEN2-2252 DCAEGEN2-2380
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Change-Id: Ibb6ada925ad8c7f1609e01ba9021a7dbcf0fe644
Remigiusz Janeczek [Mon, 10 Aug 2020 09:32:32 +0000 (11:32 +0200)]
Temporary fix for k8s build fail
Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
Issue-ID: DCAEGEN2-2384
Change-Id: I024736f87542f8320c6c5290664d711f98c57f58
Sylwia_Jakubek [Thu, 23 Jul 2020 09:34:53 +0000 (11:34 +0200)]
Adapt DCAE CFY K8S Plugin with K8S 1.17 version of APIs
Issue-ID: DCAEGEN2-2309
Signed-off-by: Sylwia Jakubek <sylwia.jakubek@nokia.com>
Change-Id: I40db1bcaae65f6d30a71ac7831b6c316e82b5576
Vijay Venkatesh Kumar [Mon, 27 Jul 2020 16:57:57 +0000 (16:57 +0000)]
Merge "Add support to request certificates from CMPv2 server in DCAE cloudify blueprints"
Joanna Jeremicz [Fri, 26 Jun 2020 14:53:53 +0000 (16:53 +0200)]
Add support to request certificates from CMPv2 server in DCAE cloudify blueprints
If the blueprint specifies that the component uses external TLS via the `external_cert` property, the `Deployment` includes an additional init container and the component's container. The init container populates the external TLS certificate artifacts in mounted volume. The container requires CMPv2 CertService to work properly.
Issue-ID: DCAEGEN2-2252
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Change-Id: I90cb79120ffaf634fc1f5b8a03a83abb30deb2b7
vv770d [Thu, 23 Jul 2020 19:13:15 +0000 (19:13 +0000)]
dcae committer updates in INFO.yaml
Change-Id: I0ccbecd014cac89edfcf3ba2b96a54d0f6225548
Issue-ID: DCAEGEN2-2365
Signed-off-by: vv770d <vv770d@att.com>
Hansen, Tony (th1395) [Tue, 9 Jun 2020 18:27:12 +0000 (18:27 +0000)]
rename typefiles to be consistent with nexus
Change-Id: Iebfda41db8225db233d0ff0f41e197d2e4cc0688
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Issue-ID: DCAEGEN2-2207
Hansen, Tony (th1395) [Tue, 9 Jun 2020 14:44:55 +0000 (14:44 +0000)]
fix for typefile fix
Change-Id: Ie974a982290229dcfecb058090d23b3ac73ed537
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Issue-ID: DCAEGEN2-2207
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Hansen, Tony (th1395) [Mon, 8 Jun 2020 21:01:47 +0000 (21:01 +0000)]
fix for mvn-phase-lib.sh
Change-Id: I7b3340024bf84206d79c18b10290a1e0f0129304
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Issue-ID: DCAEGEN2-2207
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Hansen, Tony (th1395) [Mon, 8 Jun 2020 16:20:49 +0000 (16:20 +0000)]
fix more type version issues
Change-Id: I321407dcf08cb37d8ce8270a3458c50ec489e08e
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Issue-ID: DCAEGEN2-2207
Hansen, Tony (th1395) [Sat, 6 Jun 2020 00:52:40 +0000 (00:52 +0000)]
fix version numbers in type files
Change-Id: I022e922737d4ee1ed96b34e025e690f45fe1400e
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Issue-ID: DCAEGEN2-2207
Hansen, Tony (th1395) [Wed, 3 Jun 2020 21:13:10 +0000 (21:13 +0000)]
fix for mvn-phase-script for wagon building
Change-Id: I1475819ffdab87618208df32a3c868b17b92339b
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Issue-ID: DCAEGEN2-2207
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Hansen, Tony (th1395) [Wed, 13 May 2020 18:55:54 +0000 (18:55 +0000)]
move plugins from from ccsdk to dcaegen2
copy dmaap, helm, pgaas and sshkeyshare plugins from ccsdk to dcaegen2
Change-Id: Ib257495de6c275c45f0c87a4b42ac21a2fab7979
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Issue-ID: DCAEGEN2-2207
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Jack Lucas [Mon, 20 Apr 2020 17:25:47 +0000 (13:25 -0400)]
Remove ContainerizedPlatformContainer from types
Also allow environment variables to specified via docker_config
Issue-ID: DCAEGEN2-1791
Issue-ID: DCAEGEN2-2215
Change-Id: If6b3b206856031d3c2aa3a5f787c1be30bdc4afd
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Vijay Venkatesh Kumar [Mon, 20 Apr 2020 16:23:18 +0000 (16:23 +0000)]
R7 tag/path update
Change-Id: I987dce35a8bb6569764b8214a0cc9c596e416d7d
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-2201
Jack Lucas [Tue, 3 Mar 2020 18:35:50 +0000 (13:35 -0500)]
Fix dcaepolicy reference
Issue-ID: DCAEGEN2-2097
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Change-Id: I7fe5676c2bf33ce3900216156a404572bb2622f0
Jack Lucas [Mon, 3 Feb 2020 22:11:07 +0000 (17:11 -0500)]
Provide cacert in JKS format for clients
Issue-ID: DCAEGEN2-1938
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Change-Id: Ic9a852bb058075b2b03aa6382ed33e23a4cca8b5
Vijay Venkatesh Kumar [Fri, 7 Feb 2020 03:40:15 +0000 (03:40 +0000)]
sonarcloud support
Change-Id: I7e66510da92d47da2abb67499c3e347822ddd1ea
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-2065
Miroslav Los [Wed, 18 Dec 2019 17:28:59 +0000 (18:28 +0100)]
Address k8s plugin code smells reported by sonar
Make 'resources' argument to k8sclient.k8sclient.deploy an
optional kwarg, update its uses and document it.
Split off code reported complex from deploy into functions.
Tweak a nested if in tasks.
Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech>
Issue-ID: DCAEGEN2-2006
Change-Id: I13a091de9207bab1c7d4eee3179263c5d994ffbf
Tony Hansen [Wed, 8 Jan 2020 20:19:32 +0000 (20:19 +0000)]
Merge "R6 tag/path update"
Jack Lucas [Wed, 8 Jan 2020 14:51:13 +0000 (09:51 -0500)]
Fix incorrect committer ID in INFO.yaml
Issue-ID: DCAEGEN2-2012
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Change-Id: I788d83e894725e0564633db00d2c71c0e6ff5cda
Miroslav Los [Wed, 18 Dec 2019 12:10:24 +0000 (13:10 +0100)]
Remove obsolete cdap and docker plugins
Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech>
Issue-ID: DCAEGEN2-1987
Change-Id: I7e7114458a2931b8f1baf915f1714ee8465b86e5
Vijay Venkatesh Kumar [Mon, 6 Jan 2020 17:26:52 +0000 (17:26 +0000)]
R6 tag/path update
Change-Id: I875f6ad6aed651943b00d818daf6cde149150b19
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1785
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Miroslav Los [Wed, 18 Dec 2019 12:29:54 +0000 (13:29 +0100)]
Fix tox configuration for coverage
Coverage is unable to report on modules unless PYTHONPATH is set.
Put test results into separate files for python 2 and 3.
Merge coverage of python 2 and 3 in a final report.
Silence warnings on xunit2 pytest output format.
Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech>
Issue-ID: DCAEGEN2-2005
Change-Id: I2740231274c153d178e7d9c9103fc70657f7558d
Miroslav Los [Mon, 9 Dec 2019 17:20:59 +0000 (18:20 +0100)]
Customize python import for kubernetes plugin
Cloudify manager fails to find the plugin without this helper.
The original code, cloudify-python-importer, is unmaintained.
It is just one module, licensed under Apache2.0 as well.
It also needs a python3 fix, hence the module code is added here.
Note that what the modification does should not be necessary,
and a proper root cause and fix needs to be found eventually.
Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech>
Issue-ID: DCAEGEN2-1988
Change-Id: I28274dff902204362d7f5b6f97ac3381ff8b5411
Miroslav Los [Mon, 9 Dec 2019 14:57:46 +0000 (15:57 +0100)]
Update versions for all plugins
Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech>
Issue-ID: DCAEGEN2-1986
Change-Id: Id4cc1cd9c6c5fb0c013f950b11b7799fa9f4fcfa
JoeOLeary [Tue, 3 Dec 2019 21:05:02 +0000 (21:05 +0000)]
Update DCAE Committer in INFO.yaml
Issue-ID: DCAEGEN2-1891
Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
Change-Id: I6cb1fcf2f3ddd12709df48ef7547b8c27b13acf1
Miroslav Los [Tue, 26 Nov 2019 13:20:36 +0000 (14:20 +0100)]
Support python3 in all plugins
Unify tox/requirements/setup.py requirement specifications.
Do not set upper version limits if possible.
Drop uuid as dependency included with standard library.
Drop import of unmaintained cloudify_importer without python3 version.
Use PEP 508 URLs in requirements for non-PyPI (github) releases.
Use cloudify-common 5 release; pre-release package for python3.
Rewrite uses of map with loops/comprehensions.
Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech>
Issue-ID: DCAEGEN2-1956
Change-Id: I7b3ceb97a628e3af5bda3178d182f4207069e86d
Schmalzried, Terry (ts862m) [Thu, 14 Nov 2019 18:07:56 +0000 (13:07 -0500)]
DCAEGEN2-1920 enhance policy plugin for error conditions
Issue-ID: DCAEGEN2-1920
Change-Id: I7e1b08cb008f60d7f08ed2db41236a03b8490287
Signed-off-by: Schmalzried, Terry (ts862m) <ts862m@att.com>
Vijay Venkatesh Kumar [Mon, 30 Sep 2019 18:51:54 +0000 (18:51 +0000)]
R6 tag update
Change-Id: I1cbbee3dd24600907d2d5625179e92bb74ef4c48
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1785
Jack Lucas [Wed, 3 Jul 2019 15:13:25 +0000 (11:13 -0400)]
Move DR subscriber creation before container start
Also update Kubernetes client library version
Fix bug that allowed generating a too-long k8s deployment name.
Issue-ID: DCAEGEN2-1651
Issue-ID: DCAEGEN2-1653
Issue-ID: DCAEGEN2-1667
Change-Id: Ied859073fb01d8623278cf9e58c1dcc26fed1712
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Jack Lucas [Tue, 25 Jun 2019 22:52:55 +0000 (18:52 -0400)]
Add TLS support for client-only apps
Also enhance unit tests to do more robust checking of results.
Issue-ID: DCAEGEN2-1550
Change-Id: Icf6e5357d828e19db73bb58b98fd60e9f111d0dc
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Jack Lucas [Thu, 23 May 2019 17:59:12 +0000 (13:59 -0400)]
Fix xpath syntax for CentOS
Change-Id: I5f287b9541a20713b25a573879e44a4f37099141
Issue-ID: DCAEGEN2-1520
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Jack Lucas [Thu, 23 May 2019 14:57:07 +0000 (10:57 -0400)]
Fix CentOS incompatibilities in mvn-phase-lib
Issue-ID: DCAEGEN2-1520
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Change-Id: Ica41de308a32767a6f1c4ce178d2460adfa2f61b
Jack Lucas [Wed, 22 May 2019 14:45:49 +0000 (10:45 -0400)]
Stop building CDAP and Docker plugins
Also remove relationships plugin test case that has different
expected results on Ubuntu and CentOS. (Should not change
test coverage statistics.)
Change-Id: I027e13ee92ff1c799d38d8ad9939c4aff73022c3
Issue-ID: DCAEGEN2-1524
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Vijay Venkatesh Kumar [Mon, 6 May 2019 16:15:58 +0000 (16:15 +0000)]
R5 tag update
Change-Id: I3822177c6b0e0ee08a647fd31a0a34532d52751d
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1481
Jack Lucas [Fri, 19 Apr 2019 19:14:25 +0000 (15:14 -0400)]
Fix DR subscriber failure
Issue-ID: DCAEGEN2-1009
Change-Id: Ieb770b6562123dda78fd4b8c8c514d30767ad7fb
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Vignesh K [Wed, 27 Mar 2019 12:04:08 +0000 (17:34 +0530)]
Initial commit for clamp-policy plugin
Addressed review comments
Issue-ID: DCAEGEN2-1129
Change-Id: Icdf95bdbf7c3ec2f201d5d57544ef6d206f3c5fa
Signed-off-by: Vignesh K <vignesh.k041@wipro.com>
Jack Lucas [Mon, 1 Apr 2019 22:00:19 +0000 (18:00 -0400)]
Change kubeconfig file location
By putting kubeconfig in its own directory, we make
sure updates to the underlying configMap become
visible to the plugin without restarting CM.
Issue-ID: DCAEGEN2-1136
Change-Id: Ifbc5bed31cdcf285b1cf845427679f631eaa4645
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Jason Luo [Wed, 20 Mar 2019 01:04:13 +0000 (01:04 +0000)]
add comment on 63 label length, fix _parse_volumes
change to v['container'].get('mode') to allow mode value be absent
Issue-ID: DCAEGEN2-1126
Change-Id: I12fe257995f466238f64b06e6cf80f3cc2654c5b
Signed-off-by: Jason Luo <cl4531@att.com>
Jack Lucas [Mon, 11 Mar 2019 21:43:37 +0000 (17:43 -0400)]
Add multi-cluster support
Issue-ID: DCAEGEN2-1136
Change-Id: I314e5d8c501198b3e87c45813201498935c7bacc
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Jason Luo [Sun, 10 Mar 2019 00:36:25 +0000 (00:36 +0000)]
add liveness probe, fix readiness prob exec
liveness and readiness probes may run script with
arguments, ports and volumes are optional instead
of mandatory, test_tasks.py accept ports[] and
volumes[]
fix the issue of labels which are logner than 63
Issue-ID: DCAEGEN2-1126
Change-Id: Id2f893adc300bf508c0512a51b3665872d36f674
Signed-off-by: Jason Luo <cl4531@att.com>
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>
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>
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>
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>
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>
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
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
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
Vijay Venkatesh Kumar [Fri, 27 Jul 2018 21:27:05 +0000 (21:27 +0000)]
Merge "Add INFO.yaml file"
Jack Lucas [Fri, 27 Jul 2018 19:42:21 +0000 (19:42 +0000)]
Merge "Make docker node type consistent with k8s"
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>
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>
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>
Michael Hwang [Wed, 18 Jul 2018 20:32:08 +0000 (20:32 +0000)]
Merge "Add support for updating image."
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>
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>
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>
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>
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>
Lusheng Ji [Thu, 12 Apr 2018 21:42:15 +0000 (21:42 +0000)]
Merge "2.3.0 dcaepolicyplugin and data types"
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
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>
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>
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
Lusheng Ji [Tue, 27 Mar 2018 02:18:13 +0000 (02:18 +0000)]
Merge "2.2.0 dcaepolicyplugin and data types"
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
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>
Lusheng Ji [Fri, 23 Mar 2018 19:21:59 +0000 (19:21 +0000)]
Merge "Add DCAE Kubernetes plugin"
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
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>
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>
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>
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>
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