Commit Graph

47 Commits

Author SHA1 Message Date
Qiu Jian
859177c85e fix: replace deprecated fields 2020-03-27 01:20:30 +08:00
Yousong Zhou
55eb57fd60 httputils: add SetClientProxyFunc(client, proxyFunc) 2020-03-22 19:36:43 +08:00
Qiu Jian
e9ce04699b fix: 1. adjust default response header timer to 30 seconds 2. set
default paging limit to 20
2020-02-18 08:52:23 +08:00
Qiu Jian
5be08d9cdd fix: comment out TestDialTimeout 2020-01-06 12:51:27 +08:00
Jian Qiu
325ff3af61 fix: httpclient timeout value cleanup, use notimeout client for oss (#4527)
* fix: httpclient timeout value cleanup, use notimeout client for oss

* Adaptive timeout client

* more test cases

* remove resolve timeout test case

* use adptive timeout only if timeout = 0
2020-01-04 20:51:21 +08:00
Yousong Zhou
f54ce48072 httputils: unset DisableCompression=true 2019-12-19 14:57:08 +08:00
Yousong Zhou
fb1725be32 httputils, aliyun: respects env proxy settings (#4084)
* vendor: update aliyun-oss-go-sdk to v2.0.4

To use ClientOption oss.HTTPClient

* aliyun: use a http client that respects env proxy settings

* httputils: use http.ProxyFromEnvironment by default
2019-12-10 21:15:09 +08:00
Qiu Jian
afbafb1e29 feature: metric data collector for aliyun&huawei 2019-11-27 03:14:14 +08:00
yunion-ci-robot
d2b65bb820 Merge pull request #3559 from swordqiu/hotfix/qj-error-process-standardize
fix: recode error handling to make conform with error handling standard
2019-11-12 13:28:19 +08:00
Qiu Jian
09f91f306a update vendor 2019-11-11 17:05:21 +08:00
Qiu Jian
53c0d3b29f fix: recode error handling to make conform with error handling standard 2019-11-11 10:55:01 +08:00
Qiu Jian
d27f718e3e fix: simplify object delete-fail-reason message 2019-11-08 22:45:19 +08:00
TangBin
732dcdd3be redis support 2 2019-10-31 19:51:02 +08:00
Yousong Zhou
8ba5986d83 goimports: first run 2019-10-28 06:22:17 +00:00
Qiu Jian
7e02839d67 add doc and copyright 2019-10-16 14:08:57 +08:00
Qiu Jian
25d0d478e7 redfish api support 2019-10-16 14:01:19 +08:00
Qiu Jian
3591afee2e feature: keystone support CAS SSO authentication 2019-09-07 18:44:35 +08:00
ioito
b040bb93bf fix: 不能无限制追加 application/json 2019-09-06 11:45:03 +08:00
ioito
1bc290d4a7 fix: httputils show error when resp body is not dict 2019-08-19 21:34:58 +08:00
Qiu Jian
4b2316208c feature: s3upload support multipart upload 2019-08-12 10:34:51 +08:00
Qiu Jian
1bbb5a0ff2 fix: 1. bucket purge fail 2. qcloud verify appId 2019-08-07 21:50:26 +08:00
Qiu Jian
93b8bac5bb s3gateway round 2 2019-07-24 21:28:41 +08:00
Qiu Jian
870813f04b feature: s3gateway 2019-07-24 21:28:37 +08:00
wanyaoqi
dc8dec6d04 set default http client timeout 2019-06-24 15:35:45 +08:00
Qiu Jian
1dbb998844 fix: 1. sync delete projects and related quota&usage data
2. sync delete user/group/domain for ldap driver
3. ModelManager add OrderByExtraFields
2019-06-22 17:05:27 +08:00
ioito
ff2cca8611 rebase master 2019-05-21 22:36:52 +08:00
Zexi
db0e303798 make 'go test ./...' pass 2019-04-15 19:54:46 +08:00
Qiu Jian
004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
邱剑
f7dd98d486 Merge pull request #1115 in YUNIONIO/onecloud from ~WANYAOQI/onecloud:bugfix/wyq/minor-20190223 to release/2.6.0
* commit '7425e13bc692f2f42d74be60e68a3b5d23649705':
  set http idle conn timeout
  add delete backup on switch
  add verify dirty servers
  minor fix
2019-02-25 17:12:06 +08:00
wanyaoqi
7425e13bc6 set http idle conn timeout 2019-02-25 16:40:28 +08:00
邱剑
f878b57fab Merge pull request #1110 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-bugfix-misc-20190223 to release/2.6.0
* commit '4c2e9996c13ce2e75095b4cfa423faaf2b2ff326':
  fix: schedule fail should post actionlog
  fix: action log always success
  fix: cannot undo recycle of expired prepaid vm
  fix: eip support prepaid charge type
2019-02-25 15:25:29 +08:00
wanyaoqi
c60cffbfa3 set http connect timeout 2019-02-24 12:35:19 +08:00
wanyaoqi
0474dad972 set default http client Timeout 2019-02-23 22:27:50 +08:00
Qiu Jian
66634a4dfa fix: eip support prepaid charge type 2019-02-23 18:45:04 +08:00
万垚奇
28c0452851 Merge pull request #984 in YUNIONIO/onecloud from ~WANYAOQI/onecloud:feature/host-baremetal-v2 to release/2.6.0
* commit '06446f778364e97cd2df66d8ed40f3c0c4d6574e': (135 commits)
  baremetal: ipmitool passowrd EscapeEchoString
  add hostmetrics
  add hostmetrics
  types struct 符合命名规范
  修正:centos 7宿主机格式化的ext4和xfs能够被centos 6虚拟机挂载
  add bsd raw socket code
  fix code
  fix code
  dep add gopsutil/mem
  fix dhcp server
  baremetal: quit signal handle
  baremetal: quit signal handle
  fix dhcp server
  gendoc
  remove jsonutils NewPair
  fix qmp montior cmd
  snapshot recycle, disk recycle, dhcp relay use raw socket
  fix code, test migrate snapshot, fix deploy
  add migrate presend arp
  add ethernet pkg
  ...
2019-01-28 20:04:24 +08:00
Qiu Jian
c6eaa4ad9b 改进:允许kvm虚拟机在不关机状态下调整磁盘 2019-01-26 02:17:59 +08:00
屈轩
fd9446a866 统一返回resp error 2019-01-22 13:44:49 +08:00
wanyaoqi
3d2183a7c9 temp 2019-01-10 11:34:54 +08:00
Qiu Jian
2e587bd6ab glance重构 update 1
Conflicts:
	Gopkg.lock
	pkg/appsrv/appsrv.go
	pkg/cloudcommon/options.go
	pkg/compute/models/hosts.go
	pkg/compute/models/quotas.go
	pkg/compute/service/service.go
	pkg/mcclient/mcclient.go
2018-12-26 22:52:13 +08:00
TangBin
085eebbe7e comment fix 2018-11-30 15:48:48 +08:00
TangBin
d9d66329dc sync skus table from cloudmeta service && aws bugfix 2018-11-29 20:18:20 +08:00
Yousong Zhou
9388748e45 pkg: httputils: ParseJSONResponse(): rewrite for clearness
Make it more clear that it's possible the function can return with
body==nil and err==nil
2018-11-08 15:36:24 +00:00
wanyaoqi
4f2b50a869 - local disk snapshot create and delete
- auto snapshot everyday
- rewrite cornman
- make dep and some fix
- fix conflict
2018-09-06 16:22:36 +08:00
TangBin
a85f3d7176 错误返回新增data字段 2018-08-23 16:31:23 +08:00
Zexi Li
e6788bb75e add doc.go for each package 2018-08-11 14:41:38 +08:00
Zexi Li
22411ffb53 path move: github.com/yunionio -> yunion.io/x 2018-08-11 14:28:18 +08:00
Zexi Li
b5275a0c29 - mv mcclient to pkg/mcclient
- vendor update
2018-08-01 14:13:23 +08:00