Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staging v0.8.10 #1569

Merged
merged 1 commit into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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