Add v2 cluster registration api to k8s orchestrator 41/102441/4
authorEric Multanen <eric.w.multanen@intel.com>
Fri, 21 Feb 2020 06:41:34 +0000 (22:41 -0800)
committerEric Multanen <eric.w.multanen@intel.com>
Fri, 28 Feb 2020 17:50:10 +0000 (09:50 -0800)
commit0fd6ec7e4956b03858d3d4351dcda37662b63d1d
tree9eb7923790d1667e7b1d83b7e8a26a31be9e01e6
parent9ee11aa7d0bf1cef6d741efcb3a99981ef47208b
Add v2 cluster registration api to k8s orchestrator

Adds orchestrator API support for creating
cluster-providers, registering clusters and their
kubeconfig, adding labels to cluster and key value
paisr to clusters.
See: https://wiki.onap.org/display/DW/V2+API+Specification#V2APISpecification-ClusterRegistrationAPI

Issue-ID: MULTICLOUD-922
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Change-Id: I775a308e9ffb19acf65cb0e5752705998bc5b659
src/orchestrator/api/api.go
src/orchestrator/api/clusterhandler.go [new file with mode: 0644]
src/orchestrator/api/clusterhandler_test.go [new file with mode: 0644]
src/orchestrator/api/controllerhandler_test.go
src/orchestrator/api/projecthandler_test.go
src/orchestrator/cmd/main.go
src/orchestrator/pkg/module/cluster.go [new file with mode: 0644]
src/orchestrator/pkg/module/module.go