Skip to content

Commit

Permalink
dt/echarging-ocpi: use internal libs
Browse files Browse the repository at this point in the history
  • Loading branch information
clezag committed Nov 19, 2024
1 parent c3ad10d commit f4ef028
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
7 changes: 4 additions & 3 deletions collectors/echarging-ocpi/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
# SPDX-License-Identifier: CC0-1.0

# GIN_MODE: release
LOGLEVEL=DEBUG
LOG_LEVEL=DEBUG
SERVER_PORT=8999

RABBITMQ_URI=amqp://guest:guest@rabbitmq
RABBITMQ_EXCHANGE=ingress
MQ_URI=amqp://guest:guest@rabbitmq
MQ_EXCHANGE=ingress
MQ_CLIENT=dt-echarging-ocpi-dev

PROVIDER=echarging-ocpi/neogy

Expand Down
8 changes: 4 additions & 4 deletions collectors/echarging-ocpi/infrastructure/helm/driwe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ ingress:
env:
PORT: 8080
GIN_MODE: release
LOGLEVEL: DEBUG
RABBITMQ_EXCHANGE: ingress
RABBITMQ_CLIENT: dc-echarging-ocpi-driwe
LOG_LEVEL: DEBUG
MQ_EXCHANGE: ingress
MQ_CLIENT: dc-echarging-ocpi-driwe
# postfix is added to provides depending on the data source (push path, pull etc.)
PROVIDER: echarging-ocpi/driwe
PULL_LOCATIONS_CRON: "*/10 * * * *"
Expand All @@ -45,6 +45,6 @@ envSecret:
PULL_TOKEN: "***"

envSecretRef:
- name: RABBITMQ_URI
- name: MQ_URI
secret: rabbitmq-svcbind
key: uri
8 changes: 4 additions & 4 deletions collectors/echarging-ocpi/infrastructure/helm/neogy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ ingress:
env:
PORT: 8080
GIN_MODE: release
LOGLEVEL: DEBUG
RABBITMQ_EXCHANGE: ingress
LOG_LEVEL: DEBUG
MQ_EXCHANGE: ingress
PROVIDER: echarging-ocpi/neogy
PULL_LOCATIONS_CRON: "0 0,4,8,12,16 * * *"
RABBITMQ_CLIENT: dc-echarging-ocpi-driwe
MQ_CLIENT: dc-echarging-ocpi-driwe

envSecret:
# List of valid tokens, no spaces etc.
Expand All @@ -49,6 +49,6 @@ envSecret:
PULL_TOKEN: "***"

envSecretRef:
- name: RABBITMQ_URI
- name: MQ_URI
secret: rabbitmq-svcbind
key: uri

0 comments on commit f4ef028

Please sign in to comment.