summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-03-12Update policy lib to 2.5.1honoluluvv770d4-5/+5
Fix for base64 encoding error from py2 to py3 Change-Id: I519b20e06a4f1f96dfb4788912f2cdc645f46d3f Signed-off-by: vv770d <vv770d@att.com> Issue-ID: DCAEGEN2-2671 Signed-off-by: vv770d <vv770d@att.com>
2021-03-08Update to python3 version of policy libJack Lucas4-5/+5
Issue-ID: DCAEGEN2-2662 Issue-ID: INT-1819 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: Ia18d600e8c669b0b656799195f9b6126f01bf14f
2021-02-26Add certificate custom resource creation when CertManager CMPv2 integration ↵Tomasz Wrobel8-11/+372
is enabled Issue-ID: DCAEGEN2-2440 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Icc2006af0520d592bfdf46d4f9fe419d7b5bc81e
2021-02-24Add a method for creating a secret with a generated password.Jan Malkiewicz1-0/+48
Issue-ID: DCAEGEN2-2440 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: Ib56b193d0ae8ae1822ec7dac04a22ca767e9ecab
2021-02-23Add parameters for cmpv2 issuer integration.Jan Malkiewicz6-6/+15
Issue-ID: DCAEGEN2-2440 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I6cfedfc60ecc00a2d7cafcb11e72d291fbfb3301
2021-02-18Fix bug with default mode format in ConfigMapVolumeSource and upgrade ↵Edyta Krukowska5-8/+9
k8splugn to 3.5.3 Issue-ID: DCAEGEN2-2546 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: If1eef2d7b6a8c7b3403d927895e20534f0137492
2021-02-16Refactor tests for k8s_pluginEdyta Krukowska2-146/+162
Issue-ID: DCAEGEN2-2546 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: If40acc2c2ee1ab40b5dd0e3338967635bf8736f7
2021-02-05Fix conditions for volumesEdyta Krukowska2-3/+3
Issue-ID: DCAEGEN2-2546 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I62bb6a9bc6ed2efefafa491331ad1c5c477a924b
2021-02-04Upgrade k8s to use configMapEdyta Krukowska8-175/+241
Issue-ID: DCAEGEN2-2546 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I41bacf0b9de239e21cc9900c408f10cea75f83c1
2021-01-13dcae INFO.yaml updatevv770d1-10/+6
Committer changes Change-Id: I3c67506c6606aa9e841cc5b8b06bd1baf0f9491b Issue-ID: DCAEGEN2-2583 Signed-off-by: vv770d <vv770d@att.com>
2020-12-10Add option to use services with ipv6JerzySzachniewicz9-42/+114
Issue-ID: DCAEGEN2-2388 Signed-off-by: JerzySzachniewicz <jerzy.szachniewicz@nokia.com> Change-Id: I34ca694b38e9c3121ec7a0bd95c92071392052d3 Signed-off-by: JerzySzachniewicz <jerzy.szachniewicz@nokia.com>
2020-12-08Support both py2 and py3 wagon pushvv770d1-4/+14
Change-Id: I96a43f4173204070c46ab42df5d7fa6a74ac3342 Signed-off-by: vv770d <vv770d@att.com> Issue-ID: DCAEGEN2-2525 Signed-off-by: vv770d <vv770d@att.com>
2020-12-07Build py3 wagons in-parallelvv770d8-7/+37
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>
2020-11-26Update kubernetes python plugin to version 12.0.1JerzySzachniewicz5-5/+8
Issue-ID: DCAEGEN2-2388 Signed-off-by: JerzySzachniewicz <jerzy.szachniewicz@nokia.com> Change-Id: Ie1e1964a1140b0be82d2e7ecd0aead232128642d Signed-off-by: JerzySzachniewicz <jerzy.szachniewicz@nokia.com>
2020-10-13Fix problem with helm buildPiotr Marcinkiewicz1-1/+1
- 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
2020-10-12Merge "[k8splugin] Update plugin to use OOM CertService"Vijay Venkatesh Kumar8-30/+34
2020-10-02R8 tag/path updatevv770d2-2/+2
Change-Id: Ia615bc0cb35741cd6c052c6c1ebe65bc1282aed5 Signed-off-by: vv770d <vv770d@att.com> Issue-ID: DCAEGEN2-2468
2020-09-30[k8splugin] Update plugin to use OOM CertServicePiotr Marcinkiewicz8-30/+34
- 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
2020-09-17Label k8s Deployments for healthcheckJack Lucas24-24/+28
Issue-ID: DCAEGEN2-2433 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: I12b5ca5d0c70d7c8d42c1ec1ce88841d2cf25cd7
2020-09-11dcae INFO.yaml updatevv770d1-11/+25
Project maturity Committer changes Change-Id: Iff70a751dbb60fcadfb600d1a8c8fb2cec08f862 Issue-ID: DCAEGEN2-2425 Signed-off-by: vv770d <vv770d@att.com>
2020-09-08Fix INFO.yaml filesJessica Wagantall1-0/+1
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
2020-09-03[k8splugin] Add support to move CMPv2 keystore in place of AAFCertManRemigiusz Janeczek7-7/+36
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
2020-08-28Add init container support for truststore merger.Jan Malkiewicz13-15/+165
Issue-ID: DCAEGEN2-2253 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I98f27834b36cad333728d41ec079b86a090e77f3
2020-08-12Add plugin testing blueprintsJack Lucas27-0/+651
Issue-ID: DCAEGEN2-2352 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: Icacef912fc24d2814d513bd2df2a6aaed117ebb5
2020-08-10Certificates from CMPv2 server - handle incorrect blueprintJoanna Jeremicz5-4/+28
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
2020-08-10Temporary fix for k8s build failRemigiusz Janeczek1-0/+1
Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Issue-ID: DCAEGEN2-2384 Change-Id: I024736f87542f8320c6c5290664d711f98c57f58
2020-07-29Adapt DCAE CFY K8S Plugin with K8S 1.17 version of APIsSylwia_Jakubek7-16/+31
Issue-ID: DCAEGEN2-2309 Signed-off-by: Sylwia Jakubek <sylwia.jakubek@nokia.com> Change-Id: I40db1bcaae65f6d30a71ac7831b6c316e82b5576
2020-07-27Merge "Add support to request certificates from CMPv2 server in DCAE ↵Vijay Venkatesh Kumar10-5/+256
cloudify blueprints"
2020-07-24Add support to request certificates from CMPv2 server in DCAE cloudify ↵Joanna Jeremicz10-5/+256
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
2020-07-23dcae committer updates in INFO.yamlvv770d1-17/+10
Change-Id: I0ccbecd014cac89edfcf3ba2b96a54d0f6225548 Issue-ID: DCAEGEN2-2365 Signed-off-by: vv770d <vv770d@att.com>
2020-06-09rename typefiles to be consistent with nexusHansen, Tony (th1395)8-0/+0
Change-Id: Iebfda41db8225db233d0ff0f41e197d2e4cc0688 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: DCAEGEN2-2207
2020-06-09fix for typefile fixHansen, Tony (th1395)1-6/+6
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>
2020-06-08fix for mvn-phase-lib.shHansen, Tony (th1395)8-5/+5
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>
2020-06-08fix more type version issuesHansen, Tony (th1395)3-11/+15
Change-Id: I321407dcf08cb37d8ce8270a3458c50ec489e08e Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: DCAEGEN2-2207
2020-06-06fix version numbers in type filesHansen, Tony (th1395)3-2/+16
Change-Id: I022e922737d4ee1ed96b34e025e690f45fe1400e Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: DCAEGEN2-2207
2020-06-05fix for mvn-phase-script for wagon buildingHansen, Tony (th1395)1-16/+4
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>
2020-06-02move plugins from from ccsdk to dcaegen2Hansen, Tony (th1395)127-242/+6979
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>
2020-04-29Remove ContainerizedPlatformContainer from typesJack Lucas13-310/+39
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>
2020-04-20R7 tag/path updateVijay Venkatesh Kumar2-2/+2
Change-Id: I987dce35a8bb6569764b8214a0cc9c596e416d7d Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-2201
2020-03-03Fix dcaepolicy reference6.0.0-ONAPfrankfurtJack Lucas1-4/+5
Issue-ID: DCAEGEN2-2097 Signed-off-by: Jack Lucas <jflucas@research.att.com> Change-Id: I7fe5676c2bf33ce3900216156a404572bb2622f0
2020-02-25Provide cacert in JKS format for clientsJack Lucas8-55/+40
Issue-ID: DCAEGEN2-1938 Signed-off-by: Jack Lucas <jflucas@research.att.com> Change-Id: Ic9a852bb058075b2b03aa6382ed33e23a4cca8b5
2020-02-07sonarcloud supportVijay Venkatesh Kumar5-10/+10
Change-Id: I7e66510da92d47da2abb67499c3e347822ddd1ea Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-2065
2020-01-17Address k8s plugin code smells reported by sonarMiroslav Los7-127/+140
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
2020-01-08Merge "R6 tag/path update"Tony Hansen1-1/+1
2020-01-08Fix incorrect committer ID in INFO.yamlJack Lucas1-1/+1
Issue-ID: DCAEGEN2-2012 Signed-off-by: Jack Lucas <jflucas@research.att.com> Change-Id: I788d83e894725e0564633db00d2c71c0e6ff5cda
2020-01-07Remove obsolete cdap and docker pluginsMiroslav Los47-5257/+0
Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech> Issue-ID: DCAEGEN2-1987 Change-Id: I7e7114458a2931b8f1baf915f1714ee8465b86e5
2020-01-06R6 tag/path updateVijay Venkatesh Kumar1-1/+1
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>
2019-12-18Fix tox configuration for coverageMiroslav Los9-27/+177
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
2019-12-12Customize python import for kubernetes pluginMiroslav Los6-3/+129
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
2019-12-09Update versions for all pluginsMiroslav Los22-25/+34
Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech> Issue-ID: DCAEGEN2-1986 Change-Id: Id4cc1cd9c6c5fb0c013f950b11b7799fa9f4fcfa