e-mobility-charging-stations-simulator.git
16 months agofix: add date validation check in date conversion helper
Jérôme Benoit [Sun, 30 Jul 2023 22:48:31 +0000 (00:48 +0200)] 
fix: add date validation check in date conversion helper

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: cleanup reservation methods scope
Jérôme Benoit [Sun, 30 Jul 2023 22:10:29 +0000 (00:10 +0200)] 
refactor: cleanup reservation methods scope

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: check reservation status at the end at start transaction
Jérôme Benoit [Sun, 30 Jul 2023 22:05:03 +0000 (00:05 +0200)] 
fix: check reservation status at the end at start transaction

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: ensure transaction id is a safe integer
Jérôme Benoit [Sun, 30 Jul 2023 21:45:23 +0000 (23:45 +0200)] 
fix: ensure transaction id is a safe integer

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: fix authorize response handling
Jérôme Benoit [Sun, 30 Jul 2023 21:30:56 +0000 (23:30 +0200)] 
fix: fix authorize response handling

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: code cleanup
Jérôme Benoit [Sun, 30 Jul 2023 20:42:32 +0000 (22:42 +0200)] 
refactor: code cleanup

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: fix some undefined/null checks
Jérôme Benoit [Sun, 30 Jul 2023 19:39:32 +0000 (21:39 +0200)] 
fix: fix some undefined/null checks

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: fix reservation at remote start
Jérôme Benoit [Sun, 30 Jul 2023 19:31:13 +0000 (21:31 +0200)] 
fix: fix reservation at remote start

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: fix reservation removal at transaction start
Jérôme Benoit [Sun, 30 Jul 2023 19:16:20 +0000 (21:16 +0200)] 
fix: fix reservation removal at transaction start

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: cleanup reservation check condition
Jérôme Benoit [Sun, 30 Jul 2023 17:01:03 +0000 (19:01 +0200)] 
refactor: cleanup reservation check condition

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: remove uneeded helper in reservation code
Jérôme Benoit [Sun, 30 Jul 2023 16:58:41 +0000 (18:58 +0200)] 
refactor: remove uneeded helper in reservation code

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: rename src/charging-station/Utils.ts -> src/charging-station/Helpers.ts
Jérôme Benoit [Sun, 30 Jul 2023 16:19:24 +0000 (18:19 +0200)] 
refactor: rename src/charging-station/Utils.ts -> src/charging-station/Helpers.ts

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: handle proper the number of arguments in isConnectorReservable()
Jérôme Benoit [Sun, 30 Jul 2023 16:16:35 +0000 (18:16 +0200)] 
fix: handle proper the number of arguments in isConnectorReservable()

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agodocs: refine README.md
Jérôme Benoit [Sun, 30 Jul 2023 15:21:59 +0000 (17:21 +0200)] 
docs: refine README.md

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: refine error message at building default storage URI
Jérôme Benoit [Sun, 30 Jul 2023 15:05:47 +0000 (17:05 +0200)] 
refactor: refine error message at building default storage URI

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: fix ui server default application protocol version handling
Jérôme Benoit [Sun, 30 Jul 2023 14:52:59 +0000 (16:52 +0200)] 
fix: fix ui server default application protocol version handling

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agobuild(simulator): silence rollup warning
Jérôme Benoit [Sun, 30 Jul 2023 14:27:53 +0000 (16:27 +0200)] 
build(simulator): silence rollup warning

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agodocs: refine README.md
Jérôme Benoit [Sun, 30 Jul 2023 14:00:22 +0000 (16:00 +0200)] 
docs: refine README.md

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agodocs: refine README.md
Jérôme Benoit [Sun, 30 Jul 2023 13:56:02 +0000 (15:56 +0200)] 
docs: refine README.md

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agodocs: refine README.md
Jérôme Benoit [Sun, 30 Jul 2023 13:48:36 +0000 (15:48 +0200)] 
docs: refine README.md

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agodocs: refine README.md
Jérôme Benoit [Sun, 30 Jul 2023 13:41:44 +0000 (15:41 +0200)] 
docs: refine README.md

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofeat: add initial HTTP/2 support to ui server (mutually exclusive for now)
Jérôme Benoit [Sun, 30 Jul 2023 13:38:25 +0000 (15:38 +0200)] 
feat: add initial HTTP/2 support to ui server (mutually exclusive for now)

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: split WorkerConstants class
Jérôme Benoit [Sun, 30 Jul 2023 11:44:03 +0000 (13:44 +0200)] 
refactor: split WorkerConstants class

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: use keyof to build the reservation filter key
Jérôme Benoit [Sun, 30 Jul 2023 11:22:32 +0000 (13:22 +0200)] 
refactor: use keyof to build the reservation filter key

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: cleanup reservation code
Jérôme Benoit [Sun, 30 Jul 2023 10:51:19 +0000 (12:51 +0200)] 
refactor: cleanup reservation code

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: fix reservable connector detection
Jérôme Benoit [Sat, 29 Jul 2023 21:39:01 +0000 (23:39 +0200)] 
fix: fix reservable connector detection

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agobuild(ci): lint the code only once
Jérôme Benoit [Sat, 29 Jul 2023 19:11:19 +0000 (21:11 +0200)] 
build(ci): lint the code only once

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: switch to try catch construct
Jérôme Benoit [Sat, 29 Jul 2023 17:24:07 +0000 (19:24 +0200)] 
refactor: switch to try catch construct

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: fix circular array splice semantic
Jérôme Benoit [Sat, 29 Jul 2023 13:19:37 +0000 (15:19 +0200)] 
fix: fix circular array splice semantic

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agobuild(deps-dev): apply updates
Jérôme Benoit [Sat, 29 Jul 2023 12:08:47 +0000 (14:08 +0200)] 
build(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: cleanup rollup configuration
Jérôme Benoit [Fri, 28 Jul 2023 23:44:22 +0000 (01:44 +0200)] 
refactor: cleanup rollup configuration

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: cleanup module name namespace
Jérôme Benoit [Fri, 28 Jul 2023 23:31:22 +0000 (01:31 +0200)] 
refactor: cleanup module name namespace

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: fix circular dependencies in types
Jérôme Benoit [Fri, 28 Jul 2023 23:14:53 +0000 (01:14 +0200)] 
fix: fix circular dependencies in types

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: remove unneeded redefinition of reservation type
Jérôme Benoit [Fri, 28 Jul 2023 22:47:04 +0000 (00:47 +0200)] 
refactor: remove unneeded redefinition of reservation type

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agotest: add extractTimeSeriesValues() test
Jérôme Benoit [Fri, 28 Jul 2023 20:52:30 +0000 (22:52 +0200)] 
test: add extractTimeSeriesValues() test

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: revert incorrect fix to elementsPerWorker 'auto' computation
Jérôme Benoit [Fri, 28 Jul 2023 20:29:21 +0000 (22:29 +0200)] 
fix: revert incorrect fix to elementsPerWorker 'auto' computation

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: fix elementsPerWorker 'auto' computation, take 2
Jérôme Benoit [Fri, 28 Jul 2023 20:13:33 +0000 (22:13 +0200)] 
fix: fix elementsPerWorker 'auto' computation, take 2

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agodocs: refine README.md
Jérôme Benoit [Fri, 28 Jul 2023 20:06:48 +0000 (22:06 +0200)] 
docs: refine README.md

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: fix elementsPerWorker 'auto' computation
Jérôme Benoit [Fri, 28 Jul 2023 20:04:06 +0000 (22:04 +0200)] 
fix: fix elementsPerWorker 'auto' computation

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: fix integer check condition
Jérôme Benoit [Fri, 28 Jul 2023 19:39:59 +0000 (21:39 +0200)] 
fix: fix integer check condition

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agobuild(deps-dev): apply updates
Jérôme Benoit [Fri, 28 Jul 2023 19:09:07 +0000 (21:09 +0200)] 
build(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agoperf: switch to deep-clone for cloning (20% faster)
Jérôme Benoit [Fri, 28 Jul 2023 14:50:17 +0000 (16:50 +0200)] 
perf: switch to deep-clone for cloning (20% faster)

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agobuild(deps-dev): apply updates
Jérôme Benoit [Fri, 28 Jul 2023 11:24:17 +0000 (13:24 +0200)] 
build(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: add sanity checks to worker set arguments
Jérôme Benoit [Fri, 28 Jul 2023 10:55:15 +0000 (12:55 +0200)] 
refactor: add sanity checks to worker set arguments

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: rename ChargingStationConfigurationUtils.ts -> ChargingStationConfiguration...
Jérôme Benoit [Thu, 27 Jul 2023 16:48:08 +0000 (18:48 +0200)] 
refactor: rename ChargingStationConfigurationUtils.ts -> ChargingStationConfigurationKeyUtils.ts

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: factor out feature profile test
Jérôme Benoit [Thu, 27 Jul 2023 15:23:19 +0000 (17:23 +0200)] 
refactor: factor out feature profile test

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: remove uneeded unknown intermediate type cast
Jérôme Benoit [Thu, 27 Jul 2023 12:09:25 +0000 (14:09 +0200)] 
refactor: remove uneeded unknown intermediate type cast

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agotest: improve isArraySorted() test
Jérôme Benoit [Thu, 27 Jul 2023 11:56:14 +0000 (13:56 +0200)] 
test: improve isArraySorted() test

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: factor out configuration section cache population
Jérôme Benoit [Thu, 27 Jul 2023 11:41:42 +0000 (13:41 +0200)] 
refactor: factor out configuration section cache population

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agobuild(deps): apply updates
Jérôme Benoit [Thu, 27 Jul 2023 11:30:23 +0000 (13:30 +0200)] 
build(deps): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agodocs: add 'steps to reproduction' to bug_report.yml issue template
Jérôme Benoit [Thu, 27 Jul 2023 09:59:43 +0000 (11:59 +0200)] 
docs: add 'steps to reproduction' to bug_report.yml issue template

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agodocs: refine issue templates
Jérôme Benoit [Thu, 27 Jul 2023 01:04:20 +0000 (03:04 +0200)] 
docs: refine issue templates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agodocs: refine github issue templates
Jérôme Benoit [Thu, 27 Jul 2023 00:43:57 +0000 (02:43 +0200)] 
docs: refine github issue templates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agodocs: add labels to issue templates
Jérôme Benoit [Thu, 27 Jul 2023 00:06:18 +0000 (02:06 +0200)] 
docs: add labels to issue templates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agodocs: warn about github issue misuage in issue templates
Jérôme Benoit [Wed, 26 Jul 2023 23:51:08 +0000 (01:51 +0200)] 
docs: warn about github issue misuage in issue templates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: silence linter on code duplication
Jérôme Benoit [Wed, 26 Jul 2023 22:55:11 +0000 (00:55 +0200)] 
refactor: silence linter on code duplication

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
16 months agofix: fix configuration callback property type
Jérôme Benoit [Wed, 26 Jul 2023 22:13:49 +0000 (00:13 +0200)] 
fix: fix configuration callback property type

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agotest: code cleanup
Jérôme Benoit [Wed, 26 Jul 2023 21:52:26 +0000 (23:52 +0200)] 
test: code cleanup

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: factor out ATG and charging profiles sanity checks
Jérôme Benoit [Wed, 26 Jul 2023 21:29:23 +0000 (23:29 +0200)] 
refactor: factor out ATG and charging profiles sanity checks

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agodocs: refine README.md
Jérôme Benoit [Wed, 26 Jul 2023 10:55:30 +0000 (12:55 +0200)] 
docs: refine README.md

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agodocs: refine README.md wording
Jérôme Benoit [Wed, 26 Jul 2023 10:43:19 +0000 (12:43 +0200)] 
docs: refine README.md wording

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agodocs: update template tunables documentation
Jérôme Benoit [Wed, 26 Jul 2023 10:38:52 +0000 (12:38 +0200)] 
docs: update template tunables documentation

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agodocs: update worker section documentation
Jérôme Benoit [Wed, 26 Jul 2023 10:28:49 +0000 (12:28 +0200)] 
docs: update worker section documentation

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: stop reservation expiration check at stop
Jérôme Benoit [Wed, 26 Jul 2023 06:34:29 +0000 (08:34 +0200)] 
fix: stop reservation expiration check at stop

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: refine charging profiles handling variables namespace
Jérôme Benoit [Wed, 26 Jul 2023 06:03:33 +0000 (08:03 +0200)] 
refactor: refine charging profiles handling variables namespace

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: improve time handling code
Jérôme Benoit [Wed, 26 Jul 2023 05:48:33 +0000 (07:48 +0200)] 
refactor: improve time handling code

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: cleanup log messages
Jérôme Benoit [Wed, 26 Jul 2023 00:09:57 +0000 (02:09 +0200)] 
refactor: cleanup log messages

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agoMerge branch 'main' of github.com:SAP/e-mobility-charging-stations-simulator
Jérôme Benoit [Tue, 25 Jul 2023 23:40:08 +0000 (01:40 +0200)] 
Merge branch 'main' of github.com:SAP/e-mobility-charging-stations-simulator

16 months agorefactor: add more sanity checks to charging profiles handling code
Jérôme Benoit [Tue, 25 Jul 2023 23:38:56 +0000 (01:38 +0200)] 
refactor: add more sanity checks to charging profiles handling code

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agodocs: refine code comments
Jérôme Benoit [Tue, 25 Jul 2023 22:23:00 +0000 (00:23 +0200)] 
docs: refine code comments

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
16 months agodocs: refine code comments
Jérôme Benoit [Tue, 25 Jul 2023 22:02:04 +0000 (00:02 +0200)] 
docs: refine code comments

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agobuild(deps): apply updates
Jérôme Benoit [Tue, 25 Jul 2023 21:43:08 +0000 (23:43 +0200)] 
build(deps): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: warn abount unsupported charging profiles structure
Jérôme Benoit [Tue, 25 Jul 2023 21:13:17 +0000 (23:13 +0200)] 
fix: warn abount unsupported charging profiles structure

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: cleanup log messages
Jérôme Benoit [Tue, 25 Jul 2023 20:54:13 +0000 (22:54 +0200)] 
refactor: cleanup log messages

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agotest: add isValidDate() test
Jérôme Benoit [Tue, 25 Jul 2023 19:38:43 +0000 (21:38 +0200)] 
test: add isValidDate() test

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofeat: warn if charging profile schedule periods are not sorted
Jérôme Benoit [Tue, 25 Jul 2023 19:27:18 +0000 (21:27 +0200)] 
feat: warn if charging profile schedule periods are not sorted

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: fix recurring charging profile translation to current time interval
Jérôme Benoit [Tue, 25 Jul 2023 18:39:47 +0000 (20:39 +0200)] 
fix: fix recurring charging profile translation to current time interval

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: properly use date-fns difference functions
Jérôme Benoit [Tue, 25 Jul 2023 18:27:08 +0000 (20:27 +0200)] 
fix: properly use date-fns difference functions

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: handle properly charging profile schedule period outside its duration
Jérôme Benoit [Tue, 25 Jul 2023 18:14:36 +0000 (20:14 +0200)] 
fix: handle properly charging profile schedule period outside its duration

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: ensure recurring profile duration is valid
Jérôme Benoit [Tue, 25 Jul 2023 16:32:41 +0000 (18:32 +0200)] 
fix: ensure recurring profile duration is valid

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: handle properly charging profile validity date
Jérôme Benoit [Tue, 25 Jul 2023 15:45:29 +0000 (17:45 +0200)] 
fix: handle properly charging profile validity date

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agoperf: only sort charging schdule periods if needed
Jérôme Benoit [Tue, 25 Jul 2023 15:24:34 +0000 (17:24 +0200)] 
perf: only sort charging schdule periods if needed

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: ensure charging schedule periods are sorted by startPeriod
Jérôme Benoit [Tue, 25 Jul 2023 14:47:50 +0000 (16:47 +0200)] 
fix: ensure charging schedule periods are sorted by startPeriod

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: add sanity check on recurring charging profile duration
Jérôme Benoit [Tue, 25 Jul 2023 14:35:03 +0000 (16:35 +0200)] 
refactor: add sanity check on recurring charging profile duration

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: properly handling moving recurring charging profiles
Jérôme Benoit [Tue, 25 Jul 2023 12:35:39 +0000 (14:35 +0200)] 
fix: properly handling moving recurring charging profiles

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: factor out recurring charging profile handling
Jérôme Benoit [Tue, 25 Jul 2023 11:11:48 +0000 (13:11 +0200)] 
refactor: factor out recurring charging profile handling

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: add sanity checks to charging profiles handling
Jérôme Benoit [Tue, 25 Jul 2023 10:57:29 +0000 (12:57 +0200)] 
refactor: add sanity checks to charging profiles handling

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofeat: add support charging profile validity interval
Jérôme Benoit [Tue, 25 Jul 2023 10:33:50 +0000 (12:33 +0200)] 
feat: add support charging profile validity interval

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: refine log level
Jérôme Benoit [Mon, 24 Jul 2023 18:48:45 +0000 (20:48 +0200)] 
refactor: refine log level

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: add type for charging profiles limit
Jérôme Benoit [Mon, 24 Jul 2023 18:31:26 +0000 (20:31 +0200)] 
refactor: add type for charging profiles limit

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agobuild(deps-dev): apply updates
Jérôme Benoit [Mon, 24 Jul 2023 17:47:26 +0000 (19:47 +0200)] 
build(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofeat: add support for relative charging profile
Jérôme Benoit [Mon, 24 Jul 2023 17:18:14 +0000 (19:18 +0200)] 
feat: add support for relative charging profile

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agoMerge pull request #634 from SAP/fix-limitation-from-profiles
Jérôme Benoit [Mon, 24 Jul 2023 15:45:19 +0000 (17:45 +0200)] 
Merge pull request #634 from SAP/fix-limitation-from-profiles

16 months agorefactor: improve recurring charging profile mishandling error log
Jérôme Benoit [Mon, 24 Jul 2023 15:36:20 +0000 (17:36 +0200)] 
refactor: improve recurring charging profile mishandling error log

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofeat: add support for charging profiles relative to charging start
Jérôme Benoit [Mon, 24 Jul 2023 15:26:09 +0000 (17:26 +0200)] 
feat: add support for charging profiles relative to charging start

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: cleanup variable namespace
Jérôme Benoit [Mon, 24 Jul 2023 14:38:53 +0000 (16:38 +0200)] 
refactor: cleanup variable namespace

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agorefactor: add sanity checks to recurring profiles translation to current
Jérôme Benoit [Mon, 24 Jul 2023 14:31:08 +0000 (16:31 +0200)] 
refactor: add sanity checks to recurring profiles translation to current
time windows

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: properly translate schedule start date to current recurring time
Jérôme Benoit [Mon, 24 Jul 2023 13:17:52 +0000 (15:17 +0200)] 
fix: properly translate schedule start date to current recurring time
windows

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: handle recurring charging profiles only in the past
Jérôme Benoit [Mon, 24 Jul 2023 12:22:06 +0000 (14:22 +0200)] 
fix: handle recurring charging profiles only in the past

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
16 months agofix: remove monthly recurring charging profiles
Jérôme Benoit [Mon, 24 Jul 2023 12:09:50 +0000 (14:09 +0200)] 
fix: remove monthly recurring charging profiles

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>