-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathihcsettings_example.json
More file actions
63 lines (63 loc) · 2.69 KB
/
ihcsettings_example.json
File metadata and controls
63 lines (63 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"comment" : "Example of how your ihcsettings.json file can look like. You need this user supplied file to run examples and tests",
"encryption": {
"comment": "The setting reflect encryption status of passwords within this file. The value should only be modified by ihc_settings_encrypt tool. Uses IHC_ENCRYPT_PASSPHRASE environment variable"
"isEncrypted": false
},
"ihcclient": {
"comment" : "Refer to your IHC controller config for endpoint and authentication details. Use 'http://usb' for endpoint for a USB connected controller. Known application names include 'treeview', 'openapi', 'administrator'",
"endpoint" : "http://192.100.1.10",
"userName" : "johndoe",
"password" : "mypassword",
"application" : "administrator",
"logSensitiveData": false,
"asyncContinueOnCapturedContext": false,
"allowDangerousInternTestCalls": false
},
"Logging": {
"comment" : "Optional section. Not used by SDK but used for some utilities",
"LogLevel": {
"Default": "Debug",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information",
"Avalonia": "Trace"
}
},
"telemetry": {
"comment" : "OpenTelemetry example setting using Openobserve.ai provider. Set <token> to correct value from Datasource menu under Traces",
"Host": "http://localhost:5080",
"Traces": "http://localhost:5080/api/default/v1/traces",
"Logs": "http://localhost:5080/api/default/v1/logs",
"Headers": "Authorization=Basic <token>, stream-name=Ihc, organization=default"
},
"testConfig": {
"comment" : "ID's of boolean typed resources that can be used by tests and examples. Chose arbitrary 'tryk' you can press for input and connected 'lampleudtag' for output where you can see if it is on. Get the IDs from IHC Visual by pressing CTRL and hover mouse pointer over suitable input/output (or run IOExtractor project and inspect output)",
"boolOutput1" : "133107",
"boolInput1" : "8886058",
"boolInput2" : "7770844"
},
"projectExtrator": {
"comment": "Configuration for optional ihcprojectextractor tool",
"identifiers": {
"pascalcase": true,
"stringReplacements": {
"æ": "ae",
"ø": "oe",
"å": "aa",
"v.": "ved",
"Premier 360 DT": "",
"1873 Bobby-AM": ""
},
"stringReplacements2": {
"Æ": "AE",
"Ø": "OE",
"Å": "AA"
}
},
"CSharpGenerator": {
"namespace": "MyInstallation"
},
"JSGenerator": {},
"JsonGenerator": {}
}
}