Skip to content

Commit

Permalink
Support GCP to Azure VPN by site-to-site VPN API
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-github-robot authored Jun 25, 2024
2 parents 9e6f695 + 68e7d98 commit e34c4f3
Show file tree
Hide file tree
Showing 5 changed files with 271 additions and 53 deletions.
12 changes: 6 additions & 6 deletions src/api/rest/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -3527,7 +3527,7 @@ const docTemplate = `{
"application/json"
],
"tags": [
"[VPN] Sites in MCIS (under development)"
"[VPN] Sites in MCIS"
],
"summary": "Get sites in MCIS",
"operationId": "GetSitesInMcis",
Expand Down Expand Up @@ -4499,7 +4499,7 @@ const docTemplate = `{
"[VPN] Site-to-site VPN (under development)"
],
"summary": "Get resource info of a site-to-site VPN (Currently, GCP-AWS is supported)",
"operationId": "GetVpnGcpToAws",
"operationId": "GetSiteToSiteVpn",
"parameters": [
{
"type": "string",
Expand Down Expand Up @@ -4574,7 +4574,7 @@ const docTemplate = `{
"[VPN] Site-to-site VPN (under development)"
],
"summary": "Check the status of a specific request by its ID",
"operationId": "GetRequestStatusOfGcpAwsVpn",
"operationId": "GetRequestStatusOfSiteToSiteVpn",
"parameters": [
{
"type": "string",
Expand Down Expand Up @@ -8524,7 +8524,7 @@ const docTemplate = `{
"[VPN] Site-to-site VPN (under development)"
],
"summary": "(To be provided) Update a site-to-site VPN",
"operationId": "PutVpnGcpToAws",
"operationId": "PutSiteToSiteVpn",
"parameters": [
{
"type": "string",
Expand Down Expand Up @@ -8599,7 +8599,7 @@ const docTemplate = `{
"[VPN] Site-to-site VPN (under development)"
],
"summary": "Create a site-to-site VPN (Currently, GCP-AWS is supported)",
"operationId": "PostVpnGcpToAws",
"operationId": "PostSiteToSiteVpn",
"parameters": [
{
"type": "string",
Expand Down Expand Up @@ -8674,7 +8674,7 @@ const docTemplate = `{
"[VPN] Site-to-site VPN (under development)"
],
"summary": "Delete a site-to-site VPN (Currently, GCP-AWS is supported)",
"operationId": "DeleteVpnGcpToAws",
"operationId": "DeleteSiteToSiteVpn",
"parameters": [
{
"type": "string",
Expand Down
12 changes: 6 additions & 6 deletions src/api/rest/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3520,7 +3520,7 @@
"application/json"
],
"tags": [
"[VPN] Sites in MCIS (under development)"
"[VPN] Sites in MCIS"
],
"summary": "Get sites in MCIS",
"operationId": "GetSitesInMcis",
Expand Down Expand Up @@ -4492,7 +4492,7 @@
"[VPN] Site-to-site VPN (under development)"
],
"summary": "Get resource info of a site-to-site VPN (Currently, GCP-AWS is supported)",
"operationId": "GetVpnGcpToAws",
"operationId": "GetSiteToSiteVpn",
"parameters": [
{
"type": "string",
Expand Down Expand Up @@ -4567,7 +4567,7 @@
"[VPN] Site-to-site VPN (under development)"
],
"summary": "Check the status of a specific request by its ID",
"operationId": "GetRequestStatusOfGcpAwsVpn",
"operationId": "GetRequestStatusOfSiteToSiteVpn",
"parameters": [
{
"type": "string",
Expand Down Expand Up @@ -8517,7 +8517,7 @@
"[VPN] Site-to-site VPN (under development)"
],
"summary": "(To be provided) Update a site-to-site VPN",
"operationId": "PutVpnGcpToAws",
"operationId": "PutSiteToSiteVpn",
"parameters": [
{
"type": "string",
Expand Down Expand Up @@ -8592,7 +8592,7 @@
"[VPN] Site-to-site VPN (under development)"
],
"summary": "Create a site-to-site VPN (Currently, GCP-AWS is supported)",
"operationId": "PostVpnGcpToAws",
"operationId": "PostSiteToSiteVpn",
"parameters": [
{
"type": "string",
Expand Down Expand Up @@ -8667,7 +8667,7 @@
"[VPN] Site-to-site VPN (under development)"
],
"summary": "Delete a site-to-site VPN (Currently, GCP-AWS is supported)",
"operationId": "DeleteVpnGcpToAws",
"operationId": "DeleteSiteToSiteVpn",
"parameters": [
{
"type": "string",
Expand Down
12 changes: 6 additions & 6 deletions src/api/rest/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5519,7 +5519,7 @@ paths:
$ref: '#/definitions/common.SimpleMsg'
summary: Get sites in MCIS
tags:
- '[VPN] Sites in MCIS (under development)'
- '[VPN] Sites in MCIS'
/ns/{nsId}/mcis/{mcisId}/subgroup:
get:
consumes:
Expand Down Expand Up @@ -6151,7 +6151,7 @@ paths:
- application/json
description: Get resource info of a site-to-site VPN (Currently, GCP-AWS is
supported)
operationId: GetVpnGcpToAws
operationId: GetSiteToSiteVpn
parameters:
- default: ns01
description: Namespace ID
Expand Down Expand Up @@ -6203,7 +6203,7 @@ paths:
consumes:
- application/json
description: Check the status of a specific request by its ID
operationId: GetRequestStatusOfGcpAwsVpn
operationId: GetRequestStatusOfSiteToSiteVpn
parameters:
- default: ns01
description: Namespace ID
Expand Down Expand Up @@ -8878,7 +8878,7 @@ paths:
consumes:
- application/json
description: Delete a site-to-site VPN (Currently, GCP-AWS is supported)
operationId: DeleteVpnGcpToAws
operationId: DeleteSiteToSiteVpn
parameters:
- default: ns01
description: Namespace ID
Expand Down Expand Up @@ -8924,7 +8924,7 @@ paths:
consumes:
- application/json
description: Create a site-to-site VPN (Currently, GCP-AWS is supported)
operationId: PostVpnGcpToAws
operationId: PostSiteToSiteVpn
parameters:
- default: ns01
description: Namespace ID
Expand Down Expand Up @@ -8976,7 +8976,7 @@ paths:
consumes:
- application/json
description: (To be provided) Update a site-to-site VPN
operationId: PutVpnGcpToAws
operationId: PutSiteToSiteVpn
parameters:
- default: ns01
description: Namespace ID
Expand Down
Loading

0 comments on commit e34c4f3

Please sign in to comment.