Create appContext and save to etcd 79/107079/5
authorRajamohan Raj <rajamohan.raj@intel.com>
Thu, 30 Apr 2020 23:07:15 +0000 (23:07 +0000)
committerRajamohan Raj <rajamohan.raj@intel.com>
Tue, 12 May 2020 19:47:41 +0000 (19:47 +0000)
commit8fd7fd2ba9db1fb2dbe22c0cf89edb80454cff6d
tree867d42e86073a5b3ca3917096e8f99f8f791d448
parent8e0c00c4c59add2fa03a67081d74cd46934d034e
Create appContext and save to etcd

In this patch, following tasks are accomplished

1. Creation of appContext and storing the appcontexts for each app in
the compositeApp into etcd as part of the instantiation process
2. Added a util method to extract parameters from k8s manifest files.
3. Added a new testing script to auto create NCM artifacts through the NCM APIs
4. Modified the existing plugin_collection_v2.sh to better test the
orchestrator APIs.
5. Added logging to appcontext lib
6. Bug fix in the helm charts.

Issue-ID: MULTICLOUD-1064
Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com>
Change-Id: I1b0e4d1351ad3a083be529239748015ea5db2a41
kud/tests/plugin_collection_v2.sh
kud/tests/plugin_ncm_v2.sh [new file with mode: 0755]
kud/tests/vnfs/comp-app/collection/app2/helm/prometheus/templates/role.yaml
kud/tests/vnfs/comp-app/collection/app2/helm/prometheus/templates/rolebinding.yaml
src/orchestrator/pkg/appcontext/appcontext.go
src/orchestrator/pkg/gpic/gpic.go
src/orchestrator/pkg/module/instantiation.go
src/orchestrator/utils/utils.go