Skip to content

Commit

Permalink
increase acc seuil
Browse files Browse the repository at this point in the history
  • Loading branch information
YvannPONCE committed Nov 12, 2024
1 parent 53596be commit 90a349d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions charts/poulet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ mongodb:
auth:
enabled: true
rootPassword: root

alert-management:
enabled: true
mongodb:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
@Tag(name = "patient", description = "Operations related to patients")
}
)
@Path("/patient")
@Path("/api/patient")
public class PatientResource {
private static final String patientIdErrorMessage = "Missing or invalid patient ID format. ID must be a 24-character hexadecimal string.";
private static final String gatewayIdErrorMessage = "Missing or invalid gateway ID format. ID must be a 24-character hexadecimal string.";
Expand Down
2 changes: 1 addition & 1 deletion gateway/dataManager/alerter.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (alerter *Alerter) CheckHealthParameter(param string, sample Sample) bool {
isAbnormal = sample.Value < 36.0 || sample.Value > 38
message = fmt.Sprintf("Alert! Abnormal %s: %.2f°C", param, sample.Value)
case "acceleration":
isAbnormal = sample.Value > 100
isAbnormal = sample.Value > 500
message = fmt.Sprintf("Alert! Abnormal %s: %.2f m/s²", param, sample.Value)
case "glucose":
isAbnormal = sample.Value < 50 || sample.Value > 140
Expand Down

0 comments on commit 90a349d

Please sign in to comment.