From 3c3ef6676a62fac65e7b8b6498281f6b3224bb79 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 5 Jun 2018 09:08:07 +0200 Subject: [PATCH] added simple config for websocket client --- etc/websocket-client.conf | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 etc/websocket-client.conf diff --git a/etc/websocket-client.conf b/etc/websocket-client.conf new file mode 100644 index 000000000..68079eee5 --- /dev/null +++ b/etc/websocket-client.conf @@ -0,0 +1,43 @@ +/** Example configuration file for VILLASnode. + * + * The syntax of this file is similar to JSON. + * A detailed description of the format can be found here: + * http://www.hyperrealm.com/libconfig/libconfig_manual.html#Configuration-Files + * + * @author Steffen Vogel + * @copyright 2018, Institute for Automation of Complex Power Systems, EONERC + * @license GNU General Public License (version 3) + * + * VILLASnode + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + *********************************************************************************/ + +http = { + enabled = false +} + +nodes = { + ws = { + type = "websocket", + + hooks = ( + { type = "stats" } + ) + + destinations = [ + "http://localhost:8088/test_session" + ] + } +};