X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=cmd%2Fappmgr%2Ftypes.go;fp=cmd%2Fappmgr%2Ftypes.go;h=e32b62f1e4718304e3dd682a3a1ef64f5aed43e1;hb=059775ccd9e7c5482747729890800f7a7d507a94;hp=2e0f54780c79eb5447bc360c52882fc0ebb696d4;hpb=27ba444c3b55176ca4d9e6ed7a9a2ff99a4e9e5c;p=ric-plt%2Fappmgr.git diff --git a/cmd/appmgr/types.go b/cmd/appmgr/types.go index 2e0f547..e32b62f 100755 --- a/cmd/appmgr/types.go +++ b/cmd/appmgr/types.go @@ -73,6 +73,7 @@ type XappManager struct { type ConfigMapper interface { UploadConfig() (cfg []XAppConfig) + GetConfigMap(m XappDeploy, c *interface{}) (err error) CreateConfigMap(r XAppConfig) (errList []CMError, err error) UpdateConfigMap(r XAppConfig) (errList []CMError, err error) DeleteConfigMap(r XAppConfig) (cm interface{}, err error) @@ -134,8 +135,8 @@ type SubscriptionDispatcher struct { } type MessageTypes struct { - TxMessages []string `yaml:"txMessages"` - RxMessages []string `yaml:"rxMessages"` + TxMessages []string `json:"txMessages"` + RxMessages []string `json:"rxMessages"` } type EventType string