Commit Graph

5598 Commits

Author SHA1 Message Date
Laurent ARNAL
5e2ebecd3c fixes in regarde to clinique review on 18/08/2024
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:42:35 +01:00
Laurent ARNAL
e046137f6f fix authorized for myelectricaldata
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:59 +01:00
Laurent ARNAL
2a1da3d0f7 div fixes
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:59 +01:00
Laurent ARNAL
66bb715185 review checkstyle report
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:58 +01:00
Laurent ARNAL
aa958b1e5d review checkstyle reports
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:58 +01:00
Laurent ARNAL
62df7aca75 fix url for MyElectricalDataBridgeHandler
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:58 +01:00
Laurent ARNAL
28808d9930 fix status in case of error
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:58 +01:00
Laurent ARNAL
00c79dd12f review Handler initializisation to prevent concurrency and errors
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:58 +01:00
Laurent ARNAL
087c4a8bc8 start reviewing the documentation
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:58 +01:00
Laurent ARNAL
4acbd828ce fix missing headers
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:58 +01:00
Laurent ARNAL
bda53f3dcf code cleanup
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:58 +01:00
Laurent ARNAL
6cff83e42e mvn spotless:apply
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:58 +01:00
Laurent ARNAL
f05d7cf3af reformat contract reading and BridgeHandler hierarchy
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:57 +01:00
Laurent ARNAL
51a0dc5b8f fix some typo
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:57 +01:00
Laurent ARNAL
bf13ac3e84 spotless:apply
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:57 +01:00
Laurent ARNAL
33bdf0c972 add update for load Curve channel
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:57 +01:00
Laurent ARNAL
ac78236272 add new channel for LoadCurve
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:57 +01:00
Laurent ARNAL
ea69cd7a34 adapt code to support LoadCurve for old Web API
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:57 +01:00
Laurent ARNAL
54560e1c60 add loadcurve url for other bridge
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:57 +01:00
Laurent ARNAL
a8fe3becf6 start load curve implementations
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:57 +01:00
Laurent ARNAL
fb66f387b2 fix divider for timeseries
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:56 +01:00
Laurent ARNAL
aecf0c1ed1 fix aggregate calculation for new API
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:56 +01:00
Laurent ARNAL
187a37c151 review calculation of agregats for new API to align to old Web API (WIP)
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:56 +01:00
Laurent ARNAL
909d075e04 add divider support to handle difference of return value between old web api and new api
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:56 +01:00
Laurent ARNAL
58f9f38b0f prevent failure if we can't read contract info from API
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:56 +01:00
Laurent ARNAL
03089291ce add constructor to PrmInfo
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:56 +01:00
Laurent ARNAL
d6ad4a25a2 put back SerializedName because conflict with gson decoding for old api
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:56 +01:00
Laurent ARNAL
59809ecbbe spotless:apply
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:56 +01:00
Laurent ARNAL
5ef473d297 add timeseries for maxPower
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:54 +01:00
Laurent ARNAL
a18a159e5b fix channel definition for max power
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:24 +01:00
Laurent ARNAL
e51d6c8971 fix refresh
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:41:22 +01:00
Laurent ARNAL
983fbb3ae0 datetimeformatter for tempo
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:40:54 +01:00
Laurent ARNAL
d227dd44cf order tempo information
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:40:54 +01:00
Laurent ARNAL
8283ea8273 fix tempo period reading
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:40:54 +01:00
Laurent ARNAL
7855ca89eb review channel definitions
review tempo information readings

Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:40:50 +01:00
Laurent ARNAL
9120ccfcd9 progress on code refactoring
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:40:08 +01:00
Laurent ARNAL
f3d492fc1d fix maxpower web api url
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:40:04 +01:00
Laurent ARNAL
dee0612adb spotless:apply
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:39:26 +01:00
Laurent ARNAL
3669afa1d2 first working version with old web apis
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:39:24 +01:00
Laurent ARNAL
4e26f72a15 start some code cleanup
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:38:46 +01:00
Laurent ARNAL
598efa7102 add support for PrmInfo and UserInfo from old API
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:38:42 +01:00
Laurent ARNAL
238d906b72 start backporting code from old binding
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:37:52 +01:00
Laurent ARNAL
8a7e4bd3a7 add WebBrigeHandler
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:36:57 +01:00
Laurent ARNAL
1241ad3ef4 some quick fixes on last clinique review
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:36:56 +01:00
Laurent ARNAL
62cdfe1622 WIP : support time series
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:36:54 +01:00
Laurent ARNAL
ae793ff83b review thing-types
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:35:57 +01:00
Laurent ARNAL
de194e15b7 div fixes based on clinic review
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:35:57 +01:00
Laurent ARNAL
ef5a168be0 review null pointer warnings
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:35:57 +01:00
Laurent ARNAL
004074010a realign channel naming conventions
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:35:57 +01:00
Laurent ARNAL
d1920f21db review consent / authorisation flow to be compatible with both MyElectricalData and Enedis
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2024-12-17 12:35:57 +01:00