Loading go-apps/meep-sandbox-api/HOWTO +5 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,11 @@ curl --verbose --request GET https://mec-platform.etsi.org/sandbox-api/v1/sandbo curl --verbose --request POST https://mec-platform.etsi.org/sandbox-api/v1/sandboxNetworkScenarios/4g-5g-macro-v2x?sandbox_name=sbx5zg770k --header "Accept: application/json" curl --verbose --request POST https://mec-platform.etsi.org/sandbox-api/v1/logout?sandbox_name=sbx5zg770k --header "Accept: application/json" curl --verbose --request GET https://mec-platform.etsi.org/sandbox-api/v1/sandboxMecServices?sandbox_name=sbx5zg770k --header "Accept: application/json" curl --verbose --request DELETE https://mec-platform.etsi.org/sandbox-api/v1/sandboxNetworkScenarios/4g-5g-macro-v2x?sandbox_name=sbx5zg770k --header "Accept: application/json" curl --verbose --request POST https://mec-platform.etsi.org/sandbox-api/v1/logout?sandbox_name=sbxj3a7sld --header "Accept: application/json" kubectl logs meep-auth-svc-5b68d569d8-mzfcs > meep-auth-svc.log 2>&1 kubectl logs meep-sandbox-api-6f497778b5-g5qsv > meep-sandbox-api.log 2>&1 No newline at end of file go-apps/meep-sandbox-api/api/swagger.yaml +16 −4 Original line number Diff line number Diff line Loading @@ -32,12 +32,21 @@ paths: - GITHUB - GITLAB (EOL ACCOUNT) responses: "200": description: OK "201": description: Created content: application/json: schema: $ref: '#/components/schemas/Sandbox' "400": description: Bad Request content: {} "401": description: Unauthorized content: {} "404": description: Not Found content: {} /logout: post: tags: Loading @@ -58,11 +67,14 @@ paths: "200": description: OK content: {} "400": description: Bad Request content: {} "401": description: Unauthorized content: {} "404": description: Unauthorized description: Not Found content: {} /sandboxNetworkScenarios: get: Loading Loading @@ -115,7 +127,7 @@ paths: x-exportParamName: Provider x-optionalDataType: String responses: "201": "200": description: "Upon success, an empty response message." "400": description: "Bad Request : used to indicate that incorrect parameters were\ Loading go-apps/meep-sandbox-api/server/api_authorization.go 0 → 100644 +22 −0 Original line number Diff line number Diff line /* * MEC Sandbox API * * The MEC Sandbox API described using OpenAPI * * API version: 0.0.2 * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server import ( "net/http" ) func Login(w http.ResponseWriter, r *http.Request) { login(w, r) } func Logout(w http.ResponseWriter, r *http.Request) { logout(w, r) } go-apps/meep-sandbox-api/server/api_sandbox_app_instances.go 0 → 100644 +18 −0 Original line number Diff line number Diff line /* * MEC Sandbox API * * The MEC Sandbox API described using OpenAPI * * API version: 0.0.2 * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server import ( "net/http" ) func SandboxAppInstancesGET(w http.ResponseWriter, r *http.Request) { sandboxAppInstancesGET(w, r) } go-apps/meep-sandbox-api/server/api_sandbox_logs_subscriptions.go 0 → 100644 +24 −0 Original line number Diff line number Diff line /* * MEC Sandbox API * * The MEC Sandbox API described using OpenAPI * * API version: 0.0.2 * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server import ( "net/http" ) func SandboxLogsSubscriptionsDELETE(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "application/json; charset=UTF-8") w.WriteHeader(http.StatusOK) } func SandboxLogsSubscriptionsPOST(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "application/json; charset=UTF-8") w.WriteHeader(http.StatusOK) } Loading
go-apps/meep-sandbox-api/HOWTO +5 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,11 @@ curl --verbose --request GET https://mec-platform.etsi.org/sandbox-api/v1/sandbo curl --verbose --request POST https://mec-platform.etsi.org/sandbox-api/v1/sandboxNetworkScenarios/4g-5g-macro-v2x?sandbox_name=sbx5zg770k --header "Accept: application/json" curl --verbose --request POST https://mec-platform.etsi.org/sandbox-api/v1/logout?sandbox_name=sbx5zg770k --header "Accept: application/json" curl --verbose --request GET https://mec-platform.etsi.org/sandbox-api/v1/sandboxMecServices?sandbox_name=sbx5zg770k --header "Accept: application/json" curl --verbose --request DELETE https://mec-platform.etsi.org/sandbox-api/v1/sandboxNetworkScenarios/4g-5g-macro-v2x?sandbox_name=sbx5zg770k --header "Accept: application/json" curl --verbose --request POST https://mec-platform.etsi.org/sandbox-api/v1/logout?sandbox_name=sbxj3a7sld --header "Accept: application/json" kubectl logs meep-auth-svc-5b68d569d8-mzfcs > meep-auth-svc.log 2>&1 kubectl logs meep-sandbox-api-6f497778b5-g5qsv > meep-sandbox-api.log 2>&1 No newline at end of file
go-apps/meep-sandbox-api/api/swagger.yaml +16 −4 Original line number Diff line number Diff line Loading @@ -32,12 +32,21 @@ paths: - GITHUB - GITLAB (EOL ACCOUNT) responses: "200": description: OK "201": description: Created content: application/json: schema: $ref: '#/components/schemas/Sandbox' "400": description: Bad Request content: {} "401": description: Unauthorized content: {} "404": description: Not Found content: {} /logout: post: tags: Loading @@ -58,11 +67,14 @@ paths: "200": description: OK content: {} "400": description: Bad Request content: {} "401": description: Unauthorized content: {} "404": description: Unauthorized description: Not Found content: {} /sandboxNetworkScenarios: get: Loading Loading @@ -115,7 +127,7 @@ paths: x-exportParamName: Provider x-optionalDataType: String responses: "201": "200": description: "Upon success, an empty response message." "400": description: "Bad Request : used to indicate that incorrect parameters were\ Loading
go-apps/meep-sandbox-api/server/api_authorization.go 0 → 100644 +22 −0 Original line number Diff line number Diff line /* * MEC Sandbox API * * The MEC Sandbox API described using OpenAPI * * API version: 0.0.2 * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server import ( "net/http" ) func Login(w http.ResponseWriter, r *http.Request) { login(w, r) } func Logout(w http.ResponseWriter, r *http.Request) { logout(w, r) }
go-apps/meep-sandbox-api/server/api_sandbox_app_instances.go 0 → 100644 +18 −0 Original line number Diff line number Diff line /* * MEC Sandbox API * * The MEC Sandbox API described using OpenAPI * * API version: 0.0.2 * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server import ( "net/http" ) func SandboxAppInstancesGET(w http.ResponseWriter, r *http.Request) { sandboxAppInstancesGET(w, r) }
go-apps/meep-sandbox-api/server/api_sandbox_logs_subscriptions.go 0 → 100644 +24 −0 Original line number Diff line number Diff line /* * MEC Sandbox API * * The MEC Sandbox API described using OpenAPI * * API version: 0.0.2 * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server import ( "net/http" ) func SandboxLogsSubscriptionsDELETE(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "application/json; charset=UTF-8") w.WriteHeader(http.StatusOK) } func SandboxLogsSubscriptionsPOST(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "application/json; charset=UTF-8") w.WriteHeader(http.StatusOK) }