Skip to content

Commit

Permalink
chore: updated helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneSchroederLJ committed Nov 27, 2024
1 parent 012e16d commit e413b8b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ public final List<Double> getQuantityForDays(String material, String partnerBpnl
Date date = Date.from(localDate.atStartOfDay(ZoneId.systemDefault()).toInstant());
LocalDate localDayDate = Instant.ofEpochMilli(date.getTime()).atOffset(ZoneOffset.UTC).toLocalDate();
List<OwnDemand> demandsForDate = demands.stream().filter(demand -> {
log.info("Demand: ", demand.toString());
LocalDate demandDayDate = Instant.ofEpochMilli(demand.getDay().getTime()).atOffset(ZoneOffset.UTC).toLocalDate();
return demandDayDate.getDayOfMonth() == localDayDate.getDayOfMonth();
}).toList();
Expand Down
1 change: 1 addition & 0 deletions backend/src/test/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ puris.itemstocksubmodel.apiassetid=${PURIS_ITEMSTOCKSUBMODEL_APIASSETID:itemstoc
puris.productionsubmodel.apiassetid=${PURIS_PRODUCTIONSUBMODEL_APIASSETID:productionsubmodel-api-asset}
puris.demandsubmodel.apiassetid=${PURIS_DEMANDSUBMODEL_APIASSETID:demandsubmodel-api-asset}
puris.deliverysubmodel.apiassetid=${PURIS_DELIVERYSUBMODEL_APIASSETID:deliverysubmodel-api-asset}
puris.daysofsupplysubmodel.apiassetid=${PURIS_DAYSOFSUPPLYSUBMODEL_APIASSETID:daysofsupplysubmodel-api-asset}
puris.notification.apiassetid=${PURIS_NOTIFICATION_APIASSETID:notification-api-asset}
puris.frameworkagreement.credential=${PURIS_FRAMEWORKAGREEMENT_CREDENTIAL:Puris}
puris.frameworkagreement.version=${PURIS_FRAMEWORKAGREEMENT_CREDENTIAL:1.0}
Expand Down
2 changes: 1 addition & 1 deletion charts/puris/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies:
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.7.0
version: 2.8.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 2 additions & 0 deletions charts/puris/templates/backend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ spec:
value: "{{ .Values.backend.puris.demandsubmodel.apiassetid }}"
- name: PURIS_DELIVERYSUBMODEL_APIASSETID
value: "{{ .Values.backend.puris.deliverysubmodel.apiassetid }}"
- name: PURIS_DAYSOFSUPPLYSUBMODEL_APIASSETID
value: "{{ .Values.backend.puris.daysofsuplysubmodel.apiassetid }}"
- name: PURIS_NOTIFICATION_APIASSETID
value: "{{ .Values.backend.puris.notification.apiassetid }}"
- name: PURIS_FRAMEWORKAGREEMENT_CREDENTIAL
Expand Down
3 changes: 3 additions & 0 deletions charts/puris/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,9 @@ backend:
deliverysubmodel:
# -- Asset ID for DeliverySubmodel API
apiassetid: deliverysubmodel-api-asset
daysofsupplysubmodel:
# -- Asset ID for DaysOfSupplySubmodel API
apiassetid: daysofsupply-api-asset
notification:
# -- Asset ID for Notification API
apiassetid: notification-api-asset
Expand Down

0 comments on commit e413b8b

Please sign in to comment.