From ae218a185c3ba5b17e21ae3695073f08ccf25abe Mon Sep 17 00:00:00 2001 From: seokho-son Date: Wed, 8 Dec 2021 16:49:24 +0900 Subject: [PATCH 1/5] Add change log for v0.5.0 --- CHANGELOG.md | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 019756946..f045959fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,46 @@ +# v0.5.0-Affogato (2021.12.16.) + +### Tested with +- CB-Spider (https://github.com/cloud-barista/cb-spider/releases/tag/v0.5.0) +- CB-Dragonfly (https://github.com/cloud-barista/cb-dragonfly/releases/tag/v0.5.0) + +### Note +- Fix error regarding `OpenSQL()` (Issue: #645, PR: #646) +- Update grpc protobuf to sync with rest #668 +- Change method to input parameters for script #677 +- Refine source code (variable name in camelCase consistently) +- Add list MCIS simple option #731 +- Add MCIS status count feature and update MCIS response field #732 +- Apply colors to important messages in script #798 +- Add interactive scripts to run containers to support CB-Tumblebug #764 +- Fix some REST APIs methods from get to post #742 +- Verify cb-tb and cb-sp are ready #741 +- Enhance capability of mcis recommendation #833 +- Add omitted error handling #828 +- English README.md #825 +- Influencing cb-spider resource objects with namespace in https://github.com/cloud-barista/cb-tumblebug/pull/909 +- Add delete all default resource feature #942 (deleteAll output becomes list) +- Remove control action parameters from get mcis #928 +- Add feature for connection with geolocation #936 +- Enable dynamic MCIS provisioning #879 +- Added and tested IBM(VPC) CSP and Tencent CSP [#969](https://github.com/cloud-barista/cb-tumblebug/discussions/969)) +- Add option=terminate for delete mcis #959 +- Expedite speed of scripts +- Add SystemLabel field to MCIS info for CB-DF CB-MCKS CB-webtool integration #977 +- Update assets/cloudspec.csv #975 + +### API +- Swagger UI URL: https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/v0.5.0/src/api/rest/docs/swagger.yaml +- Trace for API changes: diff between two API doc files like + - git diff https://github.com/cloud-barista/cb-tumblebug/blob/v0.4.0/src/api/rest/docs/swagger.yaml https://github.com/cloud-barista/cb-tumblebug/blob/v0.5.0/src/api/rest/docs/swagger.yaml + +### What's Changed + +**Full Changelog**: https://github.com/cloud-barista/cb-tumblebug/compare/v0.4.0...v0.5.0 + +*** + + # v0.4.0-CafeMocha (2021.06.30.) ### API Change From 08e70f8fbb459ae3bd861c920cf6e93129de8070 Mon Sep 17 00:00:00 2001 From: seokho-son Date: Wed, 8 Dec 2021 16:50:03 +0900 Subject: [PATCH 2/5] Update docs for v0.5.0 --- README.md | 20 ++++++++-------- docs/designUML/seq-create-mcis.puml | 2 +- docs/images/cb-tb-sequence-creating-mcis.svg | 24 ++++++++++---------- i18n/README-EN.md | 10 +++----- 4 files changed, 26 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 7a924e16c..24bb83a4c 100644 --- a/README.md +++ b/README.md @@ -111,14 +111,16 @@ Check out [CONTRIBUTING](https://github.com/cloud-barista/cb-tumblebug/blob/main - CB-Tumblebug 컨테이너 실행 ```bash - docker run -p 1323:1323 -p 50252:50252 \ - -v ${HOME}/go/src/github.com/cloud-barista/cb-tumblebug/meta_db:/app/meta_db \ - --name cb-tumblebug \ - cloudbaristaorg/cb-tumblebug:0.4.xx + ./scripts/runTumblebug.sh ``` + or + ```bash - scripts/runTumblebug.sh + docker run -p 1323:1323 -p 50252:50252 \ + -v ${HOME}/go/src/github.com/cloud-barista/cb-tumblebug/meta_db:/app/meta_db \ + --name cb-tumblebug \ + cloudbaristaorg/cb-tumblebug:x.x.x ``` ### (3) cb-operator 기반 Cloud-Barista 통합 실행 @@ -718,17 +720,15 @@ Dozing for 1 : 1 (Back to work) ### CB-Tumblebug REST API 사용 -1. CB-Spider API를 통해 클라우드 인프라 연동 정보 등록 - - https://cloud-barista.github.io/rest-api/v0.4.0/spider/ccim/ -2. CB-Tumblebug 멀티 클라우드 네임스페이스 관리 API를 통해서 Namespace 생성 +1. CB-Tumblebug 멀티 클라우드 네임스페이스 관리 API를 통해서 Namespace 생성 - [Namespace 생성](https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BNamespace%5D%20Namespace%20management/post_ns) -3. CB-Tumblebug 멀티 클라우드 인프라 자원(MCIR) 관리 API를 통해서 VM 생성을 위한 자원 (MCIR) 생성 +2. CB-Tumblebug 멀티 클라우드 인프라 자원(MCIR) 관리 API를 통해서 VM 생성을 위한 자원 (MCIR) 생성 - [VM spec object 생성](https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BMCIR%5D%20Spec%20management/post_ns__nsId__resources_spec) - [VM image object 생성](https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BMCIR%5D%20Image%20management/post_ns__nsId__resources_image) - [Virtual network object 생성](https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BMCIR%5D%20Network%20management/post_ns__nsId__resources_vNet) - [Security group object 생성](https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BMCIR%5D%20Security%20group%20management/post_ns__nsId__resources_securityGroup) - [VM 접속 ssh key object 생성](https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BMCIR%5D%20Access%20key%20management/post_ns__nsId__resources_sshKey) -4. CB-Tumblebug 멀티 클라우드 인프라 서비스(MCIS) 관리 API를 통해서 MCIS 생성, 조회, 제어, 원격명령수행, 종료 및 삭제 +3. CB-Tumblebug 멀티 클라우드 인프라 서비스(MCIS) 관리 API를 통해서 MCIS 생성, 조회, 제어, 원격명령수행, 종료 및 삭제 - [MCIS 생성](https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BMCIS%5D%20Provisioning%20management/post_ns__nsId__mcis) - [MCIS 원격 커맨드](https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BMCIS%5D%20Remote%20command/post_ns__nsId__cmd_mcis__mcisId_) - [MCIS 조회 및 제어](https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BMCIS%5D%20Provisioning%20management/get_ns__nsId__mcis__mcisId_) diff --git a/docs/designUML/seq-create-mcis.puml b/docs/designUML/seq-create-mcis.puml index 86ac36c34..abeeaa9d3 100644 --- a/docs/designUML/seq-create-mcis.puml +++ b/docs/designUML/seq-create-mcis.puml @@ -1,6 +1,6 @@ @startuml -header **CB-Tumblebug** (v0.4.7) +header **CB-Tumblebug** (v0.5.0) title Basic sequence for creating MCIS hide footbox diff --git a/docs/images/cb-tb-sequence-creating-mcis.svg b/docs/images/cb-tb-sequence-creating-mcis.svg index a8b29c612..4677aef7d 100644 --- a/docs/images/cb-tb-sequence-creating-mcis.svg +++ b/docs/images/cb-tb-sequence-creating-mcis.svg @@ -1,7 +1,7 @@ -Basic sequence for creating MCISUserCB-TumblebugCB-Tumblebug DBCB-SpiderCB-DraonflyCSPCreate NameSpace[01]POST /ns/:ns[02]Create {NameSpace Obj}[03]Get {NameSpace Obj}[04]Return {NameSpace ID}Create Resource:vNet[05]POST /ns/:ns/resources/vNet {vNet request}[06]Create {vNet}[07]Create {vNet}[08]Return {vNet}[09]Create {vNet Obj}[10]Get {vNet Obj}[11]Return {vNet ID}Create Resource:SecurityGroup[12]POST /ns/:ns/resources/securityGroup {SG request}[13]Create {SecurityGroup}[14]Create {SecurityGroup}[15]Return {SecurityGroup}[16]Create {SecurityGroup Obj}[17]Get {SecurityGroup Obj}[18]Return {SecurityGroup Obj ID}Create Resource:SSHKey[19]POST /ns/:ns/resources/sshKey {SSHKey request}[20]Register {SSHKey}[21]Register {SSHKey}[22]Return {SSHKey}[23]Create {SSHKey Obj}[24]Get {SSHKey Obj}[25]Return {SSHKey Obj ID}Create Resource:Image[26]POST /ns/:ns/resources/image {Image request}[27]Lookup {Native Image Info}[28]Return {Native Image Info}[29]Return {Native Image Info}[30]Create {Image Obj}[31]Get {Image Obj}[32]Return {Image Obj ID}Create Resource:Spec[33]POST /ns/:ns/resources/spec {Spec request}[34]Lookup {Native Spec Info}[35]Return {Native Spec Info}[36]Return {Native Spec Info}[37]Create {Spec Obj}[38]Get {Spec Obj}[39]Return {Spec Obj ID}Create MCIS (Multi-Cloud Infra)[40]POST /ns/:ns/mcis {MCIS request}[41]Validate {MCIS request}[42]Return {Error} if not valid request[43]Create {MCIS Obj}loop[for all VM requests: Create each VM][44]Create {VM}[45]Create {VM}[46]Create {VM}VM[47]Return {VM}[48]Update {MCIS Obj with VM Info}loop[for all VMs: Check VM is Running]loop[within TimeOut][49]Get {VM Status}[50]Get {VM Status}[51]Return {VM Status}[52]Check {VM Status:Running}[53]Update {MCIS Obj with VM Info}loop[for all VMs: Install CB-Dragonfly Monitoring Agent][54]Check Agent is requestedIf notrequested,skip agentinstallation[55]Check CB-Dragonlfy is Alive[56]Update {MCIS with message} if not aliveIf Dragonlfyis not alive,skip agentinstallation[57]Check SSH is available in VM[58]Request Install {VM Access Info}[59]Install {Agent binary}[60]Return {Agent Installation result}[61]Return {Agent Installation result}[62]Update {MCIS Obj with Agent Info}[63]Get {MCIS Obj}loop[for all VMs: Update VM Status][64]Get {VM Status}[65]Get {VM Status}[66]Return {VM Status}[67]Update {MCIS Obj}[68]Return {MCIS Obj}CB-Tumblebug(v0.4.7) \ No newline at end of file diff --git a/i18n/README-EN.md b/i18n/README-EN.md index 02235e262..4170dc02f 100644 --- a/i18n/README-EN.md +++ b/i18n/README-EN.md @@ -105,7 +105,7 @@ Check out [CONTRIBUTING](https://github.com/cloud-barista/cb-tumblebug/blob/main # docker run -p 1323:1323 -p 50252:50252 \ -v ${HOME}/go/src/github.com/cloud-barista/cb-tumblebug/meta_db:/app/meta_db \ --name cb-tumblebug \ - cloudbaristaorg/cb-tumblebug:0.4.xx + cloudbaristaorg/cb-tumblebug:x.x.x ``` ### (3) cb-operator based Cloud-Barista Combined Execution @@ -635,17 +635,13 @@ Dozing for 1 : 1 (Back to work) ### Use CB-Tumblebug REST API -1. Register cloud infrastructure inter working information through CB-Spider API. - - https://cloud-barista.github.io/rest-api/v0.4.0/spider/ccim/ -2. Create Namespace through CB-Tumblebug Multi-Cloud Namespace Management API. - - [Create Namespace](https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BNamespace%5D%20Namespace%20management/post_ns) -3. Create required VM resources(MCIR) Through CB-Tumblebug Multi Cloud Interface Resource(MCIR) management API +1. Create required VM resources(MCIR) Through CB-Tumblebug Multi Cloud Interface Resource(MCIR) management API - [Create VM spec object](https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BMCIR%5D%20Spec%20management/post_ns__nsId__resources_spec) - [Create VM image object](https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BMCIR%5D%20Image%20management/post_ns__nsId__resources_image) - [Create Virtual network object](https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BMCIR%5D%20Network%20management/post_ns__nsId__resources_vNet) - [Create Security group object](https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BMCIR%5D%20Security%20group%20management/post_ns__nsId__resources_securityGroup) - [Create VM ssh key object](https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BMCIR%5D%20Access%20key%20management/post_ns__nsId__resources_sshKey) -4. Through CB-Tumblebug Multi Cloud Infra Service(MCIS) Management API, create, check, control, send command, termination, and deletion of MCIS. +2. Through CB-Tumblebug Multi Cloud Infra Service(MCIS) Management API, create, check, control, send command, termination, and deletion of MCIS. - [Create MCIS](https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BMCIS%5D%20Provisioning%20management/post_ns__nsId__mcis) - [Send Commands to MCIS](https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BMCIS%5D%20Remote%20command/post_ns__nsId__cmd_mcis__mcisId_) - [Check and Control MCIS](https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BMCIS%5D%20Provisioning%20management/get_ns__nsId__mcis__mcisId_) From e1443e5721f5a1b5a3b524cf681ee92b2dc74c45 Mon Sep 17 00:00:00 2001 From: seokho-son Date: Wed, 8 Dec 2021 16:50:43 +0900 Subject: [PATCH 3/5] Update 2nd party fw version for script --- scripts/runMapUI.sh | 2 +- scripts/runSpider.sh | 2 +- scripts/setcbsp.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/runMapUI.sh b/scripts/runMapUI.sh index c77f19440..0b3230154 100755 --- a/scripts/runMapUI.sh +++ b/scripts/runMapUI.sh @@ -1,7 +1,7 @@ #!/bin/bash CONTAINER_NAME_READ="CB-MapUI" -CONTAINER_VERSION="0.4.6" +CONTAINER_VERSION="0.4.7" CONTAINER_PORT="-p 1324:1324" CONTAINER_DATA_PATH="" diff --git a/scripts/runSpider.sh b/scripts/runSpider.sh index 1ce29fb00..514398d2b 100755 --- a/scripts/runSpider.sh +++ b/scripts/runSpider.sh @@ -1,7 +1,7 @@ #!/bin/bash CONTAINER_NAME_READ="CB-Spider" -CONTAINER_VERSION="0.4.18" +CONTAINER_VERSION="0.4.19" CONTAINER_PORT="-p 1024:1024 -p 2048:2048" CONTAINER_DATA_PATH="/root/go/src/github.com/cloud-barista/cb-spider/meta_db" diff --git a/scripts/setcbsp.sh b/scripts/setcbsp.sh index f26b94876..82f687f69 100755 --- a/scripts/setcbsp.sh +++ b/scripts/setcbsp.sh @@ -6,7 +6,7 @@ sudo apt-key fingerprint 0EBFCD88 sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" sudo apt-get update > /dev/null sudo apt-get -y install docker-ce docker-ce-cli containerd.io > /dev/null -sudo docker run --rm -p 1024:1024 -p 2048:2048 -v /root/go/src/github.com/cloud-barista/cb-spider/meta_db:/root/go/src/github.com/cloud-barista/cb-spider/meta_db --name cb-spider cloudbaristaorg/cb-spider:0.4.18 +sudo docker run --rm -p 1024:1024 -p 2048:2048 -v /root/go/src/github.com/cloud-barista/cb-spider/meta_db:/root/go/src/github.com/cloud-barista/cb-spider/meta_db --name cb-spider cloudbaristaorg/cb-spider:0.4.19 # Print a message (IP address) str=$(curl https://api.ipify.org) From 2826065a03f740878f541c86d96ddd9e0edcfa07 Mon Sep 17 00:00:00 2001 From: seokho-son Date: Wed, 8 Dec 2021 16:51:06 +0900 Subject: [PATCH 4/5] API staging for v0.5.0 --- src/api/rest/docs/v0.4.15.yaml | 4672 ----------------- .../rest/docs/{v0.4.14.yaml => v0.5.0.yaml} | 191 +- 2 files changed, 64 insertions(+), 4799 deletions(-) delete mode 100644 src/api/rest/docs/v0.4.15.yaml rename src/api/rest/docs/{v0.4.14.yaml => v0.5.0.yaml} (97%) diff --git a/src/api/rest/docs/v0.4.15.yaml b/src/api/rest/docs/v0.4.15.yaml deleted file mode 100644 index e36b5997b..000000000 --- a/src/api/rest/docs/v0.4.15.yaml +++ /dev/null @@ -1,4672 +0,0 @@ -basePath: /tumblebug -definitions: - common.ConfigInfo: - properties: - id: - example: SPIDER_REST_URL - type: string - name: - example: SPIDER_REST_URL - type: string - value: - example: http://localhost:1024/spider - type: string - type: object - common.ConfigReq: - properties: - name: - example: SPIDER_REST_URL - type: string - value: - example: http://localhost:1024/spider - type: string - type: object - common.ConnConfig: - properties: - configName: - type: string - credentialName: - type: string - driverName: - type: string - location: - $ref: '#/definitions/common.GeoLocation' - providerName: - type: string - regionName: - type: string - type: object - common.ConnConfigList: - properties: - connectionconfig: - items: - $ref: '#/definitions/common.ConnConfig' - type: array - type: object - common.GeoLocation: - properties: - briefAddr: - type: string - cloudType: - type: string - latitude: - type: string - longitude: - type: string - nativeRegion: - type: string - type: object - common.IID: - properties: - nameId: - description: NameID by user - type: string - systemId: - description: SystemID by CloudOS - type: string - type: object - common.IdList: - properties: - output: - items: - type: string - type: array - type: object - common.JSONResult: - type: object - common.KeyValue: - properties: - key: - type: string - value: - type: string - type: object - common.NsInfo: - properties: - description: - example: Description for this namespace - type: string - id: - example: ns01 - type: string - name: - example: ns01 - type: string - type: object - common.NsReq: - properties: - description: - example: Description for this namespace - type: string - name: - example: ns01 - type: string - type: object - common.Region: - properties: - keyValueInfoList: - description: ex) { {region, us-east1}, {zone, us-east1-c} } - items: - $ref: '#/definitions/common.KeyValue' - type: array - providerName: - description: ex) "GCP" - type: string - regionName: - description: ex) "region01" - type: string - type: object - common.RegionList: - properties: - region: - items: - $ref: '#/definitions/common.Region' - type: array - type: object - common.RestGetAllConfigResponse: - properties: - config: - description: Name string `json:"name"` - items: - $ref: '#/definitions/common.ConfigInfo' - type: array - type: object - common.RestGetAllNsResponse: - properties: - ns: - description: Name string `json:"name"` - items: - $ref: '#/definitions/common.NsInfo' - type: array - type: object - common.RestInspectResourcesRequest: - properties: - connectionName: - type: string - type: - enum: - - vNet - - securityGroup - - sshKey - - vm - example: vNet - type: string - type: object - common.SimpleMsg: - properties: - message: - example: Any message - type: string - type: object - common.TbConnectionName: - properties: - connectionName: - type: string - type: object - mcir.FilterSpecsByRangeRequest: - properties: - connectionName: - type: string - costPerHour: - $ref: '#/definitions/mcir.Range' - cspSpecName: - type: string - description: - type: string - ebsBwMbps: - $ref: '#/definitions/mcir.Range' - evaluationScore01: - $ref: '#/definitions/mcir.Range' - evaluationScore02: - $ref: '#/definitions/mcir.Range' - evaluationScore03: - $ref: '#/definitions/mcir.Range' - evaluationScore04: - $ref: '#/definitions/mcir.Range' - evaluationScore05: - $ref: '#/definitions/mcir.Range' - evaluationScore06: - $ref: '#/definitions/mcir.Range' - evaluationScore07: - $ref: '#/definitions/mcir.Range' - evaluationScore08: - $ref: '#/definitions/mcir.Range' - evaluationScore09: - $ref: '#/definitions/mcir.Range' - evaluationScore10: - $ref: '#/definitions/mcir.Range' - evaluationStatus: - type: string - gpuMemGiB: - $ref: '#/definitions/mcir.Range' - gpuModel: - type: string - gpuP2p: - type: string - id: - type: string - maxNumStorage: - $ref: '#/definitions/mcir.Range' - maxTotalStorageTiB: - $ref: '#/definitions/mcir.Range' - memGiB: - $ref: '#/definitions/mcir.Range' - name: - type: string - netBwGbps: - $ref: '#/definitions/mcir.Range' - numGpu: - $ref: '#/definitions/mcir.Range' - numStorage: - $ref: '#/definitions/mcir.Range' - numcore: - $ref: '#/definitions/mcir.Range' - numvCPU: - $ref: '#/definitions/mcir.Range' - osType: - type: string - storageGiB: - $ref: '#/definitions/mcir.Range' - type: object - mcir.JSONResult: - type: object - mcir.Range: - properties: - max: - type: number - min: - type: number - type: object - mcir.RestFilterSpecsResponse: - properties: - spec: - items: - $ref: '#/definitions/mcir.TbSpecInfo' - type: array - type: object - mcir.RestGetAllImageResponse: - properties: - image: - items: - $ref: '#/definitions/mcir.TbImageInfo' - type: array - type: object - mcir.RestGetAllSecurityGroupResponse: - properties: - securityGroup: - items: - $ref: '#/definitions/mcir.TbSecurityGroupInfo' - type: array - type: object - mcir.RestGetAllSpecResponse: - properties: - spec: - items: - $ref: '#/definitions/mcir.TbSpecInfo' - type: array - type: object - mcir.RestGetAllSshKeyResponse: - properties: - sshKey: - items: - $ref: '#/definitions/mcir.TbSshKeyInfo' - type: array - type: object - mcir.RestGetAllVNetResponse: - properties: - vNet: - items: - $ref: '#/definitions/mcir.TbVNetInfo' - type: array - type: object - mcir.RestLookupImageRequest: - properties: - connectionName: - type: string - cspImageId: - type: string - type: object - mcir.RestLookupSpecRequest: - properties: - connectionName: - type: string - cspSpecName: - type: string - type: object - mcir.RestSearchImageRequest: - properties: - keywords: - items: - type: string - type: array - type: object - mcir.SpiderGpuInfo: - properties: - count: - type: string - mem: - type: string - mfr: - type: string - model: - type: string - type: object - mcir.SpiderImageInfo: - properties: - guestOS: - description: Windows7, Ubuntu etc. - type: string - iid: - $ref: '#/definitions/common.IID' - description: Fields for response - keyValueList: - items: - $ref: '#/definitions/common.KeyValue' - type: array - name: - description: Fields for request - type: string - status: - description: available, unavailable - type: string - type: object - mcir.SpiderImageList: - properties: - image: - items: - $ref: '#/definitions/mcir.SpiderImageInfo' - type: array - type: object - mcir.SpiderSecurityRuleInfo: - properties: - cidr: - type: string - direction: - description: '`json:"direction"`' - type: string - fromPort: - description: '`json:"fromPort"`' - type: string - ipprotocol: - description: '`json:"ipProtocol"`' - type: string - toPort: - description: '`json:"toPort"`' - type: string - type: object - mcir.SpiderSpecInfo: - properties: - gpu: - items: - $ref: '#/definitions/mcir.SpiderGpuInfo' - type: array - keyValueList: - items: - $ref: '#/definitions/common.KeyValue' - type: array - mem: - type: string - name: - type: string - region: - type: string - vcpu: - $ref: '#/definitions/mcir.SpiderVCpuInfo' - type: object - mcir.SpiderSpecList: - properties: - vmspec: - items: - $ref: '#/definitions/mcir.SpiderSpecInfo' - type: array - type: object - mcir.SpiderVCpuInfo: - properties: - clock: - description: GHz - type: string - count: - type: string - type: object - mcir.TbImageInfo: - properties: - associatedObjectList: - items: - type: string - type: array - connectionName: - type: string - creationDate: - type: string - cspImageId: - type: string - cspImageName: - type: string - description: - type: string - guestOS: - description: Windows7, Ubuntu etc. - type: string - id: - type: string - isAutoGenerated: - type: boolean - keyValueList: - items: - $ref: '#/definitions/common.KeyValue' - type: array - name: - type: string - namespace: - description: required to save in RDB - type: string - status: - description: available, unavailable - type: string - type: object - mcir.TbImageReq: - properties: - connectionName: - type: string - cspImageId: - type: string - description: - type: string - name: - type: string - required: - - connectionName - - cspImageId - - name - type: object - mcir.TbSecurityGroupInfo: - properties: - associatedObjectList: - items: - type: string - type: array - connectionName: - type: string - cspSecurityGroupId: - type: string - cspSecurityGroupName: - type: string - description: - type: string - firewallRules: - items: - $ref: '#/definitions/mcir.SpiderSecurityRuleInfo' - type: array - id: - type: string - isAutoGenerated: - type: boolean - keyValueList: - items: - $ref: '#/definitions/common.KeyValue' - type: array - name: - type: string - vNetId: - type: string - type: object - mcir.TbSecurityGroupReq: - properties: - connectionName: - type: string - description: - type: string - firewallRules: - items: - $ref: '#/definitions/mcir.SpiderSecurityRuleInfo' - type: array - name: - type: string - vNetId: - type: string - required: - - connectionName - - firewallRules - - name - - vNetId - type: object - mcir.TbSpecInfo: - properties: - associatedObjectList: - items: - type: string - type: array - connectionName: - type: string - costPerHour: - type: number - cspSpecName: - type: string - description: - type: string - ebsBwMbps: - type: integer - evaluationScore01: - type: number - evaluationScore02: - type: number - evaluationScore03: - type: number - evaluationScore04: - type: number - evaluationScore05: - type: number - evaluationScore06: - type: number - evaluationScore07: - type: number - evaluationScore08: - type: number - evaluationScore09: - type: number - evaluationScore10: - type: number - evaluationStatus: - type: string - gpuMemGiB: - type: number - gpuModel: - type: string - gpuP2p: - type: string - id: - type: string - isAutoGenerated: - type: boolean - maxNumStorage: - type: integer - maxTotalStorageTiB: - type: integer - memGiB: - type: number - name: - type: string - namespace: - description: required to save in RDB - type: string - netBwGbps: - type: integer - numCore: - type: integer - numGpu: - type: integer - numStorage: - type: integer - numvCPU: - type: integer - orderInFilteredResult: - type: integer - osType: - type: string - storageGiB: - type: integer - type: object - mcir.TbSpecReq: - properties: - connectionName: - type: string - cspSpecName: - type: string - description: - type: string - name: - type: string - required: - - connectionName - - cspSpecName - - name - type: object - mcir.TbSshKeyInfo: - properties: - associatedObjectList: - items: - type: string - type: array - connectionName: - type: string - cspSshKeyName: - type: string - description: - type: string - fingerprint: - type: string - id: - type: string - isAutoGenerated: - type: boolean - keyValueList: - items: - $ref: '#/definitions/common.KeyValue' - type: array - name: - type: string - privateKey: - type: string - publicKey: - type: string - username: - type: string - verifiedUsername: - type: string - type: object - mcir.TbSshKeyReq: - properties: - connectionName: - type: string - description: - type: string - name: - type: string - required: - - connectionName - - name - type: object - mcir.TbSubnetInfo: - properties: - description: - type: string - id: - type: string - ipv4_CIDR: - type: string - keyValueList: - items: - $ref: '#/definitions/common.KeyValue' - type: array - name: - type: string - required: - - ipv4_CIDR - - name - type: object - mcir.TbSubnetReq: - properties: - description: - type: string - ipv4_CIDR: - type: string - keyValueList: - items: - $ref: '#/definitions/common.KeyValue' - type: array - name: - type: string - required: - - ipv4_CIDR - - name - type: object - mcir.TbVNetInfo: - properties: - associatedObjectList: - items: - type: string - type: array - cidrBlock: - type: string - connectionName: - type: string - cspVNetId: - type: string - cspVNetName: - type: string - description: - type: string - id: - type: string - isAutoGenerated: - type: boolean - keyValueList: - items: - $ref: '#/definitions/common.KeyValue' - type: array - name: - type: string - status: - type: string - subnetInfoList: - items: - $ref: '#/definitions/mcir.TbSubnetInfo' - type: array - type: object - mcir.TbVNetReq: - properties: - cidrBlock: - type: string - connectionName: - type: string - description: - type: string - name: - type: string - subnetInfoList: - items: - $ref: '#/definitions/mcir.TbSubnetReq' - type: array - required: - - connectionName - - name - type: object - mcis.AgentInstallContent: - properties: - mcisId: - type: string - result: - type: string - vmId: - type: string - vmIp: - type: string - type: object - mcis.AgentInstallContentWrapper: - properties: - resultArray: - items: - $ref: '#/definitions/mcis.AgentInstallContent' - type: array - type: object - mcis.AutoAction: - properties: - actionType: - type: string - placementAlgo: - type: string - postCommand: - $ref: '#/definitions/mcis.McisCmdReq' - vm: - $ref: '#/definitions/mcis.TbVmInfo' - type: object - mcis.AutoCondition: - properties: - evaluationPeriod: - description: evaluationPeriod - type: string - evaluationValue: - items: - type: string - type: array - metric: - type: string - operand: - description: 10, 70, 80, 98, ... - type: string - operator: - description: <, <=, >, >=, ... - type: string - type: object - mcis.BenchmarkInfo: - properties: - desc: - type: string - elapsed: - type: string - result: - type: string - resultarray: - description: struct-element cycle ? - items: - $ref: '#/definitions/mcis.BenchmarkInfo' - type: array - specid: - type: string - unit: - type: string - type: object - mcis.BenchmarkInfoArray: - properties: - resultarray: - items: - $ref: '#/definitions/mcis.BenchmarkInfo' - type: array - type: object - mcis.DeploymentPlan: - properties: - filter: - $ref: '#/definitions/mcis.FilterInfo' - limit: - enum: - - "1" - - "2" - - '...' - - "30" - - '...' - example: "5" - type: string - priority: - $ref: '#/definitions/mcis.PriorityInfo' - type: object - mcis.FilterCondition: - properties: - condition: - items: - $ref: '#/definitions/mcis.Operation' - type: array - metric: - enum: - - cpu - - memory - - cost - example: cpu - type: string - type: object - mcis.FilterInfo: - properties: - policy: - items: - $ref: '#/definitions/mcis.FilterCondition' - type: array - type: object - mcis.JSONResult: - type: object - mcis.McisCmdReq: - properties: - command: - example: sudo apt-get install ... - type: string - userName: - example: cb-user - type: string - required: - - command - type: object - mcis.McisPolicyInfo: - properties: - Id: - description: MCIS Id (generated ID by the Name) - type: string - Name: - description: MCIS Name (for request) - type: string - actionLog: - type: string - description: - type: string - policy: - items: - $ref: '#/definitions/mcis.Policy' - type: array - type: object - mcis.McisRecommendReq: - properties: - maxResultNum: - type: string - placementAlgo: - type: string - placementParam: - items: - $ref: '#/definitions/common.KeyValue' - type: array - vmReq: - items: - $ref: '#/definitions/mcis.TbVmRecommendReq' - type: array - type: object - mcis.McisStatusInfo: - properties: - id: - type: string - installMonAgent: - description: InstallMonAgent Option for CB-Dragonfly agent installation ([yes/no] - default:yes) - example: '[yes, no]' - type: string - label: - description: Label is for describing the mcis in a keyword (any string can - be used) - example: User custom label - type: string - masterIp: - example: 32.201.134.113 - type: string - masterSSHPort: - type: string - masterVmId: - example: vm-asiaeast1-cb-01 - type: string - name: - type: string - status: - type: string - statusCount: - $ref: '#/definitions/mcis.StatusCountInfo' - systemLabel: - description: SystemLabel is for describing the mcis in a keyword (any string - can be used) for special System purpose - example: Managed by CB-Tumblebug - type: string - targetAction: - type: string - targetStatus: - type: string - vm: - items: - $ref: '#/definitions/mcis.TbVmStatusInfo' - type: array - type: object - mcis.MonResultSimple: - properties: - err: - type: string - metric: - type: string - value: - type: string - vmId: - type: string - type: object - mcis.MonResultSimpleResponse: - properties: - mcisId: - type: string - mcisMonitoring: - items: - $ref: '#/definitions/mcis.MonResultSimple' - type: array - nsId: - type: string - type: object - mcis.Operation: - properties: - operand: - description: 10, 70, 80, 98, ... - enum: - - "4" - - "8" - - .. - example: "4" - type: string - operator: - description: '>=, <=, ==' - enum: - - '>=' - - <= - - == - example: <= - type: string - type: object - mcis.ParameterKeyVal: - properties: - key: - description: coordinate - enum: - - coordinateClose - - coordinateWithin - - coordinateFair - example: coordinateClose - type: string - val: - description: '["Latitude,Longitude","12,543",..,"31,433"]' - example: - - 44.146838/-116.411403 - items: - type: string - type: array - type: object - mcis.Policy: - properties: - autoAction: - $ref: '#/definitions/mcis.AutoAction' - autoCondition: - $ref: '#/definitions/mcis.AutoCondition' - status: - type: string - type: object - mcis.PriorityCondition: - properties: - metric: - description: location,cost,latency - enum: - - location - - cost - - latency - example: location - type: string - parameter: - items: - $ref: '#/definitions/mcis.ParameterKeyVal' - type: array - weight: - description: "0.3" - enum: - - "0.1" - - "0.2" - - '...' - example: "0.3" - type: string - type: object - mcis.PriorityInfo: - properties: - policy: - items: - $ref: '#/definitions/mcis.PriorityCondition' - type: array - type: object - mcis.RegionInfo: - properties: - region: - type: string - zone: - type: string - type: object - mcis.RestGetAllBenchmarkRequest: - properties: - host: - type: string - type: object - mcis.RestGetAllMcisPolicyResponse: - properties: - mcisPolicy: - items: - $ref: '#/definitions/mcis.McisPolicyInfo' - type: array - type: object - mcis.RestGetAllMcisResponse: - properties: - mcis: - items: - $ref: '#/definitions/mcis.TbMcisInfo' - type: array - type: object - mcis.RestGetAllMcisStatusResponse: - properties: - mcis: - items: - $ref: '#/definitions/mcis.McisStatusInfo' - type: array - type: object - mcis.RestGetBenchmarkRequest: - properties: - host: - type: string - type: object - mcis.RestPostCmdMcisResponse: - properties: - mcisId: - type: string - result: - type: string - vmId: - type: string - vmIp: - type: string - type: object - mcis.RestPostCmdMcisResponseWrapper: - properties: - resultArray: - items: - $ref: '#/definitions/mcis.RestPostCmdMcisResponse' - type: array - type: object - mcis.RestPostCmdMcisVmResponse: - properties: - result: - type: string - type: object - mcis.RestPostMcisRecommendResponse: - properties: - placementAlgo: - type: string - placementParam: - items: - $ref: '#/definitions/common.KeyValue' - type: array - vmRecommend: - description: VmReq []TbVmRecommendReq `json:"vmReq"` - items: - $ref: '#/definitions/mcis.TbVmRecommendInfo' - type: array - type: object - mcis.SpiderVMInfo: - properties: - iid: - $ref: '#/definitions/common.IID' - description: Fields for response - imageIId: - $ref: '#/definitions/common.IID' - imageName: - type: string - keyPairIId: - $ref: '#/definitions/common.IID' - keyPairName: - type: string - keyValueList: - items: - $ref: '#/definitions/common.KeyValue' - type: array - name: - description: Fields for request - type: string - networkInterface: - description: ex) eth0 - type: string - privateDNS: - type: string - privateIP: - type: string - publicDNS: - type: string - publicIP: - type: string - region: - $ref: '#/definitions/mcis.RegionInfo' - description: ex) {us-east1, us-east1-c} or {ap-northeast-2} - securityGroupIIds: - description: AWS, ex) sg-0b7452563e1121bb6 - items: - $ref: '#/definitions/common.IID' - type: array - securityGroupNames: - items: - type: string - type: array - sshaccessPoint: - type: string - startTime: - description: 'Timezone: based on cloud-barista server location.' - type: string - subnetIID: - $ref: '#/definitions/common.IID' - description: AWS, ex) subnet-8c4a53e4 - subnetName: - type: string - vmblockDisk: - description: ex) - type: string - vmbootDisk: - description: ex) /dev/sda1 - type: string - vmspecName: - description: Fields for both request and response - type: string - vmuserId: - description: ex) user1 - type: string - vmuserPasswd: - type: string - vpcIID: - $ref: '#/definitions/common.IID' - vpcname: - type: string - type: object - mcis.StatusCountInfo: - properties: - countCreating: - description: CountCreating is for counting Creating - type: integer - countFailed: - description: CountFailed is for counting Failed - type: integer - countRebooting: - description: CountRebooting is for counting Rebooting - type: integer - countResuming: - description: CountResuming is for counting Resuming - type: integer - countRunning: - description: CountRunning is for counting Running - type: integer - countSuspended: - description: CountSuspended is for counting Suspended - type: integer - countSuspending: - description: CountSuspending is for counting Suspending - type: integer - countTerminated: - description: CountTerminated is for counting Terminated - type: integer - countTerminating: - description: CountTerminating is for counting Terminating - type: integer - countTotal: - description: CountTotal is for Total VMs - type: integer - countUndefined: - description: CountUndefined is for counting Undefined - type: integer - type: object - mcis.TbInspectResourcesResponse: - properties: - resourcesOnCsp: - description: |- - ResourcesOnCsp interface{} `json:"resourcesOnCsp"` - ResourcesOnSpider interface{} `json:"resourcesOnSpider"` - ResourcesOnTumblebug interface{} `json:"resourcesOnTumblebug"` - items: - $ref: '#/definitions/mcis.resourceOnCspOrSpider' - type: array - resourcesOnSpider: - items: - $ref: '#/definitions/mcis.resourceOnCspOrSpider' - type: array - resourcesOnTumblebug: - items: - $ref: '#/definitions/mcis.resourceOnTumblebug' - type: array - type: object - mcis.TbMcisDynamicReq: - properties: - description: - example: Made in CB-TB - type: string - installMonAgent: - default: "yes" - description: InstallMonAgent Option for CB-Dragonfly agent installation ([yes/no] - default:yes) - enum: - - "yes" - - "no" - example: "no" - type: string - label: - description: Label is for describing the mcis in a keyword (any string can - be used) - example: DynamicVM - type: string - name: - example: mcis01 - type: string - systemLabel: - description: SystemLabel is for describing the mcis in a keyword (any string - can be used) for special System purpose - type: string - vm: - items: - $ref: '#/definitions/mcis.TbVmDynamicReq' - type: array - required: - - name - - vm - type: object - mcis.TbMcisInfo: - properties: - description: - type: string - id: - type: string - installMonAgent: - default: "yes" - description: InstallMonAgent Option for CB-Dragonfly agent installation ([yes/no] - default:yes) - enum: - - "yes" - - "no" - example: "yes" - type: string - label: - description: Label is for describing the mcis in a keyword (any string can - be used) - example: User custom label - type: string - name: - type: string - placementAlgo: - type: string - status: - type: string - statusCount: - $ref: '#/definitions/mcis.StatusCountInfo' - systemLabel: - description: SystemLabel is for describing the mcis in a keyword (any string - can be used) for special System purpose - example: Managed by CB-Tumblebug - type: string - targetAction: - type: string - targetStatus: - type: string - vm: - items: - $ref: '#/definitions/mcis.TbVmInfo' - type: array - type: object - mcis.TbMcisReq: - properties: - description: - example: Made in CB-TB - type: string - installMonAgent: - default: "yes" - description: InstallMonAgent Option for CB-Dragonfly agent installation ([yes/no] - default:yes) - enum: - - "yes" - - "no" - example: "no" - type: string - label: - description: Label is for describing the mcis in a keyword (any string can - be used) - example: custom tag - type: string - name: - example: mcis01 - type: string - placementAlgo: - type: string - systemLabel: - description: SystemLabel is for describing the mcis in a keyword (any string - can be used) for special System purpose - type: string - vm: - items: - $ref: '#/definitions/mcis.TbVmReq' - type: array - required: - - name - - vm - type: object - mcis.TbVmDynamicReq: - properties: - commonImage: - description: CommonImage is field for id of a image in common namespace - example: ubuntu18.04 - type: string - commonSpec: - description: CommonSpec is field for id of a spec in common namespace - example: aws-ap-northeast-2-t2-small - type: string - description: - example: Description - type: string - label: - example: DynamicVM - type: string - name: - description: VM name or VM group name if is (not empty) && (> 0). If it is - a group, actual VM name will be generated with -N postfix. - example: vm01 - type: string - vmGroupSize: - description: if vmGroupSize is (not empty) && (> 0), VM group will be gernetad. - VMs will be created accordingly. - example: "3" - type: string - required: - - commonImage - - commonSpec - type: object - mcis.TbVmInfo: - properties: - connectionName: - type: string - createdTime: - description: Created time - example: "2022-11-10 23:00:00" - type: string - cspViewVmDetail: - $ref: '#/definitions/mcis.SpiderVMInfo' - description: - type: string - id: - type: string - imageId: - type: string - label: - type: string - location: - $ref: '#/definitions/common.GeoLocation' - monAgentStatus: - description: Montoring agent status - example: '[installed, notInstalled, failed]' - type: string - name: - type: string - privateDNS: - type: string - privateIP: - type: string - publicDNS: - type: string - publicIP: - type: string - region: - $ref: '#/definitions/mcis.RegionInfo' - description: AWS, ex) {us-east1, us-east1-c} or {ap-northeast-2} - securityGroupIds: - items: - type: string - type: array - specId: - type: string - sshKeyId: - type: string - sshPort: - type: string - status: - description: Required by CB-Tumblebug - type: string - subnetId: - type: string - systemMessage: - description: Latest system message such as error message - example: Failed because ... - type: string - targetAction: - type: string - targetStatus: - type: string - vNetId: - type: string - vmBlockDisk: - type: string - vmBootDisk: - description: ex) /dev/sda1 - type: string - vmGroupId: - description: defined if the VM is in a group - type: string - vmUserAccount: - type: string - vmUserPassword: - type: string - type: object - mcis.TbVmPriority: - properties: - priority: - type: string - vmSpec: - $ref: '#/definitions/mcir.TbSpecInfo' - type: object - mcis.TbVmRecommendInfo: - properties: - placementAlgo: - type: string - placementParam: - items: - $ref: '#/definitions/common.KeyValue' - type: array - vmPriority: - items: - $ref: '#/definitions/mcis.TbVmPriority' - type: array - vmReq: - $ref: '#/definitions/mcis.TbVmRecommendReq' - type: object - mcis.TbVmRecommendReq: - properties: - diskSize: - type: string - maxResultNum: - type: string - memorySize: - type: string - placementAlgo: - type: string - placementParam: - items: - $ref: '#/definitions/common.KeyValue' - type: array - requestName: - type: string - vcpuSize: - type: string - type: object - mcis.TbVmReq: - properties: - connectionName: - example: testcloud01-seoul - type: string - description: - example: Description - type: string - imageId: - type: string - label: - type: string - name: - description: VM name or VM group name if is (not empty) && (> 0). If it is - a group, actual VM name will be generated with -N postfix. - example: vm01 - type: string - securityGroupIds: - items: - type: string - type: array - specId: - type: string - sshKeyId: - type: string - subnetId: - type: string - vNetId: - type: string - vmGroupSize: - description: if vmGroupSize is (not empty) && (> 0), VM group will be gernetad. - VMs will be created accordingly. - example: "3" - type: string - vmUserAccount: - type: string - vmUserPassword: - type: string - required: - - connectionName - - imageId - - name - - securityGroupIds - - specId - - sshKeyId - - vNetId - type: object - mcis.TbVmStatusInfo: - properties: - createdTime: - description: Created time - example: "2022-11-10 23:00:00" - type: string - cspVmId: - type: string - id: - type: string - location: - $ref: '#/definitions/common.GeoLocation' - monAgentStatus: - description: Montoring agent status - example: '[installed, notInstalled, failed]' - type: string - name: - type: string - nativeStatus: - type: string - privateIp: - type: string - publicIp: - type: string - sshPort: - type: string - status: - type: string - systemMessage: - description: Latest system message such as error message - example: Failed because ... - type: string - targetAction: - type: string - targetStatus: - type: string - type: object - mcis.resourceOnCspOrSpider: - properties: - cspNativeId: - type: string - id: - type: string - type: object - mcis.resourceOnTumblebug: - properties: - cspNativeId: - type: string - id: - type: string - mcisId: - type: string - nsId: - type: string - objectKey: - type: string - type: - type: string - type: object -host: localhost:1323 -info: - contact: - email: contact-to-cloud-barista@googlegroups.com - name: API Support - url: http://cloud-barista.github.io - description: CB-Tumblebug REST API - license: - name: Apache 2.0 - url: http://www.apache.org/licenses/LICENSE-2.0.html - title: CB-Tumblebug REST API - version: latest -paths: - /{nsId}/checkResource/{resourceType}/{resourceId}: - get: - consumes: - - application/json - description: Check resources' existence - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Resource Type - in: path - name: resourceType - required: true - type: string - - description: Resource ID - in: path - name: resourceId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Check resources' existence - tags: - - '[Infra resource] MCIR Common' - /config: - delete: - consumes: - - application/json - description: Init all configs - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Init all configs - tags: - - '[Admin] System environment' - get: - consumes: - - application/json - description: List all configs - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.RestGetAllConfigResponse' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: List all configs - tags: - - '[Admin] System environment' - post: - consumes: - - application/json - description: Create or Update config (SPIDER_REST_URL, DRAGONFLY_REST_URL, ...) - parameters: - - description: Key and Value for configuration - in: body - name: config - required: true - schema: - $ref: '#/definitions/common.ConfigReq' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.ConfigInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Create or Update config - tags: - - '[Admin] System environment' - /config/{configId}: - delete: - consumes: - - application/json - description: Init config - parameters: - - description: Config ID - in: path - name: configId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.ConfigInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Init config - tags: - - '[Admin] System environment' - get: - consumes: - - application/json - description: Get config - parameters: - - description: Config ID - in: path - name: configId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.ConfigInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Get config - tags: - - '[Admin] System environment' - /connConfig: - get: - consumes: - - application/json - description: List all registered ConnConfig - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.ConnConfigList' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: List all registered ConnConfig - tags: - - '[Admin] Multi-Cloud environment configuration' - /connConfig/{connConfigName}: - get: - consumes: - - application/json - description: Get registered ConnConfig info - parameters: - - description: Name of connection config (cloud config) - in: path - name: connConfigName - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.ConnConfig' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Get registered ConnConfig info - tags: - - '[Admin] Multi-Cloud environment configuration' - /health: - get: - consumes: - - application/json - description: Check Tumblebug is alive - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Check Tumblebug is alive - tags: - - '[Admin] System management' - /inspectResources: - post: - consumes: - - application/json - description: Inspect Resources (vNet, securityGroup, sshKey, vm) registered - in CB-Tumblebug, CB-Spider, CSP - parameters: - - description: Specify connectionName and resource type - in: body - name: connectionName - required: true - schema: - $ref: '#/definitions/common.RestInspectResourcesRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcis.TbInspectResourcesResponse' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Inspect Resources (vNet, securityGroup, sshKey, vm) registered in CB-Tumblebug, - CB-Spider, CSP - tags: - - '[Admin] System management' - /loadCommonResource: - get: - consumes: - - application/json - description: Load Common Resources from internal asset files (Spec, Image) - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.IdList' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Load Common Resources from internal asset files - tags: - - '[Admin] Multi-Cloud environment configuration' - /lookupImage: - post: - consumes: - - application/json - description: Lookup image - parameters: - - description: Specify connectionName & cspImageId - in: body - name: lookupImageReq - required: true - schema: - $ref: '#/definitions/mcir.RestLookupImageRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.SpiderImageInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Lookup image - tags: - - '[Infra resource] MCIR Common' - /lookupImages: - post: - consumes: - - application/json - description: Lookup image list - parameters: - - description: Specify connectionName - in: body - name: lookupImagesReq - required: true - schema: - $ref: '#/definitions/common.TbConnectionName' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.SpiderImageList' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Lookup image list - tags: - - '[Infra resource] MCIR Common' - /lookupSpec: - post: - consumes: - - application/json - description: Lookup spec - parameters: - - description: Specify connectionName & cspSpecName - in: body - name: lookupSpecReq - required: true - schema: - $ref: '#/definitions/mcir.RestLookupSpecRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.SpiderSpecInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Lookup spec - tags: - - '[Infra resource] MCIR Common' - /lookupSpecs: - post: - consumes: - - application/json - description: Lookup spec list - parameters: - - description: Specify connectionName - in: body - name: lookupSpecsReq - required: true - schema: - $ref: '#/definitions/common.TbConnectionName' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.SpiderSpecList' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Lookup spec list - tags: - - '[Infra resource] MCIR Common' - /ns: - delete: - consumes: - - application/json - description: Delete all namespaces - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete all namespaces - tags: - - '[Namespace] Namespace management' - get: - consumes: - - application/json - description: List all namespaces or namespaces' ID - parameters: - - description: Option - enum: - - id - in: query - name: option - type: string - produces: - - application/json - responses: - "200": - description: Different return structures by the given option param - schema: - allOf: - - $ref: '#/definitions/common.JSONResult' - - properties: - '[DEFAULT]': - $ref: '#/definitions/common.RestGetAllNsResponse' - '[ID]': - $ref: '#/definitions/common.IdList' - type: object - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: List all namespaces or namespaces' ID - tags: - - '[Namespace] Namespace management' - post: - consumes: - - application/json - description: Create namespace - parameters: - - description: Details for a new namespace - in: body - name: nsReq - required: true - schema: - $ref: '#/definitions/common.NsReq' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.NsInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Create namespace - tags: - - '[Namespace] Namespace management' - /ns/{nsId}: - delete: - consumes: - - application/json - description: Delete namespace - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete namespace - tags: - - '[Namespace] Namespace management' - get: - consumes: - - application/json - description: Get namespace - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.NsInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Get namespace - tags: - - '[Namespace] Namespace management' - /ns/{nsId}/benchmark/mcis/{mcisId}: - post: - consumes: - - application/json - description: Run MCIS benchmark for a single performance metric and return results - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: mcis01 - description: MCIS ID - in: path - name: mcisId - required: true - type: string - - description: Host IP address to benchmark - in: body - name: hostIP - required: true - schema: - $ref: '#/definitions/mcis.RestGetBenchmarkRequest' - - description: Benchmark Action to MCIS - enum: - - install - - init - - cpus - - cpum - - memR - - memW - - fioR - - fioW - - dbR - - dbW - - rtt - - mrtt - - clean - in: query - name: action - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcis.BenchmarkInfoArray' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Run MCIS benchmark for a single performance metric and return results - tags: - - '[Infra service] MCIS Performance benchmarking (WIP)' - /ns/{nsId}/benchmarkAll/mcis/{mcisId}: - post: - consumes: - - application/json - description: Run MCIS benchmark for all performance metrics and return results - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: mcis01 - description: MCIS ID - in: path - name: mcisId - required: true - type: string - - description: Host IP address to benchmark - in: body - name: hostIP - required: true - schema: - $ref: '#/definitions/mcis.RestGetAllBenchmarkRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcis.BenchmarkInfoArray' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Run MCIS benchmark for all performance metrics and return results - tags: - - '[Infra service] MCIS Performance benchmarking (WIP)' - /ns/{nsId}/cmd/mcis/{mcisId}: - post: - consumes: - - application/json - description: Send a command to specified MCIS - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: mcis01 - description: MCIS ID - in: path - name: mcisId - required: true - type: string - - description: MCIS Command Request - in: body - name: mcisCmdReq - required: true - schema: - $ref: '#/definitions/mcis.McisCmdReq' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcis.RestPostCmdMcisResponseWrapper' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Send a command to specified MCIS - tags: - - '[Infra service] MCIS Remote command' - /ns/{nsId}/cmd/mcis/{mcisId}/vm/{vmId}: - post: - consumes: - - application/json - description: Send a command to specified VM - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: mcis01 - description: MCIS ID - in: path - name: mcisId - required: true - type: string - - default: vm01 - description: VM ID - in: path - name: vmId - required: true - type: string - - description: MCIS Command Request - in: body - name: mcisCmdReq - required: true - schema: - $ref: '#/definitions/mcis.McisCmdReq' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcis.RestPostCmdMcisVmResponse' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Send a command to specified VM - tags: - - '[Infra service] MCIS Remote command' - /ns/{nsId}/control/mcis/{mcisId}: - get: - consumes: - - application/json - description: Control the lifecycle of MCIS (refine, suspend, resume, reboot, - terminate) - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: mcis01 - description: MCIS ID - in: path - name: mcisId - required: true - type: string - - description: Action to MCIS - enum: - - suspend - - resume - - reboot - - terminate - - refine - in: query - name: action - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Control the lifecycle of MCIS (refine, suspend, resume, reboot, terminate) - tags: - - '[Infra service] MCIS Control lifecycle' - /ns/{nsId}/control/mcis/{mcisId}/vm/{vmId}: - get: - consumes: - - application/json - description: Control the lifecycle of VM (suspend, resume, reboot, terminate) - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: mcis01 - description: MCIS ID - in: path - name: mcisId - required: true - type: string - - default: vm01 - description: VM ID - in: path - name: vmId - required: true - type: string - - description: Action to MCIS - enum: - - suspend - - resume - - reboot - - terminate - in: query - name: action - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Control the lifecycle of VM (suspend, resume, reboot, terminate) - tags: - - '[Infra service] MCIS Control lifecycle' - /ns/{nsId}/defaultResources: - delete: - consumes: - - application/json - description: Delete all Default Resource Objects in the given namespace - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.IdList' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete all Default Resource Objects in the given namespace - tags: - - '[Infra resource] MCIR Common' - /ns/{nsId}/installBenchmarkAgent/mcis/{mcisId}: - post: - consumes: - - application/json - description: Install the benchmark agent to specified MCIS - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: mcis01 - description: MCIS ID - in: path - name: mcisId - required: true - type: string - - description: MCIS Command Request - in: body - name: mcisCmdReq - required: true - schema: - $ref: '#/definitions/mcis.McisCmdReq' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcis.RestPostCmdMcisResponseWrapper' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Install the benchmark agent to specified MCIS - tags: - - '[Infra service] MCIS Performance benchmarking (WIP)' - /ns/{nsId}/loadDefaultResource: - get: - consumes: - - application/json - description: Load Default Resource from internal asset file - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Option - enum: - - all - - vnet - - sg - - sshkey - in: query - name: option - required: true - type: string - - default: "" - description: connectionName of cloud for designated resource - in: query - name: connectionName - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Load Default Resource from internal asset file - tags: - - '[Infra resource] MCIR Common' - /ns/{nsId}/mcis: - delete: - consumes: - - application/json - description: Delete all MCISs - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Option for delete MCIS (support force delete) - enum: - - force - in: query - name: option - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete all MCISs - tags: - - '[Infra service] MCIS Provisioning management' - get: - consumes: - - application/json - description: List all MCISs or MCISs' ID - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Option - enum: - - id - - simple - - status - in: query - name: option - type: string - produces: - - application/json - responses: - "200": - description: Different return structures by the given option param - schema: - allOf: - - $ref: '#/definitions/mcis.JSONResult' - - properties: - '[DEFAULT]': - $ref: '#/definitions/mcis.RestGetAllMcisResponse' - '[ID]': - $ref: '#/definitions/common.IdList' - '[SIMPLE]': - $ref: '#/definitions/mcis.RestGetAllMcisResponse' - '[STATUS]': - $ref: '#/definitions/mcis.RestGetAllMcisStatusResponse' - type: object - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: List all MCISs or MCISs' ID - tags: - - '[Infra service] MCIS Provisioning management' - post: - consumes: - - application/json - description: Create MCIS - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Details for an MCIS object - in: body - name: mcisReq - required: true - schema: - $ref: '#/definitions/mcis.TbMcisReq' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcis.TbMcisInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Create MCIS - tags: - - '[Infra service] MCIS Provisioning management' - /ns/{nsId}/mcis/{mcisId}: - delete: - consumes: - - application/json - description: Delete MCIS - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: mcis01 - description: MCIS ID - in: path - name: mcisId - required: true - type: string - - description: Option for delete MCIS (support force delete) - enum: - - terminate - - force - in: query - name: option - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete MCIS - tags: - - '[Infra service] MCIS Provisioning management' - get: - consumes: - - application/json - description: 'Get MCIS object (option: status, vmID)' - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: mcis01 - description: MCIS ID - in: path - name: mcisId - required: true - type: string - - description: Option - enum: - - default - - id - - status - in: query - name: option - type: string - produces: - - application/json - responses: - "200": - description: Different return structures by the given action param - schema: - allOf: - - $ref: '#/definitions/mcis.JSONResult' - - properties: - '[DEFAULT]': - $ref: '#/definitions/mcis.TbMcisInfo' - '[ID]': - $ref: '#/definitions/common.IdList' - '[STATUS]': - $ref: '#/definitions/mcis.McisStatusInfo' - type: object - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: 'Get MCIS object (option: status, vmID)' - tags: - - '[Infra service] MCIS Provisioning management' - /ns/{nsId}/mcis/{mcisId}/vm: - post: - consumes: - - application/json - description: Create VM in specified MCIS - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: mcis01 - description: MCIS ID - in: path - name: mcisId - required: true - type: string - - description: Details for an VM object - in: body - name: vmReq - required: true - schema: - $ref: '#/definitions/mcis.TbVmReq' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcis.TbVmInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Create VM in specified MCIS - tags: - - '[Infra service] MCIS Provisioning management' - /ns/{nsId}/mcis/{mcisId}/vm/{vmId}: - delete: - consumes: - - application/json - description: Delete VM in specified MCIS - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: mcis01 - description: MCIS ID - in: path - name: mcisId - required: true - type: string - - default: vm01 - description: VM ID - in: path - name: vmId - required: true - type: string - - description: Option for delete VM (support force delete) - enum: - - force - in: query - name: option - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete VM in specified MCIS - tags: - - '[Infra service] MCIS Provisioning management' - get: - consumes: - - application/json - description: Get VM in specified MCIS - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: mcis01 - description: MCIS ID - in: path - name: mcisId - required: true - type: string - - default: vm01 - description: VM ID - in: path - name: vmId - required: true - type: string - - description: Option for MCIS - enum: - - default - - status - in: query - name: option - type: string - produces: - - application/json - responses: - "200": - description: Different return structures by the given option param - schema: - allOf: - - $ref: '#/definitions/mcis.JSONResult' - - properties: - '[DEFAULT]': - $ref: '#/definitions/mcis.TbVmInfo' - '[STATUS]': - $ref: '#/definitions/mcis.TbVmStatusInfo' - type: object - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Get VM in specified MCIS - tags: - - '[Infra service] MCIS Provisioning management' - /ns/{nsId}/mcis/{mcisId}/vmgroup: - post: - consumes: - - application/json - description: Create multiple VMs by VM group in specified MCIS - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: mcis01 - description: MCIS ID - in: path - name: mcisId - required: true - type: string - - description: Details for VM Group - in: body - name: vmReq - required: true - schema: - $ref: '#/definitions/mcis.TbVmReq' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcis.TbMcisInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Create multiple VMs by VM group in specified MCIS - tags: - - '[Infra service] MCIS Provisioning management' - /ns/{nsId}/mcis/recommend: - post: - consumes: - - application/json - deprecated: true - description: Get MCIS recommendation - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Details for an MCIS object - in: body - name: mcisRecommendReq - required: true - schema: - $ref: '#/definitions/mcis.McisRecommendReq' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcis.RestPostMcisRecommendResponse' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Get MCIS recommendation - tags: - - '[Infra service] MCIS Provisioning management' - /ns/{nsId}/mcisDynamic: - post: - consumes: - - application/json - description: Create MCIS Dynamically from common spec and image - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Details for MCIS object - in: body - name: mcisReq - required: true - schema: - $ref: '#/definitions/mcis.TbMcisDynamicReq' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcis.TbMcisInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Create MCIS Dynamically - tags: - - '[Infra service] MCIS Provisioning management' - /ns/{nsId}/monitoring/install/mcis/{mcisId}: - post: - consumes: - - application/json - description: Install monitoring agent (CB-Dragonfly agent) to MCIS - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: mcis01 - description: MCIS ID - in: path - name: mcisId - required: true - type: string - - description: Details for an MCIS object - in: body - name: mcisInfo - required: true - schema: - $ref: '#/definitions/mcis.McisCmdReq' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcis.AgentInstallContentWrapper' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Install monitoring agent (CB-Dragonfly agent) to MCIS - tags: - - '[Infra service] MCIS Resource monitor (for developer)' - /ns/{nsId}/monitoring/mcis/{mcisId}/metric/{metric}: - get: - consumes: - - application/json - description: Get monitoring data of specified MCIS for specified monitoring - metric (cpu, memory, disk, network) - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: mcis01 - description: MCIS ID - in: path - name: mcisId - required: true - type: string - - description: 'Metric type: cpu, memory, disk, network' - in: path - name: metric - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcis.MonResultSimpleResponse' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Get monitoring data of specified MCIS for specified monitoring metric - (cpu, memory, disk, network) - tags: - - '[Infra service] MCIS Resource monitor (for developer)' - /ns/{nsId}/policy/mcis: - delete: - consumes: - - application/json - description: Delete all MCIS policies - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete all MCIS policies - tags: - - '[Infra service] MCIS Auto control policy management (WIP)' - get: - consumes: - - application/json - description: List all MCIS policies - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcis.RestGetAllMcisPolicyResponse' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: List all MCIS policies - tags: - - '[Infra service] MCIS Auto control policy management (WIP)' - /ns/{nsId}/policy/mcis/{mcisId}: - delete: - consumes: - - application/json - description: Delete MCIS Policy - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: mcis01 - description: MCIS ID - in: path - name: mcisId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete MCIS Policy - tags: - - '[Infra service] MCIS Auto control policy management (WIP)' - get: - consumes: - - application/json - description: Get MCIS Policy - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: mcis01 - description: MCIS ID - in: path - name: mcisId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcis.McisPolicyInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Get MCIS Policy - tags: - - '[Infra service] MCIS Auto control policy management (WIP)' - post: - consumes: - - application/json - description: Create MCIS Automation policy - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: mcis01 - description: MCIS ID - in: path - name: mcisId - required: true - type: string - - description: Details for an MCIS object - in: body - name: mcisInfo - required: true - schema: - $ref: '#/definitions/mcis.McisPolicyInfo' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcis.McisPolicyInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Create MCIS Automation policy - tags: - - '[Infra service] MCIS Auto control policy management (WIP)' - /ns/{nsId}/resources/fetchImages: - post: - consumes: - - application/json - description: Fetch images - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Fetch images - tags: - - '[Infra resource] MCIR Image management' - /ns/{nsId}/resources/fetchSpecs: - post: - consumes: - - application/json - description: Fetch specs - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Fetch specs - tags: - - '[Infra resource] MCIR Spec management' - /ns/{nsId}/resources/filterSpecs: - post: - consumes: - - application/json - description: Filter specs - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Filter for filtering specs - in: body - name: specFilter - schema: - $ref: '#/definitions/mcir.TbSpecInfo' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.RestFilterSpecsResponse' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Filter specs - tags: - - '[Infra resource] MCIR Spec management' - /ns/{nsId}/resources/filterSpecsByRange: - post: - consumes: - - application/json - description: Filter specs by range - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Filter for range-filtering specs - in: body - name: specRangeFilter - schema: - $ref: '#/definitions/mcir.FilterSpecsByRangeRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.RestFilterSpecsResponse' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Filter specs by range - tags: - - '[Infra resource] MCIR Spec management' - /ns/{nsId}/resources/image: - delete: - consumes: - - application/json - description: Delete all images - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: "" - description: Delete resources containing matched ID-substring only - in: query - name: match - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.IdList' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete all images - tags: - - '[Infra resource] MCIR Image management' - get: - consumes: - - application/json - description: List all images or images' ID - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Option - enum: - - id - in: query - name: option - type: string - produces: - - application/json - responses: - "200": - description: Different return structures by the given option param - schema: - allOf: - - $ref: '#/definitions/mcir.JSONResult' - - properties: - '[DEFAULT]': - $ref: '#/definitions/mcir.RestGetAllImageResponse' - '[ID]': - $ref: '#/definitions/common.IdList' - type: object - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: List all images or images' ID - tags: - - '[Infra resource] MCIR Image management' - post: - consumes: - - application/json - description: Register image - parameters: - - description: registerWithInfo or registerWithId - in: query - name: registeringMethod - required: true - type: string - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Details for an image object - in: body - name: imageInfo - schema: - $ref: '#/definitions/mcir.TbImageInfo' - - description: name, connectionName and cspImageId - in: body - name: imageId - schema: - $ref: '#/definitions/mcir.TbImageReq' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.TbImageInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Register image - tags: - - '[Infra resource] MCIR Image management' - /ns/{nsId}/resources/image/{imageId}: - delete: - consumes: - - application/json - description: Delete image - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Image ID - in: path - name: imageId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete image - tags: - - '[Infra resource] MCIR Image management' - get: - consumes: - - application/json - description: Get image - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Image ID - in: path - name: imageId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.TbImageInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Get image - tags: - - '[Infra resource] MCIR Image management' - put: - consumes: - - application/json - description: Update image - parameters: - - description: Details for an image object - in: body - name: imageInfo - required: true - schema: - $ref: '#/definitions/mcir.TbImageInfo' - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Image ID - in: path - name: imageId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.TbImageInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Update image - tags: - - '[Infra resource] MCIR Image management' - /ns/{nsId}/resources/searchImage: - post: - consumes: - - application/json - description: Search image - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Keywords - in: body - name: keywords - required: true - schema: - $ref: '#/definitions/mcir.RestSearchImageRequest' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.RestGetAllImageResponse' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Search image - tags: - - '[Infra resource] MCIR Image management' - /ns/{nsId}/resources/securityGroup: - delete: - consumes: - - application/json - description: Delete all Security Groups - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: "" - description: Delete resources containing matched ID-substring only - in: query - name: match - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.IdList' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete all Security Groups - tags: - - '[Infra resource] MCIR Security group management' - get: - consumes: - - application/json - description: List all Security Groups or Security Groups' ID - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Option - enum: - - id - in: query - name: option - type: string - produces: - - application/json - responses: - "200": - description: Different return structures by the given option param - schema: - allOf: - - $ref: '#/definitions/mcir.JSONResult' - - properties: - '[DEFAULT]': - $ref: '#/definitions/mcir.RestGetAllSecurityGroupResponse' - '[ID]': - $ref: '#/definitions/common.IdList' - type: object - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: List all Security Groups or Security Groups' ID - tags: - - '[Infra resource] MCIR Security group management' - post: - consumes: - - application/json - description: Create Security Group - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Details for an securityGroup object - in: body - name: securityGroupReq - required: true - schema: - $ref: '#/definitions/mcir.TbSecurityGroupReq' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.TbSecurityGroupInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Create Security Group - tags: - - '[Infra resource] MCIR Security group management' - /ns/{nsId}/resources/securityGroup/{securityGroupId}: - delete: - consumes: - - application/json - description: Delete Security Group - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Security Group ID - in: path - name: securityGroupId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete Security Group - tags: - - '[Infra resource] MCIR Security group management' - get: - consumes: - - application/json - description: Get Security Group - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Security Group ID - in: path - name: securityGroupId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.TbSecurityGroupInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Get Security Group - tags: - - '[Infra resource] MCIR Security group management' - /ns/{nsId}/resources/spec: - delete: - consumes: - - application/json - description: Delete all specs - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: "" - description: Delete resources containing matched ID-substring only - in: query - name: match - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.IdList' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete all specs - tags: - - '[Infra resource] MCIR Spec management' - get: - consumes: - - application/json - description: List all specs or specs' ID - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Option - enum: - - id - in: query - name: option - type: string - produces: - - application/json - responses: - "200": - description: Different return structures by the given option param - schema: - allOf: - - $ref: '#/definitions/mcir.JSONResult' - - properties: - '[DEFAULT]': - $ref: '#/definitions/mcir.RestGetAllSpecResponse' - '[ID]': - $ref: '#/definitions/common.IdList' - type: object - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: List all specs or specs' ID - tags: - - '[Infra resource] MCIR Spec management' - post: - consumes: - - application/json - description: Register spec - parameters: - - description: registerWithInfo or else - in: query - name: registeringMethod - required: true - type: string - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Details for an spec object - in: body - name: specInfo - schema: - $ref: '#/definitions/mcir.TbSpecInfo' - - description: name, connectionName and cspSpecName - in: body - name: specName - schema: - $ref: '#/definitions/mcir.TbSpecReq' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.TbSpecInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Register spec - tags: - - '[Infra resource] MCIR Spec management' - /ns/{nsId}/resources/spec/{specId}: - delete: - consumes: - - application/json - description: Delete spec - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Spec ID - in: path - name: specId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete spec - tags: - - '[Infra resource] MCIR Spec management' - get: - consumes: - - application/json - description: Get spec - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Spec ID - in: path - name: specId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.TbSpecInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Get spec - tags: - - '[Infra resource] MCIR Spec management' - put: - consumes: - - application/json - description: Update spec - parameters: - - description: Details for an spec object - in: body - name: specInfo - required: true - schema: - $ref: '#/definitions/mcir.TbSpecInfo' - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Spec ID - in: path - name: specId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.TbSpecInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Update spec - tags: - - '[Infra resource] MCIR Spec management' - /ns/{nsId}/resources/sshKey: - delete: - consumes: - - application/json - description: Delete all SSH Keys - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: "" - description: Delete resources containing matched ID-substring only - in: query - name: match - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.IdList' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete all SSH Keys - tags: - - '[Infra resource] MCIR Access key management' - get: - consumes: - - application/json - description: List all SSH Keys or SSH Keys' ID - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Option - enum: - - id - in: query - name: option - type: string - produces: - - application/json - responses: - "200": - description: Different return structures by the given option param - schema: - allOf: - - $ref: '#/definitions/mcir.JSONResult' - - properties: - '[DEFAULT]': - $ref: '#/definitions/mcir.RestGetAllSshKeyResponse' - '[ID]': - $ref: '#/definitions/common.IdList' - type: object - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: List all SSH Keys or SSH Keys' ID - tags: - - '[Infra resource] MCIR Access key management' - post: - consumes: - - application/json - description: Create SSH Key - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Details for an SSH Key object - in: body - name: sshKeyInfo - required: true - schema: - $ref: '#/definitions/mcir.TbSshKeyReq' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.TbSshKeyInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Create SSH Key - tags: - - '[Infra resource] MCIR Access key management' - /ns/{nsId}/resources/sshKey/{sshKeyId}: - delete: - consumes: - - application/json - description: Delete SSH Key - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: SSH Key ID - in: path - name: sshKeyId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete SSH Key - tags: - - '[Infra resource] MCIR Access key management' - get: - consumes: - - application/json - description: Get SSH Key - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: SSH Key ID - in: path - name: sshKeyId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.TbSshKeyInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Get SSH Key - tags: - - '[Infra resource] MCIR Access key management' - /ns/{nsId}/resources/vNet: - delete: - consumes: - - application/json - description: Delete all VNets - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - default: "" - description: Delete resources containing matched ID-substring only - in: query - name: match - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.IdList' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete all VNets - tags: - - '[Infra resource] MCIR Network management' - get: - consumes: - - application/json - description: List all VNets or VNets' ID - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Option - enum: - - id - in: query - name: option - type: string - produces: - - application/json - responses: - "200": - description: Different return structures by the given option param - schema: - allOf: - - $ref: '#/definitions/mcir.JSONResult' - - properties: - '[DEFAULT]': - $ref: '#/definitions/mcir.RestGetAllVNetResponse' - '[ID]': - $ref: '#/definitions/common.IdList' - type: object - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: List all VNets or VNets' ID - tags: - - '[Infra resource] MCIR Network management' - post: - consumes: - - application/json - description: Create VNet - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Details for an VNet object - in: body - name: vNetReq - required: true - schema: - $ref: '#/definitions/mcir.TbVNetReq' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.TbVNetInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Create VNet - tags: - - '[Infra resource] MCIR Network management' - /ns/{nsId}/resources/vNet/{vNetId}: - delete: - consumes: - - application/json - description: Delete VNet - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: VNet ID - in: path - name: vNetId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete VNet - tags: - - '[Infra resource] MCIR Network management' - get: - consumes: - - application/json - description: Get VNet - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: VNet ID - in: path - name: vNetId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.TbVNetInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Get VNet - tags: - - '[Infra resource] MCIR Network management' - /ns/{nsId}/resources/vNet/{vNetId}/subnet: - post: - consumes: - - application/json - description: Create Subnet - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Details for an Subnet object - in: body - name: subnetReq - required: true - schema: - $ref: '#/definitions/mcir.TbSubnetReq' - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/mcir.TbSubnetInfo' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Create Subnet - tags: - - '[Infra resource] MCIR Network management' - /ns/{nsId}/resources/vNet/{vNetId}/subnet/{subnetId}: - delete: - consumes: - - application/json - description: Delete Subnet - parameters: - - default: ns01 - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Subnet ID - in: path - name: subnetId - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete Subnet - tags: - - '[Infra resource] MCIR Network management' - /ns/{nsId}/testRecommendVm: - post: - consumes: - - application/json - description: Recommend MCIS plan (filter and priority) - parameters: - - default: common - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Recommend MCIS plan (filter and priority) - in: body - name: deploymentPlan - schema: - $ref: '#/definitions/mcis.DeploymentPlan' - produces: - - application/json - responses: - "200": - description: OK - schema: - items: - $ref: '#/definitions/mcir.TbSpecInfo' - type: array - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Recommend MCIS plan (filter and priority) - tags: - - '[Infra service] MCIS Provisioning management' - /object: - delete: - consumes: - - application/json - description: Delete an object - parameters: - - description: delete object value by key - in: query - name: key - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete an object - tags: - - '[Admin] System management' - get: - consumes: - - application/json - description: Get value of an object - parameters: - - description: get object value by key - in: query - name: key - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Get value of an object - tags: - - '[Admin] System management' - /objects: - delete: - consumes: - - application/json - description: Delete child objects along with the given object - parameters: - - description: Delete child objects based on the given key string - in: query - name: key - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Delete child objects along with the given object - tags: - - '[Admin] System management' - get: - consumes: - - application/json - description: List all objects for a given key - parameters: - - description: retrieve objects by key - in: query - name: key - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: List all objects for a given key - tags: - - '[Admin] System management' - /region: - get: - consumes: - - application/json - description: List all registered regions - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.RegionList' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: List all registered regions - tags: - - '[Admin] Multi-Cloud environment configuration' - /region/{regionName}: - get: - consumes: - - application/json - description: Get registered region info - parameters: - - description: Name of region to retrieve - in: path - name: regionName - required: true - type: string - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.Region' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Get registered region info - tags: - - '[Admin] Multi-Cloud environment configuration' - /swaggerActive: - get: - consumes: - - application/json - description: Get API document web - produces: - - application/json - responses: - "200": - description: OK - schema: - $ref: '#/definitions/common.SimpleMsg' - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Get API document web - tags: - - '[Admin] System management' -securityDefinitions: - BasicAuth: - type: basic -swagger: "2.0" diff --git a/src/api/rest/docs/v0.4.14.yaml b/src/api/rest/docs/v0.5.0.yaml similarity index 97% rename from src/api/rest/docs/v0.4.14.yaml rename to src/api/rest/docs/v0.5.0.yaml index 2128ccaf2..72cdfd454 100644 --- a/src/api/rest/docs/v0.4.14.yaml +++ b/src/api/rest/docs/v0.5.0.yaml @@ -467,6 +467,11 @@ definitions: type: array name: type: string + systemLabel: + description: SystemLabel is for describing the MCIR in a keyword (any string + can be used) for special System purpose + example: Managed by CB-Tumblebug + type: string vNetId: type: string type: object @@ -692,6 +697,11 @@ definitions: items: $ref: '#/definitions/mcir.TbSubnetInfo' type: array + systemLabel: + description: SystemLabel is for describing the MCIR in a keyword (any string + can be used) for special System purpose + example: Managed by CB-Tumblebug + type: string type: object mcir.TbVNetReq: properties: @@ -850,21 +860,6 @@ definitions: $ref: '#/definitions/mcis.Policy' type: array type: object - mcis.McisRecommendReq: - properties: - maxResultNum: - type: string - placementAlgo: - type: string - placementParam: - items: - $ref: '#/definitions/common.KeyValue' - type: array - vmReq: - items: - $ref: '#/definitions/mcis.TbVmRecommendReq' - type: array - type: object mcis.McisStatusInfo: properties: id: @@ -874,6 +869,11 @@ definitions: default:yes) example: '[yes, no]' type: string + label: + description: Label is for describing the mcis in a keyword (any string can + be used) + example: User custom label + type: string masterIp: example: 32.201.134.113 type: string @@ -888,6 +888,11 @@ definitions: type: string statusCount: $ref: '#/definitions/mcis.StatusCountInfo' + systemLabel: + description: SystemLabel is for describing the mcis in a keyword (any string + can be used) for special System purpose + example: Managed by CB-Tumblebug + type: string targetAction: type: string targetStatus: @@ -1056,20 +1061,6 @@ definitions: result: type: string type: object - mcis.RestPostMcisRecommendResponse: - properties: - placementAlgo: - type: string - placementParam: - items: - $ref: '#/definitions/common.KeyValue' - type: array - vmRecommend: - description: VmReq []TbVmRecommendReq `json:"vmReq"` - items: - $ref: '#/definitions/mcis.TbVmRecommendInfo' - type: array - type: object mcis.SpiderVMInfo: properties: iid: @@ -1212,14 +1203,17 @@ definitions: example: "no" type: string label: - default: "no" description: Label is for describing the mcis in a keyword (any string can be used) - example: custom tag + example: DynamicVM type: string name: example: mcis01 type: string + systemLabel: + description: SystemLabel is for describing the mcis in a keyword (any string + can be used) for special System purpose + type: string vm: items: $ref: '#/definitions/mcis.TbVmDynamicReq' @@ -1246,6 +1240,7 @@ definitions: label: description: Label is for describing the mcis in a keyword (any string can be used) + example: User custom label type: string name: type: string @@ -1255,6 +1250,11 @@ definitions: type: string statusCount: $ref: '#/definitions/mcis.StatusCountInfo' + systemLabel: + description: SystemLabel is for describing the mcis in a keyword (any string + can be used) for special System purpose + example: Managed by CB-Tumblebug + type: string targetAction: type: string targetStatus: @@ -1279,7 +1279,6 @@ definitions: example: "no" type: string label: - default: "no" description: Label is for describing the mcis in a keyword (any string can be used) example: custom tag @@ -1289,6 +1288,10 @@ definitions: type: string placementAlgo: type: string + systemLabel: + description: SystemLabel is for describing the mcis in a keyword (any string + can be used) for special System purpose + type: string vm: items: $ref: '#/definitions/mcis.TbVmReq' @@ -1402,47 +1405,6 @@ definitions: vmUserPassword: type: string type: object - mcis.TbVmPriority: - properties: - priority: - type: string - vmSpec: - $ref: '#/definitions/mcir.TbSpecInfo' - type: object - mcis.TbVmRecommendInfo: - properties: - placementAlgo: - type: string - placementParam: - items: - $ref: '#/definitions/common.KeyValue' - type: array - vmPriority: - items: - $ref: '#/definitions/mcis.TbVmPriority' - type: array - vmReq: - $ref: '#/definitions/mcis.TbVmRecommendReq' - type: object - mcis.TbVmRecommendReq: - properties: - diskSize: - type: string - maxResultNum: - type: string - memorySize: - type: string - placementAlgo: - type: string - placementParam: - items: - $ref: '#/definitions/common.KeyValue' - type: array - requestName: - type: string - vcpuSize: - type: string - type: object mcis.TbVmReq: properties: connectionName: @@ -2901,12 +2863,11 @@ paths: summary: Create multiple VMs by VM group in specified MCIS tags: - '[Infra service] MCIS Provisioning management' - /ns/{nsId}/mcis/recommend: + /ns/{nsId}/mcisDynamic: post: consumes: - application/json - deprecated: true - description: Get MCIS recommendation + description: Create MCIS Dynamically from common spec and image parameters: - default: ns01 description: Namespace ID @@ -2914,19 +2875,19 @@ paths: name: nsId required: true type: string - - description: Details for an MCIS object + - description: Details for MCIS object in: body - name: mcisRecommendReq + name: mcisReq required: true schema: - $ref: '#/definitions/mcis.McisRecommendReq' + $ref: '#/definitions/mcis.TbMcisDynamicReq' produces: - application/json responses: "200": description: OK schema: - $ref: '#/definitions/mcis.RestPostMcisRecommendResponse' + $ref: '#/definitions/mcis.TbMcisInfo' "404": description: Not Found schema: @@ -2935,34 +2896,35 @@ paths: description: Internal Server Error schema: $ref: '#/definitions/common.SimpleMsg' - summary: Get MCIS recommendation + summary: Create MCIS Dynamically tags: - '[Infra service] MCIS Provisioning management' - /ns/{nsId}/mcisDynamic: + /ns/{nsId}/mcisRecommendVm: post: consumes: - application/json - description: Create MCIS Dynamically from common spec and image + description: Recommend MCIS plan (filter and priority) parameters: - - default: ns01 + - default: common description: Namespace ID in: path name: nsId required: true type: string - - description: Details for MCIS object + - description: Recommend MCIS plan (filter and priority) in: body - name: mcisReq - required: true + name: deploymentPlan schema: - $ref: '#/definitions/mcis.TbMcisDynamicReq' + $ref: '#/definitions/mcis.DeploymentPlan' produces: - application/json responses: "200": description: OK schema: - $ref: '#/definitions/mcis.TbMcisInfo' + items: + $ref: '#/definitions/mcir.TbSpecInfo' + type: array "404": description: Not Found schema: @@ -2971,7 +2933,7 @@ paths: description: Internal Server Error schema: $ref: '#/definitions/common.SimpleMsg' - summary: Create MCIS Dynamically + summary: Recommend MCIS plan (filter and priority) tags: - '[Infra service] MCIS Provisioning management' /ns/{nsId}/monitoring/install/mcis/{mcisId}: @@ -3694,6 +3656,12 @@ paths: name: nsId required: true type: string + - description: Option + enum: + - register + in: query + name: option + type: string - description: Details for an securityGroup object in: body name: securityGroupReq @@ -4262,6 +4230,12 @@ paths: name: nsId required: true type: string + - description: Option + enum: + - register + in: query + name: option + type: string - description: Details for an VNet object in: body name: vNetReq @@ -4418,43 +4392,6 @@ paths: summary: Delete Subnet tags: - '[Infra resource] MCIR Network management' - /ns/{nsId}/testRecommendVm: - post: - consumes: - - application/json - description: Recommend MCIS plan (filter and priority) - parameters: - - default: common - description: Namespace ID - in: path - name: nsId - required: true - type: string - - description: Recommend MCIS plan (filter and priority) - in: body - name: deploymentPlan - schema: - $ref: '#/definitions/mcis.DeploymentPlan' - produces: - - application/json - responses: - "200": - description: OK - schema: - items: - $ref: '#/definitions/mcir.TbSpecInfo' - type: array - "404": - description: Not Found - schema: - $ref: '#/definitions/common.SimpleMsg' - "500": - description: Internal Server Error - schema: - $ref: '#/definitions/common.SimpleMsg' - summary: Recommend MCIS plan (filter and priority) - tags: - - '[Infra service] MCIS Provisioning management' /object: delete: consumes: From 21e975452c7ff1d1998c7a50bec7a290ba3c8d39 Mon Sep 17 00:00:00 2001 From: seokho-son Date: Thu, 9 Dec 2021 14:18:14 +0900 Subject: [PATCH 5/5] Update gomod for v0.5.0 --- go.mod | 12 +++---- go.sum | 104 +++++++++++++++++++++++++++++++++++++++++---------------- 2 files changed, 81 insertions(+), 35 deletions(-) diff --git a/go.mod b/go.mod index 1c07f9fcc..ad7f53f7d 100644 --- a/go.mod +++ b/go.mod @@ -5,15 +5,16 @@ go 1.16 replace ( github.com/coreos/bbolt => go.etcd.io/bbolt v1.3.3 github.com/coreos/go-systemd => github.com/coreos/go-systemd/v22 v22.0.0 + github.com/dgrijalva/jwt-go => github.com/golang-jwt/jwt v3.2.1+incompatible google.golang.org/grpc => google.golang.org/grpc v1.26.0 ) require ( github.com/bramvdbogaerde/go-scp v1.0.0 - github.com/cloud-barista/cb-dragonfly v0.4.3 - github.com/cloud-barista/cb-log v0.4.0 - github.com/cloud-barista/cb-spider v0.4.18 - github.com/cloud-barista/cb-store v0.4.1 + github.com/cloud-barista/cb-dragonfly v0.4.4 + github.com/cloud-barista/cb-log v0.5.0 + github.com/cloud-barista/cb-spider v0.4.19 + github.com/cloud-barista/cb-store v0.5.0 github.com/go-playground/validator/v10 v10.9.0 github.com/go-resty/resty/v2 v2.7.0 github.com/go-sql-driver/mysql v1.6.0 @@ -39,8 +40,7 @@ require ( github.com/uber/jaeger-client-go v2.29.1+incompatible github.com/uber/jaeger-lib v2.4.1+incompatible // indirect golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 - golang.org/x/net v0.0.0-20211118161319-6a13c67c3ce4 // indirect - google.golang.org/grpc v1.39.0 + google.golang.org/grpc v1.42.0 gopkg.in/yaml.v2 v2.4.0 xorm.io/xorm v1.1.2 ) diff --git a/go.sum b/go.sum index ffcfe142f..d1b23b384 100644 --- a/go.sum +++ b/go.sum @@ -59,6 +59,7 @@ github.com/Azure/go-autorest/autorest v0.10.0/go.mod h1:/FALq9T/kS7b5J5qsQ+RSTUd github.com/Azure/go-autorest/autorest v0.10.1/go.mod h1:/FALq9T/kS7b5J5qsQ+RSTUdAmGFqi0vUdVNNx8q630= github.com/Azure/go-autorest/autorest v0.11.1/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= github.com/Azure/go-autorest/autorest v0.11.17/go.mod h1:eipySxLmqSyC5s5k1CLupqet0PSENBEDP93LQ9a8QYw= +github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= github.com/Azure/go-autorest/autorest/adal v0.8.0/go.mod h1:Z6vX6WXXuyieHAXwMj0S6HY6e6wcHn37qQMBQlvY3lc= github.com/Azure/go-autorest/autorest/adal v0.8.1/go.mod h1:ZjhuQClTqx435SRJ2iMlOxPYt3d2C/T/7TiQCVZSn3Q= @@ -67,6 +68,7 @@ github.com/Azure/go-autorest/autorest/adal v0.8.3/go.mod h1:ZjhuQClTqx435SRJ2iMl github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod h1:/c022QCutn2P7uY+/oQWWNcK9YU+MH96NgK+jErpbcg= github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= github.com/Azure/go-autorest/autorest/adal v0.9.11/go.mod h1:nBKAnTomx8gDtl+3ZCJv2v0KACFHWTB2drffI1B68Pk= +github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= github.com/Azure/go-autorest/autorest/azure/auth v0.4.2/go.mod h1:90gmfKdlmKgfjUpnCEpOJzsUEjrWDSLwHIG73tSXddM= github.com/Azure/go-autorest/autorest/azure/auth v0.5.8/go.mod h1:kxyKZTSfKh8OVFWPAgOgQ/frrJgeYQJPyR5fLFmXko4= github.com/Azure/go-autorest/autorest/azure/cli v0.3.1/go.mod h1:ZG5p860J94/0kI9mNJVoIoLgXcirM2gF5i2kWloofxw= @@ -85,6 +87,7 @@ github.com/Azure/go-autorest/autorest/validation v0.2.0/go.mod h1:3EEqHnBxQGHXRY github.com/Azure/go-autorest/autorest/validation v0.3.1/go.mod h1:yhLgjC0Wda5DYXl6JAsWyUe4KVNffhoDhG0zVzUMo3E= github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= +github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk= github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= @@ -135,6 +138,7 @@ github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod h1:H github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= +github.com/Workiva/go-datastructures v1.0.53/go.mod h1:1yZL+zfsztete+ePzZz/Zb1/t5BnDuE2Ya2MMGhzP6A= github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM= github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= @@ -224,16 +228,18 @@ github.com/cilium/ebpf v0.6.2/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJ github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= -github.com/cloud-barista/cb-dragonfly v0.4.3 h1:25QDeYGe/4CGOrW9xOqW4jAfV83WsF9xrbdSB8OPU1E= -github.com/cloud-barista/cb-dragonfly v0.4.3/go.mod h1:mF7G7vH/dpokD7IZQ/ZYJ4SGO4LXlpJSOnb//9WeEuU= +github.com/cloud-barista/cb-dragonfly v0.4.4 h1:dnaTFbO2rarXZTB1I1U8OW++moRScgOoy2XCrdGL2Ho= +github.com/cloud-barista/cb-dragonfly v0.4.4/go.mod h1:UllpEB0fBoEl5kUi7U/e5viwOFVxVA3pKhskds+vvVM= github.com/cloud-barista/cb-log v0.3.1/go.mod h1:C0KNV97sw8IoLSlNuSiCGDQIuS/wXJaZWV/6MOwc20c= -github.com/cloud-barista/cb-log v0.4.0 h1:PRUMLg/6iRUTeN8FFQA9kF/9wp9GTuFKM/Vpv6w2JXU= github.com/cloud-barista/cb-log v0.4.0/go.mod h1:C0KNV97sw8IoLSlNuSiCGDQIuS/wXJaZWV/6MOwc20c= +github.com/cloud-barista/cb-log v0.5.0 h1:WoUnXtNNNTA7wRgQa6sFNs57O3mLAOrh4aDHC4cU0CI= +github.com/cloud-barista/cb-log v0.5.0/go.mod h1:C0KNV97sw8IoLSlNuSiCGDQIuS/wXJaZWV/6MOwc20c= github.com/cloud-barista/cb-spider v0.4.5/go.mod h1:/6DT/uHT/XEN6pm3Ne89awbjrFBJl8PE6F3i8T4SW/Y= -github.com/cloud-barista/cb-spider v0.4.18 h1:XzPuKWA7EdZKWsZOCLZEr5Kl1oSTjYKAdb0zinat4jU= -github.com/cloud-barista/cb-spider v0.4.18/go.mod h1:QhEE8dYh0xUvi4tSyxrbIZn1TzCwpDfFQTVTYIGlS6s= -github.com/cloud-barista/cb-store v0.4.1 h1:/4Y8SWO3QAvQU2YUc8i72aBp+W5X8rvgk5w4yMt0MQg= +github.com/cloud-barista/cb-spider v0.4.19 h1:Ovl99GVV7fElKQEyy+e9ILhJ9kmECis78603loaVisY= +github.com/cloud-barista/cb-spider v0.4.19/go.mod h1:QhEE8dYh0xUvi4tSyxrbIZn1TzCwpDfFQTVTYIGlS6s= github.com/cloud-barista/cb-store v0.4.1/go.mod h1:d3mwxDF2gC4lc7a+DFc2eo1OqqS9sHygLGUrU94hhj0= +github.com/cloud-barista/cb-store v0.5.0 h1:1pqgmon1CQWQvjalm23K15G23qhP9hMoy9AUb8tn7bs= +github.com/cloud-barista/cb-store v0.5.0/go.mod h1:EhuQfTQRoLPE6jCMMRGbM4OEIZv+Zk2Zf6wxsJ5GyEM= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= github.com/confluentinc/confluent-kafka-go v1.7.0/go.mod h1:u2zNLny2xq+5rWeTQjFHbDzzNuba4P1vo31r9r4uAdg= @@ -320,8 +326,9 @@ github.com/containers/ocicrypt v1.0.1/go.mod h1:MeJDzk1RJHv89LjsH0Sp5KTY3ZYkjXO/ github.com/containers/ocicrypt v1.1.0/go.mod h1:b8AOe0YR67uU8OqfVNcznfFpAzu3rdgUV4GP9qXPfu4= github.com/containers/ocicrypt v1.1.1/go.mod h1:Dm55fwWm1YZAjYRaJ94z2mfZikIyIN4B0oB3dj3jFxY= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/etcd v3.3.25+incompatible h1:0GQEw6h3YnuOVdtwygkIfJ+Omx0tZ8/QkVyXI4LkbeY= github.com/coreos/etcd v3.3.25+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/etcd v3.3.27+incompatible h1:QIudLb9KeBsE5zyYxd1mjzRSkzLg9Wf9QlRwFgd6oTA= +github.com/coreos/etcd v3.3.27+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-iptables v0.4.5/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU= github.com/coreos/go-iptables v0.5.0/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU= github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= @@ -355,9 +362,6 @@ github.com/deepmap/oapi-codegen v1.8.1/go.mod h1:YLgSKSDv/bZQB7N4ws6luhozi3cEdRk github.com/denisenkom/go-mssqldb v0.0.0-20200428022330-06a60b6afbbc/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU= github.com/denisenkom/go-mssqldb v0.9.0/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU= github.com/denverdino/aliyungo v0.0.0-20190125010748-a747050bb1ba/go.mod h1:dV8lFg6daOBZbT6/BDGIz6Y3WFGn8juu6G+CQ6LHtl0= -github.com/dgrijalva/jwt-go v0.0.0-20170104182250-a601269ab70c/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= -github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM= -github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgrijalva/jwt-go/v4 v4.0.0-preview1/go.mod h1:+hnT3ywWDTAFrW5aE+u2Sa/wT555ZqwoCS+pk3p6ry4= github.com/dgryski/go-bitstream v0.0.0-20180413035011-3522498ce2c8/go.mod h1:VMaSuZ+SZcx/wljOQKvp5srsbCiKDEb6K2wC4+PiBmQ= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= @@ -393,14 +397,17 @@ github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/etcd-io/etcd v3.3.25+incompatible h1:dwTnorWhynXruhNhJ89adl8WPdiBTWnqOeBxgri26SM= github.com/etcd-io/etcd v3.3.25+incompatible/go.mod h1:cdZ77EstHBwVtD6iTgzgvogwcjo9m4iOqoijouPJ4bs= +github.com/etcd-io/etcd v3.3.27+incompatible h1:nCKvIhaXDoUqjrtErxDX9qKB7xutRJIT0CogDrDC2R0= +github.com/etcd-io/etcd v3.3.27+incompatible/go.mod h1:cdZ77EstHBwVtD6iTgzgvogwcjo9m4iOqoijouPJ4bs= github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/evanphx/json-patch v4.11.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= +github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/foxcpp/go-mockdns v0.0.0-20201212160233-ede2f9158d15/go.mod h1:tPg4cp4nseejPd+UKxtCVQ2hUxNTZ7qQZJa7CLriIeo= github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= @@ -434,6 +441,7 @@ github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= +github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= github.com/go-openapi/analysis v0.0.0-20180825180245-b006789cd277/go.mod h1:k70tL6pCuVxPJOHXQ+wIac1FUrvNkHolPie/cLEU6hI= github.com/go-openapi/analysis v0.17.0/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik= github.com/go-openapi/analysis v0.18.0/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik= @@ -519,7 +527,6 @@ github.com/go-playground/universal-translator v0.18.0 h1:82dyy6p4OuJq4/CByFNOn/j github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl+lu/H90nyDXpg0fqeB/AQUGNTVA= github.com/go-playground/validator/v10 v10.9.0 h1:NgTtmN58D0m8+UuxtYmGztBJB7VnPgjj221I1QHci2A= github.com/go-playground/validator/v10 v10.9.0/go.mod h1:74x4gJWsvQexRdW8Pn3dXSGrTK4nAUsbPlLADvpJkos= -github.com/go-resty/resty/v2 v2.6.0 h1:joIR5PNLM2EFqqESUjCMGXrWmXNHEU9CEiK813oKYS4= github.com/go-resty/resty/v2 v2.6.0/go.mod h1:PwvJS6hvaPkjtjNg9ph+VrSD92bi5Zq73w/BIH7cC3Q= github.com/go-resty/resty/v2 v2.7.0 h1:me+K9p3uhSmXtrBZ4k9jcEAfJmuC8IivWHwaLZwPrFY= github.com/go-resty/resty/v2 v2.7.0/go.mod h1:9PWDzw47qPphMRFfhsyk0NnSgvluHcljSMVIq3w7q0I= @@ -571,6 +578,8 @@ github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXP github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/goji/httpauth v0.0.0-20160601135302-2da839ab0f4d/go.mod h1:nnjvkQ9ptGaCkuDUx6wNykzzlUixGxvkme+H/lnzb+A= +github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= +github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY= github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= @@ -585,8 +594,9 @@ github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4er github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e h1:1r7pUrabqp18hOBcwBwiTsbnFeTZHV9eER/QT5JVZxY= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= @@ -620,8 +630,9 @@ github.com/golang/snappy v0.0.3 h1:fHPg5GQYlCeLIPB9BZqMVR5nR9A+IM5zcgeTdjMYmLA= github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golangci/lint-1 v0.0.0-20181222135242-d2cdd8c08219/go.mod h1:/X8TswGSh1pIozq4ZwCfxS0WA5JGXguxk94ar/4c87Y= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0 h1:0udJVsspx3VBr5FwtLhQQtuAsVc79tTq0ocGIPAU6qo= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.1 h1:gK4Kx5IaGY9CD5sPJ36FHiBJ6ZXl0kilRiiCj+jdYp4= +github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= github.com/google/flatbuffers v1.11.0/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -665,8 +676,11 @@ github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+ github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= +github.com/googleapis/gnostic v0.1.0/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= github.com/googleapis/gnostic v0.4.0/go.mod h1:on+2t9HRStVgn95RSsFWFz+6Q0Snyqv1awfrALZdbtU= github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= +github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= +github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA= github.com/gophercloud/gophercloud v0.1.0/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEoIEcSTewFxm1c5g8= github.com/gophercloud/gophercloud v0.10.0/go.mod h1:gmC5oQqMDOMO1t1gq5DquX/yAU808e/4mzjjDA76+Ss= github.com/gophercloud/gophercloud v0.18.0/go.mod h1:wRtmUelyIIv3CSSDI47aUwbs075O6i+LY+pXsKCBsb4= @@ -791,8 +805,9 @@ github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/u github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.11 h1:uVUAXhF2To8cbw/3xN3pxj6kk7TYKs98NIrTqPlMWAQ= github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= +github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/jsternberg/zap-logfmt v1.0.0/go.mod h1:uvPs/4X51zdkcm5jXl5SYoN+4RK21K8mysFmDaM/h+o= @@ -918,6 +933,7 @@ github.com/mitchellh/mapstructure v1.4.1 h1:CpVNEelQCZBooIPDn+AR3NpivK/TIKU8bDxd github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f/go.mod h1:OkQIRizQZAeMln+1tSwduZz7+Af5oFlKirV/MSYes2A= github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc= +github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= github.com/moby/sys/mountinfo v0.4.0/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= github.com/moby/sys/mountinfo v0.4.1/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= github.com/moby/sys/symlink v0.1.0/go.mod h1:GGDODQmbFOjFsXvfLVn3+ZRxkch54RkSiGqsZeMYowQ= @@ -927,8 +943,9 @@ github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= @@ -962,6 +979,7 @@ github.com/onsi/ginkgo v1.10.1/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+ github.com/onsi/ginkgo v1.10.3/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= +github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= github.com/onsi/ginkgo v1.14.2 h1:8mVmC9kjFFmA8H4pKMUhcblgifdkOIXPvbhN1T36q1M= github.com/onsi/ginkgo v1.14.2/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= github.com/onsi/gomega v0.0.0-20151007035656-2152b45fa28a/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= @@ -1023,6 +1041,7 @@ github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9 github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/peterh/liner v1.0.1-0.20180619022028-8c1271fcf47f/go.mod h1:xIteQHvHuaLYG9IFj6mSxM0fCKrs34IrEQUhOYuGPHc= github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= +github.com/philhofer/fwd v1.1.1/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA= @@ -1140,8 +1159,9 @@ github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9 github.com/snowflakedb/gosnowflake v1.3.4/go.mod h1:NsRq2QeiMUuoNUJhp5Q6xGC4uBrsS9g6LwZVEkTWgsE= github.com/snowzach/rotatefilehook v0.0.0-20180327172521-2f64f265f58c h1:iUEy7/LRto3JqR/GLXDTEFP+s+qIjWw4pM8yzMfXC9A= github.com/snowzach/rotatefilehook v0.0.0-20180327172521-2f64f265f58c/go.mod h1:ZLVe3VfhAuMYLYWliGEydMBoRnfib8EFSqkBYu1ck9E= -github.com/soheilhy/cmux v0.1.4 h1:0HKaf1o97UwFjHH9o5XsHUOF+tqmdA7KEzXLpiyaw0E= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= +github.com/soheilhy/cmux v0.1.5 h1:jjzc5WVemNEDTLwv9tlmemhC73tI08BNOIGwBOo10Js= +github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0= github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= @@ -1169,6 +1189,7 @@ github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/y github.com/spf13/viper v1.8.1 h1:Kq1fyeebqsBfbjZj4EL7gj2IO0mMaiyjYUWcUsl2O44= github.com/spf13/viper v1.8.1/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns= github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980/go.mod h1:AO3tvPzVZ/ayst6UlUKUv6rcPQInYe3IknH3jYhAKu8= +github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= @@ -1219,10 +1240,13 @@ github.com/tidwall/sjson v1.1.7 h1:sgVPwu/yygHJ2m1pJDLgGM/h+1F5odx5Q9ljG3imRm8= github.com/tidwall/sjson v1.1.7/go.mod h1:w/yG+ezBeTdUxiKs5NcPicO9diP38nk96QBAbIIGeFs= github.com/tinylib/msgp v1.0.2/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= github.com/tinylib/msgp v1.1.0/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= +github.com/tinylib/msgp v1.1.5/go.mod h1:eQsjooMTnV42mHu917E26IogZ2930nFyBQdofk10Udg= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tmc/grpc-websocket-proxy v0.0.0-20200427203606-3cfed13b9966 h1:j6JEOq5QWFker+d7mFQYOhjTZonQ7YkLTHm56dbn+yM= github.com/tmc/grpc-websocket-proxy v0.0.0-20200427203606-3cfed13b9966/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802 h1:uruHq4dN7GR16kFc5fp3d1RIYzJW5onx8Ybykw2YQFA= +github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/ttacon/chalk v0.0.0-20160626202418-22c06c80ed31/go.mod h1:onvgF043R+lC5RZ8IT9rBXDaEDnpnw/Cl+HFiw+v/7Q= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= github.com/uber-go/tally v3.3.15+incompatible/go.mod h1:YDTIBxdXyOU/sCWilKB4bgyufu1cEi0jdVnRdxvjnmU= github.com/uber/athenadriver v1.1.4/go.mod h1:tQjho4NzXw55LGfSZEcETuYydpY1vtmixUabHkC1K/E= @@ -1319,8 +1343,9 @@ go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/goleak v1.1.10 h1:z+mqJhf6ss6BSfSM671tgKyZBFPTTJM+HLxnhPC3wu0= go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= +go.uber.org/goleak v1.1.11-0.20210813005559-691160354723 h1:sHOAIxRGBp443oHZIPB+HsUGaksVCXVQENPxwTfQdH4= +go.uber.org/goleak v1.1.11-0.20210813005559-691160354723/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.4.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= @@ -1336,8 +1361,9 @@ go.uber.org/zap v1.14.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= go.uber.org/zap v1.14.1/go.mod h1:Mb2vm2krFEG5DV0W9qcHBYFtp/Wku1cvYaqPsS/WYfc= go.uber.org/zap v1.16.0/go.mod h1:MA8QOfq0BHJwdXa996Y4dYkAqRKB8/1K1QMMZVaNZjQ= go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= -go.uber.org/zap v1.18.1 h1:CSUJ2mjFszzEWt4CdKISEuChVIXGBn3lAPwkRGyVrc4= go.uber.org/zap v1.18.1/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= +go.uber.org/zap v1.19.1 h1:ue41HOKd1vGURxrmeKIgELGb3jPW9DMUDGtsinblHwI= +go.uber.org/zap v1.19.1/go.mod h1:j3DNczoxDZroyBnOT1L/Q79cfUMGZxlv/9dzN7SM1rI= golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20180505025534-4ec37c66abab/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= @@ -1369,6 +1395,7 @@ golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8= golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= @@ -1400,7 +1427,6 @@ golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRu golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug= golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= @@ -1475,14 +1501,14 @@ golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96b golang.org/x/net v0.0.0-20210421230115-4e50805a0758/go.mod h1:72T/g9IO56b78aLF+1Kcs5dz7/ng1VjMUvfKvpfy+jM= golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210510095157-81045d8b478c/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210520170846-37e1c6afe023/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210614182718-04defd469f4e/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210716203947-853a461950ff/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210913180222-943fd674d43e h1:+b/22bPvDYt4NPDcy4xAGCmON713ONAWFeY3Z7I3tR8= golang.org/x/net v0.0.0-20210913180222-943fd674d43e/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211029224645-99673261e6eb/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211118161319-6a13c67c3ce4 h1:DZshvxDdVoeKIbudAdFEKi+f70l51luSy/7b76ibTY0= -golang.org/x/net v0.0.0-20211118161319-6a13c67c3ce4/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211206223403-eba003a116a9 h1:HhGRSJWlxVO54+s9MeOVrZrbnwv+6oZQIvsUrMUte7U= +golang.org/x/net v0.0.0-20211206223403-eba003a116a9/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1621,11 +1647,13 @@ golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210910150752-751e447fb3d0 h1:xrCZDmdtoloIiooiA9q0OQb9r8HejIHYoHGhGCe1pGg= golang.org/x/sys v0.0.0-20210910150752-751e447fb3d0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211205182925-97ca703d548d h1:FjkYO/PPp4Wi0EAUOVLxePm7qVW4r4ctbWpURyuOD0E= +golang.org/x/sys v0.0.0-20211205182925-97ca703d548d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 h1:v+OssWQX+hTHEmOBgwxdZxK4zHq3yOs8F9J7mk0PY8E= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d h1:SZxvLBoTP5yHO3Frd4z4vrF+DBX9vMVanchswa69toE= +golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1645,8 +1673,10 @@ golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20210611083556-38a9dc6acbc6 h1:Vv0JUPWTyeqUq42B2WJ1FeIDjjvGKoA2Ss+Ts0lAVbs= golang.org/x/time v0.0.0-20210611083556-38a9dc6acbc6/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 h1:GZokNIeuVkl3aZHJchRrr13WCsols02MLUcz1U9is6M= +golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -1715,6 +1745,7 @@ golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= +golang.org/x/tools v0.0.0-20201022035929-9cf592e881e9/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201120155355-20be4ac4bd6e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201124115921-2c860bdd6e78/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= @@ -1815,6 +1846,7 @@ google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= @@ -1831,8 +1863,9 @@ google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxH google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24= -google.golang.org/genproto v0.0.0-20210719143636-1d5a45f8e492 h1:7yQQsvnwjfEahbNNEKcBHv3mR+HnB1ctGY/z1JXzx8M= google.golang.org/genproto v0.0.0-20210719143636-1d5a45f8e492/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= +google.golang.org/genproto v0.0.0-20211206220100-3cb06788ce7f h1:QH7+Ym+7e2XV1dZIHapkXoeqHyNaCzn6MNp3JBaYYUc= +google.golang.org/genproto v0.0.0-20211206220100-3cb06788ce7f/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/grpc v1.26.0 h1:2dTRdpdFEEhJYQD8EMLB61nnrzSCTbG38PhqdhvOltg= google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= @@ -1908,13 +1941,17 @@ honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= k8s.io/api v0.17.5/go.mod h1:0zV5/ungglgy2Rlm3QK8fbxkXVs+BSJWpJP/+8gUVLY= +k8s.io/api v0.18.9/go.mod h1:9u/h6sUh6FxfErv7QqetX1EB3yBMIYOBXzdcf0Gf0rc= k8s.io/api v0.20.1/go.mod h1:KqwcCVogGxQY3nBlRpwt+wpAMF/KjaCc7RpywacvqUo= k8s.io/api v0.20.4/go.mod h1:++lNL1AJMkDymriNniQsWRkMDzRaX2Y/POTUi8yvqYQ= k8s.io/api v0.20.6/go.mod h1:X9e8Qag6JV/bL5G6bU8sdVRltWKmdHsFUGS3eVndqE8= +k8s.io/api v0.22.2/go.mod h1:y3ydYpLJAaDI+BbSe2xmGcqxiWHmWjkEeIbiwHvnPR8= k8s.io/apimachinery v0.17.5/go.mod h1:ioIo1G/a+uONV7Tv+ZmCbMG1/a3kVw5YcDdncd8ugQ0= +k8s.io/apimachinery v0.18.9/go.mod h1:PF5taHbXgTEJLU+xMypMmYTXTWPJ5LaW8bfsisxnEXk= k8s.io/apimachinery v0.20.1/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= k8s.io/apimachinery v0.20.4/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= k8s.io/apimachinery v0.20.6/go.mod h1:ejZXtW1Ra6V1O5H8xPBGz+T3+4gfkTCeExAHKU57MAc= +k8s.io/apimachinery v0.22.2/go.mod h1:O3oNtNadZdeOMxHFVxOreoznohCpy0z6mocxbZr7oJ0= k8s.io/apiserver v0.20.1/go.mod h1:ro5QHeQkgMS7ZGpvf4tSMx6bBOgPfE+f52KwvXfScaU= k8s.io/apiserver v0.20.4/go.mod h1:Mc80thBKOyy7tbvFtB4kJv1kbdD0eIH8k8vianJcbFM= k8s.io/apiserver v0.20.6/go.mod h1:QIJXNt6i6JB+0YQRNcS0hdRHJlMhflFmsBDeSgT1r8Q= @@ -1922,6 +1959,7 @@ k8s.io/client-go v0.17.5/go.mod h1:S8uZpBpjJJdEH/fEyxcqg7Rn0P5jH+ilkgBHjriSmNo= k8s.io/client-go v0.20.1/go.mod h1:/zcHdt1TeWSd5HoUe6elJmHSQ6uLLgp4bIJHVEuy+/Y= k8s.io/client-go v0.20.4/go.mod h1:LiMv25ND1gLUdBeYxBIwKpkSC5IsozMMmOOeSJboP+k= k8s.io/client-go v0.20.6/go.mod h1:nNQMnOvEUEsOzRRFIIkdmYOjAZrC8bgq0ExboWSU1I0= +k8s.io/client-go v0.22.2/go.mod h1:sAlhrkVDf50ZHx6z4K0S40wISNTarf1r800F+RlCF6U= k8s.io/component-base v0.20.1/go.mod h1:guxkoJnNoh8LNrbtiQOlyp2Y2XFCZQmrcg2n/DeYNLk= k8s.io/component-base v0.20.4/go.mod h1:t4p9EdiagbVCJKrQ1RsA5/V4rFQNDfRlevJajlGwgjI= k8s.io/component-base v0.20.6/go.mod h1:6f1MPBAeI+mvuts3sIdtpjljHWBQ2cIy38oBIWMYnrM= @@ -1936,12 +1974,16 @@ k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= k8s.io/klog/v2 v2.4.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= +k8s.io/klog/v2 v2.9.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec= k8s.io/kube-openapi v0.0.0-20200316234421-82d701f24f9d/go.mod h1:F+5wygcW0wmRTnM3cOgIqGivxkwSWIWT5YdsDbeAOaU= +k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6/go.mod h1:GRQhZsXIAJ1xR0C9bd8UpWHZ5plfAS9fzPjJuQ6JL3E= k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd/go.mod h1:WOJ3KddDSol4tAGcJo0Tvi+dK12EcqSLqcWsryKMpfM= +k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw= k8s.io/kubernetes v1.13.0/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk= k8s.io/utils v0.0.0-20191114184206-e782cd3c129f/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= k8s.io/utils v0.0.0-20200414100711-2df71ebbae66/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= modernc.org/cc/v3 v3.31.5-0.20210308123301-7a3e9dab9009 h1:u0oCo5b9wyLr++HF3AN9JicGhkUxJhMz51+8TIZH9N0= modernc.org/cc/v3 v3.31.5-0.20210308123301-7a3e9dab9009/go.mod h1:0R6jl1aZlIl2avnYfbfHBS1QB6/f+16mihBObaBC878= modernc.org/ccgo/v3 v3.9.0 h1:JbcEIqjw4Agf+0g3Tc85YvfYqkkFOv6xBwS4zkfqSoA= @@ -1973,11 +2015,15 @@ rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.14/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= sigs.k8s.io/structured-merge-diff/v2 v2.0.1/go.mod h1:Wb7vfKAodbKgf6tn1Kl0VvGj7mRH6DGaRcixXEJXTsE= +sigs.k8s.io/structured-merge-diff/v3 v3.0.0-20200116222232-67a7b8c61874/go.mod h1:PlARxl6Hbt/+BC80dRLi1qAmnMqwqDg62YvvVkZjemw= +sigs.k8s.io/structured-merge-diff/v3 v3.0.0/go.mod h1:PlARxl6Hbt/+BC80dRLi1qAmnMqwqDg62YvvVkZjemw= sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= sigs.k8s.io/structured-merge-diff/v4 v4.0.3/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= +sigs.k8s.io/structured-merge-diff/v4 v4.1.2/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= -sigs.k8s.io/yaml v1.2.0 h1:kr/MCeFWJWTwyaHoR9c8EjH9OumOmoF9YGiZd7lFm/Q= sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= +sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= +sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= xorm.io/builder v0.3.8 h1:P/wPgRqa9kX5uE0aA1/ukJ23u9KH0aSRpHLwDKXigSE= xorm.io/builder v0.3.8/go.mod h1:aUW0S9eb9VCaPohFCH3j7czOx1PMW3i1HrSzbLYGBSE=