|
@@ -2,12 +2,11 @@ package client
|
|
|
|
|
|
import (
|
|
import (
|
|
"metawant.greentech.com.cn/gaoyagang/gt-common/datacenter_client"
|
|
"metawant.greentech.com.cn/gaoyagang/gt-common/datacenter_client"
|
|
- "metawant.greentech.com.cn/gaoyagang/gt-common/httplib"
|
|
|
|
"testing"
|
|
"testing"
|
|
)
|
|
)
|
|
|
|
|
|
func TestCreateDcApiClient(t *testing.T) {
|
|
func TestCreateDcApiClient(t *testing.T) {
|
|
- v1 := CreateDcApiClient("47.96.12.136:8788", "simulations", "e3fc084fda3d2a6628b9ce28abf21243", httplib.HTTPSettings{})
|
|
|
|
|
|
+ v1 := CreateDcApiClient("47.96.12.136:8788", "simulations", "e3fc084fda3d2a6628b9ce28abf21243")
|
|
|
|
|
|
resp, err := v1.ObtainRangeMaxMin(&datacenter_client.RangeMaxMinReq{
|
|
resp, err := v1.ObtainRangeMaxMin(&datacenter_client.RangeMaxMinReq{
|
|
ProjectId: "92",
|
|
ProjectId: "92",
|