Initial commit

This commit is contained in:
2018-09-17 20:32:19 +08:00
commit 3a9804f020
58 changed files with 31566 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
-----BEGIN CERTIFICATE-----
MIICSTCCAbICCQDwWQ5sMoq7ETANBgkqhkiG9w0BAQUFADBpMQswCQYDVQQGEwJE
RTETMBEGA1UECAwKU29tZS1TdGF0ZTERMA8GA1UECgwIaW9Ccm9rZXIxEDAOBgNV
BAMMB0JsdWVmb3gxIDAeBgkqhkiG9w0BCQEWEWRvZ2Fmb3hAZ21haWwuY29tMB4X
DTE2MDQyNTIxMjQwMVoXDTE3MDQyNTIxMjQwMVowaTELMAkGA1UEBhMCREUxEzAR
BgNVBAgMClNvbWUtU3RhdGUxETAPBgNVBAoMCGlvQnJva2VyMRAwDgYDVQQDDAdC
bHVlZm94MSAwHgYJKoZIhvcNAQkBFhFkb2dhZm94QGdtYWlsLmNvbTCBnzANBgkq
hkiG9w0BAQEFAAOBjQAwgYkCgYEAxTR0JnD7ucvZ4CA92FAq9jVGP3gXHhCnRXBM
IGQY6dQzOdnf/SWBUq0Bh0DLy6KRubokF1YqdJkfea2cWhdJqOcHUwITNaXMU4Rn
goIWVZvT6C262pL5ffoEh6GGzVcX7/X4tHD2HOwm3opboVlktIZtVaVjzPD1+q5H
c+a/TiMCAwEAATANBgkqhkiG9w0BAQUFAAOBgQBVhdIg59lHKtdpv5O0icvqD4f0
tbqMvhWJ/7fhzr1fdjb5OK74g2G90KMhYnzOk0aZu4pgEoXHugpBLb+ndxJnG41p
IYe2qg4tp6AjR/uFswdrBLRUhW63yls3FiTEJjKCrGNEdjZoqsTEfwhXab3EoT7t
Wu+st1V0yiHlsvRGTg==
-----END CERTIFICATE-----
+15
View File
@@ -0,0 +1,15 @@
-----BEGIN RSA PRIVATE KEY-----
MIICXQIBAAKBgQDFNHQmcPu5y9ngID3YUCr2NUY/eBceEKdFcEwgZBjp1DM52d/9
JYFSrQGHQMvLopG5uiQXVip0mR95rZxaF0mo5wdTAhM1pcxThGeCghZVm9PoLbra
kvl9+gSHoYbNVxfv9fi0cPYc7CbeiluhWWS0hm1VpWPM8PX6rkdz5r9OIwIDAQAB
AoGBAJVSWoChHHpa+ObUgv+/9Efpnv+AF0EUqxPRLFN6d8LWgtNTPl+YfovzpCyd
y7KtrlpLr/hbrloLd+HSq4ksCQEfJ7Le/4fjc2lt3Ib/K9qSr3bnmIWAK00VU+fF
mN1NTFJTV0O2+ctCOY9ZRwue5ehTp9eqPjsGwdeldii1WbSBAkEA6Z0YjMg+04z1
M8FEUWSdPf6AHWB45hDJ+qPuIDNZxvVOcEsTyRsfkb1PKZm2NDx6mBN16po13Vka
QPy35ApoOwJBANgaMdbig76A1tvyhtklJPTU0g0N7CzXy+PNu8B3YghY8dYF/gSv
cBr0d8xGaZEczGQ35C0Tb9gTadHL64kxuzkCQHYaQYsKwRhaLqxXjJ5Ja2UoAMTZ
PMWyvynDLmOBEmYPJfSHQB1vZOpc9mRlnUOTP7caP4a3J3wby7YHDUBwMnkCQHGx
1mbn5chkoKY3gxrboAXvslOL76XoIy1HIHCyXrFlmlav8GUmqCSGWkDvCrt+G0re
3P2aLE3SaOooD1OvBoECQQDXMxPNYVGIErO7hxp9T9BXKcbnQV/mNhJYdl9VUoVB
gcVGatR1dBZX31Yt+HY4/ym9YdQ8MGCg2Kfmm0haLakP
-----END RSA PRIVATE KEY-----
+96
View File
@@ -0,0 +1,96 @@
{
"system": {
"memoryLimitMB": 0,
"hostname": "",
"statisticsInterval": 15000,
"statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated"
},
"multihostService": {
"enabled": false,
"secure": true
},
"network": {
"IPv4": true,
"IPv6": true,
"bindAddress": null
},
"objects" : {
"type": "file",
"typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
"host": "127.0.0.1",
"port": 9001,
"user": "",
"pass": "",
"noFileCache": false,
"connectTimeout": 2000,
"backup": {
"disabled": false,
"files": 24,
"filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
"hours": 48,
"hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
"period": 120,
"periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
"path": "",
"pathComment": "Absolute path to backup directory or empty to backup in data directory"
}
},
"states" : {
"type": "file",
"typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
"host": "127.0.0.1",
"port": 9000,
"maxQueue": 1000,
"options": {
"auth_pass" : null,
"retry_max_delay" : 15000
},
"backup": {
"disabled": false,
"files": 24,
"filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
"hours": 48,
"hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
"period": 120,
"periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
"path": "",
"pathComment": "Absolute path to backup directory or empty to backup in data directory"
}
},
"log": {
"level": "info",
"maxDays": 7,
"noStdout": true,
"transport": {
"file1": {
"type": "file",
"enabled": true,
"filename": "log/yunkong2",
"fileext": ".log",
"maxsize": null,
"maxFiles": null
},
"syslog1": {
"type": "syslog",
"enabled": false,
"host": "localhost",
"host_comment": "The host running syslogd, defaults to localhost.",
"port_comment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
"protocol": "udp4",
"protocol_comment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
"path_comment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
"facility_comment": "Syslog facility to use (Default: local0).",
"localhost": "yunkong2",
"localhost_comment": "Host to indicate that log messages are coming from (Default: localhost).",
"sysLogType_comment": "The type of the syslog protocol to use (Default: BSD).",
"app_name_comment": "The name of the application (Default: process.title).",
"eol_comment": "The end of line character to be added to the end of the message (Default: Message without modifications)."
}
}
},
"dataDirComment": "Always relative to yunkong2.js-controller/"
}
File diff suppressed because it is too large Load Diff