Bring in all the other helper code 24/76324/13
authorKiran Kamineni <kiran.k.kamineni@intel.com>
Thu, 24 Jan 2019 23:40:12 +0000 (15:40 -0800)
committerKiran Kamineni <kiran.k.kamineni@intel.com>
Wed, 20 Mar 2019 02:12:04 +0000 (19:12 -0700)
commit17275e9b6899ba611458f8ca9aaa868c70d7d0cf
tree25169d02625832fb2eb7e5a9ff08c43737dd4ef6
parente50daed19bbaec979a91f2677289f1c2e6e0d0d9
Bring in all the other helper code

Bring in all the helper functions added for end to end
integration. This allows the api level upload of helm charts,
profiles and also instantiation of said helm charts.
P3: Plugin index is based on lowercase kind name
    whereas the map contains the correct case for kind.
    Convert to lower case before loading the plugin.
Changes after rebasing on the new folder structure.
Rebasing over the new folder structure
P8: Add unit tests for Resolve function
    Fix the integration tests for createvnf
    I had to add a huge blob of base64 encoded data
    based on the profile and sample helm chart to test
    the flow.
P12: Update the integration test with the rb_profile_id parameter

Issue-ID: MULTICLOUD-291
Change-Id: If04c41cb185074989ab6c96557958140c43e456d
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
src/k8splugin/Makefile
src/k8splugin/api/handler.go
src/k8splugin/api/handler_test.go
src/k8splugin/api/model.go
src/k8splugin/internal/app/vnfhelper.go
src/k8splugin/internal/app/vnfhelper_test.go
src/k8splugin/internal/db/testing.go
src/k8splugin/internal/rb/profile.go
src/k8splugin/internal/rb/profile_test.go
vagrant/tests/plugin.sh