You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/01/17 10:02:13 UTC

[GitHub] [servicecomb-kie] tianxiaoliang commented on a change in pull request #72: [issue #67] add interface to add alias

tianxiaoliang commented on a change in pull request #72: [issue #67] add interface to add alias
URL: https://github.com/apache/servicecomb-kie/pull/72#discussion_r367854477
 
 

 ##########
 File path: server/resource/v1/history_resource.go
 ##########
 @@ -62,6 +62,45 @@ func (r *HistoryResource) GetRevisions(context *restful.Context) {
 	}
 }
 
+//PutLabelAlias by label_id
+func (r *HistoryResource) PutLabelAlias(context *restful.Context) {
+	var err error
+	labelID := context.ReadPathParameter("key_id")
+	project := context.ReadPathParameter("project")
+	alias := new(map[string]string)
 
 Review comment:
   理解有误,alias 是一个simple string,顾名思义起个别名。我举个例子
   label中包含 component,env,那么客户可能起的别名就是“组件在特定环境中的配置”

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services