Migrate endorserServer.ts to Enhanced Triple Migration Pattern

- Remove databaseUtil import, replace with logger.error
- Migrate $notify to modern notify pattern with createNotifyHelpers
- Add NOTIFY_PERSONAL_DATA_ERROR constant for error messages
- Use NOTIFICATION_TIMEOUTS.STANDARD for timeouts
- All phases complete: database, SQL, notification migration
- 35 minutes, 1510 lines, high complexity service file
- Linting passes with no errors
This commit is contained in:
Matthew Raymer
2025-07-09 09:40:25 +00:00
parent 75088f3d4f
commit f79454c8b5
8 changed files with 584 additions and 28 deletions

View File

@@ -78,6 +78,13 @@ export const NOTIFY_SERVER_ACCESS_ERROR = {
message: "There was a problem accessing the server. Try again later.",
};
// Used in: endorserServer.ts (getHeaders function - personal data error)
export const NOTIFY_PERSONAL_DATA_ERROR = {
title: "Personal Data Error",
message:
"Showing anonymous data. See the Help page for help with personal data.",
};
// Used in: [Component usage not yet documented]
export const NOTIFY_NO_IDENTITY_ERROR = {
title: "No Identity",