iobroker.eos-admin 9.0.24 → 9.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NEXOWATT_EOS_BUILD_INFO.json +3 -3
- package/README.md +8 -4
- package/START_HIER_9.0.25.md +60 -0
- package/adminWww/.vite/manifest.json +39 -39
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +107 -107
- package/adminWww/assets/{AdapterUpdateDialog-D7sI5VRm.js → AdapterUpdateDialog-CLDpmxDx.js} +1 -1
- package/adminWww/assets/{Adapters-DS6ITaEH.js → Adapters-BCGeX2v7.js} +1 -1
- package/adminWww/assets/{ConfigManager-_iFDSXuD.js → ConfigManager-B_sJf5_w.js} +1 -1
- package/adminWww/assets/{Enums-Bdv7Tqmf.js → Enums-D3n1pOtc.js} +1 -1
- package/adminWww/assets/{Fields-CWUY1AnV.js → Fields-Bdx5gPoT.js} +1 -1
- package/adminWww/assets/{Files-BveV1b_F.js → Files-BPK84lYU.js} +1 -1
- package/adminWww/assets/{Hosts-B1HWZLGl.js → Hosts--Jr6oLf2.js} +1 -1
- package/adminWww/assets/{Instances-DYvbOlj7.js → Instances-DxTOzFus.js} +1 -1
- package/adminWww/assets/{Intro-pYT2FzIK.js → Intro-CYBGeZtu.js} +1 -1
- package/adminWww/assets/{Logs-D2ZbCY3Z.js → Logs-CVNC-4S8.js} +1 -1
- package/adminWww/assets/{Objects-CTUxbXJM.js → Objects-Cqm9Rvym.js} +1 -1
- package/adminWww/assets/{Overview-i6PsoN_F.js → Overview-JgjcHwlz.js} +1 -1
- package/adminWww/assets/{State-BEQXNcI3.js → State-BV14HSwZ.js} +1 -1
- package/adminWww/assets/{UsedResources-CLc1afk1.js → UsedResources-Dz48WzEF.js} +1 -1
- package/adminWww/assets/{Users-DG6i7iqC.js → Users-D19YlRCD.js} +1 -1
- package/adminWww/assets/{bootstrap-4KhX67tn.js → bootstrap-a7POLSDr.js} +3 -3
- package/adminWww/assets/{hostInit-B08JmaAP.js → hostInit-keGjwsZR.js} +1 -1
- package/adminWww/assets/{icons-material-sOCHi6x9.js → icons-material-Omb_HCfb.js} +1 -1
- package/adminWww/assets/{index-DHSNS0v8.js → index-DqPrQK7T.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-CWaaO5tF.js → installSVGRenderer-iWfLFoQU.js} +1 -1
- package/adminWww/assets/{mf-entry-bootstrap-0-e7c54f7f.js → mf-entry-bootstrap-0-2a856bb6.js} +2 -2
- package/adminWww/index.html +23 -23
- package/adminWww/mf-manifest.json +1 -1
- package/adminWww/mf-stats.json +1 -1
- package/adminWww/remoteEntry-eos-9.0.25.js +12 -0
- package/adminWww/remoteEntry.js +1 -1
- package/build/lib/eosLegacyMigration.js +10 -0
- package/build/lib/eosLegacyMigration.js.map +1 -1
- package/build/lib/eosModuleConfigStore.js +1 -1
- package/build/lib/eosModuleConfigStore.js.map +1 -1
- package/build/lib/eosModuleHost.js +48 -4
- package/build/lib/eosModuleHost.js.map +1 -1
- package/build/lib/eosModuleHttp.js +34 -5
- package/build/lib/eosModuleHttp.js.map +1 -1
- package/build/lib/eosRuntimeControl.js +224 -0
- package/build/lib/eosRuntimeControl.js.map +1 -0
- package/build/lib/eosRuntimeHealth.js +17 -2
- package/build/lib/eosRuntimeHealth.js.map +1 -1
- package/build/lib/eosUiProcess.js +94 -55
- package/build/lib/eosUiProcess.js.map +1 -1
- package/build/lib/eosUiProcessRpc.js +16 -3
- package/build/lib/eosUiProcessRpc.js.map +1 -1
- package/build/lib/eosUiProcessWorker.js +47 -3
- package/build/lib/eosUiProcessWorker.js.map +1 -1
- package/build/lib/web.js +72 -12
- package/build/lib/web.js.map +1 -1
- package/build/main.js +6 -2
- package/build/main.js.map +1 -1
- package/docs/reports/unified-9.0.25/MIGRATION_INDEPENDENT_REVIEW.md +74 -0
- package/docs/reports/unified-9.0.25/OCPP_STARTSPERRE_9.0.24.md +60 -0
- package/docs/reports/unified-9.0.25/PRUEFBERICHT.md +78 -0
- package/docs/reports/unified-9.0.25/RUNTIME_CONTROLS_BROWSERPRUEFUNG.md +81 -0
- package/docs/reports/unified-9.0.25/RUNTIME_CONTROL_BACKEND.md +58 -0
- package/docs/reports/unified-9.0.25/RUNTIME_CONTROL_INDEPENDENT_REVIEW.md +66 -0
- package/docs/reports/unified-9.0.25/RUNTIME_LOGIN_RECOVERY.md +32 -0
- package/docs/reports/unified-9.0.25/TARIFF_UPDATE_PERSISTENCE.md +50 -0
- package/docs/reports/unified-9.0.25/UI_CONFIG_COMMIT_ACK.md +51 -0
- package/docs/reports/unified-9.0.25/raw/BUILD_CHECKS.json +49 -0
- package/docs/reports/unified-9.0.25/raw/INDEX.json +43 -0
- package/docs/reports/unified-9.0.25/raw/SBOM_GENERATION.json +42 -0
- package/docs/reports/unified-9.0.25/raw/build-backend.log +5 -0
- package/docs/reports/unified-9.0.25/raw/build-frontend.log +152 -0
- package/docs/reports/unified-9.0.25/raw/build-installer.log +26 -0
- package/docs/reports/unified-9.0.25/raw/build-modules.log +5 -0
- package/docs/reports/unified-9.0.25/raw/build-ui-runtime.log +7 -0
- package/docs/reports/unified-9.0.25/raw/eos-production-audit.json +77 -0
- package/docs/reports/unified-9.0.25/raw/eos-production-audit.stderr +1 -0
- package/docs/reports/unified-9.0.25/raw/frontend-sbom.stderr +1 -0
- package/docs/reports/unified-9.0.25/raw/installer-sbom.stderr +1 -0
- package/docs/reports/unified-9.0.25/raw/lint.log +45 -0
- package/docs/reports/unified-9.0.25/raw/node22-tests-final.log +15879 -0
- package/docs/reports/unified-9.0.25/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.25/raw/node24-tests-final.log +2653 -0
- package/docs/reports/unified-9.0.25/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.25/raw/runtime-control-backend/runtime-control-backend-node22-final.tap +236 -0
- package/docs/reports/unified-9.0.25/raw/runtime-control-backend/runtime-control-backend-node24-final.tap +44 -0
- package/docs/reports/unified-9.0.25/raw/runtime-control-backend/source-sha256.json +19 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/controls-node22.json +70 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/controls-node24.json +70 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/health-node22.json +49 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/health-node24.json +49 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/login-contract-node22.log +15 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/login-contract-node24.log +15 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/login-node22.json +32 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/login-node24.json +32 -0
- package/docs/reports/unified-9.0.25/raw/runtime-login-recovery/node22.log +28 -0
- package/docs/reports/unified-9.0.25/raw/runtime-login-recovery/node24.log +10 -0
- package/docs/reports/unified-9.0.25/raw/runtime-login-recovery/route-regression-node24.log +28 -0
- package/docs/reports/unified-9.0.25/raw/runtime-login-recovery/source-sha256.json +6 -0
- package/docs/reports/unified-9.0.25/raw/runtime-processes/README.md +41 -0
- package/docs/reports/unified-9.0.25/raw/runtime-processes/runtime-control-processes-node22.tap +44 -0
- package/docs/reports/unified-9.0.25/raw/runtime-processes/runtime-control-processes-node24.tap +13 -0
- package/docs/reports/unified-9.0.25/raw/runtime-review/runtime-controls-and-ui-review-node22.tap +232 -0
- package/docs/reports/unified-9.0.25/raw/runtime-review/runtime-controls-and-ui-review-node24.tap +43 -0
- package/docs/reports/unified-9.0.25/raw/runtime-review/runtime-controls-review-node22.tap +68 -0
- package/docs/reports/unified-9.0.25/raw/runtime-review/runtime-controls-review-node24.tap +17 -0
- package/docs/reports/unified-9.0.25/raw/sbom-lock.log +1 -0
- package/docs/reports/unified-9.0.25/raw/sbom-lock.stderr +1 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/ack-node22.tap +44 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/ack-node24.tap +40 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/ack-review-node22.tap +44 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/ack-review-node24.tap +13 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/commit-ack-sha256.txt +4 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/config-ack-result.json +19 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/generate-921-fixture.cjs +36 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/node22.tap +68 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/node24.tap +64 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/reproduce-config-ack.cjs +55 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/reviewed-sha256.txt +4 -0
- package/docs/reports/unified-9.0.25/raw/typecheck.log +5 -0
- package/io-package.json +8 -9
- package/package.json +9 -7
- package/public/eos-runtime/index.html +7 -6
- package/public/eos-runtime/index.js +149 -11
- package/public/eos-runtime/style.css +9 -0
- package/release-manifests/unified/build-environment.cdx.json +6 -6
- package/release-manifests/unified/files.json +179 -98
- package/release-manifests/unified/frontend.cdx.json +6 -6
- package/release-manifests/unified/installer.cdx.json +6 -6
- package/release-manifests/unified/obsolete-admin-assets.json +88 -6
- package/release-manifests/unified/runtime.cdx.json +26 -26
- package/release-manifests/unified/validation.json +15 -15
- package/tools/eos-release-manifest.cjs +1 -1
- package/ui/io-package.json +1 -1
- package/ui/package.json +1 -1
- package/ui/www/login.js +7 -3
- package/ui/www/manifest.webmanifest +2 -2
- package/adminWww/remoteEntry-eos-9.0.24.js +0 -12
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
(node:5) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
2
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
3
|
+
TAP version 13
|
|
4
|
+
# (node:12) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
5
|
+
# (Use `node --trace-warnings ...` to show where the warning was created)
|
|
6
|
+
# Subtest: only exact configuration IDs/methods and acknowledged string values receive the longer reply window
|
|
7
|
+
ok 1 - only exact configuration IDs/methods and acknowledged string values receive the longer reply window
|
|
8
|
+
---
|
|
9
|
+
duration_ms: 2413.290771
|
|
10
|
+
type: 'test'
|
|
11
|
+
...
|
|
12
|
+
# Subtest: preserved UI namespace grants the longer ACK only to its bound instance
|
|
13
|
+
ok 2 - preserved UI namespace grants the longer ACK only to its bound instance
|
|
14
|
+
---
|
|
15
|
+
duration_ms: 2357.20499
|
|
16
|
+
type: 'test'
|
|
17
|
+
...
|
|
18
|
+
# Subtest: unvalidated namespace text cannot widen the protected configuration ID set
|
|
19
|
+
ok 3 - unvalidated namespace text cannot widen the protected configuration ID set
|
|
20
|
+
---
|
|
21
|
+
duration_ms: 2478.010086
|
|
22
|
+
type: 'test'
|
|
23
|
+
...
|
|
24
|
+
# Subtest: configuration IPC delivered after two seconds is explicitly expired before any database mutation
|
|
25
|
+
ok 4 - configuration IPC delivered after two seconds is explicitly expired before any database mutation
|
|
26
|
+
---
|
|
27
|
+
duration_ms: 2185.5279
|
|
28
|
+
type: 'test'
|
|
29
|
+
...
|
|
30
|
+
# Subtest: late or foreign-generation RPC results cannot satisfy a newer pending call
|
|
31
|
+
ok 5 - late or foreign-generation RPC results cannot satisfy a newer pending call
|
|
32
|
+
---
|
|
33
|
+
duration_ms: 87.310762
|
|
34
|
+
type: 'test'
|
|
35
|
+
...
|
|
36
|
+
1..5
|
|
37
|
+
# tests 5
|
|
38
|
+
# suites 0
|
|
39
|
+
# pass 5
|
|
40
|
+
# fail 0
|
|
41
|
+
# cancelled 0
|
|
42
|
+
# skipped 0
|
|
43
|
+
# todo 0
|
|
44
|
+
# duration_ms 10132.141565
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
✔ only exact configuration IDs/methods and acknowledged string values receive the longer reply window (2403.259769ms)
|
|
2
|
+
✔ preserved UI namespace grants the longer ACK only to its bound instance (2374.73518ms)
|
|
3
|
+
✔ unvalidated namespace text cannot widen the protected configuration ID set (2533.517384ms)
|
|
4
|
+
✔ configuration IPC delivered after two seconds is explicitly expired before any database mutation (2215.586453ms)
|
|
5
|
+
✔ late or foreign-generation RPC results cannot satisfy a newer pending call (87.24791ms)
|
|
6
|
+
ℹ tests 5
|
|
7
|
+
ℹ suites 0
|
|
8
|
+
ℹ pass 5
|
|
9
|
+
ℹ fail 0
|
|
10
|
+
ℹ cancelled 0
|
|
11
|
+
ℹ skipped 0
|
|
12
|
+
ℹ todo 0
|
|
13
|
+
ℹ duration_ms 10171.398671
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
e3a7eef0cb769b344f1f2245cfd1241ee79a95d1f180585cdabbbd9ce4398788 src/lib/eosUiProcessWorker.ts
|
|
2
|
+
fa200c3b486eb36ec227d51924a8a404096b2b11be6a3f23b2d03268538d6b7e src/lib/eosUiProcessRpc.ts
|
|
3
|
+
46c4340b2fc816ba2f63dd5d6535f09a95e8b10d537d30edf85e83dd73084004 test/eos-ui-config-ack.test.cjs
|
|
4
|
+
a72f825504dca078430e6e50f3bf6f16126ed64e692a3cc0606237255c711a74 test/fixtures/eos-ui-config-commit-runtime.cjs
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"response": {
|
|
3
|
+
"persisted": false,
|
|
4
|
+
"runtimeEnabled": false,
|
|
5
|
+
"patchEnabled": false
|
|
6
|
+
},
|
|
7
|
+
"writeIssued": true,
|
|
8
|
+
"ackDelayMs": 2200,
|
|
9
|
+
"responseDelayFromWriteMs": 2013,
|
|
10
|
+
"committedBeforeResponse": false,
|
|
11
|
+
"committedEnabled": true,
|
|
12
|
+
"runtimeRestartedBeforeStop": false,
|
|
13
|
+
"processStateAtResponse": "running",
|
|
14
|
+
"stopWaitMs": 187,
|
|
15
|
+
"stopAfterCommit": true,
|
|
16
|
+
"logCodes": [
|
|
17
|
+
"credential-state-write-failed"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
const fs = require('node:fs'), path = require('node:path'), Module = require('node:module'), crypto = require('node:crypto'), assert = require('node:assert/strict');
|
|
3
|
+
const root = '/workspace/scratch/b0b00b64c39c/work-recovery/iobroker.eos-admin';
|
|
4
|
+
const old = '/workspace/scratch/741f792566ea/review-921/source/extracted/iobroker.eos-admin';
|
|
5
|
+
const file = path.join(old, 'ui/main.js');
|
|
6
|
+
const source = fs.readFileSync(file, 'utf8');
|
|
7
|
+
const m = new Module(file, module); m.filename=file; m.paths=Module._nodeModulePaths(path.dirname(file));
|
|
8
|
+
m._compile(source + '\nmodule.exports.TestRuntime=NexoWattVis;\n', file);
|
|
9
|
+
const {createHarness} = require(path.join(root, 'ui/test/unified/http-harness.cjs'));
|
|
10
|
+
(async () => {
|
|
11
|
+
const h=await createHarness();
|
|
12
|
+
try {
|
|
13
|
+
const runtime=new m.exports.TestRuntime({owner:h.owner, bridge:h.bridge});
|
|
14
|
+
const providers=[];
|
|
15
|
+
for (const id of ['tibber','entsoe','energyzero','market-profile','custom-rest','manual-dp']) {
|
|
16
|
+
const patch={tariffProvider:{enabled:true,providerId:id,sourceId:id==='market-profile'?'entsoe':id,providerProfileId:id==='market-profile'?'awattar':'local-provider',
|
|
17
|
+
country:'DE',timeZone:'Europe/Berlin',homeId:'fixture-home',priceComponent:'total',activateTariffLogic:false,automaticMode:false,autoCoupleDatapoints:false,
|
|
18
|
+
resolutionMinutes:30,refreshMinutes:45,maxStaleMinutes:240,timeoutMs:4500,
|
|
19
|
+
credentials:{accessToken:'synthetic-tibber-update-token',securityToken:'synthetic-entsoe-update-token',apiKey:'synthetic-rest-update-key'},
|
|
20
|
+
retainedProviderCredentials:{previous:{accessToken:'synthetic-retained-update-token'}},
|
|
21
|
+
formula:{marketMultiplier:1.05,supplierMarkupEurPerKwh:0.04,gridVariableEurPerKwh:0.05,taxEurPerKwh:0.02,otherVariableEurPerKwh:0,vatPct:19,priceIncludesVat:true},
|
|
22
|
+
customRest:{url:'https://example.invalid/tariff',method:'GET',authMode:'api-key',headersJson:'',body:'',arrayPath:'prices',startPath:'startsAt',endPath:'endsAt',pricePath:'total',currencyPath:'currency',unit:'EUR/kWh',apiKeyHeader:'x-api-key'}},
|
|
23
|
+
datapoints:{priceCurrent:'alias.0.tariff.current',priceAverage:'alias.0.tariff.average',priceTodayJson:'alias.0.tariff.today',priceTomorrowJson:'alias.0.tariff.tomorrow'},
|
|
24
|
+
settings:{dynamicTariff:true,tariffMode:0,price:0.173,tariffPvSeasonEnabled:true,tariffPvSeasonAiEnabled:false,tariffPvSeasonQ1Factor:0.45},
|
|
25
|
+
emsApps:{schemaVersion:1,apps:{tariff:{installed:true,enabled:true}}}};
|
|
26
|
+
assert.equal(await runtime.persistInstallerConfigToState(patch),true);
|
|
27
|
+
const stateJson=h.states.get('eos-admin.0.installer.configJson').val;
|
|
28
|
+
assert.deepEqual(JSON.parse(stateJson),patch);
|
|
29
|
+
providers.push({id,stateJson});
|
|
30
|
+
}
|
|
31
|
+
const fixture={origin:{version:'9.0.21',file:'ui/main.js',sha256:crypto.createHash('sha256').update(source).digest('hex'),writer:'NexoWattVis.persistInstallerConfigToState',credentials:'synthetic-only'},providers};
|
|
32
|
+
fs.mkdirSync(path.join(root,'test/fixtures'),{recursive:true});
|
|
33
|
+
fs.writeFileSync(path.join(root,'test/fixtures/tariff-provider-9.0.21.json'),JSON.stringify(fixture,null,2)+'\n');
|
|
34
|
+
console.log('Original 9.0.21 writer generated and verified 6 synthetic provider fixtures; no provider requests.');
|
|
35
|
+
} finally {await h.close();}
|
|
36
|
+
})().catch(e=>{console.error(e.message);process.exitCode=1;});
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
(node:5) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
2
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
3
|
+
TAP version 13
|
|
4
|
+
# (node:12) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
5
|
+
# (Use `node --trace-warnings ...` to show where the warning was created)
|
|
6
|
+
# Subtest: 9.0.21 tibber provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
7
|
+
ok 1 - 9.0.21 tibber provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
8
|
+
---
|
|
9
|
+
duration_ms: 112.645226
|
|
10
|
+
type: 'test'
|
|
11
|
+
...
|
|
12
|
+
# Subtest: 9.0.21 entsoe provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
13
|
+
ok 2 - 9.0.21 entsoe provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
14
|
+
---
|
|
15
|
+
duration_ms: 57.731596
|
|
16
|
+
type: 'test'
|
|
17
|
+
...
|
|
18
|
+
# Subtest: 9.0.21 energyzero provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
19
|
+
ok 3 - 9.0.21 energyzero provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
20
|
+
---
|
|
21
|
+
duration_ms: 45.914264
|
|
22
|
+
type: 'test'
|
|
23
|
+
...
|
|
24
|
+
# Subtest: 9.0.21 market-profile provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
25
|
+
ok 4 - 9.0.21 market-profile provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
26
|
+
---
|
|
27
|
+
duration_ms: 23.631628
|
|
28
|
+
type: 'test'
|
|
29
|
+
...
|
|
30
|
+
# Subtest: 9.0.21 custom-rest provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
31
|
+
ok 5 - 9.0.21 custom-rest provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
32
|
+
---
|
|
33
|
+
duration_ms: 26.770016
|
|
34
|
+
type: 'test'
|
|
35
|
+
...
|
|
36
|
+
# Subtest: 9.0.21 manual-dp provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
37
|
+
ok 6 - 9.0.21 manual-dp provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
38
|
+
---
|
|
39
|
+
duration_ms: 25.930796
|
|
40
|
+
type: 'test'
|
|
41
|
+
...
|
|
42
|
+
# Subtest: UI handover and persisted migration restart retain the original tariff namespace, secret state and protected native configuration
|
|
43
|
+
ok 7 - UI handover and persisted migration restart retain the original tariff namespace, secret state and protected native configuration
|
|
44
|
+
---
|
|
45
|
+
duration_ms: 25.772622
|
|
46
|
+
type: 'test'
|
|
47
|
+
...
|
|
48
|
+
# Subtest: existing EOS update without a handover journal reloads protected UI config and preserves tariffs while external OCPP remains separate
|
|
49
|
+
ok 8 - existing EOS update without a handover journal reloads protected UI config and preserves tariffs while external OCPP remains separate
|
|
50
|
+
---
|
|
51
|
+
duration_ms: 18.743966
|
|
52
|
+
type: 'test'
|
|
53
|
+
...
|
|
54
|
+
# Subtest: unreadable or corrupt existing provider storage never becomes fresh defaults or an older backup
|
|
55
|
+
ok 9 - unreadable or corrupt existing provider storage never becomes fresh defaults or an older backup
|
|
56
|
+
---
|
|
57
|
+
duration_ms: 9.599044
|
|
58
|
+
type: 'test'
|
|
59
|
+
...
|
|
60
|
+
1..9
|
|
61
|
+
# tests 9
|
|
62
|
+
# suites 0
|
|
63
|
+
# pass 9
|
|
64
|
+
# fail 0
|
|
65
|
+
# cancelled 0
|
|
66
|
+
# skipped 0
|
|
67
|
+
# todo 0
|
|
68
|
+
# duration_ms 839.352747
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
TAP version 13
|
|
2
|
+
# Subtest: 9.0.21 tibber provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
3
|
+
ok 1 - 9.0.21 tibber provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
4
|
+
---
|
|
5
|
+
duration_ms: 116.655607
|
|
6
|
+
type: 'test'
|
|
7
|
+
...
|
|
8
|
+
# Subtest: 9.0.21 entsoe provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
9
|
+
ok 2 - 9.0.21 entsoe provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
10
|
+
---
|
|
11
|
+
duration_ms: 60.371586
|
|
12
|
+
type: 'test'
|
|
13
|
+
...
|
|
14
|
+
# Subtest: 9.0.21 energyzero provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
15
|
+
ok 3 - 9.0.21 energyzero provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
16
|
+
---
|
|
17
|
+
duration_ms: 28.68804
|
|
18
|
+
type: 'test'
|
|
19
|
+
...
|
|
20
|
+
# Subtest: 9.0.21 market-profile provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
21
|
+
ok 4 - 9.0.21 market-profile provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
22
|
+
---
|
|
23
|
+
duration_ms: 22.339629
|
|
24
|
+
type: 'test'
|
|
25
|
+
...
|
|
26
|
+
# Subtest: 9.0.21 custom-rest provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
27
|
+
ok 5 - 9.0.21 custom-rest provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
28
|
+
---
|
|
29
|
+
duration_ms: 25.279459
|
|
30
|
+
type: 'test'
|
|
31
|
+
...
|
|
32
|
+
# Subtest: 9.0.21 manual-dp provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
33
|
+
ok 6 - 9.0.21 manual-dp provider selection, credentials and tariff settings survive upgrade and two restarts
|
|
34
|
+
---
|
|
35
|
+
duration_ms: 18.324116
|
|
36
|
+
type: 'test'
|
|
37
|
+
...
|
|
38
|
+
# Subtest: UI handover and persisted migration restart retain the original tariff namespace, secret state and protected native configuration
|
|
39
|
+
ok 7 - UI handover and persisted migration restart retain the original tariff namespace, secret state and protected native configuration
|
|
40
|
+
---
|
|
41
|
+
duration_ms: 24.862416
|
|
42
|
+
type: 'test'
|
|
43
|
+
...
|
|
44
|
+
# Subtest: existing EOS update without a handover journal reloads protected UI config and preserves tariffs while external OCPP remains separate
|
|
45
|
+
ok 8 - existing EOS update without a handover journal reloads protected UI config and preserves tariffs while external OCPP remains separate
|
|
46
|
+
---
|
|
47
|
+
duration_ms: 7.87003
|
|
48
|
+
type: 'test'
|
|
49
|
+
...
|
|
50
|
+
# Subtest: unreadable or corrupt existing provider storage never becomes fresh defaults or an older backup
|
|
51
|
+
ok 9 - unreadable or corrupt existing provider storage never becomes fresh defaults or an older backup
|
|
52
|
+
---
|
|
53
|
+
duration_ms: 8.583093
|
|
54
|
+
type: 'test'
|
|
55
|
+
...
|
|
56
|
+
1..9
|
|
57
|
+
# tests 9
|
|
58
|
+
# suites 0
|
|
59
|
+
# pass 9
|
|
60
|
+
# fail 0
|
|
61
|
+
# cancelled 0
|
|
62
|
+
# skipped 0
|
|
63
|
+
# todo 0
|
|
64
|
+
# duration_ms 851.208239
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
const fs=require('node:fs'),path=require('node:path'),Module=require('node:module');
|
|
3
|
+
const repo='/workspace/scratch/b0b00b64c39c/work-recovery/iobroker.eos-admin';
|
|
4
|
+
const scratch='/workspace/scratch/b0b00b64c39c/tariff-update-review';
|
|
5
|
+
const ts=require(path.join(repo,'node_modules/typescript'));
|
|
6
|
+
for(const name of ['eosUiProcess','eosUiProcessWorker','eosUiProcessRpc','eosUiSecretCodec']){
|
|
7
|
+
const source=fs.readFileSync(path.join(repo,'src/lib',name+'.ts'),'utf8');
|
|
8
|
+
fs.writeFileSync(path.join(scratch,name+'.js'),ts.transpileModule(source,{compilerOptions:{module:ts.ModuleKind.CommonJS,target:ts.ScriptTarget.ES2022,esModuleInterop:true}}).outputText);
|
|
9
|
+
}
|
|
10
|
+
const fixture=path.join(scratch,'actual-persist-fixture.cjs');
|
|
11
|
+
fs.writeFileSync(fixture, `
|
|
12
|
+
'use strict';
|
|
13
|
+
const fs=require('node:fs'),Module=require('node:module'),path=require('node:path');
|
|
14
|
+
const filename=${JSON.stringify(path.join(repo,'ui/main.js'))};
|
|
15
|
+
const moduleCopy=new Module(filename,module);moduleCopy.filename=filename;moduleCopy.paths=Module._nodeModulePaths(path.dirname(filename));
|
|
16
|
+
moduleCopy._compile(fs.readFileSync(filename,'utf8')+'\\nmodule.exports.ReviewRuntime=NexoWattVis;\\n',filename);
|
|
17
|
+
exports.createHostedRuntime=(owner,bridge)=>{
|
|
18
|
+
const adapter=new moduleCopy.exports.ReviewRuntime({owner,bridge});
|
|
19
|
+
adapter.config={tariffProvider:{enabled:false,providerId:'manual-dp'},emsApps:{apps:{}}};
|
|
20
|
+
adapter._nwInstallerConfigPatch={tariffProvider:{enabled:false,providerId:'manual-dp'}};
|
|
21
|
+
return {async start(){},async startOperational(){},async stop(){await adapter.stopStateWrites();},status(){return {state:'ready',active:true,emsReady:true,canWrite:bridge.canWrite()};},handle(req,res,next){next();},getHistoryBackupRequirement(){return {provider:'none'};},async reconcileDeviceEms([command]){
|
|
22
|
+
if(command==='persist'){
|
|
23
|
+
const patch={tariffProvider:{enabled:true,providerId:'fixture-provider'}};
|
|
24
|
+
const persisted=await adapter.persistInstallerConfigToState(patch);
|
|
25
|
+
if(persisted===true){adapter._nwInstallerConfigPatch=patch;adapter.config=adapter.nwApplyInstallerPatchToRuntimeConfig(adapter.config,patch);}
|
|
26
|
+
return {persisted,runtimeEnabled:adapter.config.tariffProvider.enabled,patchEnabled:adapter._nwInstallerConfigPatch.tariffProvider.enabled};
|
|
27
|
+
}
|
|
28
|
+
return {runtimeEnabled:adapter.config.tariffProvider.enabled,patchEnabled:adapter._nwInstallerConfigPatch.tariffProvider.enabled};
|
|
29
|
+
}};
|
|
30
|
+
};
|
|
31
|
+
`);
|
|
32
|
+
const {createEosUiProcess}=require(path.join(scratch,'eosUiProcess.js'));
|
|
33
|
+
const acl={owner:'system.user.admin',ownerGroup:'system.group.administrator',object:0x600,state:0x600};
|
|
34
|
+
let state=null,issuedAt=null,committedAt=null;const logs=[];
|
|
35
|
+
const object={type:'state',common:{read:false},native:{},acl};
|
|
36
|
+
const owner={namespace:'eos-admin.0',instance:0,config:{eosUi:{}},log:{info(){},debug(){},warn(message){logs.push(message)},error(message){logs.push(message)}},
|
|
37
|
+
getForeignObjectAsync:async id=>id==='system.config'?{native:{}}:object,
|
|
38
|
+
extendForeignObjectAsync:async()=>undefined,
|
|
39
|
+
setForeignStateAsync:async(id,value)=>{issuedAt=Date.now();await new Promise(resolve=>setTimeout(resolve,2200));state={id,value};committedAt=Date.now();return id;}};
|
|
40
|
+
const bridge={canWrite:()=>true,originAllowed:()=>false,getLicense:()=>({valid:false}),resolveAccess:async()=>null,isListening:()=>true};
|
|
41
|
+
const runtime=createEosUiProcess(owner,bridge,{baseDir:repo,runtimePath:fixture,workerPath:path.join(scratch,'eosUiProcessWorker.js')});
|
|
42
|
+
(async()=>{
|
|
43
|
+
try{
|
|
44
|
+
await runtime.start();
|
|
45
|
+
const before=runtime.status().process;
|
|
46
|
+
const response=await runtime.reconcileDeviceEms(['persist']);const respondedAt=Date.now();
|
|
47
|
+
const stillRunning=runtime.status().process;
|
|
48
|
+
const stopStartedAt=Date.now();await runtime.stop();const stoppedAt=Date.now();
|
|
49
|
+
const summary={response,writeIssued:issuedAt!==null,ackDelayMs:committedAt-issuedAt,responseDelayFromWriteMs:respondedAt-issuedAt,
|
|
50
|
+
committedBeforeResponse:committedAt<=respondedAt,committedEnabled:state?JSON.parse(state.value.val).tariffProvider.enabled:null,
|
|
51
|
+
runtimeRestartedBeforeStop:stillRunning.generation!==before.generation,processStateAtResponse:stillRunning.state,
|
|
52
|
+
stopWaitMs:stoppedAt-stopStartedAt,stopAfterCommit:stoppedAt>=committedAt,logCodes:logs.filter(x=>/credential-state-write-failed/.test(x)).map(()=> 'credential-state-write-failed')};
|
|
53
|
+
console.log(JSON.stringify(summary,null,2));fs.writeFileSync(path.join(scratch,'config-ack-result.json'),JSON.stringify(summary,null,2)+'\n');
|
|
54
|
+
}finally{await runtime.stop().catch(()=>undefined);}
|
|
55
|
+
})().catch(error=>{console.error(error.message);process.exitCode=1;});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
c844456f2c9d6b9d9c846511b52d9a53dbfcd37bd04fe64fac08b75ad07037d1 test/eos-customer-tariff-update-persistence.test.cjs
|
|
2
|
+
51f4991720c08316574e8444b7765638e8c1c3e90514b70124355884f88d07e9 test/fixtures/tariff-provider-9.0.21.json
|
|
3
|
+
ad361d2b7b0b927a9644e599c04682b4af2895a775374ecad364a37576534a05 ui/src-ts/runtime-executables/main.ts
|
|
4
|
+
ab8f406aa8ae340d4698a67eb1405f273bb39b09d23ab73711bf542ca77c66e2 src/lib/eosLegacyMigration.js
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
|
|
2
|
+
|
|
3
|
+
> iobroker.eos-admin@9.0.25 typecheck
|
|
4
|
+
> tsc -p tsconfig.build.json --noEmit && tsc -p ui/tsconfig.ephemeral-cache.json && tsc -p ui/tsconfig.hosted-adapter.json && tsc -p modules/eebus/tsconfig.json --noEmit && tsc -p modules/backup/tsconfig.json --noEmit && tsc -p ui/tsconfig.smarthome-activation.json && tsc -p ui/tsconfig.ui-auth-frontend.json && tsc -p ui/tsconfig.preserved-ui-config.json && tsc -p ui/tsconfig.smarthome-feedback.json && tsc -p ui/tsconfig.smarthome-touch.json && tsc -p ui/tsconfig.smarthome-presentation.json && tsc -p ui/tsconfig.smarthome-device-controls.json && tsc -p ui/tsconfig.smarthome-device-api.json && tsc -p ui/tsconfig.smarthome-device-detection.json && tsc -p ui/tsconfig.smarthome-device-config.json && tsc -p ui/tsconfig.smarthome-device-controls-browser.json && tsc -p ui/tsconfig.smarthome-custom-views.json && tsc -p ui/tsconfig.smarthome-custom-contract.json && tsc -p ui/tsconfig.smarthome-custom-config.json && tsc -p ui/tsconfig.smarthome-device-legacy.json && tsc -p ui/tsconfig.smarthome-device-aliases.json && tsc -p ui/tsconfig.smarthome-alias-config.json && tsc -p ui/tsconfig.smarthome-device-categories.json && tsc -p ui/tsconfig.smarthome-layout-editor.json && tsc -p ui/tsconfig.hosted-runtime-stop.json && tsc -p ui/tsconfig.smarthome-setup.json && tsc -p ui/tsconfig.hosted-startup-status.json && tsc -p tsconfig.eos-device-ems.json && tsc -p modules/devices/tsconfig.ems-ui.json && tsc -p ui/tsconfig.installer-lifecycle.json && tsc -p ui/tsconfig.customer-tariff.json && tsc -p ui/tsconfig.customer-tariff-ui.json && tsc -p modules/devices/tsconfig.alias-semantics.json && tsc -p ui/tsconfig.power-measurements.json && tsc -p ui/tsconfig.storagefarm-summary-ui.json && tsc -p ui/tsconfig.tariff-display-ui.json && tsc -p ui/tsconfig.live-display-ui.json && tsc -p modules/devices/tsconfig.serial-lifecycle.json && tsc -p ui/tsconfig.storagefarm-dispatch-ui.json && tsc -p ui/tsconfig.influx-direct.json && tsc -p ui/tsconfig.influx-security.json && tsc -p ui/tsconfig.influx-history-runtime.json && tsc -p ui/src-admin-tab/tsconfig.json && tsc -p modules/devices/tsconfig.mqtt-lifecycle.json && tsc -p ui/tsconfig.eos-updates-ui.json && tsc -p tsconfig.eos-customer-updates.json && tsc -p tsconfig.eos-history-backup-scope.json && tsc -p tsconfig.eos-postgres-system.json && tsc -p ui/tsconfig.postgres-history.json && tsc -p ui/tsconfig.ems-control-values.json && tsc -p ui/tsconfig.flow-measurement.json && tsc -p ui/tsconfig.ocpp-limit-feedback.json && tsc -p ui/tsconfig.ocpp-auto-discovery.json && tsc -p tsconfig.eos-runtime-health.json && tsc -p tsconfig.eos-module-process.json && tsc -p tsconfig.ui-process.json && tsc -p modules/ocpp/tsconfig.json --noEmit && tsc -p tsconfig.eos-ocpp-admin.json && tsc -p tsconfig.eos-runtime-control.json
|
|
5
|
+
|
package/io-package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "eos-admin",
|
|
4
|
-
"version": "9.0.
|
|
4
|
+
"version": "9.0.25",
|
|
5
5
|
"titleLang": {
|
|
6
6
|
"en": "NexoWatt EOS",
|
|
7
7
|
"de": "NexoWatt EOS",
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
"connectionType": "local",
|
|
19
19
|
"dataSource": "push",
|
|
20
20
|
"news": {
|
|
21
|
+
"9.0.25": {
|
|
22
|
+
"en": "Fix startup blocked by optional external OCPP migration; add persistent runtime process controls.",
|
|
23
|
+
"de": "Startsperre durch optionale externe OCPP-Übernahme behoben; dauerhafte Prozesssteuerung ergänzt."
|
|
24
|
+
},
|
|
21
25
|
"9.0.24": {
|
|
22
26
|
"en": "Integrated OCPP, EEBUS and Devices in independent processes within one EOS adapter; dashboard kiosk with protected Admin login; verified cleanup of obsolete npm publish assets.",
|
|
23
27
|
"de": "OCPP, EEBUS und Devices in eigenen Prozessen innerhalb eines EOS-Adapters; Dashboard-Kioskmodus mit geschütztem Admin-Zugang; geprüfte Bereinigung alter Dateien vor npm-Publish."
|
|
@@ -94,11 +98,6 @@
|
|
|
94
98
|
"de": "Integrierte Geräte- und EEBus-Module mit zentraler EOS-Lizenz, geschützter Übergabe bestehender Instanzen, Installer-Rückweg und mehrzeiliger Admin-Navigation. Lokale Geräteankündigung und vorbereiteter HTTPS-Zugang ohne Port. Prüfumfang und offene Hardware-Abnahme siehe Prüfbericht.",
|
|
95
99
|
"en": "Integrated Devices and EEBus modules with the central EOS license, guarded legacy handover, installer return navigation and wrapping admin navigation. Local discovery and prepared portless HTTPS access. See the report for validation scope and remaining hardware acceptance.",
|
|
96
100
|
"nl": "Geïntegreerde Devices- en EEBus-modules met centrale EOS-licentie, beveiligde overdracht, terugkeer vanuit de installer en navigatie op meerdere regels. Lokale detectie en voorbereide HTTPS-toegang zonder poort. Zie het testrapport voor de resterende hardwarecontrole."
|
|
97
|
-
},
|
|
98
|
-
"9.0.5": {
|
|
99
|
-
"de": "9.0.5 korrigiert den History-Absturz an der Übergabe zwischen Verwaltungsserver und eingebetteter UI. History-Anfragen erhalten begrenzte Ressourcen und kontrollierte Fehlerantworten; die EOS-Systemverwaltung verwendet das NexoWatt-Startlogo. Zentrale Lizenz, HTTPS auf 8188 und vorhandener Adminzugang bleiben erhalten. Teststand für next; tatsächliche Nachweise und offene Zielgeräteprüfung siehe Prüfbericht.",
|
|
100
|
-
"en": "9.0.5 fixes the History crash at the boundary between the administration server and embedded UI. History requests have bounded resources and controlled error responses; EOS system administration uses the NexoWatt startup logo. The central license, HTTPS on 8188 and existing admin access are preserved. Test release for next; see the report for actual evidence and outstanding target-device acceptance.",
|
|
101
|
-
"nl": "9.0.5 corrigeert de History-crash bij de overdracht tussen beheerserver en ingebedde UI. History-aanvragen krijgen begrensde bronnen en gecontroleerde foutantwoorden; EOS-systeembeheer gebruikt het NexoWatt-startlogo. Centrale licentie, HTTPS op 8188 en bestaande admintoegang blijven behouden. Testversie voor next; zie het rapport voor bewijs en openstaande apparaatcontrole."
|
|
102
101
|
}
|
|
103
102
|
},
|
|
104
103
|
"desc": {
|
|
@@ -136,7 +135,7 @@
|
|
|
136
135
|
"icon": "admin.svg",
|
|
137
136
|
"messagebox": true,
|
|
138
137
|
"enabled": true,
|
|
139
|
-
"extIcon": "https://unpkg.com/iobroker.eos-admin@9.0.
|
|
138
|
+
"extIcon": "https://unpkg.com/iobroker.eos-admin@9.0.25/admin/admin.svg",
|
|
140
139
|
"keywords": [
|
|
141
140
|
"NexoWatt",
|
|
142
141
|
"EOS",
|
|
@@ -147,7 +146,7 @@
|
|
|
147
146
|
"licensed"
|
|
148
147
|
],
|
|
149
148
|
"compact": false,
|
|
150
|
-
"readme": "https://unpkg.com/iobroker.eos-admin@9.0.
|
|
149
|
+
"readme": "https://unpkg.com/iobroker.eos-admin@9.0.25/README.md",
|
|
151
150
|
"authors": [
|
|
152
151
|
"NexoWatt"
|
|
153
152
|
],
|
|
@@ -159,7 +158,7 @@
|
|
|
159
158
|
"type": "general",
|
|
160
159
|
"licenseInformation": {
|
|
161
160
|
"type": "paid",
|
|
162
|
-
"link": "https://unpkg.com/iobroker.eos-admin@9.0.
|
|
161
|
+
"link": "https://unpkg.com/iobroker.eos-admin@9.0.25/LICENSE"
|
|
163
162
|
},
|
|
164
163
|
"logTransporter": true,
|
|
165
164
|
"stopBeforeUpdate": true,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.eos-admin",
|
|
3
3
|
"description": "NexoWatt EOS: licensed local energy management, dashboard and ioBroker system administration in one adapter.",
|
|
4
|
-
"version": "9.0.
|
|
4
|
+
"version": "9.0.25",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"bluefox <dogafox@gmail.com>",
|
|
7
7
|
"apollon77",
|
|
@@ -219,7 +219,9 @@
|
|
|
219
219
|
"START_HIER_9.0.23.md",
|
|
220
220
|
"docs/reports/unified-9.0.23/",
|
|
221
221
|
"START_HIER_9.0.24.md",
|
|
222
|
-
"docs/reports/unified-9.0.24/"
|
|
222
|
+
"docs/reports/unified-9.0.24/",
|
|
223
|
+
"START_HIER_9.0.25.md",
|
|
224
|
+
"docs/reports/unified-9.0.25/"
|
|
223
225
|
],
|
|
224
226
|
"scripts": {
|
|
225
227
|
"start": "cd src-admin && npm run start",
|
|
@@ -230,7 +232,7 @@
|
|
|
230
232
|
"build:ui-runtime": "node ui/scripts/build-smarthome-markdown.cjs && node ui/scripts/build-ts-runtime-executables.js",
|
|
231
233
|
"lint-backend": "eslint -c eslint.config.mjs src && npm run lint:unified",
|
|
232
234
|
"lint": "npm run lint-backend && cd src-admin && npm run lint",
|
|
233
|
-
"test:unified": "node --test --test-timeout=180000 --test-concurrency=4 test/eos-idle*.test.cjs test/eos-unified*.test.cjs test/eos-hosted-boundary-http.test.cjs test/eos-license*.test.cjs ui/test/unified/*.test.cjs test/eos-access-diagnostics.test.cjs test/eos-ingress-renderer.test.cjs test/eos-sbom-vendored.test.cjs test/eos-system-license-ui.test.cjs test/eos-history-deadline.test.cjs test/eos-socket-threshold.test.cjs test/eos-history-api-stability.test.cjs test/eos-ephemeral-cache.test.cjs test/eos-tls-management.test.cjs test/eos-tls-issuer-files.test.cjs test/eos-publish-prepare.test.cjs test/eos-publish-prepare-security.test.cjs test/eos-release-evidence.test.cjs test/eos-parallel-admin-objects.test.cjs test/eos-coexistence-recovery.test.cjs test/eos-socket-secret.test.cjs test/eos-role-policy.test.cjs test/eos-device-ems*.test.cjs test/eos-installer-lifecycle.test.cjs test/eos-customer-tariff*.test.cjs test/eos-ems-reconfiguration.test.cjs test/eos-power-measurements.test.cjs test/eos-mennekes-control.test.cjs test/eos-devices-start-lifecycle.test.cjs test/eos-storage-farm-overview.test.cjs test/eos-storagefarm-overview-ui.test.cjs test/eos-storagefarm-review.test.cjs test/eos-tariff*.test.cjs test/eos-history-measurement-integrity.test.cjs test/eos-ems-failed-init.test.cjs test/eos-live-display-regression.test.cjs test/eos-history-chart-gaps.test.cjs test/eos-history-negative-pricing.test.cjs test/eos-storagefarm-dispatch-diagnostics.test.cjs test/eos-storagefarm-controller-dispatch.test.cjs test/eos-storagefarm-dispatch-ui.test.cjs test/eos-storage-command-ack.test.cjs test/eos-device-command-subscriptions.test.cjs test/eos-influx*.test.cjs test/eos-history-setup-ui.test.cjs test/eos-login-pwa-branding.test.cjs test/eos-pwa-anonymous-https.test.cjs test/eos-upload-admission.test.cjs test/eos-ems-nvp-recovery.test.cjs test/eos-storagefarm-concurrency.test.cjs test/eos-customer-update*.test.cjs test/eos-history-backup-scope.test.cjs test/eos-postgres*.test.cjs test/eos-ems-control-datapoints.test.cjs test/eos-runtime-interop.test.cjs test/eos-derived-flow-integrity.test.cjs test/eos-charging-flow-validity.test.cjs test/eos-storage-nullable-flow.test.cjs test/eos-energyflow-cadence.test.cjs test/eos-charging-pure-pv-ocpp.test.cjs test/eos-core-pv-input-integrity.test.cjs test/eos-evcs-stop-writer.test.cjs test/eos-ui-process.test.cjs test/eos-runtime-health.test.cjs test/eos-ocpp*.test.cjs test/eos-kiosk*.test.cjs test/eos-ui-process-review.test.cjs test/eos-ui-operational-process-review.test.cjs test/eos-ui-secret-codec.test.cjs",
|
|
235
|
+
"test:unified": "node --test --test-timeout=180000 --test-concurrency=4 test/eos-idle*.test.cjs test/eos-unified*.test.cjs test/eos-hosted-boundary-http.test.cjs test/eos-license*.test.cjs ui/test/unified/*.test.cjs test/eos-access-diagnostics.test.cjs test/eos-ingress-renderer.test.cjs test/eos-sbom-vendored.test.cjs test/eos-system-license-ui.test.cjs test/eos-history-deadline.test.cjs test/eos-socket-threshold.test.cjs test/eos-history-api-stability.test.cjs test/eos-ephemeral-cache.test.cjs test/eos-tls-management.test.cjs test/eos-tls-issuer-files.test.cjs test/eos-publish-prepare.test.cjs test/eos-publish-prepare-security.test.cjs test/eos-release-evidence.test.cjs test/eos-parallel-admin-objects.test.cjs test/eos-coexistence-recovery.test.cjs test/eos-socket-secret.test.cjs test/eos-role-policy.test.cjs test/eos-device-ems*.test.cjs test/eos-installer-lifecycle.test.cjs test/eos-customer-tariff*.test.cjs test/eos-ems-reconfiguration.test.cjs test/eos-power-measurements.test.cjs test/eos-mennekes-control.test.cjs test/eos-devices-start-lifecycle.test.cjs test/eos-storage-farm-overview.test.cjs test/eos-storagefarm-overview-ui.test.cjs test/eos-storagefarm-review.test.cjs test/eos-tariff*.test.cjs test/eos-history-measurement-integrity.test.cjs test/eos-ems-failed-init.test.cjs test/eos-live-display-regression.test.cjs test/eos-history-chart-gaps.test.cjs test/eos-history-negative-pricing.test.cjs test/eos-storagefarm-dispatch-diagnostics.test.cjs test/eos-storagefarm-controller-dispatch.test.cjs test/eos-storagefarm-dispatch-ui.test.cjs test/eos-storage-command-ack.test.cjs test/eos-device-command-subscriptions.test.cjs test/eos-influx*.test.cjs test/eos-history-setup-ui.test.cjs test/eos-login-pwa-branding.test.cjs test/eos-pwa-anonymous-https.test.cjs test/eos-upload-admission.test.cjs test/eos-ems-nvp-recovery.test.cjs test/eos-storagefarm-concurrency.test.cjs test/eos-customer-update*.test.cjs test/eos-history-backup-scope.test.cjs test/eos-postgres*.test.cjs test/eos-ems-control-datapoints.test.cjs test/eos-runtime-interop.test.cjs test/eos-derived-flow-integrity.test.cjs test/eos-charging-flow-validity.test.cjs test/eos-storage-nullable-flow.test.cjs test/eos-energyflow-cadence.test.cjs test/eos-charging-pure-pv-ocpp.test.cjs test/eos-core-pv-input-integrity.test.cjs test/eos-evcs-stop-writer.test.cjs test/eos-ui-process.test.cjs test/eos-runtime-health.test.cjs test/eos-ocpp*.test.cjs test/eos-kiosk*.test.cjs test/eos-ui-process-review.test.cjs test/eos-ui-operational-process-review.test.cjs test/eos-ui-secret-codec.test.cjs test/eos-runtime-control*.test.cjs test/eos-ui-config*.test.cjs",
|
|
234
236
|
"check:unified": "node tools/eos-release-check.cjs",
|
|
235
237
|
"seal:unified": "node tools/eos-release-manifest.cjs --write",
|
|
236
238
|
"prepack": "node tools/eos-prepare-publish.cjs && node tools/eos-release-check.cjs",
|
|
@@ -240,10 +242,10 @@
|
|
|
240
242
|
"test:retained": "node --test --test-timeout=180000 --test-concurrency=4 test/eos-session-security.test.cjs test/eos-web-resources.test.cjs test/eos-auth-regressions.test.cjs",
|
|
241
243
|
"test:package": "node --test test/eos-unified-metadata.test.cjs",
|
|
242
244
|
"test:integration": "mocha test/integration-unified.cjs --exit",
|
|
243
|
-
"typecheck": "tsc -p tsconfig.build.json --noEmit && tsc -p ui/tsconfig.ephemeral-cache.json && tsc -p ui/tsconfig.hosted-adapter.json && tsc -p modules/eebus/tsconfig.json --noEmit && tsc -p modules/backup/tsconfig.json --noEmit && tsc -p ui/tsconfig.smarthome-activation.json && tsc -p ui/tsconfig.ui-auth-frontend.json && tsc -p ui/tsconfig.preserved-ui-config.json && tsc -p ui/tsconfig.smarthome-feedback.json && tsc -p ui/tsconfig.smarthome-touch.json && tsc -p ui/tsconfig.smarthome-presentation.json && tsc -p ui/tsconfig.smarthome-device-controls.json && tsc -p ui/tsconfig.smarthome-device-api.json && tsc -p ui/tsconfig.smarthome-device-detection.json && tsc -p ui/tsconfig.smarthome-device-config.json && tsc -p ui/tsconfig.smarthome-device-controls-browser.json && tsc -p ui/tsconfig.smarthome-custom-views.json && tsc -p ui/tsconfig.smarthome-custom-contract.json && tsc -p ui/tsconfig.smarthome-custom-config.json && tsc -p ui/tsconfig.smarthome-device-legacy.json && tsc -p ui/tsconfig.smarthome-device-aliases.json && tsc -p ui/tsconfig.smarthome-alias-config.json && tsc -p ui/tsconfig.smarthome-device-categories.json && tsc -p ui/tsconfig.smarthome-layout-editor.json && tsc -p ui/tsconfig.hosted-runtime-stop.json && tsc -p ui/tsconfig.smarthome-setup.json && tsc -p ui/tsconfig.hosted-startup-status.json && tsc -p tsconfig.eos-device-ems.json && tsc -p modules/devices/tsconfig.ems-ui.json && tsc -p ui/tsconfig.installer-lifecycle.json && tsc -p ui/tsconfig.customer-tariff.json && tsc -p ui/tsconfig.customer-tariff-ui.json && tsc -p modules/devices/tsconfig.alias-semantics.json && tsc -p ui/tsconfig.power-measurements.json && tsc -p ui/tsconfig.storagefarm-summary-ui.json && tsc -p ui/tsconfig.tariff-display-ui.json && tsc -p ui/tsconfig.live-display-ui.json && tsc -p modules/devices/tsconfig.serial-lifecycle.json && tsc -p ui/tsconfig.storagefarm-dispatch-ui.json && tsc -p ui/tsconfig.influx-direct.json && tsc -p ui/tsconfig.influx-security.json && tsc -p ui/tsconfig.influx-history-runtime.json && tsc -p ui/src-admin-tab/tsconfig.json && tsc -p modules/devices/tsconfig.mqtt-lifecycle.json && tsc -p ui/tsconfig.eos-updates-ui.json && tsc -p tsconfig.eos-customer-updates.json && tsc -p tsconfig.eos-history-backup-scope.json && tsc -p tsconfig.eos-postgres-system.json && tsc -p ui/tsconfig.postgres-history.json && tsc -p ui/tsconfig.ems-control-values.json && tsc -p ui/tsconfig.flow-measurement.json && tsc -p ui/tsconfig.ocpp-limit-feedback.json && tsc -p ui/tsconfig.ocpp-auto-discovery.json && tsc -p tsconfig.eos-runtime-health.json && tsc -p tsconfig.eos-module-process.json && tsc -p tsconfig.ui-process.json && tsc -p modules/ocpp/tsconfig.json --noEmit && tsc -p tsconfig.eos-ocpp-admin.json",
|
|
245
|
+
"typecheck": "tsc -p tsconfig.build.json --noEmit && tsc -p ui/tsconfig.ephemeral-cache.json && tsc -p ui/tsconfig.hosted-adapter.json && tsc -p modules/eebus/tsconfig.json --noEmit && tsc -p modules/backup/tsconfig.json --noEmit && tsc -p ui/tsconfig.smarthome-activation.json && tsc -p ui/tsconfig.ui-auth-frontend.json && tsc -p ui/tsconfig.preserved-ui-config.json && tsc -p ui/tsconfig.smarthome-feedback.json && tsc -p ui/tsconfig.smarthome-touch.json && tsc -p ui/tsconfig.smarthome-presentation.json && tsc -p ui/tsconfig.smarthome-device-controls.json && tsc -p ui/tsconfig.smarthome-device-api.json && tsc -p ui/tsconfig.smarthome-device-detection.json && tsc -p ui/tsconfig.smarthome-device-config.json && tsc -p ui/tsconfig.smarthome-device-controls-browser.json && tsc -p ui/tsconfig.smarthome-custom-views.json && tsc -p ui/tsconfig.smarthome-custom-contract.json && tsc -p ui/tsconfig.smarthome-custom-config.json && tsc -p ui/tsconfig.smarthome-device-legacy.json && tsc -p ui/tsconfig.smarthome-device-aliases.json && tsc -p ui/tsconfig.smarthome-alias-config.json && tsc -p ui/tsconfig.smarthome-device-categories.json && tsc -p ui/tsconfig.smarthome-layout-editor.json && tsc -p ui/tsconfig.hosted-runtime-stop.json && tsc -p ui/tsconfig.smarthome-setup.json && tsc -p ui/tsconfig.hosted-startup-status.json && tsc -p tsconfig.eos-device-ems.json && tsc -p modules/devices/tsconfig.ems-ui.json && tsc -p ui/tsconfig.installer-lifecycle.json && tsc -p ui/tsconfig.customer-tariff.json && tsc -p ui/tsconfig.customer-tariff-ui.json && tsc -p modules/devices/tsconfig.alias-semantics.json && tsc -p ui/tsconfig.power-measurements.json && tsc -p ui/tsconfig.storagefarm-summary-ui.json && tsc -p ui/tsconfig.tariff-display-ui.json && tsc -p ui/tsconfig.live-display-ui.json && tsc -p modules/devices/tsconfig.serial-lifecycle.json && tsc -p ui/tsconfig.storagefarm-dispatch-ui.json && tsc -p ui/tsconfig.influx-direct.json && tsc -p ui/tsconfig.influx-security.json && tsc -p ui/tsconfig.influx-history-runtime.json && tsc -p ui/src-admin-tab/tsconfig.json && tsc -p modules/devices/tsconfig.mqtt-lifecycle.json && tsc -p ui/tsconfig.eos-updates-ui.json && tsc -p tsconfig.eos-customer-updates.json && tsc -p tsconfig.eos-history-backup-scope.json && tsc -p tsconfig.eos-postgres-system.json && tsc -p ui/tsconfig.postgres-history.json && tsc -p ui/tsconfig.ems-control-values.json && tsc -p ui/tsconfig.flow-measurement.json && tsc -p ui/tsconfig.ocpp-limit-feedback.json && tsc -p ui/tsconfig.ocpp-auto-discovery.json && tsc -p tsconfig.eos-runtime-health.json && tsc -p tsconfig.eos-module-process.json && tsc -p tsconfig.ui-process.json && tsc -p modules/ocpp/tsconfig.json --noEmit && tsc -p tsconfig.eos-ocpp-admin.json && tsc -p tsconfig.eos-runtime-control.json",
|
|
244
246
|
"build:installer": "npm --prefix ui/src-admin-tab run build",
|
|
245
247
|
"sbom": "npm sbom --sbom-format=cyclonedx > release-manifests/unified/build-environment.cdx.json && node tools/eos-sbom-vendored.cjs",
|
|
246
|
-
"lint:unified": "eslint -c eslint.unified.config.mjs src/lib/eosUnifiedBoundary.js src/lib/eosSessionSecurity.js src/lib/eosCookieNamespace.js src/lib/eosNewsSecurity.js src/lib/eosRolePolicy.js src/lib/eosSocketSecret.js src/lib/eosUnifiedOwnership.js src/lib/eosLicenseCore.js src/lib/eosLicensePolicy.js src/lib/eosLicenseService.js src/lib/eosLicenseTrust.js src/lib/eosLicenseHttp.js tools/eos-release-check.cjs tools/eos-prepare-publish.cjs tools/eos-release-evidence.cjs tools/eos-release-manifest.cjs tools/eos-migration-plan.cjs tools/eos-access-diagnostics.cjs tools/eos-coexistence-recovery.cjs deploy/render-ingress.cjs tools/eos-sbom-vendored.cjs src/lib/eosDeviceEmsPlan.js src/lib/eosDeviceEmsService.js src/lib/eosModuleHost.js src/lib/eosModuleHttp.js src/lib/eosModuleConfigStore.js src/lib/eosLegacyMigration.js tools/eos-tls-issuer.cjs && eslint -c modules/backup/eslint.config.mjs modules/backup/src && eslint -c ui/eslint.smarthome-activation.config.mjs ui/src-ts/runtime-executables/lib/smarthome-activation.ts && eslint -c ui/eslint.preserved-ui-config.config.mjs ui/src-ts/runtime-executables/lib/preserved-ui-config.ts && eslint -c ui/eslint.smarthome-feedback.config.mjs ui/src-ts/runtime-executables/www/smarthome-feedback.ts && eslint -c ui/eslint.smarthome-touch.config.mjs ui/src-ts/runtime-executables/www/smarthome-touch.ts && eslint -c ui/eslint.smarthome-presentation.config.mjs ui/src-ts/runtime-executables/www/smarthome-presentation.ts && eslint -c ui/eslint.smarthome-device-controls.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-controls.ts && eslint -c ui/eslint.smarthome-device-api.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-api.ts && eslint -c ui/eslint.smarthome-device-detection.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-detection.ts && eslint -c ui/eslint.smarthome-device-config.config.mjs ui/src-ts/runtime-executables/www/smarthome-device-config.ts && eslint -c ui/eslint.smarthome-device-controls-browser.config.mjs ui/src-ts/runtime-executables/www/smarthome-device-controls.ts && eslint -c ui/eslint.smarthome-custom-views.config.mjs ui/src-ts/runtime-executables/www/smarthome-custom-views.ts && eslint -c ui/eslint.smarthome-custom-contract.config.mjs ui/src-ts/runtime-executables/lib/smarthome-custom-contract.ts && eslint -c ui/eslint.smarthome-custom-config.config.mjs ui/src-ts/runtime-executables/www/smarthome-custom-config.ts && eslint -c ui/eslint.smarthome-device-legacy.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-legacy.ts && eslint -c ui/eslint.smarthome-device-aliases.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-aliases.ts && eslint -c ui/eslint.smarthome-alias-config.config.mjs ui/src-ts/runtime-executables/www/smarthome-alias-config.ts && eslint -c ui/eslint.smarthome-device-categories.config.mjs ui/src-ts/runtime-executables/www/smarthome-device-categories.ts && eslint -c ui/eslint.smarthome-layout-editor.config.mjs ui/src-ts/runtime-executables/www/smarthome-layout-editor.ts && eslint -c ui/eslint.hosted-runtime-stop.config.mjs ui/src-ts/runtime-executables/lib/hosted-runtime-stop.ts && eslint -c ui/eslint.hosted-adapter.config.mjs ui/src-ts/runtime-executables/lib/hosted-adapter.ts && eslint -c ui/eslint.smarthome-setup.config.mjs ui/src-ts/runtime-executables/www/smarthome-setup.ts && eslint -c ui/eslint.hosted-startup-status.config.mjs ui/src-ts/runtime-executables/lib/hosted-startup-status.ts && eslint -c ui/eslint.eos-session-idle.config.mjs ui/src-ts/runtime-executables/www/eos-session-idle.ts ui/src-ts/runtime-executables/www/eos-kiosk-settings.ts && eslint -c modules/devices/eslint.hosted.config.mjs modules/devices/admin/ems-assignment.js && eslint -c ui/eslint.installer-lifecycle.config.mjs ui/src-ts/runtime-executables/lib/installer-lifecycle.ts ui/src-ts/runtime-executables/lib/storage-farm-overview.ts ui/src-ts/runtime-executables/lib/tariff-price.ts && eslint -c ui/eslint.customer-tariff.config.mjs ui/src-ts/runtime-executables/lib/customer-tariff.ts && eslint -c ui/eslint.customer-tariff-ui.config.mjs ui/src-ts/runtime-executables/www/customer-tariff.ts && eslint -c modules/devices/eslint.hosted.config.mjs modules/devices/lib/deviceAliasSemantics.js modules/devices/lib/deviceAliasFreshness.js && eslint -c ui/eslint.power-measurements.config.mjs ui/src-ts/runtime-executables/www/power-measurements.ts && eslint -c ui/eslint.storagefarm-summary-ui.config.mjs ui/src-ts/runtime-executables/www/storagefarm-summary.ts && eslint -c ui/eslint.tariff-display-ui.config.mjs ui/src-ts/runtime-executables/www/tariff-display.ts && eslint -c ui/eslint.live-display-ui.config.mjs ui/src-ts/runtime-executables/www/live-display.ts && eslint -c modules/devices/eslint.hosted.config.mjs modules/devices/lib/drivers/modbusSerialLease.js modules/devices/lib/drivers/modbusRtuBus.js modules/devices/lib/drivers/modbusAsciiBus.js && eslint -c ui/eslint.storagefarm-dispatch-ui.config.mjs ui/src-ts/runtime-executables/www/storagefarm-dispatch.ts && eslint -c ui/eslint.influx-direct.config.mjs ui/src-ts/runtime-executables/lib/influx-direct.ts && eslint -c ui/eslint.influx-security.config.mjs ui/src-ts/runtime-executables/lib/influx-config.ts ui/src-ts/runtime-executables/lib/influx-network-policy.ts && eslint -c ui/eslint.history-setup-ui.config.mjs ui/src-admin-tab/src/lib/historySetup.ts ui/src-admin-tab/src/pages/HistorySetupPage.tsx && eslint -c ui/eslint.influx-history-runtime.config.mjs ui/src-ts/runtime-executables/lib/influx-history-runtime.ts && eslint -c modules/devices/eslint.hosted.config.mjs modules/devices/lib/drivers/mqtt.js modules/devices/lib/drivers/mqttPendingOperations.js && eslint -c ui/eslint.eos-updates-ui.config.mjs ui/src-ts/runtime-executables/www/eos-updates.ts && eslint -c eslint.unified.config.mjs src/lib/eosHistoryBackupScope.js && eslint -c ui/eslint.postgres-history.config.mjs ui/src-ts/runtime-executables/lib/postgres-history.ts ui/src-ts/runtime-executables/lib/postgres-history-config.ts && eslint -c ui/eslint.ems-control-values.config.mjs ui/src-ts/runtime-executables/lib/ems-control-values.ts && eslint -c ui/eslint.flow-measurement.config.mjs ui/src-ts/runtime-executables/lib/flow-measurement.ts && eslint -c ui/eslint.ocpp-limit-feedback.config.mjs ui/src-ts/runtime-executables/lib/ocpp-limit-feedback.ts && eslint -c ui/eslint.ocpp-auto-discovery.config.mjs ui/src-ts/runtime-executables/lib/ocpp-auto-discovery.ts && eslint -c eslint.runtime-health.config.mjs src/lib/eosRuntimeHealth.js public/eos-runtime/index.js && eslint -c eslint.unified.config.mjs src/lib/eosModuleProcess.js src/lib/eosModuleProcessProtocol.js src/lib/eosModuleProcessWorker.js && eslint -c eslint.config.mjs src/lib/eosUiProcess.ts src/lib/eosUiProcessRpc.ts src/lib/eosUiProcessWorker.ts src/lib/eosUiSecretCodec.ts src/lib/eosKiosk.ts && eslint -c eslint.ocpp-admin.config.mjs modules/ocpp/admin/index.js && eslint -c modules/ocpp/eslint.config.mjs modules/ocpp/src/*.ts",
|
|
248
|
+
"lint:unified": "eslint -c eslint.unified.config.mjs src/lib/eosUnifiedBoundary.js src/lib/eosSessionSecurity.js src/lib/eosCookieNamespace.js src/lib/eosNewsSecurity.js src/lib/eosRolePolicy.js src/lib/eosSocketSecret.js src/lib/eosUnifiedOwnership.js src/lib/eosLicenseCore.js src/lib/eosLicensePolicy.js src/lib/eosLicenseService.js src/lib/eosLicenseTrust.js src/lib/eosLicenseHttp.js tools/eos-release-check.cjs tools/eos-prepare-publish.cjs tools/eos-release-evidence.cjs tools/eos-release-manifest.cjs tools/eos-migration-plan.cjs tools/eos-access-diagnostics.cjs tools/eos-coexistence-recovery.cjs deploy/render-ingress.cjs tools/eos-sbom-vendored.cjs src/lib/eosDeviceEmsPlan.js src/lib/eosDeviceEmsService.js src/lib/eosRuntimeControl.js src/lib/eosModuleHost.js src/lib/eosModuleHttp.js src/lib/eosModuleConfigStore.js src/lib/eosLegacyMigration.js tools/eos-tls-issuer.cjs && eslint -c modules/backup/eslint.config.mjs modules/backup/src && eslint -c ui/eslint.smarthome-activation.config.mjs ui/src-ts/runtime-executables/lib/smarthome-activation.ts && eslint -c ui/eslint.preserved-ui-config.config.mjs ui/src-ts/runtime-executables/lib/preserved-ui-config.ts && eslint -c ui/eslint.smarthome-feedback.config.mjs ui/src-ts/runtime-executables/www/smarthome-feedback.ts && eslint -c ui/eslint.smarthome-touch.config.mjs ui/src-ts/runtime-executables/www/smarthome-touch.ts && eslint -c ui/eslint.smarthome-presentation.config.mjs ui/src-ts/runtime-executables/www/smarthome-presentation.ts && eslint -c ui/eslint.smarthome-device-controls.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-controls.ts && eslint -c ui/eslint.smarthome-device-api.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-api.ts && eslint -c ui/eslint.smarthome-device-detection.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-detection.ts && eslint -c ui/eslint.smarthome-device-config.config.mjs ui/src-ts/runtime-executables/www/smarthome-device-config.ts && eslint -c ui/eslint.smarthome-device-controls-browser.config.mjs ui/src-ts/runtime-executables/www/smarthome-device-controls.ts && eslint -c ui/eslint.smarthome-custom-views.config.mjs ui/src-ts/runtime-executables/www/smarthome-custom-views.ts && eslint -c ui/eslint.smarthome-custom-contract.config.mjs ui/src-ts/runtime-executables/lib/smarthome-custom-contract.ts && eslint -c ui/eslint.smarthome-custom-config.config.mjs ui/src-ts/runtime-executables/www/smarthome-custom-config.ts && eslint -c ui/eslint.smarthome-device-legacy.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-legacy.ts && eslint -c ui/eslint.smarthome-device-aliases.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-aliases.ts && eslint -c ui/eslint.smarthome-alias-config.config.mjs ui/src-ts/runtime-executables/www/smarthome-alias-config.ts && eslint -c ui/eslint.smarthome-device-categories.config.mjs ui/src-ts/runtime-executables/www/smarthome-device-categories.ts && eslint -c ui/eslint.smarthome-layout-editor.config.mjs ui/src-ts/runtime-executables/www/smarthome-layout-editor.ts && eslint -c ui/eslint.hosted-runtime-stop.config.mjs ui/src-ts/runtime-executables/lib/hosted-runtime-stop.ts && eslint -c ui/eslint.hosted-adapter.config.mjs ui/src-ts/runtime-executables/lib/hosted-adapter.ts && eslint -c ui/eslint.smarthome-setup.config.mjs ui/src-ts/runtime-executables/www/smarthome-setup.ts && eslint -c ui/eslint.hosted-startup-status.config.mjs ui/src-ts/runtime-executables/lib/hosted-startup-status.ts && eslint -c ui/eslint.eos-session-idle.config.mjs ui/src-ts/runtime-executables/www/eos-session-idle.ts ui/src-ts/runtime-executables/www/eos-kiosk-settings.ts ui/src-ts/runtime-executables/www/login.ts && eslint -c modules/devices/eslint.hosted.config.mjs modules/devices/admin/ems-assignment.js && eslint -c ui/eslint.installer-lifecycle.config.mjs ui/src-ts/runtime-executables/lib/installer-lifecycle.ts ui/src-ts/runtime-executables/lib/storage-farm-overview.ts ui/src-ts/runtime-executables/lib/tariff-price.ts && eslint -c ui/eslint.customer-tariff.config.mjs ui/src-ts/runtime-executables/lib/customer-tariff.ts && eslint -c ui/eslint.customer-tariff-ui.config.mjs ui/src-ts/runtime-executables/www/customer-tariff.ts && eslint -c modules/devices/eslint.hosted.config.mjs modules/devices/lib/deviceAliasSemantics.js modules/devices/lib/deviceAliasFreshness.js && eslint -c ui/eslint.power-measurements.config.mjs ui/src-ts/runtime-executables/www/power-measurements.ts && eslint -c ui/eslint.storagefarm-summary-ui.config.mjs ui/src-ts/runtime-executables/www/storagefarm-summary.ts && eslint -c ui/eslint.tariff-display-ui.config.mjs ui/src-ts/runtime-executables/www/tariff-display.ts && eslint -c ui/eslint.live-display-ui.config.mjs ui/src-ts/runtime-executables/www/live-display.ts && eslint -c modules/devices/eslint.hosted.config.mjs modules/devices/lib/drivers/modbusSerialLease.js modules/devices/lib/drivers/modbusRtuBus.js modules/devices/lib/drivers/modbusAsciiBus.js && eslint -c ui/eslint.storagefarm-dispatch-ui.config.mjs ui/src-ts/runtime-executables/www/storagefarm-dispatch.ts && eslint -c ui/eslint.influx-direct.config.mjs ui/src-ts/runtime-executables/lib/influx-direct.ts && eslint -c ui/eslint.influx-security.config.mjs ui/src-ts/runtime-executables/lib/influx-config.ts ui/src-ts/runtime-executables/lib/influx-network-policy.ts && eslint -c ui/eslint.history-setup-ui.config.mjs ui/src-admin-tab/src/lib/historySetup.ts ui/src-admin-tab/src/pages/HistorySetupPage.tsx && eslint -c ui/eslint.influx-history-runtime.config.mjs ui/src-ts/runtime-executables/lib/influx-history-runtime.ts && eslint -c modules/devices/eslint.hosted.config.mjs modules/devices/lib/drivers/mqtt.js modules/devices/lib/drivers/mqttPendingOperations.js && eslint -c ui/eslint.eos-updates-ui.config.mjs ui/src-ts/runtime-executables/www/eos-updates.ts && eslint -c eslint.unified.config.mjs src/lib/eosHistoryBackupScope.js && eslint -c ui/eslint.postgres-history.config.mjs ui/src-ts/runtime-executables/lib/postgres-history.ts ui/src-ts/runtime-executables/lib/postgres-history-config.ts && eslint -c ui/eslint.ems-control-values.config.mjs ui/src-ts/runtime-executables/lib/ems-control-values.ts && eslint -c ui/eslint.flow-measurement.config.mjs ui/src-ts/runtime-executables/lib/flow-measurement.ts && eslint -c ui/eslint.ocpp-limit-feedback.config.mjs ui/src-ts/runtime-executables/lib/ocpp-limit-feedback.ts && eslint -c ui/eslint.ocpp-auto-discovery.config.mjs ui/src-ts/runtime-executables/lib/ocpp-auto-discovery.ts && eslint -c eslint.runtime-health.config.mjs src/lib/eosRuntimeHealth.js public/eos-runtime/index.js && eslint -c eslint.unified.config.mjs src/lib/eosModuleProcess.js src/lib/eosModuleProcessProtocol.js src/lib/eosModuleProcessWorker.js && eslint -c eslint.config.mjs src/lib/eosUiProcess.ts src/lib/eosUiProcessRpc.ts src/lib/eosUiProcessWorker.ts src/lib/eosUiSecretCodec.ts src/lib/eosKiosk.ts && eslint -c eslint.ocpp-admin.config.mjs modules/ocpp/admin/index.js && eslint -c modules/ocpp/eslint.config.mjs modules/ocpp/src/*.ts",
|
|
247
249
|
"test:modules": "node --test --test-timeout=180000 --test-concurrency=4 test/eos-hosted-eebus-bridge.test.cjs test/eos-module*.test.cjs test/eos-discovery.test.cjs modules/devices/test/*.test.* modules/eebus/test/*.test.* modules/ocpp/test/*.test.* && node --test --test-timeout=180000 --test-concurrency=4 modules/eebus/test/config.js modules/eebus/test/cls-control-parser.js modules/eebus/test/nexowatt-bridge.js modules/eebus/test/implementation-result-order.js && node --test --test-timeout=180000 --test-concurrency=4 modules/backup/test/*.test.cjs",
|
|
248
250
|
"build:modules": "tsc -p modules/eebus/tsconfig.json && tsc -p modules/backup/tsconfig.json && tsc -p modules/ocpp/tsconfig.json"
|
|
249
251
|
},
|
|
@@ -257,7 +259,7 @@
|
|
|
257
259
|
},
|
|
258
260
|
"nexowattReleasePolicy": {
|
|
259
261
|
"distTag": "next",
|
|
260
|
-
"purpose": "EOS 9.0.
|
|
262
|
+
"purpose": "NexoWatt EOS 9.0.25: optional OCPP handover startup regression correction and persistent process controls; controlled integration test release"
|
|
261
263
|
},
|
|
262
264
|
"publisher": "NexoWatt",
|
|
263
265
|
"nexowattUpstream": {
|
|
@@ -268,6 +270,6 @@
|
|
|
268
270
|
"purpose": "Admin 8 migration baseline; EOS modifications and security backports are tracked separately."
|
|
269
271
|
},
|
|
270
272
|
"nexowattRelease": {
|
|
271
|
-
"purpose": "
|
|
273
|
+
"purpose": "One EOS adapter with separate module processes, preserved tariff configuration, corrected optional OCPP migration and protected persistent process controls; see START_HIER_9.0.25.md."
|
|
272
274
|
}
|
|
273
275
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
-
<title>NexoWatt EOS ·
|
|
6
|
+
<title>NexoWatt EOS · Prozesse</title>
|
|
7
7
|
<link rel="stylesheet" href="/modules/shared/eos-module.css">
|
|
8
8
|
<link rel="stylesheet" href="/runtime/style.css">
|
|
9
9
|
<script defer src="/runtime/index.js"></script>
|
|
@@ -14,20 +14,21 @@
|
|
|
14
14
|
<header class="eos-page-header">
|
|
15
15
|
<a class="eos-brand" href="/" aria-label="NexoWatt EOS Dashboard"><img src="/system/img/eos/nexowatt-eos-brand-wide.png" width="190" height="52" alt="NexoWatt EOS"></a>
|
|
16
16
|
<nav class="eos-module-nav" aria-label="EOS Navigation">
|
|
17
|
-
<a href="/">EOS Dashboard</a><a href="/system/">EOS Administration</a><a href="/modules/devices/">Geräte</a><a href="/modules/eebus/">EEBus</a><a href="/modules/backup/">Sicherung</a><a href="/modules/ocpp/">OCPP-Ladestationen</a><a href="/runtime/" aria-current="page">
|
|
17
|
+
<a href="/">EOS Dashboard</a><a href="/system/">EOS Administration</a><a href="/modules/devices/">Geräte</a><a href="/modules/eebus/">EEBus</a><a href="/modules/backup/">Sicherung</a><a href="/modules/ocpp/">OCPP-Ladestationen</a><a href="/runtime/" aria-current="page">Prozesse</a>
|
|
18
18
|
</nav>
|
|
19
19
|
</header>
|
|
20
20
|
<section class="eos-module-hero" aria-labelledby="page-title">
|
|
21
|
-
<div><small>NexoWatt EOS · Administration</small><h1 id="page-title">
|
|
22
|
-
<p>
|
|
23
|
-
<span class="eos-module-badge">
|
|
21
|
+
<div><small>NexoWatt EOS · Administration</small><h1 id="page-title">Prozesse</h1>
|
|
22
|
+
<p>EOS-Prozesse aktivieren, deaktivieren und neu starten. Deine Auswahl bleibt auch nach einem EOS-Neustart gespeichert.</p></div>
|
|
23
|
+
<span class="eos-module-badge">Administration</span>
|
|
24
24
|
</section>
|
|
25
25
|
<section class="eos-panel runtime-summary" aria-label="Aktualisierung">
|
|
26
26
|
<div><p id="request-message" role="status" aria-live="polite">Prozessstatus wird geprüft …</p>
|
|
27
27
|
<p id="observed-at">Noch keine bestätigte Abfrage</p></div>
|
|
28
28
|
<button id="refresh" type="button" class="btn">Jetzt aktualisieren</button>
|
|
29
29
|
</section>
|
|
30
|
-
<p class="runtime-
|
|
30
|
+
<p id="control-message" class="runtime-control-message" role="status" aria-live="polite"></p>
|
|
31
|
+
<p class="runtime-note">Bei sichtbarer Seite automatisch alle 5 Sekunden. Ein laufender Prozess bestätigt seine Erreichbarkeit; Geräteverbindung und EMS-Bereitschaft werden getrennt angezeigt. Die Administration bleibt für die Bedienung erreichbar.</p>
|
|
31
32
|
<div id="processes" class="runtime-grid" aria-label="EOS Prozesse"></div>
|
|
32
33
|
<p id="external-note" class="runtime-note">OCPP läuft integriert als eigener EOS-Prozess. Zusätzlich vorhandene externe Adapter werden getrennt angezeigt.</p>
|
|
33
34
|
</main>
|