Skip to content

Commit 7a2502c

Browse files
committed
dummyTokenProviderManual: Add MQTT topic configuration for token provider
When no mqtt_topic: provided, the module will subscribe to "everest_api/<module_id>/cmd/provide" by default. If mqtt_topic: is provided, the module will subscribe to that topic instead. Signed-off-by: ThatsLucas <lucasmailpro9@gmail.com>
1 parent 16bd96b commit 7a2502c

30 files changed

+94
-4
lines changed

config/config-sil-energy-management.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,4 +228,4 @@ active_modules:
228228
config_implementation:
229229
error_history:
230230
database_path: /tmp/error_history.db
231-
x-module-layout: {}
231+
x-module-layout: {}

config/config-sil-ocpp-API.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,9 @@ active_modules:
212212
private_key_password: "123456"
213213
token_provider_1:
214214
module: DummyTokenProviderManual
215+
config_implementation:
216+
main:
217+
mqtt_topic: 'everest_api/token_provider_manual/cmd/provide'
215218
energy_manager:
216219
module: EnergyManager
217220
connections:

config/config-sil-ocpp-custom-extension.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ active_modules:
186186
implementation_id: data_transfer
187187
token_provider_1:
188188
module: DummyTokenProviderManual
189+
config_implementation:
190+
main:
191+
mqtt_topic: 'everest_api/token_provider_manual/cmd/provide'
189192
energy_manager:
190193
module: EnergyManager
191194
connections:

config/config-sil-ocpp-pnc.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ active_modules:
185185
private_key_password: "123456"
186186
token_provider_1:
187187
module: DummyTokenProviderManual
188+
config_implementation:
189+
main:
190+
mqtt_topic: 'everest_api/token_provider_manual/cmd/provide'
188191
energy_manager:
189192
module: EnergyManager
190193
connections:

config/config-sil-ocpp.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ active_modules:
201201
private_key_password: "123456"
202202
token_provider_1:
203203
module: DummyTokenProviderManual
204+
config_implementation:
205+
main:
206+
mqtt_topic: 'everest_api/token_provider_manual/cmd/provide'
204207
energy_manager:
205208
module: EnergyManager
206209
connections:

config/config-sil-ocpp201-pnc.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ active_modules:
155155
private_key_password: "123456"
156156
token_provider_1:
157157
module: DummyTokenProviderManual
158+
config_implementation:
159+
main:
160+
mqtt_topic: 'everest_api/token_provider_manual/cmd/provide'
158161
auth:
159162
module: Auth
160163
config_module:

config/config-sil-ocpp201.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ active_modules:
167167
private_key_password: "123456"
168168
token_provider_1:
169169
module: DummyTokenProviderManual
170+
config_implementation:
171+
main:
172+
mqtt_topic: 'everest_api/token_provider_manual/cmd/provide'
170173
auth:
171174
module: Auth
172175
config_module:

config/config-sil-two-evse-dc.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ active_modules:
130130
private_key_password: "123456"
131131
token_provider_1:
132132
module: DummyTokenProviderManual
133+
config_implementation:
134+
main:
135+
mqtt_topic: 'everest_api/token_provider_manual/cmd/provide'
133136
token_validator:
134137
module: DummyTokenValidator
135138
config_implementation:

config/config-sil-two-evse-rpcapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ active_modules:
166166
private_key_password: "123456"
167167
token_provider_1:
168168
module: DummyTokenProviderManual
169+
config_implementation:
170+
main:
171+
mqtt_topic: 'everest_api/token_provider_manual/cmd/provide'
169172
token_validator:
170173
module: DummyTokenValidator
171174
config_implementation:

config/config-sil-two-evse.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ active_modules:
115115
private_key_password: "123456"
116116
token_provider_1:
117117
module: DummyTokenProviderManual
118+
config_implementation:
119+
main:
120+
mqtt_topic: 'everest_api/token_provider_manual/cmd/provide'
118121
token_validator:
119122
module: DummyTokenValidator
120123
config_implementation:

0 commit comments

Comments
 (0)