MfApi restart/list no longer requires system JAVA_HOME or javac when Sonic ships a JRE and Tools/SonicMfContainerTool.jar is present. Co-authored-by: Cursor <cursoragent@cursor.com>
46 lines
1.5 KiB
JSON
46 lines
1.5 KiB
JSON
{
|
||
"ConnectionString": "",
|
||
"UseOfflineSampleData": true,
|
||
"SampleTargetsPath": "Data/targets.sample.json",
|
||
"LogDirectory": "Logs",
|
||
"TlsTimeoutSeconds": 8,
|
||
"TlsRetryCount": 2,
|
||
"SonicConnections": [
|
||
{
|
||
"Name": "DE-Test",
|
||
"DomainName": "proalpha-test",
|
||
"ConnectionUrl": "tcp://dekun-painwbdet:13070",
|
||
// Sonic SMC / Domain Manager (für MfApi-Neustart):
|
||
"Username": "Administrator",
|
||
"Password": "Administrator",
|
||
// Standard: Sonic MF Management API (IAgentProxy.restart) – kein WinRM.
|
||
// Benötigt JRE + Client-JARs unter SonicHome\\lib (oder MfClientLibPath).
|
||
// Java: oft unter SonicHome\\jre – sonst JavaHome/JavaPath setzen (kein systemweites JAVA_HOME nötig).
|
||
// Optional-Fallback: "WinRm" / "LocalCmd" (stopcontainer/startcontainer).
|
||
"ManagementMode": "MfApi",
|
||
"SonicHome": "C:\\Sonic\\MQ10.0",
|
||
"JavaHome": "",
|
||
"JavaPath": "",
|
||
"MfClientLibPath": "",
|
||
"KnownContainers": [
|
||
"DE-Test"
|
||
],
|
||
// Nur für ManagementMode=WinRm relevant; leer lassen wenn nicht genutzt:
|
||
"WinRmUsername": "",
|
||
"WinRmPassword": "",
|
||
"WinRmPort": 5985,
|
||
"TimeoutSeconds": 120,
|
||
"PostRestartDelaySeconds": 20,
|
||
"ManagementHttpPort": 8080,
|
||
"ApiBasePath": "/api/v1",
|
||
"ContainerListPath": "",
|
||
"ContainerRestartPath": "",
|
||
"ContainerStopPath": "",
|
||
"ContainerStartPath": "",
|
||
"WinRmRestartScript": "",
|
||
"WinRmContainerListScript": "",
|
||
"WinRmXapiImportScript": ""
|
||
}
|
||
]
|
||
}
|