From f9a8cf203e3327094ba32e34c8667fdfefc09e31 Mon Sep 17 00:00:00 2001 From: Wolfgang Welz <welzwo@gmail.com> Date: Tue, 28 Apr 2020 11:54:50 +0200 Subject: [PATCH] Replace SPA with dashboard in comments (#377) --- plugins/dashboard/routes.go | 4 ++-- plugins/webapi/info/plugin.go | 2 +- tools/integration-tests/tester/framework/parameters.go | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/dashboard/routes.go b/plugins/dashboard/routes.go index 1517aedb..b50a5f45 100644 --- a/plugins/dashboard/routes.go +++ b/plugins/dashboard/routes.go @@ -24,7 +24,7 @@ var ErrNotFound = errors.New("not found") // ErrForbidden defines the forbidden error. var ErrForbidden = errors.New("forbidden") -// holds SPA assets +// holds dashboard assets var appBox = packr.New("Dashboard_App", "./frontend/build") var assetsBox = packr.New("Dashboard_Assets", "./frontend/src/assets") @@ -66,7 +66,7 @@ func setupRoutes(e *echo.Echo) { e.GET("/ws", websocketRoute) e.GET("/", indexRoute) - // used to route into the SPA index + // used to route into the dashboard index e.GET("*", indexRoute) apiRoutes := e.Group("/api") diff --git a/plugins/webapi/info/plugin.go b/plugins/webapi/info/plugin.go index cd3c397d..61f485cb 100644 --- a/plugins/webapi/info/plugin.go +++ b/plugins/webapi/info/plugin.go @@ -39,7 +39,7 @@ func configure(_ *node.Plugin) { // "WebAPI autopeering Endpoint", // "Metrics", // "PortCheck", -// "SPA", +// "Dashboard", // "WebAPI", // "WebAPI info Endpoint", // "WebAPI message Endpoint", diff --git a/tools/integration-tests/tester/framework/parameters.go b/tools/integration-tests/tester/framework/parameters.go index d7c7c938..04fad4a6 100644 --- a/tools/integration-tests/tester/framework/parameters.go +++ b/tools/integration-tests/tester/framework/parameters.go @@ -11,8 +11,8 @@ const ( logsDir = "/tmp/logs/" - disabledPluginsEntryNode = "portcheck,spa,analysis,gossip,webapi,webapibroadcastdataendpoint,webapifindtransactionhashesendpoint,webapigetneighborsendpoint,webapigettransactionobjectsbyhashendpoint,webapigettransactiontrytesbyhashendpoint" - disabledPluginsPeer = "portcheck,spa,analysis" + disabledPluginsEntryNode = "portcheck,dashboard,analysis,gossip,webapi,webapibroadcastdataendpoint,webapifindtransactionhashesendpoint,webapigetneighborsendpoint,webapigettransactionobjectsbyhashendpoint,webapigettransactiontrytesbyhashendpoint" + disabledPluginsPeer = "portcheck,dashboard,analysis" dockerLogsPrefixLen = 8 ) -- GitLab