Commit Graph

505 Commits

Author SHA1 Message Date
GLYASAI
9d9e56a8c6 [FIX] make proxy_set_header work 2019-03-14 16:00:45 +08:00
GLYASAI
2359e78818 [FIX] fix merge error 2019-03-14 11:42:10 +08:00
黄润豪
be0a0da07d
Merge branch 'V5.1' into V5.1 2019-03-14 11:36:12 +08:00
GLYASAI
d0415a0042 [REV] remove configmap for third-party service 2019-03-14 11:12:17 +08:00
barnett
89f108692f [FIX] fix gateway bug 2019-03-13 20:06:11 +08:00
GLYASAI
487ca0c7b3 Merge remote-tracking branch 'upstream/V5.1' into V5.1 2019-03-13 14:08:50 +08:00
GLYASAI
0f886b3d35 [ADD] add or update api for gateway rule configuration 2019-03-13 13:58:30 +08:00
barnett
c8e7a8b6c1 [REV] change env scope validate 2019-03-12 21:06:39 +08:00
huangrh
bd57b2f829 [FIX] wrong dao for adding rule config 2019-03-12 10:37:45 +08:00
huangrh
bc1c32b792 Merge branch 'cfg' 2019-03-12 09:59:57 +08:00
huangrh
fc244b8fd1 [REV] change prober 2019-03-12 09:59:09 +08:00
huangrh
209f9bab35 [ADD] curd api for gateway rule config 2019-03-11 01:28:37 +08:00
huangrh
9c9c6f6b1d [FIX] merge confilct error 2019-03-09 22:17:52 +08:00
黄润豪
5ce8b28c73
Merge branch 'master' into master 2019-03-09 22:08:45 +08:00
barnett
b6632e79d3 [ADD] code check add runtime version check 2019-03-09 14:50:38 +08:00
barnett
f5fd1145f1 [ADD] add batch operation test 2019-03-09 13:51:36 +08:00
barnett
d5f8df7e05 [ADD] change batch operation api 2019-03-09 11:50:31 +08:00
barnett
b6eed75a65 [ADD] add batch operation api 2019-03-08 19:22:22 +08:00
huangrh
7af1d64519 [REV] change the update of third-party service Endpoints from synchronous to asynchronous 2019-03-08 14:46:11 +08:00
huangrh
e9078cd7c1 [ADD] string type ServiceKind 2019-03-06 15:27:28 +08:00
huangrh
5c6a2cda3c [ADD] api for updating config-file 2019-03-06 14:06:42 +08:00
barnett
ea54454080 [REV] merge branch V5.0 to master 2019-03-06 09:33:33 +08:00
huangrh
956a40561b [ADD] healthy check for third-party services 2019-03-05 22:22:02 +08:00
huangrh
9c26ff30bd [FIX] rollback failure 2019-03-05 12:05:55 +08:00
黄润豪
0e034ff12f
Merge branch 'master' into master 2019-03-04 14:32:33 +08:00
huangrh
b5b5c684b4 [REV] use selector to get endpoints, rather than service name
[ADD] create third-party service when starting worker

