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/03/12 01:34:56 UTC

[GitHub] [servicecomb-kie] tianxiaoliang commented on a change in pull request #98: #79 add get interface for polling data

tianxiaoliang commented on a change in pull request #98: #79 add get interface for polling data
URL: https://github.com/apache/servicecomb-kie/pull/98#discussion_r391357785
 
 

 ##########
 File path: server/resource/v1/history_resource.go
 ##########
 @@ -72,6 +73,50 @@ func (r *HistoryResource) GetRevisions(context *restful.Context) {
 	}
 }
 
+//GetPollingData get the record of the get or list history
+func (r *HistoryResource) GetPollingData(context *restful.Context) {
+	query := &model.PollingDetail{}
+	sessionID := context.ReadQueryParameter("sessionId")
 
 Review comment:
   这些参数,都应当是常量

----------------------------------------------------------------
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