From 8810e523f0cd2a21213f2d9f525c5b49743aca96 Mon Sep 17 00:00:00 2001 From: claudemiro Date: Thu, 3 Mar 2016 21:39:15 -0300 Subject: [PATCH] Adding config for functional tests --- functional/Procfile | 2 +- functional/functional-config.json | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 functional/functional-config.json diff --git a/functional/Procfile b/functional/Procfile index a01ed32..61ac41f 100644 --- a/functional/Procfile +++ b/functional/Procfile @@ -1,2 +1,2 @@ client: go run client.go -server: go run ../main.go -config ./config.json -logtostderr \ No newline at end of file +server: go run ../main.go -config ./functional-config.json -logtostderr \ No newline at end of file diff --git a/functional/functional-config.json b/functional/functional-config.json new file mode 100644 index 0000000..9900c3d --- /dev/null +++ b/functional/functional-config.json @@ -0,0 +1,20 @@ +{ + "Host": ":8080", + "Encrypted": false, + "SSLHost": ":8090", + "SSLKeyFile": "key.pem", + "SSLCertFile": "cert.pem", + "Apps": [ + { + "ApplicationDisabled": false, + "OnlySSL": false, + "Secret": "7ad3753142a6693b25b9", + "Key": "278d525bdf162c739803", + "Name": "App for Functional Test", + "AppID": "1", + "UserEvents": true, + "WebHooks": false, + "URLWebHook": "http://127.0.0.1:4567/php/hook.php" + } + ] +}