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>
Jérôme Benoit [Sun, 10 Jul 2022 16:30:24 +0000 (18:30 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 6 Jul 2022 18:38:51 +0000 (20:38 +0200)]
Merge pull request #85 from SAP/dependabot/npm_and_yarn/moment-2.29.4
dependabot[bot] [Wed, 6 Jul 2022 17:16:36 +0000 (17:16 +0000)]
Bump moment from 2.29.3 to 2.29.4
Bumps [moment](https://github.com/moment/moment) from 2.29.3 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.3...2.29.4)
---
updated-dependencies:
- dependency-name: moment
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Jérôme Benoit [Wed, 6 Jul 2022 08:33:47 +0000 (10:33 +0200)]
Merge pull request #84 from SAP/dependabot/npm_and_yarn/parse-url-6.0.2
Jérôme Benoit [Wed, 6 Jul 2022 08:29:41 +0000 (10:29 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
dependabot[bot] [Wed, 6 Jul 2022 02:19:43 +0000 (02:19 +0000)]
Bump parse-url from 6.0.0 to 6.0.2
Bumps [parse-url](https://github.com/IonicaBizau/parse-url) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/IonicaBizau/parse-url/releases)
- [Commits](https://github.com/IonicaBizau/parse-url/commits)
---
updated-dependencies:
- dependency-name: parse-url
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Jérôme Benoit [Tue, 5 Jul 2022 14:09:46 +0000 (16:09 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 3 Jul 2022 22:47:47 +0000 (00:47 +0200)]
Add helper in LRU cache to get cache key
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 3 Jul 2022 22:29:55 +0000 (00:29 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 3 Jul 2022 22:12:56 +0000 (00:12 +0200)]
Use spread on literal to handle default configuration override
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 3 Jul 2022 21:51:29 +0000 (23:51 +0200)]
Update default configuration file for docker
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 3 Jul 2022 20:31:26 +0000 (22:31 +0200)]
README.md: fix a configuration type definition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 3 Jul 2022 20:22:18 +0000 (22:22 +0200)]
Update README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 3 Jul 2022 11:19:02 +0000 (13:19 +0200)]
Merge pull request #80 from SAP/worker-configuration
Jérôme Benoit [Sun, 3 Jul 2022 11:15:39 +0000 (13:15 +0200)]
README.md: document the worker configuration section
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 2 Jul 2022 22:29:39 +0000 (00:29 +0200)]
Add worker configuration section
Close #35
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>