@gus-eip/loggers 3.9.4 → 3.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
@@ -69,4 +69,14 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
|
|
69
69
|
|
70
70
|
---
|
71
71
|
|
72
|
+
## OAP-EIP LOGGER
|
73
|
+
|
74
|
+
Whenever a new use case is added in the enum.ts file, make sure to also:
|
75
|
+
|
76
|
+
1. Add a user-friendly label for it in usecase-mapping.ts.
|
77
|
+
|
78
|
+
2. Add a new entry in source-destination-mapping.ts with the correct usecase, brand, source, and destination.
|
79
|
+
|
80
|
+
3. After publishing the updated package, update the dependency in the gus-eip-analytics repository to reflect the latest version.
|
81
|
+
|
72
82
|
Feel free to customize this README according to your specific package features, usage guidelines, and licensing terms.
|
@@ -152,7 +152,7 @@ let CloudWatchLoggerService = class CloudWatchLoggerService {
|
|
152
152
|
entityKey: fullLogObject.entityKey || '',
|
153
153
|
event: fullLogObject.event || '',
|
154
154
|
status,
|
155
|
-
message: fullLogObject.
|
155
|
+
message: type === 'error' ? fullLogObject.errorMessage : fullLogObject.logMessage,
|
156
156
|
};
|
157
157
|
const sqsUrl = await ssm_utils_1.ssmUtils.getSqsUrl();
|
158
158
|
if (status === 'IN_PROGRESS' || !sqsUrl) {
|
@@ -62,10 +62,10 @@ export declare enum UsecaseMapping {
|
|
62
62
|
SAVE_APPLICANT_ADDRESS = "Save Applicant Address",
|
63
63
|
SAVE_ENTRANCE_QUALIFICATION_OF_HIGHER_EDUCATION = "Save Entrance Qualification of Higher Education",
|
64
64
|
SAVE_APPLICATION_DOCUMENTS = "Save Application Documents",
|
65
|
-
UEG_APPLICATION_SYNC = "
|
66
|
-
UEG_FOLLOW_UP_TASK = "
|
67
|
-
UEG_REJECT_DOCUMENT = "
|
68
|
-
UEG_DOCUMENT_ISSUED = "
|
69
|
-
GUS_DOCUMENT_UPLOAD = "
|
70
|
-
GUS_WITHDRAW_APPLICATION = "
|
65
|
+
UEG_APPLICATION_SYNC = "Application sync",
|
66
|
+
UEG_FOLLOW_UP_TASK = "Institutional comment",
|
67
|
+
UEG_REJECT_DOCUMENT = "Document rejection",
|
68
|
+
UEG_DOCUMENT_ISSUED = "Admission document issued",
|
69
|
+
GUS_DOCUMENT_UPLOAD = "Gus document upload",
|
70
|
+
GUS_WITHDRAW_APPLICATION = "Withdraw application"
|
71
71
|
}
|
@@ -66,10 +66,10 @@ var UsecaseMapping;
|
|
66
66
|
UsecaseMapping["SAVE_APPLICANT_ADDRESS"] = "Save Applicant Address";
|
67
67
|
UsecaseMapping["SAVE_ENTRANCE_QUALIFICATION_OF_HIGHER_EDUCATION"] = "Save Entrance Qualification of Higher Education";
|
68
68
|
UsecaseMapping["SAVE_APPLICATION_DOCUMENTS"] = "Save Application Documents";
|
69
|
-
UsecaseMapping["UEG_APPLICATION_SYNC"] = "
|
70
|
-
UsecaseMapping["UEG_FOLLOW_UP_TASK"] = "
|
71
|
-
UsecaseMapping["UEG_REJECT_DOCUMENT"] = "
|
72
|
-
UsecaseMapping["UEG_DOCUMENT_ISSUED"] = "
|
73
|
-
UsecaseMapping["GUS_DOCUMENT_UPLOAD"] = "
|
74
|
-
UsecaseMapping["GUS_WITHDRAW_APPLICATION"] = "
|
69
|
+
UsecaseMapping["UEG_APPLICATION_SYNC"] = "Application sync";
|
70
|
+
UsecaseMapping["UEG_FOLLOW_UP_TASK"] = "Institutional comment";
|
71
|
+
UsecaseMapping["UEG_REJECT_DOCUMENT"] = "Document rejection";
|
72
|
+
UsecaseMapping["UEG_DOCUMENT_ISSUED"] = "Admission document issued";
|
73
|
+
UsecaseMapping["GUS_DOCUMENT_UPLOAD"] = "Gus document upload";
|
74
|
+
UsecaseMapping["GUS_WITHDRAW_APPLICATION"] = "Withdraw application";
|
75
75
|
})(UsecaseMapping || (exports.UsecaseMapping = UsecaseMapping = {}));
|
package/package.json
CHANGED