Jérôme Benoit [Mon, 29 Aug 2022 19:55:24 +0000 (21:55 +0200)]
Update Insomnia UI requests collection export
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 19:32:00 +0000 (21:32 +0200)]
Cleanup Array.from() usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 18:43:45 +0000 (20:43 +0200)]
README.md: spell fix
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 18:25:51 +0000 (20:25 +0200)]
README.md: Fix sections hierarchy
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 18:22:43 +0000 (20:22 +0200)]
README.md: sensible structure to UI protocol section
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 18:18:49 +0000 (20:18 +0200)]
Add helper to serialize to JSON object with a map
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 16:25:34 +0000 (18:25 +0200)]
Add UI protocol Insomnia project export instead of just the collection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 11:52:59 +0000 (13:52 +0200)]
README.md: add missing carriage return
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 11:42:13 +0000 (13:42 +0200)]
Version 1.1.68
Jérôme Benoit [Mon, 29 Aug 2022 11:40:23 +0000 (13:40 +0200)]
Add Insomnia UI protocol collection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 29 Aug 2022 09:59:50 +0000 (11:59 +0200)]
Avoid to reopen an already open WebSocket to the OCPP server
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Aug 2022 22:31:47 +0000 (00:31 +0200)]
README.md: refine tooling URI
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Aug 2022 22:01:24 +0000 (00:01 +0200)]
Fix UI WebSocket server protocol parsing at connection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Aug 2022 21:10:37 +0000 (23:10 +0200)]
Refine UI protocol documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Aug 2022 15:25:49 +0000 (17:25 +0200)]
Web UI: fix NPE on connectors
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Aug 2022 14:56:07 +0000 (16:56 +0200)]
Uniformize log messages, take 2
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Aug 2022 13:59:08 +0000 (15:59 +0200)]
Uniformize log messages format
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Aug 2022 11:43:38 +0000 (13:43 +0200)]
Web UI: configuration namespace cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 28 Aug 2022 11:29:55 +0000 (13:29 +0200)]
Add postman collection for UI HTPP server
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 23:07:01 +0000 (01:07 +0200)]
Ensure charging station data is always JSON serializable
And fix/improve logging messages
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 20:31:49 +0000 (22:31 +0200)]
Web UI: cleanup commented out code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 19:41:12 +0000 (21:41 +0200)]
Add dashboard to the docker image build
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 17:02:03 +0000 (19:02 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 16:42:40 +0000 (18:42 +0200)]
Fix build
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 16:30:45 +0000 (18:30 +0200)]
Add the source charging station that emits a response to broadcast channel
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 16:01:19 +0000 (18:01 +0200)]
Web UI: rename some directories to a sensible name
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 15:20:30 +0000 (17:20 +0200)]
Remove debug cod
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 13:48:54 +0000 (15:48 +0200)]
UI server: fix HTTP transport start/stop
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 12:54:14 +0000 (14:54 +0200)]
Recommend only supported vue.js code extensions
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 12:44:20 +0000 (14:44 +0200)]
Web UI: add one UT
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 27 Aug 2022 12:00:56 +0000 (14:00 +0200)]
Refine TS and linter configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
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>