Skip to content

Commit

Permalink
Remove all cb-network code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
yunkon-kim committed Apr 2, 2024
1 parent a4e7125 commit 8802919
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 1,179 deletions.
3 changes: 0 additions & 3 deletions conf/setup.env
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ export SPIDER_CALL_METHOD=REST
export SPIDER_REST_URL=http://localhost:1024/spider
export DRAGONFLY_CALL_METHOD=REST
export DRAGONFLY_REST_URL=http://localhost:9090/dragonfly
export CB_NETWORK_SERVICE_ENDPOINT=localhost:8053
## comma separated ex: "x.x.x.x:2379,x.x.x.x:2379"
export CB_NETWORK_ETCD_ENDPOINTS="localhost:2379"

## Set internal DB config (SQLlite)
export DB_URL=localhost:3306
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module github.com/cloud-barista/cb-tumblebug
go 1.21.6

require (
github.com/cloud-barista/cb-larva v0.0.16
github.com/cloud-barista/cb-store v0.8.0
github.com/fsnotify/fsnotify v1.7.0
github.com/go-playground/validator/v10 v10.17.0
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XL
github.com/chzyer/logex v1.2.0/go.mod h1:9+9sk7u7pGNWYMkh0hdiL++6OeibzJccyQU4p4MedaY=
github.com/chzyer/readline v1.5.0/go.mod h1:x22KAscuvRqlLoK9CsoYsmxoXZMMFVyOl86cAH8qUic=
github.com/chzyer/test v0.0.0-20210722231415-061457976a23/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
github.com/cloud-barista/cb-larva v0.0.16 h1:a1CVFUxX85AGKQ9AlUOp4Pe6zvnDTGYoGNiN/tUYgaM=
github.com/cloud-barista/cb-larva v0.0.16/go.mod h1:EBWlYh9Y2q5i8UALxqdreMt9aSfdp/IdG7Quf3yavgA=
github.com/cloud-barista/cb-log v0.8.0 h1:ArWCs1EgpoD3ZnBgcC4cAw5ufI/JHmFKfJswlv4whgk=
github.com/cloud-barista/cb-log v0.8.0/go.mod h1:nGgfTFMPwl1MpCO3FBjexUkNdOYA0BNJoyM9Pd0lMms=
github.com/cloud-barista/cb-store v0.8.0 h1:0K47YEf+K3wx18D+m0XirlDbdTz229XxsTXw6WACjRA=
Expand Down
142 changes: 0 additions & 142 deletions src/api/rest/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -4344,128 +4344,6 @@ const docTemplate = `{
}
}
},
"/ns/{nsId}/network/mcis/{mcisId}": {
"put": {
"description": "Inject Cloud Information For Cloud Adaptive Network",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"[Infra service] MCIS Cloud Adaptive Network (for developer)"
],
"summary": "Inject Cloud Information For Cloud Adaptive Network",
"parameters": [
{
"type": "string",
"default": "ns01",
"description": "Namespace ID",
"name": "nsId",
"in": "path",
"required": true
},
{
"type": "string",
"default": "mcis01",
"description": "MCIS ID",
"name": "mcisId",
"in": "path",
"required": true
},
{
"description": "Details for the network request body",
"name": "networkReq",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/mcis.NetworkReq"
}
}
],
"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"
}
}
}
},
"post": {
"description": "Configure Cloud Adaptive Network (cb-network agent) to MCIS",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"[Infra service] MCIS Cloud Adaptive Network (for developer)"
],
"summary": "Configure Cloud Adaptive Network (cb-network agent) to MCIS",
"parameters": [
{
"type": "string",
"default": "ns01",
"description": "Namespace ID",
"name": "nsId",
"in": "path",
"required": true
},
{
"type": "string",
"default": "mcis01",
"description": "MCIS ID",
"name": "mcisId",
"in": "path",
"required": true
},
{
"description": "Details for the network request body",
"name": "networkReq",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/mcis.NetworkReq"
}
}
],
"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"
}
}
}
}
},
"/ns/{nsId}/policy/mcis": {
"get": {
"description": "List all MCIS policies",
Expand Down Expand Up @@ -10328,26 +10206,6 @@ const docTemplate = `{
}
}
},
"mcis.NetworkReq": {
"type": "object",
"properties": {
"etcdEndpoints": {
"type": "array",
"items": {
"type": "string"
},
"example": [
"PUBLIC_IP_1:2379",
"PUBLIC_IP_2:2379",
"..."
]
},
"serviceEndpoint": {
"type": "string",
"example": "localhost:8053"
}
}
},
"mcis.NodeGroupStatus": {
"type": "string",
"enum": [
Expand Down
142 changes: 0 additions & 142 deletions src/api/rest/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -4337,128 +4337,6 @@
}
}
},
"/ns/{nsId}/network/mcis/{mcisId}": {
"put": {
"description": "Inject Cloud Information For Cloud Adaptive Network",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"[Infra service] MCIS Cloud Adaptive Network (for developer)"
],
"summary": "Inject Cloud Information For Cloud Adaptive Network",
"parameters": [
{
"type": "string",
"default": "ns01",
"description": "Namespace ID",
"name": "nsId",
"in": "path",
"required": true
},
{
"type": "string",
"default": "mcis01",
"description": "MCIS ID",
"name": "mcisId",
"in": "path",
"required": true
},
{
"description": "Details for the network request body",
"name": "networkReq",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/mcis.NetworkReq"
}
}
],
"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"
}
}
}
},
"post": {
"description": "Configure Cloud Adaptive Network (cb-network agent) to MCIS",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"[Infra service] MCIS Cloud Adaptive Network (for developer)"
],
"summary": "Configure Cloud Adaptive Network (cb-network agent) to MCIS",
"parameters": [
{
"type": "string",
"default": "ns01",
"description": "Namespace ID",
"name": "nsId",
"in": "path",
"required": true
},
{
"type": "string",
"default": "mcis01",
"description": "MCIS ID",
"name": "mcisId",
"in": "path",
"required": true
},
{
"description": "Details for the network request body",
"name": "networkReq",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/mcis.NetworkReq"
}
}
],
"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"
}
}
}
}
},
"/ns/{nsId}/policy/mcis": {
"get": {
"description": "List all MCIS policies",
Expand Down Expand Up @@ -10321,26 +10199,6 @@
}
}
},
"mcis.NetworkReq": {
"type": "object",
"properties": {
"etcdEndpoints": {
"type": "array",
"items": {
"type": "string"
},
"example": [
"PUBLIC_IP_1:2379",
"PUBLIC_IP_2:2379",
"..."
]
},
"serviceEndpoint": {
"type": "string",
"example": "localhost:8053"
}
}
},
"mcis.NodeGroupStatus": {
"type": "string",
"enum": [
Expand Down
Loading

0 comments on commit 8802919

Please sign in to comment.