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" + } + ] +}