diff options
author | Ritu Sood <Ritu.Sood@intel.com> | 2020-09-11 00:04:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-11 00:04:32 +0000 |
commit | b9e5d308a5e357d987758005e928f825d773ccca (patch) | |
tree | e8eb4213cce343ea8b2eeec1d8c7eb98f4608eb5 /src/clm/api/clusterhandler_test.go | |
parent | 172bebb96ce3ef47f5514c5f7a9a2b70d583f31c (diff) | |
parent | b2c9f4c61d00bf18e7a253c410479f8124640106 (diff) |
Merge "Adding validations for all JSON data across modules"
Diffstat (limited to 'src/clm/api/clusterhandler_test.go')
-rw-r--r-- | src/clm/api/clusterhandler_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/clm/api/clusterhandler_test.go b/src/clm/api/clusterhandler_test.go index 076718df..a866835b 100644 --- a/src/clm/api/clusterhandler_test.go +++ b/src/clm/api/clusterhandler_test.go @@ -186,6 +186,12 @@ func (m *mockClusterManager) DeleteClusterKvPairs(provider, clusterName, kvpair return m.Err } +func init() { + cpJSONFile = "../json-schemas/metadata.json" + ckvJSONFile = "../json-schemas/cluster-kv.json" + clJSONFile = "../json-schemas/cluster-label.json" +} + func TestClusterProviderCreateHandler(t *testing.T) { testCases := []struct { label string |