Skip to content

Commit

Permalink
Add default constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabby Anandan committed Aug 13, 2020
1 parent 2502da4 commit 518e7b3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ class AverageBrakeTemperatureAccumulator {

private Date end;

public AverageBrakeTemperatureAccumulator() {
}

public AverageBrakeTemperatureAccumulator(int count, Float totalValue) {
this.count = count;
this.totalValue = totalValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ public class Truck {

Float externalTemperature;

public Truck() {
}

public String getId() {
return id;
}
Expand Down
2 changes: 1 addition & 1 deletion install-scdf/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if ! helm status -n "${grafana_namespace}" "${grafana_release_name}" > /dev/null
! download_dasboard "${grafana_dashboard_root_url}/${dashboard}.json" "${grafana_tmp_folder}/${dashboard}.json" exit 1

kubectl -n "${grafana_namespace}" delete configmap "grafana-dashboards-${dashboard}" || true && \
kubectl -n "${grafana_namespace}" create configmap "grafana-dashboards-${dashboard}" --from-file=${dashboard}.json=${grafana_tmp_folder}/${dashboard}.json
kubectl -n "${grafana_namespace}" create configmap "grafana-dashboards-${dashboard}" --from-file=${dashboard}.json=${grafana_tmp_folder}/${dashboard}.json
done

cat > "${grafana_tmp_folder}/datasources.yaml" <<EOF
Expand Down
3 changes: 3 additions & 0 deletions trucks/src/main/java/com/springone/trucks/Truck.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ public class Truck {

Float externalTemperature;

public Truck() {
}

public String getId() {
return id;
}
Expand Down

0 comments on commit 518e7b3

Please sign in to comment.