Commit Graph

410 Commits

Author SHA1 Message Date
GLYASAI
300bf4fcf2 [ADD] add debug messages 2018-12-18 22:44:45 +08:00
GLYASAI
7766748ae9 [FIX] fix bug: Lock wait timeout exceeded; try restarting transaction 2018-12-18 21:56:05 +08:00
GLYASAI
fb1e795b68 [FIX] fix bug: cannot use true (type bool) as type string in argument to g.TCPAvailable 2018-12-18 20:58:11 +08:00
GLYASAI
62b2e89230 [FIX] fix bug: unable to update IPPort 2018-12-18 20:55:12 +08:00
GLYASAI
d8123d9c50 [REV] add checkAllZero to TCPAvailable 2018-12-18 19:43:17 +08:00
GLYASAI
e261076b2a [ADD] add delete IPPort 2018-12-18 19:15:21 +08:00
GLYASAI
9fe5177f0b [ADD] add updating gateway_ip_port 2018-12-18 18:19:48 +08:00
GLYASAI
c96d6c5016 [DEL] remove port checking 2018-12-18 17:58:51 +08:00
GLYASAI
d8c5f0b087 [ADD] checks if the ip and port for TCP is available 2018-12-18 16:58:13 +08:00
GLYASAI
95b752cd83 [FIX] fix bug: MIN_LB_PORT and MAX_LB_PORT are confused 2018-12-18 13:54:43 +08:00
GLYASAI
6f38340943 [ADD] pring reqeust uri and body 2018-12-14 17:04:25 +08:00
GLYASAI
9b693dab93 [ADD] print request uri and body 2018-12-14 16:40:41 +08:00
GLYASAI
bfb2eaae19 [ADD]add action in task boty 2018-12-10 21:23:55 +08:00
barnett
58b5931c3f [ADD] Add keywords for Windows image 2018-12-09 14:40:28 +08:00
barnett
208c9c7480 [REV] node role only support master and compute 2018-12-08 18:23:25 +08:00
barnett
85b2b5ef28 [REV] add install node command 2018-12-08 17:44:02 +08:00
barnett
72ed700ca5 [FIX] show api failure message 2018-12-08 17:19:53 +08:00
barnett
8a781ae6e0 [REV] change grctl some command 2018-12-08 12:58:40 +08:00
barnett
0df440bfe6 Merge branch 'V5.0' of https://github.com/goodrain/rainbond into V5.0 2018-12-08 09:30:23 +08:00
barnett
e048fc5fc4 [ADD] add set up node cidr parameter and check os parameter in api 2018-12-08 09:30:04 +08:00
GLYASAI
1f9df41790 [REV] allow return port=0 2018-12-07 21:28:12 +08:00
GLYASAI
c985858b6f [REV] print request body 2018-12-07 20:07:57 +08:00
GLYASAI
d5fb978c97 [ADD] add a flag IfCreateExPort 2018-12-07 19:40:28 +08:00
barnett
4d84129c4c [ADD] add get deploy info api 2018-12-07 15:15:52 +08:00
barnett
cef330a542 [REV] update docker client vendor code 2018-12-07 13:53:43 +08:00
GLYASAI
e9307cffc2 [FIX] fix bug: wrong request, but return 200 2018-12-07 10:22:11 +08:00
barnett
7985b67820 [FIX] change service-check message topic to builder 2018-12-06 12:19:25 +08:00
barnett
62929a731b [FIX] change code check message topic to builder 2018-12-06 12:17:27 +08:00
barnett
b360110658 [FIX] fix grctl show and add node label bug 2018-12-05 22:21:19 +08:00
barnett
204a0a2681 [FIX] fix delete node bug 2018-12-05 20:18:20 +08:00
barnett
1e79ed63ef [REV] change grctl add command "node label" 2018-12-05 19:59:26 +08:00
GLYASAI
6176f58ef7 [FIX]fix bug: empty labels 2018-12-04 20:34:58 +08:00
barnett
a53d4adfb6 Merge branch 'master' of https://github.com/goodrain/rainbond 2018-12-04 18:09:07 +08:00
barnett
a8f214beca [REV] Unified message queuing code 2018-12-04 18:08:51 +08:00
GLYASAI
965dc98077 [REV] swap labe_value and label_key which value is node-selector 2018-12-04 17:55:45 +08:00
GLYASAI
e16ed6b711 [ADD] support weight in router 2018-12-04 17:11:15 +08:00
GLYASAI
f525df5a0a [ADD] add windows topic 2018-12-04 16:38:00 +08:00
GLYASAI
eef858d743 [ADD] add request validation 2018-12-04 16:21:53 +08:00
GLYASAI
5937396831 [DEL] delele node label 2018-12-04 16:03:12 +08:00
GLYASAI
1e3c3a2a3e [REV] replace node with LabelKeyNodeSelector and replace service with LabelKeyServiceType 2018-12-04 15:59:58 +08:00
GLYASAI
bf00ad8986 [REV] change LabelStruct and delete service label 2018-12-04 15:54:47 +08:00
GLYASAI
90ebdc4bc7 Merge remote-tracking branch 'origin/master' 2018-12-04 15:53:59 +08:00
barnett
0d8f01d0ef [FIX] fix action not specified bug 2018-12-04 15:21:33 +08:00
GLYASAI
dd3656b4f3 [REV] change label request from LabelStruct to LabelsStruct 2018-12-04 15:20:59 +08:00
barnett
3d58194df9 [FIX] fix deploy version node define bug 2018-12-04 15:15:13 +08:00
barnett
ebf9636823 [ADD] Add the processing flow after the application is built 2018-12-04 15:09:00 +08:00
GLYASAI
78616f9074 [ADD] add api for updating labels 2018-12-04 14:09:15 +08:00
barnett
2eb8263ed9 [REV]change mq client code 2018-12-04 13:43:15 +08:00
GLYASAI
daa8503108 [ADD] add api for deleting label 2018-12-04 13:35:27 +08:00
GLYASAI
59742714d8 [ADD] add api for label 2018-12-04 13:15:47 +08:00
GLYASAI
70ac3863e5 [REV] change label for linux node 2018-12-04 11:54:43 +08:00
GLYASAI
d8d43cfe5d [FIX] "==" -> "!=" 2018-12-03 19:16:45 +08:00
GLYASAI
3d97bf4094 [REV] change topic, from builder to worker 2018-12-02 21:24:04 +08:00
GLYASAI
f8f9e7981f [ADD] add some debug message 2018-12-02 21:07:49 +08:00
GLYASAI
5ef70112a9 [REV] change the default topic to builder 2018-11-30 18:00:36 +08:00
GLYASAI
0b33bd4c73 [REV] set the topic based on the type of operating system 2018-11-30 17:38:08 +08:00
GLYASAI
58a250664c [ADD] add AddOrUpdate for certificate 2018-11-29 18:12:26 +08:00
GLYASAI
696566fcb8 [ADD] add debug message 2018-11-29 12:54:25 +08:00
barnett
a7bd184866 Merge branch 'master' of https://github.com/goodrain/rainbond 2018-11-29 12:27:38 +08:00
barnett
acd6e68f16 [ADD] add clean replicaset method 2018-11-29 12:27:27 +08:00
GLYASAI
36d18c7c18 [FIX] fix bug: Certificate already exists 2018-11-29 12:10:10 +08:00
GLYASAI
70bd323217 [FIX] req.CertificateID == "" -> req.CertificateID != "" 2018-11-29 11:51:19 +08:00
GLYASAI
22ea0a6ae0 [FIX] filter the empty certificate id 2018-11-29 11:46:46 +08:00
barnett
227fa6c546 [FIX] fix app service deploy version failure bug 2018-11-28 19:32:39 +08:00
GLYASAI
c1d18f158a [REV] return serviceID when change gateway rule 2018-11-28 17:44:26 +08:00
GLYASAI
453fe2c26c [ADD] add minimum external port 2018-11-28 17:01:58 +08:00
GLYASAI
9bb1a8ff74 [ADD] send apply rules task when change outer port or inner port 2018-11-27 16:46:05 +08:00
barnett
5a6321ba3a [FIX] fix service name is empty bug 2018-11-27 14:50:30 +08:00
barnett
69750ab5d4 [FIX] fix service build mq body data failure bug 2018-11-27 10:42:10 +08:00
barnett
70997e1f1a [REV] rollback change to upgrade pipeline and add undeploy app status 2018-11-27 10:15:53 +08:00
GLYASAI
fdd2d0e785 [REV] delete LBMappingPort when deleting tcp rule 2018-11-26 18:13:13 +08:00
GLYASAI
41288c6315 [ADD] send apple rule task 2018-11-26 18:08:16 +08:00
GLYASAI
1167a37621 [ADD] add request struct for delete tcp rule 2018-11-26 11:39:01 +08:00
GLYASAI
428e4bda26 [ADD] add validation for updating tcp rule 2018-11-26 11:30:58 +08:00
GLYASAI
53dd99e95c [REV] change the request struct and request validation for add tcp rule 2018-11-26 09:50:15 +08:00
GLYASAI
e6e82ea9cf [REV] save lb port when adding tcp rule 2018-11-26 02:36:38 +08:00
GLYASAI
5b9e8db0ae [ADD] add api -- GetAvailablePort 2018-11-26 02:19:08 +08:00
GLYASAI
4836361308 [ADD] add validation for request of adding tcp rule 2018-11-25 22:19:40 +08:00
GLYASAI
7c9a40a662 [ADD] add AddHTTPRuleStruct for deleting http rule 2018-11-25 22:13:15 +08:00
GLYASAI
3a514c1606 [REV] add validation for request of updating http rule 2018-11-25 21:59:25 +08:00
GLYASAI
eb6f838b14 [FMT] rename, Http to HTTP, Tcp to TCP Json to JSON 2018-11-25 21:31:13 +08:00
GLYASAI
cb35637719 [REV] add validation for request of adding http rule 2018-11-25 21:21:34 +08:00
GLYASAI
5df9edc552 [FMT] rename, Http to HTTP, Tcp to TCP 2018-11-23 20:39:34 +08:00
barnett
2e0a3fde20 [REV] remove event log message db model 2018-11-22 16:22:44 +08:00
barnett
ec6cb037fd [REV] change all db name and remove kube client from api module 2018-11-22 14:33:29 +08:00
GLYASAI
6bb5216e10 [ADD] add uuid for TcpRuleStruct 2018-11-22 10:38:55 +08:00
GLYASAI
0a20990804 [ADD] add uuid for http rule 2018-11-22 09:34:00 +08:00
GLYASAI
d156289e98 [ADD] add api fo deleting tcp rule 2018-11-21 20:33:37 +08:00
GLYASAI
aa98f5fd55 [ADD] add api for updating tcp rule 2018-11-21 20:14:13 +08:00
GLYASAI
1e4e5b0f37 [ADD] add api for adding tcp rule 2018-11-21 19:51:40 +08:00
GLYASAI
f2c5b22c2d [REV] change router of "http-rule" 2018-11-21 18:16:41 +08:00
GLYASAI
8d7d6e359a [ADD] add api for deleting http rule 2018-11-21 17:57:48 +08:00
GLYASAI
61b01f2b95 [ADD] add api for updating http rule 2018-11-21 17:15:40 +08:00
GLYASAI
f254d4a61a [ADD] add api "addHttpRule" 2018-11-21 15:04:03 +08:00
barnett
48b38237c9 [REV] merge branch v3.7 2018-11-20 17:50:01 +08:00
barnett
606411aa5e [ADD] add upgrade and scaling contro and change app status get method 2018-11-19 18:56:28 +08:00
barnett
0ed9ead351 [REV] update query tenant resource api 2018-11-17 18:34:46 +08:00
barnett
9ba796ded8 [REV] remove resource limit router 2018-11-13 13:53:29 +08:00
barnett
98ab05c5e4 [REV] fix build api bug 2018-11-13 13:46:07 +08:00
barnett
23be445e63 [REV] change resource api 2018-11-13 13:41:20 +08:00
barnett
7fd028c6ec [REV] merge branch V3.7 to master 2018-11-13 10:47:14 +08:00
zhoujunhao
4d47fd612a [ADD] Add interface for team resource usage and application status statistics 2018-11-01 11:38:06 +08:00
barnett
c03bda3881 [REV] change client-go version to release-7.0 2018-11-01 08:42:51 +08:00
zhoujunhao
a227566159 [ADD] add version api 2018-10-30 16:46:18 +08:00
zhoujunhao
935cb338f8 [FIX] Fix bug with null pointer 2018-10-30 15:59:25 +08:00
zhoujunhao
1caaae7912 [ADD] Add team resource limits and usage 2018-10-29 18:14:10 +08:00
barnettZQG
ece9e8bc98 [DEV] create k8s service not insert service version to labels 2018-10-26 11:49:03 +08:00
barnettZQG
c221724bc6 Merge branch 'V3.7' 2018-10-24 10:20:33 +08:00
zhoujunhao
3f64309cd8 [ADD] Add team resource limits 2018-10-23 18:11:27 +08:00
zhoujunhao
ca491272aa [REV] Optimize api component initialization data flow 2018-10-19 15:33:50 +08:00
zhoujunhao
23bb3e0120 [FIX] Fix api component data initialization problem 2018-10-19 12:15:11 +08:00
barnettZQG
4b8aeb803c [FIX] fix code server type not pass bug in api 2018-10-18 12:38:38 +08:00
barnettZQG
60cabf2b51 [REV] remove O_DIRECT because invalid argument in gfs. 2018-10-15 21:03:39 +08:00
zhoujunhao
d59eb73709 [FIX] Fix the problem of initializing data duplication(fixed #138) 2018-10-15 14:22:59 +08:00
zhoujunhao
ce2e7eb382 Merge branch 'V3.7' of https://github.com/goodrain/rainbond
# Conflicts:
#	api/handler/service.go
2018-10-11 21:53:58 +08:00
zhoujunhao
68d6a78e6e [REV] Optimized upload io 2018-10-11 17:37:24 +08:00
zhoujunhao
adf65edea9 Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-10-11 17:10:25 +08:00
zhoujunhao
2ea5bae885 [REV] Kubernetes cluster resource cleanup improve(fixed #137) 2018-10-11 17:09:58 +08:00
barnettZQG
edc2aa141c [REV] support set import app local dir by env LOCAL_APP_CACHE_DIR 2018-10-11 17:06:41 +08:00
zhoujunhao
bb80239019 [FIX] Fix adding local storage error when creating app 2018-10-11 12:30:32 +08:00
zhoujunhao
3b421e11a9 [ADD] Add debug log output 2018-10-11 11:34:25 +08:00
zhoujunhao
bf188ed990 [ADD] Add debug log output 2018-10-11 11:25:19 +08:00
zhoujunhao
4efa1529a4 Merge branch 'V3.7' of https://github.com/goodrain/rainbond 2018-10-09 23:44:01 +08:00
zhoujunhao
441b9e5ddc [REV] Optimization start command modification does not take effect on the problem (fixed #133) 2018-10-09 19:00:17 +08:00
barnettZQG
1dc22cc25c [REV] merge branch 3.7 to master 2018-10-08 12:25:05 +08:00
zhoujunhao
b878052820 [DEL] Delete useless routes 2018-09-28 14:30:50 +08:00
zhoujunhao
789609e67f [REV] Optimize the upload file process 2018-09-28 13:09:25 +08:00
zhoujunhao
24b1a2b5cc [REV] When the import record is not found, the return status is uploading 2018-09-28 11:03:33 +08:00
zhoujunhao
fe9722a4ad [REV] Optimize interface return status 2018-09-28 10:34:35 +08:00
zhoujunhao
09d311bdf5 [ADD] add new upload method 2018-09-27 19:24:15 +08:00
zhoujunhao
e541820259 [REV] After the import status is obtained, if the query does not find the eventId, the return status is importing 2018-09-27 14:31:52 +08:00
zhoujunhao
a9ee8a3025 [REV] Specification error code return 2018-09-27 12:38:25 +08:00
barnettZQG
d6ab828fba [REV] remove useless debug log 2018-09-26 22:06:41 +08:00
barnettZQG
66d1a2d8aa [REV] upload api support Access-Control-Allow-Origin 2018-09-26 22:02:02 +08:00
zhoujunhao
8d85d6d6fe [ADD] Add a test upload plan 2018-09-26 16:12:28 +08:00
zhoujunhao
6a077c268b [ADD] add files upload 2018-09-26 14:15:38 +08:00
zhoujunhao
3b7472ef44 [REV] After importing the cleanup directory, change the status to cleaned 2018-09-25 21:55:51 +08:00
zhoujunhao
d75f2eb97d [REV] Create a directory when the directory does not exist 2018-09-25 19:14:08 +08:00
zhoujunhao
23dd96dc13 [REV] Successfully returned when the directory does not exist, the result is empty 2018-09-25 17:46:31 +08:00
zhoujunhao
756a0ed404 [REV] Change the tar file to a zip file 2018-09-25 17:38:47 +08:00
zhoujunhao
c34b443824 [REV] 2018-09-25 16:27:56 +08:00
zhoujunhao
24cc01b43c [ADD] Add upload error log output 2018-09-25 15:41:19 +08:00
zhoujunhao
7d97547ecb [ADD] add CORS 2018-09-25 15:23:36 +08:00
zhoujunhao
e17eca36f4 [ADD] Upload file support options method 2018-09-25 14:42:06 +08:00
barnettZQG
546f6025d4 [REV] change proxy url parse method for golang 1.11 2018-09-20 17:12:56 +08:00
barnettZQG
e20d509a25 Merge branch 'V3.7' 2018-09-19 18:52:10 +08:00
barnettZQG
823d63a736 [FIX] fix share image name failure bug. 2018-09-19 18:51:16 +08:00
zhoujunhao
8462f33ece [ADD] Add abandon import api 2018-09-12 11:42:10 +08:00
Zhang Jiajun
458cac28f9 [REV] Add rest api to websocket group for import application. 2018-09-11 10:48:55 +08:00
barnettZQG
eb0ea49e1d [REV] update import app code 2018-09-10 18:12:08 +08:00