Jérôme Benoit [Sat, 27 Aug 2022 10:09:23 +0000 (12:09 +0200)]
UI Server: dedupe some code in helpers
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 09:26:40 +0000 (11:26 +0200)]
UI server: logging and code refinements
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Aug 2022 22:38:32 +0000 (00:38 +0200)]
UI Server: factor out reponse status to http status code helper
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Aug 2022 22:23:47 +0000 (00:23 +0200)]
UI server: comment and code cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Aug 2022 22:04:52 +0000 (00:04 +0200)]
Fix http-status-codes import
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Aug 2022 21:53:46 +0000 (23:53 +0200)]
Add UI HTTP server (#6)
Jérôme Benoit [Fri, 26 Aug 2022 12:12:06 +0000 (14:12 +0200)]
Version 1.1.67
Jérôme Benoit [Fri, 26 Aug 2022 12:10:05 +0000 (14:10 +0200)]
Web UI: Refine documentation and code cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Aug 2022 10:24:08 +0000 (12:24 +0200)]
Web UI: display charging stations' registration status
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Aug 2022 10:06:17 +0000 (12:06 +0200)]
Web UI: method namespace cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Aug 2022 09:56:04 +0000 (11:56 +0200)]
Web UI: add and fix support for start/stop charging station
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 26 Aug 2022 09:21:50 +0000 (11:21 +0200)]
Version 1.1.66
Jérôme Benoit [Fri, 26 Aug 2022 09:15:05 +0000 (11:15 +0200)]
Web UI: add and fix missing commands support
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 25 Aug 2022 15:41:37 +0000 (17:41 +0200)]
UI protocol: Allow to send some relevant commands to several charging… (#152)
Jérôme Benoit [Thu, 25 Aug 2022 12:55:54 +0000 (14:55 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 25 Aug 2022 04:07:33 +0000 (06:07 +0200)]
Cleanup WorkerMessageEvents enum
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 25 Aug 2022 03:50:54 +0000 (05:50 +0200)]
Fix UI protocol type definitions
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Aug 2022 20:36:24 +0000 (22:36 +0200)]
Fix exit conditions at startup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Aug 2022 20:10:01 +0000 (22:10 +0200)]
Improve payload type checking in OCPP, UI and Broadcast Channel
protocols
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Aug 2022 16:59:36 +0000 (18:59 +0200)]
README.md: document missing UI protocol commands
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Aug 2022 16:42:09 +0000 (18:42 +0200)]
README.md: document open close connection UI protocol commands
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Aug 2022 16:39:50 +0000 (18:39 +0200)]
Add WebSocket connection close and open support to the UI protocol
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Aug 2022 16:02:58 +0000 (18:02 +0200)]
README.md: refine UI protocol documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Aug 2022 15:56:40 +0000 (17:56 +0200)]
README.md: fix UI protocol formatting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Aug 2022 14:55:04 +0000 (16:55 +0200)]
README.md: add link Web UI README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 24 Aug 2022 14:40:13 +0000 (16:40 +0200)]
Document some more the UI protocol
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
dependabot[bot] [Wed, 24 Aug 2022 12:00:18 +0000 (14:00 +0200)]
Bump apollo-server-core from 3.10.0 to 3.10.1 in /src/ui/web (#146)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 23 Aug 2022 22:47:31 +0000 (00:47 +0200)]
Simplify AbtractUIService logPrefix method
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 23 Aug 2022 22:42:09 +0000 (00:42 +0200)]
UI service attribute rename: workerBroadcastChannel -> uiServiceWorkerBroadcastChannel
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 23 Aug 2022 22:34:52 +0000 (00:34 +0200)]
Implement error handling and propagation in IPC and UI server code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
dependabot[bot] [Tue, 23 Aug 2022 17:20:41 +0000 (19:20 +0200)]
Bump terser from 5.14.0 to 5.15.0 in /src/ui/web (#148)
Bumps [terser](https://github.com/terser/terser) from 5.14.0 to 5.15.0.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.14.0...v5.15.0)
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Jérôme Benoit [Tue, 23 Aug 2022 16:04:06 +0000 (18:04 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 23 Aug 2022 15:41:38 +0000 (17:41 +0200)]
Fix undefined meterStop at sending stopTransaction
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 23 Aug 2022 15:06:51 +0000 (17:06 +0200)]
Align more request and reponse handlers name
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 23 Aug 2022 15:01:18 +0000 (17:01 +0200)]
Unify request and response handler naming
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 23 Aug 2022 14:09:39 +0000 (16:09 +0200)]
Add boot notification response to the UI command listChargingStations
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 23 Aug 2022 14:03:49 +0000 (16:03 +0200)]
Forward UI request UUID to broadcast channel request
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 23 Aug 2022 12:48:40 +0000 (14:48 +0200)]
Simplify BroadcastChannel classes inheritance
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 23 Aug 2022 11:07:43 +0000 (13:07 +0200)]
UI server: add start/stop charging station command
+ strong type broadcast channel protocol
+ UI protocol types definition refinement
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Lucas Migeon [Mon, 22 Aug 2022 22:00:30 +0000 (00:00 +0200)]
Vue UI + UI server
Co-authored-by: Jérôme Benoit <jerome.benoit@sap.com>
Co-authored-by: MIGEON <lucas.migeon@sap.com>
Jérôme Benoit [Mon, 22 Aug 2022 09:30:33 +0000 (11:30 +0200)]
Bound most called methods in the OCPP stack
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 21 Aug 2022 22:05:33 +0000 (00:05 +0200)]
Implement singleton design pattern with strict null check
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 21 Aug 2022 19:14:53 +0000 (21:14 +0200)]
Fix assets directory cleanup at build in target directory
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 21 Aug 2022 18:11:57 +0000 (20:11 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 20 Aug 2022 14:15:20 +0000 (16:15 +0200)]
AjvErrorsToErrorType -> ajvErrorsToErrorType
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 20 Aug 2022 13:44:04 +0000 (15:44 +0200)]
Use the generic OCPPServiceUtils import where appropriate
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 20 Aug 2022 13:38:54 +0000 (15:38 +0200)]
Fix log messages in case of missing JSON schema for PDU validation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 20 Aug 2022 13:35:20 +0000 (15:35 +0200)]
Factor out in helpers PDU payload validation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 20 Aug 2022 13:11:11 +0000 (15:11 +0200)]
Add and use helper to convert Ajv JSON schema validation errors to OCPP
error type
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 19 Aug 2022 22:53:29 +0000 (00:53 +0200)]
Merge branch 'main' of github.com:SAP/e-mobility-charging-stations-simulator
Jérôme Benoit [Fri, 19 Aug 2022 22:52:53 +0000 (00:52 +0200)]
Fixlet to README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Fri, 19 Aug 2022 21:13:37 +0000 (23:13 +0200)]
Combined PR (#142)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Jérôme Benoit [Thu, 18 Aug 2022 19:51:01 +0000 (21:51 +0200)]
Version 1.1.65
Jérôme Benoit [Thu, 18 Aug 2022 19:48:11 +0000 (21:48 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 18 Aug 2022 19:28:03 +0000 (21:28 +0200)]
Requests PDU validation (#139)
Jérôme Benoit [Thu, 18 Aug 2022 13:06:43 +0000 (15:06 +0200)]
Validate response PDU (#137)
Jérôme Benoit [Thu, 18 Aug 2022 06:50:52 +0000 (08:50 +0200)]
Incoming requests payload validation with JSON schemas (#135)
dependabot[bot] [Wed, 17 Aug 2022 12:24:28 +0000 (14:24 +0200)]
Bump @types/node from 18.7.5 to 18.7.6 (#134)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Jérôme Benoit [Mon, 15 Aug 2022 19:41:07 +0000 (21:41 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 15 Aug 2022 10:54:06 +0000 (12:54 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
dependabot[bot] [Sun, 14 Aug 2022 14:08:53 +0000 (16:08 +0200)]
Bump @types/node from 18.7.1 to 18.7.2 (#132)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Jérôme Benoit [Thu, 11 Aug 2022 21:08:15 +0000 (23:08 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 11 Aug 2022 20:54:24 +0000 (22:54 +0200)]
Separate OCPP command support check implementation per type
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 11 Aug 2022 20:24:12 +0000 (22:24 +0200)]
Improve supported OCPP commands filtering
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 11 Aug 2022 19:21:59 +0000 (21:21 +0200)]
Refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 11 Aug 2022 19:09:22 +0000 (21:09 +0200)]
Add template section to list OCPP commands supported (#129)
Jérôme Benoit [Thu, 11 Aug 2022 16:03:35 +0000 (18:03 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 9 Aug 2022 18:05:53 +0000 (20:05 +0200)]
Merge pull request #126 from SAP/dependabot/npm_and_yarn/release-it-15.3.0
dependabot[bot] [Tue, 9 Aug 2022 16:46:22 +0000 (16:46 +0000)]
Bump release-it from 15.2.0 to 15.3.0
Bumps [release-it](https://github.com/release-it/release-it) from 15.2.0 to 15.3.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/15.2.0...15.3.0)
---
updated-dependencies:
- dependency-name: release-it
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Jérôme Benoit [Tue, 9 Aug 2022 09:21:16 +0000 (11:21 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 8 Aug 2022 21:20:53 +0000 (23:20 +0200)]
Add GitHub workflow to combine dependabot PRs
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 6 Aug 2022 09:04:48 +0000 (11:04 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 5 Aug 2022 02:27:19 +0000 (04:27 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 4 Aug 2022 14:10:25 +0000 (16:10 +0200)]
Refine VScode launch configurations
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 4 Aug 2022 14:09:52 +0000 (16:09 +0200)]
Merge pull request #117 from SAP/feat/support-config-files-with-relative-paths
Siwar GAROUACHI [Thu, 4 Aug 2022 06:42:38 +0000 (08:42 +0200)]
support relative paths for charging station templates
Jérôme Benoit [Tue, 2 Aug 2022 21:57:55 +0000 (23:57 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 Aug 2022 20:46:53 +0000 (22:46 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 Aug 2022 13:55:57 +0000 (15:55 +0200)]
Add one sanity check at UI server incoming requests handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 1 Aug 2022 13:49:11 +0000 (15:49 +0200)]
Add UUIDv4 id to UI protocol message structure
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 31 Jul 2022 09:02:15 +0000 (11:02 +0200)]
Apply dedendencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 29 Jul 2022 18:00:03 +0000 (20:00 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 27 Jul 2022 10:32:41 +0000 (12:32 +0200)]
Version 1.1.64
Jérôme Benoit [Wed, 27 Jul 2022 10:31:41 +0000 (12:31 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 26 Jul 2022 21:17:07 +0000 (23:17 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 26 Jul 2022 15:25:01 +0000 (17:25 +0200)]
Track version is UI service instance
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Jul 2022 12:48:58 +0000 (14:48 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 25 Jul 2022 09:12:50 +0000 (11:12 +0200)]
Remove unused OCPP version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 23 Jul 2022 09:35:01 +0000 (11:35 +0200)]
Improve incoming request handling error log
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 23 Jul 2022 09:21:38 +0000 (11:21 +0200)]
Fix one log level
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 21 Jul 2022 18:01:37 +0000 (20:01 +0200)]
Fix MikroORM CLI configuration template
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 21 Jul 2022 17:49:56 +0000 (19:49 +0200)]
Ensure MeterValues command payload is properly formed
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 21 Jul 2022 12:05:08 +0000 (14:05 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 18 Jul 2022 19:45:38 +0000 (21:45 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 17 Jul 2022 22:58:04 +0000 (00:58 +0200)]
Use eslint extension for import sorting instead of unmaintained external ones
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 15 Jul 2022 19:41:15 +0000 (21:41 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 13 Jul 2022 21:26:08 +0000 (23:26 +0200)]
Avoid to instantiated static only classes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 13 Jul 2022 21:17:08 +0000 (23:17 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 13 Jul 2022 20:53:41 +0000 (22:53 +0200)]
Warn if UI server is configured to listen on something else than the
loopback
Close #64
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 13 Jul 2022 04:51:59 +0000 (06:51 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>