[ADD] curd for endpoints in etcd
2019-03-04 14:22:24 +08:00
barnett
bb84163cbf [FIX] fix version failure resulting in upgrade error bug 2019-03-01 22:06:34 +08:00
barnett
9173e1e520 [ADD] add plugin config backup and restore 2019-03-01 15:13:14 +08:00
barnett
fd64eca5ff [FIX] fix configfile cannot be read or written bug 2019-03-01 14:27:03 +08:00
huangrh
ecb61da9e1 [ADD] get third-party endpoints status 2019-03-01 13:27:27 +08:00
barnett
22e733a408 [ADD] add init-probe component 2019-02-28 14:52:39 +08:00
huangrh
76a6d486a1 [ADD] create corev1.Endpoints for third-party services 2019-02-28 11:50:54 +08:00
huangrh
3cdfa29143 [FIX] "/v2/port" has no authentication in public cloud 2019-02-27 15:47:25 +08:00
huangrh
a859e0dd29 [ADD] failure action for service probe 2019-02-27 10:11:20 +08:00
huangrh
da71fcc5de [FIX] gorm can't create zero values 2019-02-27 09:30:39 +08:00
huangrh
b1db6090db [REV] change discovery configuration request struct 2019-02-27 09:30:25 +08:00
huangrh
912babfa6a [ADD] api for listing third-party service endpoints 2019-02-26 14:16:22 +08:00
huangrh
38111f0e1f [REV] make parameter ip optional 2019-02-25 10:17:07 +08:00
huangrh
74ff40f7cb [ADD] static endpoints or discovery configuration when create service 2019-02-25 01:07:37 +08:00
huangrh
078b687f85 [ADD] api for fetching or updating third-party service probe 2019-02-24 21:18:06 +08:00
huangrh
371e41a8a9 [ADD] endpoints api: add, update and delete 2019-02-24 05:13:54 +08:00
huangrh
e4c40cef12 [ADD] service check for third-party service 2019-02-24 02:14:27 +08:00
barnett
23702ef013 [ADD] change plugin config persistence from etcd to mysql 2019-02-15 17:20:08 +08:00
barnett
fa53f1b403 [REV] change some code style 2019-02-15 10:06:25 +08:00
GLYASAI
c2d5f52ce3 [REV] add deploy version for build-list 2019-02-13 16:30:17 +08:00
barnett
56e0ca76db [REV] modify some file names 2019-02-12 17:19:42 +08:00
barnett
1283f445f3 [FIX] fix api build bug 2019-02-12 17:10:18 +08:00
barnett
239a997621 [FIX] fix build bug 2019-02-12 17:01:37 +08:00
barnett
510f901d4b [DEL] remove deprecated code 2019-02-12 16:57:18 +08:00
barnett
2616796037 [REV] Optimize code quality via go vet 2019-02-12 16:41:14 +08:00
barnett
065913a55c [REV] Optimize code quality via gofmt 2019-02-12 15:40:42 +08:00
barnett
f4da2f1462 [ADD] add manage node condition api and command 2019-01-29 14:54:39 +08:00
barnett
f75512f990 [FIX] fix cpu unit error bug 2019-01-28 17:13:38 +08:00
barnett
8cfbf302c3 [FIX] fix memory unit error bug 2019-01-28 16:25:02 +08:00
barnett
75438e6c05 [REV] Optimize tenant resource statistics and resource constraints 2019-01-28 16:00:51 +08:00
barnett
92fe7bb80f [FIX] Fix the bug of adding nodes --install does not take effect. 2019-01-28 10:23:53 +08:00
GLYASAI
f39917d585 [FIX] wrong ip address 2019-01-26 01:26:11 +08:00
GLYASAI
64794c109d [REV] get disk info from prometheus 2019-01-25 23:34:12 +08:00
GLYASAI
4af443d482 [FIX] wrong used memory 2019-01-25 22:05:38 +08:00
GLYASAI
dc081e9662 [FIX] only return success version info 2019-01-25 14:37:30 +08:00
GLYASAI
96ca1a8cd4 [REV] modify the logic of PriChargeSverify 2019-01-24 17:20:01 +08:00
GLYASAI
895df0d40e [REV] allocatable memory should subtract allocated memory 2019-01-24 14:25:42 +08:00
GLYASAI
33f55ccd13 [REV] verifies if the resources requested in the private cloud are legal 2019-01-24 11:28:17 +08:00
GLYASAI
eeffbc7ba9 [Rev] get allocatable memory if there is no limit memory 2019-01-24 10:31:19 +08:00
GLYASAI
555ea151ea [FIX] error building service with config file 2019-01-17 15:10:28 +08:00
GLYASAI
4dcd8d2f65 [FIX] return rainbond version 2019-01-16 21:09:35 +08:00
GLYASAI
2a4f7c3816 [FIX] wrong number of running apps 2019-01-11 11:55:04 +08:00
barnett
46b3cdf720 [REV] merge new feature to 5.0 2019-01-10 18:58:22 +08:00
GLYASAI
029fd7d563 [DEL] remove debug message 2019-01-09 15:05:32 +08:00
GLYASAI
51c9f8a48a [ADD] add memory_limit 2019-01-09 14:55:26 +08:00
GLYASAI
54c95f1833 [FIX] Int64 lost data when converting to int32 2019-01-09 14:42:00 +08:00
GLYASAI
93dfd6ada0 [ADD] add debug messages 2019-01-09 13:53:10 +08:00
GLYASAI
36eed68b55 [ADD] validate volumte type 2019-01-08 15:26:52 +08:00
GLYASAI
ca7047db0f [ADD] add volume type for AddVolumeDependencyStruct 2019-01-08 14:43:32 +08:00
GLYASAI
f3f2421fa3 [REV] delete config file uuid 2019-01-07 18:26:18 +08:00
GLYASAI
a43d521b1a [REV] replace AddVolumeStruct with TenantServiceVolume 2019-01-07 16:10:40 +08:00
GLYASAI
b38aab8511 [REV] change config files from list to one 2019-01-07 13:51:35 +08:00
GLYASAI
cccede3b66 [FIX] fix compile error 2019-01-07 11:45:06 +08:00
GLYASAI
431a4c96c3 [ADD] add table tenant_service_config_file 2019-01-06 22:13:19 +08:00
GLYASAI
0fda37eb1c [REV] increase the value of volume_type 2019-01-04 16:46:57 +08:00
GLYASAI
5bef1f7876 [REV] convert bytes to string 2019-01-04 16:37:12 +08:00
GLYASAI
a24467b234 [ADD] print request messages 2019-01-04 16:28:42 +08:00
GLYASAI
b1cd012bca [ADD] add a volume of type ConfigMap 2019-01-04 14:26:29 +08:00
barnettZQG
1b319583de
Merge pull request #173 from GLYASAI/V5.0
[REV] ignore error which says "no event log file"
2018-12-28 23:30:15 +08:00
GLYASAI
03e4cc6e65 [REV] ignore error which says "no event log file" 2018-12-28 23:16:45 +08:00
barnettZQG
f3a36ea029
Merge pull request #170 from GLYASAI/V5.0
do some change and fix some bugs
2018-12-28 16:44:15 +08:00
barnett
d3e6e5f728 [FIX] fix update node status bug 2018-12-28 16:37:38 +08:00
barnett
0cc3bba57e [REV] add timout status in event 2018-12-28 15:32:20 +08:00
barnett
c3f9b1b81b [REV] change node install to local 2018-12-28 13:40:02 +08:00
GLYASAI
47cf4fce33 [ADD] delete gateway resources when deleting service 2018-12-28 12:33:37 +08:00
barnett
fea6c5babb [REV] fix log show failure bug 2018-12-25 19:24:48 +08:00
GLYASAI
3353094ec6 [REV] comment some code about IPPool 2018-12-19 14:00:33 +08:00
GLYASAI
ba298e3a39 [DEL] remove IPPort temporarily 2018-12-19 13:53:11 +08:00
GLYASAI
5ae1489948 [ADD] add rest api for add ippool 2018-12-19 10:35:04 +08:00
GLYASAI
a8409eeb75 [ADD] add ip pool 2018-12-19 10:00:50 +08:00
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