aboutsummaryrefslogtreecommitdiffstats
path: root/src/orchestrator/pkg/module/app_intent.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/orchestrator/pkg/module/app_intent.go')
-rw-r--r--src/orchestrator/pkg/module/app_intent.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/orchestrator/pkg/module/app_intent.go b/src/orchestrator/pkg/module/app_intent.go
index 70c80dac..a3f4b832 100644
--- a/src/orchestrator/pkg/module/app_intent.go
+++ b/src/orchestrator/pkg/module/app_intent.go
@@ -74,11 +74,11 @@ type AppIntentManager interface {
// AppIntentKey is used as primary key
type AppIntentKey struct {
- Name string `json:"name"`
+ Name string `json:"appintent"`
Project string `json:"project"`
CompositeApp string `json:"compositeapp"`
- Version string `json:"version"`
- Intent string `json:"intent-name"`
+ Version string `json:"compositeappversion"`
+ Intent string `json:"genericplacement"`
}
// We will use json marshalling to convert to string to
@@ -101,7 +101,7 @@ type AppIntentClient struct {
func NewAppIntentClient() *AppIntentClient {
return &AppIntentClient{
storeName: "orchestrator",
- tagMetaData: "appintent",
+ tagMetaData: "appintentmetadata",
}
}