Loading .vscode/settings.jsondeleted 100644 → 0 +0 −23 Original line number Diff line number Diff line { "files.eol": "\n", "go.formatTool": "goimports", "go.lintTool": "golangci-lint", "go.lintFlags": [ "--fast" ], // "go.useLanguageServer": false, "go.testOnSave": true, "[go]": { "editor.snippetSuggestions": "none", "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.organizeImports": true }, }, "[javascript]": { "editor.codeActionsOnSave": { "source.fixAll.eslint": true, }, }, "eslint.format.enable": true } go-apps/meep-sandbox-api/api/swagger.yaml +11 −7 Original line number Diff line number Diff line Loading @@ -92,7 +92,8 @@ paths: schema: type: array items: $ref: '#/components/schemas/SandboxNetworkScenario' type: 'string' description: "Network scenario name" x-content-type: application/json "400": description: "Bad Request : used to indicate that incorrect parameters were\ Loading Loading @@ -163,10 +164,11 @@ paths: x-exportParamName: Provider x-optionalDataType: String - name: sandbox_name description: Network scenario to retrieve in: query description: Network scenario to retrieve required: true style: simple explode: false schema: type: string responses: Loading Loading @@ -205,10 +207,11 @@ paths: x-exportParamName: Provider x-optionalDataType: String - name: sandbox_name description: Network scenario to retrieve in: query description: Network scenario to retrieve required: true style: simple explode: false schema: type: string responses: Loading @@ -231,10 +234,11 @@ paths: operationId: SandboxUeController_GET parameters: - name: sandbox_name description: Network scenario to retrieve in: query description: Network scenario to retrieve required: true style: simple explode: false schema: type: string responses: Loading Loading @@ -509,9 +513,9 @@ components: type: object properties: name: description: Sandbox name type: string x-etsi-mec-cardinality: '1' description: Sandbox name x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String description: Sandbox object example: {} Loading go-apps/meep-sandbox-api/main.go +3 −3 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ func init() { func main() { log.Info(os.Args) log.Info("Starting RNI Service") log.Info("Starting MEC Sandbox API Service") run := true go func() { Loading @@ -54,7 +54,7 @@ func main() { // Initialize SANDBOX-API err := server.Init() if err != nil { log.Error("Failed to initialize RNI Service") log.Error("Failed to initialize MEC Sandbox API Service") run = false return } Loading @@ -62,7 +62,7 @@ func main() { // Start SANDBOX-API Event Handler thread err = server.Run() if err != nil { log.Error("Failed to start RNI Service") log.Error("Failed to start MEC Sandbox API Service") run = false return } Loading go-apps/meep-sandbox-api/server/README.md +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ To see how to make this your own, look here: [README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md) - API version: 0.0.2 - Build date: 2024-03-10T17:36:54.558Z[Etc/UTC] - Build date: 2024-04-18T14:56:31.254Z[Etc/UTC] ### Running the server Loading go-apps/meep-sandbox-api/server/api_sandbox_network_scenarios.go +6 −6 Original line number Diff line number Diff line Loading @@ -13,18 +13,18 @@ import ( "net/http" ) func SandboxNetworkScenariosGET(w http.ResponseWriter, r *http.Request) { sandboxNetworkScenariosGET(w, r) } func SandboxIndividualNetworkScenariosGET(w http.ResponseWriter, r *http.Request) { sandboxIndividualNetworkScenariosGET(w, r) } func SandboxNetworkScenariosDELETE(w http.ResponseWriter, r *http.Request) { sandboxNetworkScenariosDELETE(w, r) } func SandboxNetworkScenariosPOST(w http.ResponseWriter, r *http.Request) { sandboxNetworkScenariosPOST(w, r) } func SandboxNetworkScenariosDELETE(w http.ResponseWriter, r *http.Request) { sandboxNetworkScenariosDELETE(w, r) func SandboxNetworkScenariosGET(w http.ResponseWriter, r *http.Request) { sandboxNetworkScenariosGET(w, r) } Loading
.vscode/settings.jsondeleted 100644 → 0 +0 −23 Original line number Diff line number Diff line { "files.eol": "\n", "go.formatTool": "goimports", "go.lintTool": "golangci-lint", "go.lintFlags": [ "--fast" ], // "go.useLanguageServer": false, "go.testOnSave": true, "[go]": { "editor.snippetSuggestions": "none", "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.organizeImports": true }, }, "[javascript]": { "editor.codeActionsOnSave": { "source.fixAll.eslint": true, }, }, "eslint.format.enable": true }
go-apps/meep-sandbox-api/api/swagger.yaml +11 −7 Original line number Diff line number Diff line Loading @@ -92,7 +92,8 @@ paths: schema: type: array items: $ref: '#/components/schemas/SandboxNetworkScenario' type: 'string' description: "Network scenario name" x-content-type: application/json "400": description: "Bad Request : used to indicate that incorrect parameters were\ Loading Loading @@ -163,10 +164,11 @@ paths: x-exportParamName: Provider x-optionalDataType: String - name: sandbox_name description: Network scenario to retrieve in: query description: Network scenario to retrieve required: true style: simple explode: false schema: type: string responses: Loading Loading @@ -205,10 +207,11 @@ paths: x-exportParamName: Provider x-optionalDataType: String - name: sandbox_name description: Network scenario to retrieve in: query description: Network scenario to retrieve required: true style: simple explode: false schema: type: string responses: Loading @@ -231,10 +234,11 @@ paths: operationId: SandboxUeController_GET parameters: - name: sandbox_name description: Network scenario to retrieve in: query description: Network scenario to retrieve required: true style: simple explode: false schema: type: string responses: Loading Loading @@ -509,9 +513,9 @@ components: type: object properties: name: description: Sandbox name type: string x-etsi-mec-cardinality: '1' description: Sandbox name x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String description: Sandbox object example: {} Loading
go-apps/meep-sandbox-api/main.go +3 −3 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ func init() { func main() { log.Info(os.Args) log.Info("Starting RNI Service") log.Info("Starting MEC Sandbox API Service") run := true go func() { Loading @@ -54,7 +54,7 @@ func main() { // Initialize SANDBOX-API err := server.Init() if err != nil { log.Error("Failed to initialize RNI Service") log.Error("Failed to initialize MEC Sandbox API Service") run = false return } Loading @@ -62,7 +62,7 @@ func main() { // Start SANDBOX-API Event Handler thread err = server.Run() if err != nil { log.Error("Failed to start RNI Service") log.Error("Failed to start MEC Sandbox API Service") run = false return } Loading
go-apps/meep-sandbox-api/server/README.md +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ To see how to make this your own, look here: [README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md) - API version: 0.0.2 - Build date: 2024-03-10T17:36:54.558Z[Etc/UTC] - Build date: 2024-04-18T14:56:31.254Z[Etc/UTC] ### Running the server Loading
go-apps/meep-sandbox-api/server/api_sandbox_network_scenarios.go +6 −6 Original line number Diff line number Diff line Loading @@ -13,18 +13,18 @@ import ( "net/http" ) func SandboxNetworkScenariosGET(w http.ResponseWriter, r *http.Request) { sandboxNetworkScenariosGET(w, r) } func SandboxIndividualNetworkScenariosGET(w http.ResponseWriter, r *http.Request) { sandboxIndividualNetworkScenariosGET(w, r) } func SandboxNetworkScenariosDELETE(w http.ResponseWriter, r *http.Request) { sandboxNetworkScenariosDELETE(w, r) } func SandboxNetworkScenariosPOST(w http.ResponseWriter, r *http.Request) { sandboxNetworkScenariosPOST(w, r) } func SandboxNetworkScenariosDELETE(w http.ResponseWriter, r *http.Request) { sandboxNetworkScenariosDELETE(w, r) func SandboxNetworkScenariosGET(w http.ResponseWriter, r *http.Request) { sandboxNetworkScenariosGET(w, r) }