diff options
author | Eric Multanen <eric.w.multanen@intel.com> | 2020-03-20 12:34:18 -0700 |
---|---|---|
committer | Ritu Sood <Ritu.Sood@intel.com> | 2020-03-23 22:41:05 +0000 |
commit | a4f31feda88ba8c5ac9e1cfb1ee78ef536475647 (patch) | |
tree | d2df9b5ae7439d8777b6981a20436aa17545c820 /src/orchestrator/pkg/module/app_intent_test.go | |
parent | 529906640a6844dd371de37631e3948d328a390b (diff) |
Sync up Key json attribute names
Sync up names used for the Key structures and
tagMeta attribute names. This should ensure that
the mongo db routines will query properly.
Issue-ID: MULTICLOUD-1029
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Change-Id: I05da9de92a22cb73d60a7349c3cc5bd4cedd99a5
Diffstat (limited to 'src/orchestrator/pkg/module/app_intent_test.go')
-rw-r--r-- | src/orchestrator/pkg/module/app_intent_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/orchestrator/pkg/module/app_intent_test.go b/src/orchestrator/pkg/module/app_intent_test.go index fa2e4403..6cbdf15f 100644 --- a/src/orchestrator/pkg/module/app_intent_test.go +++ b/src/orchestrator/pkg/module/app_intent_test.go @@ -118,7 +118,7 @@ func TestCreateAppIntent(t *testing.T) { }, CompositeAppKey{CompositeAppName: "testCompositeApp", Version: "testCompositeAppVersion", Project: "testProject"}.String(): { - "compositeapp": []byte( + "compositeappmetadata": []byte( "{\"metadata\":{" + "\"name\":\"testCompositeApp\"," + "\"description\":\"description\"," + @@ -134,7 +134,7 @@ func TestCreateAppIntent(t *testing.T) { CompositeApp: "testCompositeApp", Version: "testCompositeAppVersion", }.String(): { - "genericplacementintent": []byte( + "genericplacementintentmetadata": []byte( "{\"metadata\":{\"Name\":\"testIntent\"," + "\"Description\":\"A sample intent for testing\"," + "\"UserData1\": \"userData1\"," + @@ -222,7 +222,7 @@ func TestGetAppIntent(t *testing.T) { Version: "testCompositeAppVersion", Intent: "testIntent", }.String(): { - "appintent": []byte( + "appintentmetadata": []byte( "{\"metadata\":{\"Name\":\"testAppIntent\"," + "\"Description\":\"testAppIntent\"," + "\"UserData1\": \"userData1\"," + |