Skip to content

Commit

Permalink
Staging v0.8.10
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-github-robot authored May 15, 2024
2 parents 47b7016 + 454f004 commit 203a835
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/runMapUI.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

CONTAINER_NAME_READ="CB-MapUI"
CONTAINER_VERSION="0.8.14"
CONTAINER_VERSION="0.8.16"
CONTAINER_PORT="-p 1324:1324"
CONTAINER_DATA_PATH=""

Expand Down
7 changes: 7 additions & 0 deletions src/api/rest/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -7593,6 +7593,13 @@ const docTemplate = `{
],
"summary": "Get registered region info",
"parameters": [
{
"type": "string",
"description": "Name of the CSP to retrieve",
"name": "providerName",
"in": "path",
"required": true
},
{
"type": "string",
"description": "Name of region to retrieve",
Expand Down
7 changes: 7 additions & 0 deletions src/api/rest/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -7586,6 +7586,13 @@
],
"summary": "Get registered region info",
"parameters": [
{
"type": "string",
"description": "Name of the CSP to retrieve",
"name": "providerName",
"in": "path",
"required": true
},
{
"type": "string",
"description": "Name of region to retrieve",
Expand Down
5 changes: 5 additions & 0 deletions src/api/rest/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7965,6 +7965,11 @@ paths:
- application/json
description: Get registered region info
parameters:
- description: Name of the CSP to retrieve
in: path
name: providerName
required: true
type: string
- description: Name of region to retrieve
in: path
name: regionName
Expand Down
1 change: 1 addition & 0 deletions src/api/rest/server/common/utility.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ func RestGetProviderList(c echo.Context) error {
// @Tags [Admin] Multi-Cloud environment configuration
// @Accept json
// @Produce json
// @Param providerName path string true "Name of the CSP to retrieve"
// @Param regionName path string true "Name of region to retrieve"
// @Success 200 {object} common.RegionDetail
// @Failure 404 {object} common.SimpleMsg
Expand Down
2 changes: 1 addition & 1 deletion src/api/rest/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func RunServer(port string) {
e.GET("/tumblebug/connConfig", rest_common.RestGetConnConfigList)
e.GET("/tumblebug/connConfig/:connConfigName", rest_common.RestGetConnConfig)
e.GET("/tumblebug/provider", rest_common.RestGetProviderList)
e.GET("/tumblebug/provider/:providerName/region", rest_common.RestGetRegionList)
e.GET("/tumblebug/region", rest_common.RestGetRegionList)
e.GET("/tumblebug/provider/:providerName/region/:regionName", rest_common.RestGetRegion)
e.POST("/tumblebug/credential", rest_common.RestRegisterCredential)

Expand Down

0 comments on commit 203a835

Please sign in to comment.