Adds unit tests and K8s artifacts 53/1753/21
authorenyinna1234 <enyinna.ochulor@intel.com>
Wed, 9 Oct 2019 17:18:22 +0000 (10:18 -0700)
committerKuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Wed, 30 Oct 2019 23:39:56 +0000 (23:39 +0000)
commit149466f046765ee3851a155be749ec0e27f35b30
treefc52c7408d1ba7ac9a6ac046a2fcb2b2b4a2653a
parent2c1416234944fe2f4437e27d1b6be6a66850a604
Adds unit tests and K8s artifacts

This adds unit tests, a Kubernetes Service, and
Deployment to create objects that enable the RESTful API as
a Kubenetes service, and adds end to end testing.

Change-Id: I0439ff51931ac0abe7c5bff8b7d75e8ced19a06f
Signed-off-by: Enyinna Ochulor <enyinna.ochulor@intel.com>
Signed-off-by: Chen, Tingjie <tingjie.chen@intel.com>
19 files changed:
Makefile
cmd/bpa-restapi-agent/Makefile
cmd/bpa-restapi-agent/bpa_api_cluster_role.yml [new file with mode: 0644]
cmd/bpa-restapi-agent/bpa_api_cluster_role_binding.yml [new file with mode: 0644]
cmd/bpa-restapi-agent/bpa_api_install.sh [new file with mode: 0755]
cmd/bpa-restapi-agent/create-service-account.yml [new file with mode: 0644]
cmd/bpa-restapi-agent/e2e_test.sh [new file with mode: 0755]
cmd/bpa-restapi-agent/go.mod
cmd/bpa-restapi-agent/go.sum
cmd/bpa-restapi-agent/install_go.sh [new file with mode: 0755]
cmd/bpa-restapi-agent/internal/app/image.go
cmd/bpa-restapi-agent/internal/app/image_test.go [new file with mode: 0644]
cmd/bpa-restapi-agent/sample.json [deleted file]
cmd/bpa-restapi-agent/service.yml [new file with mode: 0644]
cmd/bpa-restapi-agent/vendor.tar.gz [new file with mode: 0644]
deploy/kud-plugin-addons/minio/install.sh
deploy/kud-plugin-addons/minio/local-pv.yaml
deploy/kud-plugin-addons/minio/local-pvc.yaml
deploy/kud-plugin-addons/minio/local-sc.yaml