summaryrefslogtreecommitdiffstats
path: root/src/k8splugin/csar
AgeCommit message (Collapse)AuthorFilesLines
2018-09-25Fix ensure Namespace functionVictor Morales1-4/+7
The I1e1eb40f1a18ba33c74069a117462c8df17767ac change standarizes the Interface for the plugins, this changes affects callers and it's necessary to update those references. This change fix that issue for Namespace Kubernetes resources. Change-Id: I04c957fdd526401523b72e332b6e24385a7ceefe Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-18Add UTs to pluginsVictor Morales1-15/+15
Deployment, service and namespace are plugins which offers CRUD operations to manage their resources. They haven't implemented Unit Tests which makes fragile to change/refactor the source code. This change adds their corresponding Unit Tests and defines a standard interface. Change-Id: I1e1eb40f1a18ba33c74069a117462c8df17767ac Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-17Merge "Separate tests"Victor Morales1-1/+4
2018-09-14Separate testsVictor Morales1-1/+4
The current tests can be separated in two categories: unit test and integration tests. The criteria depends on the scope or dependencies required for the test. This change provides a mechanism to test only one category. Change-Id: Ib7bac49cb0b2d14544fb9704345436a7ba71aead Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-13Change metadata.yaml structureVictor Morales1-88/+74
The metadata.yaml was using a list of resources instead of a set. As result, it's possible to add resources that are duplicated. In order to avoid this the ResourceTypePathMap field was changed. Change-Id: Ic454a9c42fa367b58580641b62b3d1c7ac33b1ca Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-08-24Seed code for k8s multicloud pluginShashank Kumar Shankar2-0/+337
This patch provides the initial seed code for the multicloud Kubernetes plugin and also provides the plugin feature to add new Kubernetes kinds. Change-Id: Ie5ee414656665070cde2834c4855ac2ebc179a9a Issue-ID: MULTICLOUD-301 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com> Signed-off-by: Victor Morales <victor.morales@intel.com>