Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-ui
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
qinchao
7 years ago
Commit
6e1ca3ad7cde600c3bb08258568dd1cc65598d6b
1 parent
11a352e8
githookdocker
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
6 deletions
monitor-ui-ctrl/src/main/java/com/ui/ctrl/OuterIntfCtrl.java
monitor-ui-ctrl/src/main/java/com/ui/ctrl/OuterIntfCtrl.java
View file @
6e1ca3a
...
...
@@ -3,13 +3,10 @@ package com.ui.ctrl;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.google.common.collect.Sets
;
import
com.ui.contants.HttpUriContants
;
import
com.ui.http.HttpRestClient
;
import
com.ui.model.BaseResponse
;
import
com.ui.model.MonitAlarmInfo
;
import
com.ui.model.WebHooksReleaseBO
;
import
com.ui.model.req.ZkDetailReq
;
import
com.ui.model.req.ZkTreeReq
;
import
org.apache.commons.lang.StringUtils
;
import
org.apache.commons.lang.math.NumberUtils
;
import
org.slf4j.Logger
;
...
...
@@ -19,9 +16,7 @@ import org.springframework.stereotype.Controller;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.springframework.web.servlet.ModelAndView
;
import
java.io.IOException
;
import
java.util.*
;
/**
...
...
@@ -97,7 +92,7 @@ public class OuterIntfCtrl {
public
BaseResponse
gitWebHook
(
@RequestBody
com
.
alibaba
.
fastjson
.
JSONObject
jsonObject
)
throws
Exception
{
log
.
info
(
"gitWebHookAppCollectLog get the webhook from git begin --{}"
,
jsonObject
.
toJSONString
());
WebHooksReleaseBO
bo
=
releaseWebHooksNoCommits
(
jsonObject
);
return
new
BaseResponse
(
200
,
"succeed"
,
"本次的jenkinsJOB_ID = "
+
nextNumber
);
return
new
BaseResponse
(
200
,
"succeed"
,
"本次的jenkinsJOB_ID = "
);
}
private
WebHooksReleaseBO
releaseWebHooksNoCommits
(
JSONObject
jsonObject
)
{
...
...
Please
register
or
login
to post a comment