Commit Graph

359 Commits

Author SHA1 Message Date
barnett
0cc3bba57e [REV] add timout status in event 2018-12-28 15:32:20 +08:00
GLYASAI
47cf4fce33 [ADD] delete gateway resources when deleting service 2018-12-28 12:33:37 +08:00
GLYASAI
197a3688e1 [ADD] add UpdateModel for model.IPPool 2018-12-19 10:07:56 +08:00
GLYASAI
a8409eeb75 [ADD] add ip pool 2018-12-19 10:00:50 +08:00
GLYASAI
62b2e89230 [FIX] fix bug: unable to update IPPort 2018-12-18 20:55:12 +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
d8c5f0b087 [ADD] checks if the ip and port for TCP is available 2018-12-18 16:58:13 +08:00
GLYASAI
c5c8bee41e [ADD] add IPPort 2018-12-18 15:48:42 +08:00
GLYASAI
7ba3e8d94e [DEL] remove CHash 2018-12-17 18:32:46 +08:00
GLYASAI
d0432dd62c [ADD] add upstream-hash-by 2018-12-17 11:51:40 +08:00
barnett
0a47ab415c [FIX] fix windows app do not shceduler bug 2018-12-07 15:00:07 +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
barnett
07301343e6 [FIX] fix Unknown column 'host_path' in 'field list' bug 2018-12-04 16:55:58 +08:00
GLYASAI
9573c3ae65 Merge branch 'master' of https://github.com/goodrain/rainbond 2018-12-04 16:38:42 +08:00
GLYASAI
f525df5a0a [ADD] add windows topic 2018-12-04 16:38:00 +08:00
barnett
42c1cd24d4 [REV] change update deploy version code 2018-12-04 16:35:17 +08:00
barnett
f11269d882 [DEL] delete label LabelKeyNodeAntyAffinity 2018-12-04 16:10:52 +08:00
GLYASAI
8f190a8be7 Merge remote-tracking branch 'origin/master' 2018-12-04 16:02:34 +08:00
barnett
579236269d [REV] support lable selector and affinity 2018-12-04 15:58:08 +08:00
GLYASAI
bf00ad8986 [REV] change LabelStruct and delete service label 2018-12-04 15:54:47 +08:00
GLYASAI
dd3656b4f3 [REV] change label request from LabelStruct to LabelsStruct 2018-12-04 15:20:59 +08:00
barnett
ebf9636823 [ADD] Add the processing flow after the application is built 2018-12-04 15:09:00 +08:00
GLYASAI
daa8503108 [ADD] add api for deleting label 2018-12-04 13:35:27 +08:00
GLYASAI
70ac3863e5 [REV] change label for linux node 2018-12-04 11:54:43 +08:00
GLYASAI
d9c6421786 [REV] change RuleExtensionKey 2018-12-04 00:25:16 +08:00
GLYASAI
a7afea7a42 [FIX] fix bug: unsupported destination, should be slice or struct 2018-12-03 17:02:19 +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
d8e237d537 [REV] not check ErrRecordNotFound 2018-11-28 19:31:18 +08:00
GLYASAI
2ac0c93b9d [REV] change the restriction to add lb mapping port 2018-11-28 18:19:45 +08:00
GLYASAI
801dff55cb [REV] change error msg 2018-11-28 18:05:15 +08:00
GLYASAI
d510773d25 [REV] get tcp rule by sid, cport -> get tcp rule by uuid 2018-11-28 17:59:46 +08:00
barnett
42aeae9c66 [FIX] fix builder service id is empty bug 2018-11-27 10:55:01 +08:00
barnett
c78013fac1 [REV] update app undeploy status judge conditions 2018-11-27 10:34:58 +08:00
barnett
70997e1f1a [REV] rollback change to upgrade pipeline and add undeploy app status 2018-11-27 10:15:53 +08:00
GLYASAI
6c2fc4eb2b [FIX] bug: reflect.Value.Set using unaddressable value 2018-11-26 20:37:50 +08:00
GLYASAI
6d5c1eff9c [REV] enable empty ingress for outer service 2018-11-26 19:21:41 +08:00
GLYASAI
428e4bda26 [ADD] add validation for updating tcp rule 2018-11-26 11:30:58 +08:00
GLYASAI
5b9e8db0ae [ADD] add api -- GetAvailablePort 2018-11-26 02:19:08 +08:00
GLYASAI
5df9edc552 [FMT] rename, Http to HTTP, Tcp to TCP 2018-11-23 20:39:34 +08:00
GLYASAI
6c4c974da3 [REV] change the implementation of ApplyRules 2018-11-23 20:15:38 +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
b3ece8e0b0 [FIX] rename GetRuleExtensionByServiceID to GetRuleExtensionByRuleID 2018-11-21 18:35:04 +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
GLYASAI
e81480d739 [FIX] fix bug: failure create secret 2018-11-20 17:09:01 +08:00
GLYASAI
2d7eb86edc [FIX] fix bug unsupported destination should be slice or struct 2018-11-20 13:13:06 +08:00
barnett
c552e9b2fa [REV] merge code 2018-11-19 18:57:11 +08:00
barnett
606411aa5e [ADD] add upgrade and scaling contro and change app status get method 2018-11-19 18:56:28 +08:00
GLYASAI
91c15f10d8 [FMT] correct lable to label and rename streamRule to tcpRule 2018-11-19 15:31:13 +08:00
GLYASAI
5da2542eae [REV] update gateway model 2018-11-19 15:17:44 +08:00
GLYASAI
01219e929d [Add] add unit test for AppServiceBuild_ApplyHttpRule 2018-11-19 14:09:14 +08:00
GLYASAI
b98e089c83 [ADD] add unit test for ApplyStreamRule 2018-11-18 19:31:12 +08:00
GLYASAI
993efefb0d [ADD] add TenantServiceRegist which conv inner and outer service regist 2018-11-18 11:53:11 +08:00
barnett
f178a0e213 [ADD] add new app runtime conversion code 2018-11-14 23:08:30 +08:00
barnett
23be445e63 [REV] change resource api 2018-11-13 13:41:20 +08:00
barnett
a484aa3f5f [REV] update app exception information storage 2018-11-13 12:07:01 +08:00
barnett
7fd028c6ec [REV] merge branch V3.7 to master 2018-11-13 10:47:14 +08:00
barnettZQG
7461dae0f8 [FIX] fix delete service failure where save backup data. 2018-10-26 14:53:12 +08:00
zhoujunhao
8ea2e85734 [DEL] Delete the sql statement to add a field 2018-10-25 11:52:32 +08:00
barnettZQG
d3e67d7bfd Merge branch 'V3.7' 2018-10-24 18:08:28 +08:00
zhoujunhao
a52d197a42 [ADD] Add field sql statement 2018-10-24 10:34:54 +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
d59eb73709 [FIX] Fix the problem of initializing data duplication(fixed #138) 2018-10-15 14:22:59 +08:00
zhoujunhao
01e44f7594 Merge branch 'V3.7' of https://github.com/goodrain/rainbond 2018-10-13 01:12:18 +08:00
zhoujunhao
7631beb6fc [REV] Optimize the cleanup of cluster resources when stopping the application 2018-10-12 16:50:20 +08:00
zhoujunhao
c925af872b Merge branch 'V3.7' of https://github.com/goodrain/rainbond 2018-10-10 14:57:29 +08:00
zhoujunhao
27ef0a5255 [FIX] Fix build version to keep at least 5 2018-10-10 14:44:13 +08:00
zhoujunhao
e866103b3b [FIX] fix bugs when merging 2018-10-08 18:13:46 +08:00
barnettZQG
1dc22cc25c [REV] merge branch 3.7 to master 2018-10-08 12:25:05 +08:00
zhoujunhao
3b7472ef44 [REV] After importing the cleanup directory, change the status to cleaned 2018-09-25 21:55:51 +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
d44dc20163 [FIX] fix bug 2018-09-11 17:10:27 +08:00
barnettZQG
17a9475abf [REV] update node code for nil bug 2018-09-06 01:13:21 +08:00
barnettZQG
57fe44460b [REV] merge branch V3.7 to master 2018-09-02 23:17:56 +08:00
barnettZQG
2ab41d4bb7 [REV] Support to set internal repostory info, builder、runner image name 2018-09-02 22:44:38 +08:00
barnettZQG
d5fea8e8fb [ADD] add registry client code and add backup app version file check. 2018-09-01 19:32:35 +08:00
zhoujunhao
2d3ec0c390 [ADD] add apply exception event query 2018-08-31 15:24:25 +08:00
zhoujunhao
3ba203f0e7 [FIX] fix bug 2018-08-30 18:49:52 +08:00
zhoujunhao
2cfc4478f5 [REV] 2018-08-30 18:43:13 +08:00
zhoujunhao
d850ee8e56 [ADD] Add exception event handling in grctl 2018-08-30 17:49:54 +08:00
barnettZQG
8661fd2e75 [REV] merge branch v3.7 2018-08-15 10:15:31 +08:00
zhoujunhao
dd80e1f83b [FIX] Fix bug with empty creation time 2018-08-10 10:49:50 +08:00
zhoujunhao
52bbcb2e0e [ADD] add mode field 2018-08-10 10:38:00 +08:00
zhoujunhao
995674b7e2 [ADD] add prompt log output 2018-08-10 10:21:25 +08:00
zhoujunhao
dace6adc33 [REV] Optimize the ability to view application exception events in grctl 2018-08-08 12:18:48 +08:00
zhoujunhao
18c09fc0d9 [FIX] Fix bug with too small field length 2018-08-08 12:01:04 +08:00
zhoujunhao
7501d0812a [ADD] add debug print 2018-08-08 11:28:17 +08:00
zhoujunhao
9100046962 [FIX] fix bug 2018-08-07 19:56:25 +08:00
zhoujunhao
7eef6dff00 [FIX] fix bug 2018-08-07 19:17:50 +08:00
zhoujunhao
ecfec9efc9 [FMT] Delete excess output 2018-08-07 19:12:44 +08:00
zhoujunhao
c5aed6ad1c [FIX] fix bug 2018-08-07 17:23:05 +08:00
zhoujunhao
6d4010ea64 [ADD] Add a new event notification interface 2018-08-07 16:34:31 +08:00
barnettZQG
5c53e2b2dc [ADD] add some get deploy version api 2018-08-03 15:17:10 +08:00
zhoujunhao
5fa38fe1d2 [FIX] fix bug 2018-07-10 14:45:43 +08:00
zhoujunhao
25ce31a109 [ADD] add Clean up pods resource 2018-07-04 15:49:32 +08:00
barnettZQG
121f9eee43 [REV] merge branch v3.6 2018-07-03 19:01:25 +08:00
zhoujunhao
a3ac641b06 Merge branch 'master-dev' of https://github.com/goodrain/rainbond 2018-07-03 10:54:22 +08:00
barnettZQG
f0513ce745 Merge branch 'master' into V3.6 2018-06-26 13:33:29 +08:00
barnettZQG
c691a5400d [REV] update table tenant_plugin_build_version; 2018-06-26 09:30:18 +08:00
barnettZQG
e1bfac2912 [FIX] fix plugin image name overlength bug 2018-06-25 19:32:00 +08:00
zhoujunhao
fcbe6373f4 [ADD] add application quantity and status statistics 2018-06-22 12:44:20 +08:00
Zhang Jiajun
9b8cb50c07 [RVE] Add parmission for export and import application api. 2018-06-21 10:42:58 +08:00
zhoujunhao
ae72965c59 [REV] optimize the query 2018-06-14 17:21:02 +08:00
zhoujunhao
9dfc7288ce [FIX] fix bug 2018-06-14 17:07:54 +08:00
zhoujunhao
8d6c38d246 [ADD] add removed application resource cleanup 2018-06-14 14:32:36 +08:00
zhoujunhao
865397a083 [ADD] add test code 2018-06-13 14:52:45 +08:00
zhoujunhao
ba5d2bec3a [ADD] add test code 2018-06-13 11:16:52 +08:00
zhoujunhao
64cc3e3369 [ADD] add test code 2018-06-12 16:48:22 +08:00
zhoujunhao
19975ce62a [ADD] add test code 2018-06-12 15:02:55 +08:00
zhoujunhao
30121d23e7 [ADD] add test code 2018-06-12 12:03:33 +08:00
zhoujunhao
0bf4e980d7 [ADD] add test code 2018-06-12 11:32:54 +08:00
barnettZQG
1a7c85761c [ADD] merge 3.6-dev code 2018-06-11 10:00:55 +08:00
barnettZQG
3b064e9d37 [FIX] fix build version restore bug. 2018-06-09 18:55:22 +08:00
zhoujunhao
ab92750774 [ADD] add clean data 2018-06-08 22:43:37 +08:00
zhoujunhao
17d13ae889 [ADD] add test code 2018-06-08 17:25:08 +08:00
zhoujunhao
ab1852e0ec [ADD] add test code 2018-06-08 16:52:19 +08:00
zhoujunhao
eccd07f9eb [ADD] add test code 2018-06-08 16:49:49 +08:00
zhoujunhao
f8db60f81a [ADD] add test code 2018-06-08 16:24:04 +08:00
zhoujunhao
de4858a933 [ADD] add test code 2018-06-08 16:10:28 +08:00
zhoujunhao
f348c60a8e test 2018-06-08 14:44:27 +08:00
zhoujunhao
164231215d Merge branch 'V3.6' of https://github.com/goodrain/rainbond into 3.6-dev 2018-06-08 14:20:37 +08:00
zhoujunhao
e2a50d71ae test 2018-06-08 13:53:33 +08:00
zhoujunhao
80724436b7 test 2018-06-08 13:51:56 +08:00
zhoujunhao
a730a191ee test 2018-06-08 11:56:41 +08:00
zhoujunhao
1cfe19749a test 2018-06-08 11:51:50 +08:00
zhoujunhao
25228e44a0 test 2018-06-08 10:25:22 +08:00
zhoujunhao
70e91998de test 2018-06-07 17:52:04 +08:00
zhoujunhao
ea2f40037c test 2018-06-07 17:42:10 +08:00
zhoujunhao
10fc454d5b test 2018-06-07 17:26:08 +08:00
zhoujunhao
7b8fc36699 test 2018-06-07 17:18:25 +08:00
zhoujunhao
61276f9fd5 test 2018-06-07 16:57:21 +08:00
zhoujunhao
a8484f6365 test 2018-06-07 16:43:10 +08:00
zhoujunhao
c51dc41029 test 2018-06-07 14:20:16 +08:00
barnettZQG
0a85243857 [ADD] add delete backup api 2018-06-07 13:18:53 +08:00
zhoujunhao
6426c0b6f5 test 2018-06-07 13:05:10 +08:00
barnettZQG
8fdd679ad6 [ADD] add change tanent lb port api 2018-06-07 13:02:24 +08:00
zhoujunhao
b3ae345c03 test 2018-06-07 12:51:47 +08:00
zhoujunhao
ae1c0f4e46 test 2018-06-07 12:42:59 +08:00
zhoujunhao
3f35627d7d test 2018-06-07 12:36:58 +08:00
zhoujunhao
a7bcd43bb0 test 2018-06-07 12:25:07 +08:00
zhoujunhao
6e09d335b1 test 2018-06-07 12:17:21 +08:00
zhoujunhao
75be5cf53f test 2018-06-07 11:54:31 +08:00
zhoujunhao
eeb411cef0 test 2018-06-07 11:43:40 +08:00
zhoujunhao
e4bc662e68 test 2018-06-07 11:33:20 +08:00
zhoujunhao
02ad6b45aa [ADD] add test 2018-06-07 11:02:47 +08:00
zhoujunhao
f25d299078 [ADD] add clean data test 2018-06-07 10:15:29 +08:00
barnettZQG
60f782dcac [FIX] fix same plugin version not save deploy version bug 2018-05-30 14:41:27 +08:00
barnettZQG
6d810cd810 [ADD] add plugin share code (#74) 2018-05-29 12:51:10 +08:00
barnettZQG
dd7df0ed3c [REV] handle docker push&pull&build json message (#73) 2018-05-28 18:19:30 +08:00
barnett
1f70fe5f30 [ADD] add clear impl when restore failure 2018-05-28 12:18:29 +08:00
barnett
370ba2d745 [FIX] fix push backup file to sftp error 2018-05-24 11:25:04 +08:00
barnett
8c9618ca79 Merge branch 'V3.6' of https://github.com/goodrain/rainbond into V3.6 2018-05-24 10:37:21 +08:00
barnett
c9747ca48e [REV] update query count 2018-05-24 10:09:07 +08:00
Zhang Jiajun
38898ebe38 [REV] Unzip to new tmp directory for import app. 2018-05-24 09:51:09 +08:00
barnett
d8dd72f3bc [REV] query tenants resouce only query used tenants 2018-05-24 09:41:47 +08:00
barnett
171886c714 [REV] update quert tenants resource api 2018-05-23 19:55:49 +08:00
barnett
c12448e44d [REV] change tenants resource ranking query api 2018-05-23 18:58:31 +08:00
barnett
19687cd99f [REV] merge code 2018-05-23 16:55:23 +08:00
barnett
31ec69bf3b [ADD] add restore backup api 2018-05-23 16:43:16 +08:00
Zhang Jiajun
840893add9 [REV] Optimize for import multiple applications. 2018-05-23 15:53:12 +08:00
Zhang Jiajun
9fd61b7c60 [REV] Support status for each app for import multiple apps. 2018-05-23 14:26:27 +08:00
barnett
74b7448e64 [REV] remove backup cache file when backup success 2018-05-23 12:38:23 +08:00
barnett
d15da40683 [REV] update some code for backup app feature 2018-05-23 12:17:34 +08:00
barnett
5e80a0c71e [REV] merge code 2018-05-23 11:13:19 +08:00
barnett
8cd2dc9697 [ADD] add group app backup feature (#72) 2018-05-23 11:08:44 +08:00
Zhang Jiajun
7314785511 [FMT] format code for export app interface in db project. 2018-05-21 22:15:46 +08:00
Zhang Jiajun
ea3bca6906 [REV] Modify db api return type for get app status by id. 2018-05-21 18:37:35 +08:00
barnett
31a743cbc1 [REV] merge branch master 2018-05-18 11:02:43 +08:00
Zhang Jiajun
bb4fa6eedd [REV] Add new struct for import application, and modify database fields type to text for export/import application. 2018-05-17 16:10:44 +08:00
Zhang Jiajun
8b7489c447 [ADD] Increase import application feature rainbond-app format. 2018-05-17 11:27:04 +08:00
Zhang Jiajun
b6625b4a83 [REV] Change update condition to event id for app status record in database. 2018-05-15 12:48:57 +08:00
Zhang Jiajun
021691b751 [REV] Change update condition to event id for app status record in database. 2018-05-15 12:43:39 +08:00
Zhang Jiajun
e246dea179 [REV] Fix the judgment condition of file is exists. 2018-05-15 12:26:17 +08:00
Zhang Jiajun
b1409e44b8 [REV] Add rest api to download file for export app in api project. 2018-05-15 11:03:03 +08:00
Zhang Jiajun
2483b97d6a [ADD] Add feature to query status for export app. 2018-05-14 14:30:32 +08:00
Zhang Jiajun
ab6b71b8fa [REV] Support export rainbond-app and docker-compose format app. 2018-05-11 23:49:02 +08:00
barnett
8f1ef14695 [REV] merge code 2018-05-11 17:20:37 +08:00
barnett
305c5eb92f [REV] update plugin delete api 2018-05-11 15:54:55 +08:00
barnett
29236802c2 [ADD] add abnormal information storage and query function. 2018-05-11 13:44:15 +08:00
Zhang Jiajun
f456009ca7 [REV] Remove fields group_name in db for export app. 2018-05-11 11:30:25 +08:00
Zhang Jiajun
bda62f34c5 [REV] Support create table automatic if not exist for export app component. 2018-05-10 18:54:32 +08:00
Zhang Jiajun
b857175b05 [ADD] Add new feature to export app with docker-compose format. 2018-05-10 17:45:23 +08:00
barnett
f23060048e [FIX] merge V3.6 branch 2018-05-10 16:33:58 +08:00
barnett
3c4417bb1e [ADD] add get pod by multiple service id 2018-05-09 15:51:04 +08:00
barnett
6d533dce54 Merge branch 'V3.6' of https://github.com/goodrain/rainbond into V3.6 2018-05-04 11:52:27 +08:00
barnett
9f00e556b3 [REV] update pg driver code 2018-05-04 11:49:52 +08:00
Zhang Jiajun
ef34a90424 [REV] Support rolling update for restart application rc type. 2018-04-28 11:34:03 +08:00