@gus-eip/loggers 4.4.3 → 4.4.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 +92 -92
- package/dist/enum.d.ts +14 -0
- package/dist/enum.js +14 -0
- package/dist/mappings/source-destination-mapping.js +19 -1
- package/dist/mappings/usecase-mapping.d.ts +6 -1
- package/dist/mappings/usecase-mapping.js +5 -0
- package/package.json +79 -79
package/README.md
CHANGED
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
# @gus-eip/loggers
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
`@gus-eip/loggers` is a package designed to provide logging functionality for your Node.js applications. It offers integration with various logging services, including CloudWatchLogger.
|
|
6
|
-
|
|
7
|
-
## Installation
|
|
8
|
-
|
|
9
|
-
You can install the package via npm:
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
npm install @gus-eip/loggers
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
To use the logger module in your application, follow these steps:
|
|
18
|
-
|
|
19
|
-
1. Import `LoggerModule` from `@gus-eip/loggers` inside your module.
|
|
20
|
-
|
|
21
|
-
```javascript
|
|
22
|
-
import { LoggerModule } from '@gus-eip/loggers';
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
2. Configure `LoggerModule` in your module by calling the `forRoot` method.
|
|
26
|
-
|
|
27
|
-
```javascript
|
|
28
|
-
LoggerModule.forRoot({
|
|
29
|
-
region: process.env.REGION,
|
|
30
|
-
logGroupName: process.env.LOGGER_LOG_GROUP_NAME,
|
|
31
|
-
options: 'CloudWatchLogger',
|
|
32
|
-
}),
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
Ensure you provide the necessary environment variables (`REGION` and `LOGGER_LOG_GROUP_NAME`) for configuration.
|
|
36
|
-
|
|
37
|
-
## Configuration Options
|
|
38
|
-
|
|
39
|
-
- `region`: The AWS region where your CloudWatch logs are located.
|
|
40
|
-
- `logGroupName`: The name of the log group where logs will be sent.
|
|
41
|
-
- `options`: The options for the logger. Currently, only `'CloudWatchLogger'` is supported.
|
|
42
|
-
|
|
43
|
-
## Example
|
|
44
|
-
|
|
45
|
-
```javascript
|
|
46
|
-
import { Module } from '@nestjs/common';
|
|
47
|
-
import { LoggerModule } from '@gus-eip/loggers';
|
|
48
|
-
|
|
49
|
-
@Module({
|
|
50
|
-
imports: [
|
|
51
|
-
LoggerModule.forRoot({
|
|
52
|
-
region: process.env.REGION,
|
|
53
|
-
logGroupName: process.env.LOGGER_LOG_GROUP_NAME,
|
|
54
|
-
options: 'CloudWatchLogger',
|
|
55
|
-
}),
|
|
56
|
-
],
|
|
57
|
-
})
|
|
58
|
-
export class AppModule {}
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
```
|
|
62
|
-
This repository requires AWS SSM Parameter Store access to retrieve the SQS URL dynamically. Ensure that the application has permission to read LOGGER_SQS_URL.
|
|
63
|
-
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
## License
|
|
67
|
-
|
|
68
|
-
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
69
|
-
|
|
70
|
-
---
|
|
71
|
-
|
|
72
|
-
## OAP-EIP LOGGER
|
|
73
|
-
|
|
74
|
-
Whenever any EIP integration (for example: `oap-handlers`, `oap-backend`, `eip-integration-handlers`, `platform-events-listener`, or `gus-middleware-service`) introduces a new use case, event, or component, follow these steps to keep this package as the single source of truth for EIP logging:
|
|
75
|
-
|
|
76
|
-
1. Add the new use case, event and component identifiers to `enum.ts`.
|
|
77
|
-
|
|
78
|
-
2. Add a user-friendly message/label for the use case in `mappings/usecase-mapping.ts`.
|
|
79
|
-
|
|
80
|
-
3. Update `mappings/source-destination-mapping.ts` to include the use case and the corresponding brand(s) with their `source` and `destination` values. If the use case already exists and a newly onboarded brand uses it, add the brand under that existing use case entry.
|
|
81
|
-
|
|
82
|
-
Notes:
|
|
83
|
-
|
|
84
|
-
- The `mappings/source-destination-mapping.ts` file is the ultimate source of truth for EIP logger routing and should accurately reflect brand → use case → (source, destination) mappings.
|
|
85
|
-
- Keep `enum.ts` identifiers stable. Prefer adding new identifiers rather than renaming existing ones to avoid breaking downstream projects.
|
|
86
|
-
|
|
87
|
-
Publishing and downstream updates:
|
|
88
|
-
|
|
89
|
-
- After making changes, bump and publish this package.
|
|
90
|
-
- Then update the dependency version used by the `gus-eip-analytics` repository: set the new package version in the `dev` branch for development deployments and in the `prod` branch for production deployments so downstream services pick up the release.
|
|
91
|
-
|
|
92
|
-
---
|
|
1
|
+
# @gus-eip/loggers
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
`@gus-eip/loggers` is a package designed to provide logging functionality for your Node.js applications. It offers integration with various logging services, including CloudWatchLogger.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
You can install the package via npm:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install @gus-eip/loggers
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
To use the logger module in your application, follow these steps:
|
|
18
|
+
|
|
19
|
+
1. Import `LoggerModule` from `@gus-eip/loggers` inside your module.
|
|
20
|
+
|
|
21
|
+
```javascript
|
|
22
|
+
import { LoggerModule } from '@gus-eip/loggers';
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
2. Configure `LoggerModule` in your module by calling the `forRoot` method.
|
|
26
|
+
|
|
27
|
+
```javascript
|
|
28
|
+
LoggerModule.forRoot({
|
|
29
|
+
region: process.env.REGION,
|
|
30
|
+
logGroupName: process.env.LOGGER_LOG_GROUP_NAME,
|
|
31
|
+
options: 'CloudWatchLogger',
|
|
32
|
+
}),
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Ensure you provide the necessary environment variables (`REGION` and `LOGGER_LOG_GROUP_NAME`) for configuration.
|
|
36
|
+
|
|
37
|
+
## Configuration Options
|
|
38
|
+
|
|
39
|
+
- `region`: The AWS region where your CloudWatch logs are located.
|
|
40
|
+
- `logGroupName`: The name of the log group where logs will be sent.
|
|
41
|
+
- `options`: The options for the logger. Currently, only `'CloudWatchLogger'` is supported.
|
|
42
|
+
|
|
43
|
+
## Example
|
|
44
|
+
|
|
45
|
+
```javascript
|
|
46
|
+
import { Module } from '@nestjs/common';
|
|
47
|
+
import { LoggerModule } from '@gus-eip/loggers';
|
|
48
|
+
|
|
49
|
+
@Module({
|
|
50
|
+
imports: [
|
|
51
|
+
LoggerModule.forRoot({
|
|
52
|
+
region: process.env.REGION,
|
|
53
|
+
logGroupName: process.env.LOGGER_LOG_GROUP_NAME,
|
|
54
|
+
options: 'CloudWatchLogger',
|
|
55
|
+
}),
|
|
56
|
+
],
|
|
57
|
+
})
|
|
58
|
+
export class AppModule {}
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
This repository requires AWS SSM Parameter Store access to retrieve the SQS URL dynamically. Ensure that the application has permission to read LOGGER_SQS_URL.
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## License
|
|
67
|
+
|
|
68
|
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## OAP-EIP LOGGER
|
|
73
|
+
|
|
74
|
+
Whenever any EIP integration (for example: `oap-handlers`, `oap-backend`, `eip-integration-handlers`, `platform-events-listener`, or `gus-middleware-service`) introduces a new use case, event, or component, follow these steps to keep this package as the single source of truth for EIP logging:
|
|
75
|
+
|
|
76
|
+
1. Add the new use case, event and component identifiers to `enum.ts`.
|
|
77
|
+
|
|
78
|
+
2. Add a user-friendly message/label for the use case in `mappings/usecase-mapping.ts`.
|
|
79
|
+
|
|
80
|
+
3. Update `mappings/source-destination-mapping.ts` to include the use case and the corresponding brand(s) with their `source` and `destination` values. If the use case already exists and a newly onboarded brand uses it, add the brand under that existing use case entry.
|
|
81
|
+
|
|
82
|
+
Notes:
|
|
83
|
+
|
|
84
|
+
- The `mappings/source-destination-mapping.ts` file is the ultimate source of truth for EIP logger routing and should accurately reflect brand → use case → (source, destination) mappings.
|
|
85
|
+
- Keep `enum.ts` identifiers stable. Prefer adding new identifiers rather than renaming existing ones to avoid breaking downstream projects.
|
|
86
|
+
|
|
87
|
+
Publishing and downstream updates:
|
|
88
|
+
|
|
89
|
+
- After making changes, bump and publish this package.
|
|
90
|
+
- Then update the dependency version used by the `gus-eip-analytics` repository: set the new package version in the `dev` branch for development deployments and in the `prod` branch for production deployments so downstream services pick up the release.
|
|
91
|
+
|
|
92
|
+
---
|
package/dist/enum.d.ts
CHANGED
|
@@ -521,6 +521,13 @@ export declare class LoggerEnum {
|
|
|
521
521
|
FAILED_ACCESS_INFO_STREAM_PROCESSED: string;
|
|
522
522
|
BACKLOG_ITEM_NOT_FOUND_GENERATE_FROM_ADMISSION_APPLICATION: string;
|
|
523
523
|
FETCH_ADMISSION_APPLICATION_FAILED: string;
|
|
524
|
+
FETCH_VISA_DETAILS_INITIATED: string;
|
|
525
|
+
FETCH_VISA_DETAILS_COMPLETED: string;
|
|
526
|
+
FETCH_VISA_DETAILS_FAILED: string;
|
|
527
|
+
SFTP_FILE_UPLOAD_INITIATED: string;
|
|
528
|
+
SFTP_FILE_UPLOAD_FAILED: string;
|
|
529
|
+
SFTP_FILE_DOWNLOAD_INITIATED: string;
|
|
530
|
+
SFTP_FILE_DOWNLOAD_FAILED: string;
|
|
524
531
|
};
|
|
525
532
|
UseCase: {
|
|
526
533
|
PROGRAM_INFO: string;
|
|
@@ -670,6 +677,9 @@ export declare class LoggerEnum {
|
|
|
670
677
|
STATEMENT_OF_PURPOSE: string;
|
|
671
678
|
SUPPLEMENTAL_QUESTIONS: string;
|
|
672
679
|
TEST_SCORES: string;
|
|
680
|
+
FAMILY: string;
|
|
681
|
+
PERSONAL_ESSAY: string;
|
|
682
|
+
ACTIVITIES: string;
|
|
673
683
|
VISA_INFORMATION: string;
|
|
674
684
|
FAMILY_INFO: string;
|
|
675
685
|
TRANSFER_STUDENTS: string;
|
|
@@ -710,12 +720,15 @@ export declare class LoggerEnum {
|
|
|
710
720
|
FAILED_ACCESS_INFO_STREAM_PROCESSED: string;
|
|
711
721
|
COMPLETED_ACCESS_INFO_STREAM_PROCESSED: string;
|
|
712
722
|
INITIATED_ACCESS_INFO_STREAM_PROCESSED: string;
|
|
723
|
+
SFTP_INBOUND_FILE_UPLOAD: string;
|
|
724
|
+
SFTP_OUTBOUND_FILE_POLLING: string;
|
|
713
725
|
};
|
|
714
726
|
Component: {
|
|
715
727
|
OAP_FRONTEND: string;
|
|
716
728
|
OAP_BACKEND: string;
|
|
717
729
|
OAP_HANDLERS: string;
|
|
718
730
|
GUS_EIP_SERVICE: string;
|
|
731
|
+
GUS_OCR_SERVICE: string;
|
|
719
732
|
SALESFORCE: string;
|
|
720
733
|
GUS_SALESFORCE: string;
|
|
721
734
|
HZU_EDUCATIONCLOUD: string;
|
|
@@ -800,5 +813,6 @@ export declare class LoggerEnum {
|
|
|
800
813
|
OAP_SCHEDULE_EXECUTION: string;
|
|
801
814
|
OAP_EVENT_SCHEDULER: string;
|
|
802
815
|
PUBLISH_EVENT_TO_SF: string;
|
|
816
|
+
SFTP_SERVER: string;
|
|
803
817
|
};
|
|
804
818
|
}
|
package/dist/enum.js
CHANGED
|
@@ -532,6 +532,13 @@ let LoggerEnum = class LoggerEnum {
|
|
|
532
532
|
FAILED_ACCESS_INFO_STREAM_PROCESSED: 'FAILED_ACCESS_INFO_STREAM_PROCESSED',
|
|
533
533
|
BACKLOG_ITEM_NOT_FOUND_GENERATE_FROM_ADMISSION_APPLICATION: 'BACKLOG_ITEM_NOT_FOUND_GENERATE_FROM_ADMISSION_APPLICATION',
|
|
534
534
|
FETCH_ADMISSION_APPLICATION_FAILED: 'FETCH_ADMISSION_APPLICATION_FAILED',
|
|
535
|
+
FETCH_VISA_DETAILS_INITIATED: 'FETCH_VISA_DETAILS_INITIATED',
|
|
536
|
+
FETCH_VISA_DETAILS_COMPLETED: 'FETCH_VISA_DETAILS_COMPLETED',
|
|
537
|
+
FETCH_VISA_DETAILS_FAILED: 'FETCH_VISA_DETAILS_FAILED',
|
|
538
|
+
SFTP_FILE_UPLOAD_INITIATED: 'SFTP_FILE_UPLOAD_INITIATED',
|
|
539
|
+
SFTP_FILE_UPLOAD_FAILED: 'SFTP_FILE_UPLOAD_FAILED',
|
|
540
|
+
SFTP_FILE_DOWNLOAD_INITIATED: 'SFTP_FILE_DOWNLOAD_INITIATED',
|
|
541
|
+
SFTP_FILE_DOWNLOAD_FAILED: 'SFTP_FILE_DOWNLOAD_FAILED',
|
|
535
542
|
};
|
|
536
543
|
this.UseCase = {
|
|
537
544
|
PROGRAM_INFO: 'SAVE_PROGRAMME_DETAILS',
|
|
@@ -681,6 +688,9 @@ let LoggerEnum = class LoggerEnum {
|
|
|
681
688
|
STATEMENT_OF_PURPOSE: 'SAVE_STATEMENT_OF_PURPOSE_DETAILS',
|
|
682
689
|
SUPPLEMENTAL_QUESTIONS: 'SAVE_SUPPLEMENTAL_QUESTIONS_DETAILS',
|
|
683
690
|
TEST_SCORES: 'SAVE_TEST_SCORES_DETAILS',
|
|
691
|
+
FAMILY: 'SAVE_FAMILY_DETAILS',
|
|
692
|
+
PERSONAL_ESSAY: 'SAVE_PERSONAL_ESSAY_DETAILS',
|
|
693
|
+
ACTIVITIES: 'SAVE_ACTIVITIES_DETAILS',
|
|
684
694
|
VISA_INFORMATION: 'SAVE_VISA_INFORMATION',
|
|
685
695
|
FAMILY_INFO: 'SAVE_FAMILY_INFO',
|
|
686
696
|
TRANSFER_STUDENTS: 'SAVE_TRANSFER_STUDENTS',
|
|
@@ -721,12 +731,15 @@ let LoggerEnum = class LoggerEnum {
|
|
|
721
731
|
FAILED_ACCESS_INFO_STREAM_PROCESSED: 'FAILED_ACCESS_INFO_STREAM_PROCESSED',
|
|
722
732
|
COMPLETED_ACCESS_INFO_STREAM_PROCESSED: 'COMPLETED_ACCESS_INFO_STREAM_PROCESSED',
|
|
723
733
|
INITIATED_ACCESS_INFO_STREAM_PROCESSED: 'INITIATED_ACCESS_INFO_STREAM_PROCESSED',
|
|
734
|
+
SFTP_INBOUND_FILE_UPLOAD: 'SFTP_INBOUND_FILE_UPLOAD',
|
|
735
|
+
SFTP_OUTBOUND_FILE_POLLING: 'SFTP_OUTBOUND_FILE_POLLING',
|
|
724
736
|
};
|
|
725
737
|
this.Component = {
|
|
726
738
|
OAP_FRONTEND: 'OAP-FRONTEND',
|
|
727
739
|
OAP_BACKEND: 'OAP-BACKEND',
|
|
728
740
|
OAP_HANDLERS: 'OAP-HANDLERS',
|
|
729
741
|
GUS_EIP_SERVICE: 'GUS-EIP-SERVICE',
|
|
742
|
+
GUS_OCR_SERVICE: "GUS_OCR_SERVICE",
|
|
730
743
|
SALESFORCE: 'SALESFORCE',
|
|
731
744
|
GUS_SALESFORCE: 'GUS_SALESFORCE',
|
|
732
745
|
HZU_EDUCATIONCLOUD: 'HZU_EDUCATIONCLOUD',
|
|
@@ -811,6 +824,7 @@ let LoggerEnum = class LoggerEnum {
|
|
|
811
824
|
OAP_SCHEDULE_EXECUTION: 'OAP_SCHEDULE_EXECUTION',
|
|
812
825
|
OAP_EVENT_SCHEDULER: 'OAP_EVENT_SCHEDULER',
|
|
813
826
|
PUBLISH_EVENT_TO_SF: 'PUBLISH_EVENT_TO_SF',
|
|
827
|
+
SFTP_SERVER: 'SFTP_SERVER',
|
|
814
828
|
};
|
|
815
829
|
}
|
|
816
830
|
};
|
|
@@ -21,7 +21,7 @@ exports.BRAND_USECASE_MAPPING = [
|
|
|
21
21
|
destination: 'GUS Salesforce',
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
brands: ['LIM College', 'HZU', 'IBAT', 'UEG', 'WUL', 'TUA'],
|
|
24
|
+
brands: ['LIM College', 'HZU', 'IBAT', 'UEG', 'WUL', 'TUA', 'CUA'],
|
|
25
25
|
usecase: 'SAVE_ADDITIONAL_INFORMATION',
|
|
26
26
|
source: 'OAP',
|
|
27
27
|
destination: 'GUS Salesforce',
|
|
@@ -236,6 +236,24 @@ exports.BRAND_USECASE_MAPPING = [
|
|
|
236
236
|
source: 'OAP',
|
|
237
237
|
destination: 'GUS Salesforce',
|
|
238
238
|
},
|
|
239
|
+
{
|
|
240
|
+
brands: ['CUA'],
|
|
241
|
+
usecase: 'SAVE_FAMILY_DETAILS',
|
|
242
|
+
source: 'OAP',
|
|
243
|
+
destination: 'GUS Salesforce',
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
brands: ['CUA'],
|
|
247
|
+
usecase: 'SAVE_PERSONAL_ESSAY_DETAILS',
|
|
248
|
+
source: 'OAP',
|
|
249
|
+
destination: 'GUS Salesforce',
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
brands: ['CUA'],
|
|
253
|
+
usecase: 'SAVE_ACTIVITIES_DETAILS',
|
|
254
|
+
source: 'OAP',
|
|
255
|
+
destination: 'GUS Salesforce',
|
|
256
|
+
},
|
|
239
257
|
{
|
|
240
258
|
brands: ['UCW'],
|
|
241
259
|
usecase: 'SAVE_AWARDS_DETAILS',
|
|
@@ -108,6 +108,9 @@ export declare enum UsecaseMapping {
|
|
|
108
108
|
SAVE_STATEMENT_OF_PURPOSE_DETAILS = "Save Statement Of Purpose Details",
|
|
109
109
|
SAVE_SUPPLEMENTAL_QUESTIONS_DETAILS = "Save Supplemental Questions Details",
|
|
110
110
|
SAVE_TEST_SCORES_DETAILS = "Save Test Scores Details",
|
|
111
|
+
SAVE_FAMILY_DETAILS = "Save Family Details",
|
|
112
|
+
SAVE_PERSONAL_ESSAY_DETAILS = "Save Personal Essay Details",
|
|
113
|
+
SAVE_ACTIVITIES_DETAILS = "Save Activities Details",
|
|
111
114
|
ULAW_LEAD_CREATE = "Lead Creation",
|
|
112
115
|
ULAW_LEAD_UPDATE = "Lead Update",
|
|
113
116
|
ULAW_APPLICATION = "New Application",
|
|
@@ -122,5 +125,7 @@ export declare enum UsecaseMapping {
|
|
|
122
125
|
SAVE_FAMILY_INFO = "Save Family Info",
|
|
123
126
|
SAVE_TRANSFER_STUDENTS = "Save Transfer Students",
|
|
124
127
|
SAVE_REFERENCES = "Save References",
|
|
125
|
-
SAVE_ACTIVITIES_AND_INVOLVEMENT = "Save Activities And Involvement"
|
|
128
|
+
SAVE_ACTIVITIES_AND_INVOLVEMENT = "Save Activities And Involvement",
|
|
129
|
+
SFTP_INBOUND_FILE_UPLOAD = "SFTP Inbound File Upload",
|
|
130
|
+
SFTP_OUTBOUND_FILE_POLLING = "SFTP Outbound File Polling"
|
|
126
131
|
}
|
|
@@ -112,6 +112,9 @@ var UsecaseMapping;
|
|
|
112
112
|
UsecaseMapping["SAVE_STATEMENT_OF_PURPOSE_DETAILS"] = "Save Statement Of Purpose Details";
|
|
113
113
|
UsecaseMapping["SAVE_SUPPLEMENTAL_QUESTIONS_DETAILS"] = "Save Supplemental Questions Details";
|
|
114
114
|
UsecaseMapping["SAVE_TEST_SCORES_DETAILS"] = "Save Test Scores Details";
|
|
115
|
+
UsecaseMapping["SAVE_FAMILY_DETAILS"] = "Save Family Details";
|
|
116
|
+
UsecaseMapping["SAVE_PERSONAL_ESSAY_DETAILS"] = "Save Personal Essay Details";
|
|
117
|
+
UsecaseMapping["SAVE_ACTIVITIES_DETAILS"] = "Save Activities Details";
|
|
115
118
|
UsecaseMapping["ULAW_LEAD_CREATE"] = "Lead Creation";
|
|
116
119
|
UsecaseMapping["ULAW_LEAD_UPDATE"] = "Lead Update";
|
|
117
120
|
UsecaseMapping["ULAW_APPLICATION"] = "New Application";
|
|
@@ -127,4 +130,6 @@ var UsecaseMapping;
|
|
|
127
130
|
UsecaseMapping["SAVE_TRANSFER_STUDENTS"] = "Save Transfer Students";
|
|
128
131
|
UsecaseMapping["SAVE_REFERENCES"] = "Save References";
|
|
129
132
|
UsecaseMapping["SAVE_ACTIVITIES_AND_INVOLVEMENT"] = "Save Activities And Involvement";
|
|
133
|
+
UsecaseMapping["SFTP_INBOUND_FILE_UPLOAD"] = "SFTP Inbound File Upload";
|
|
134
|
+
UsecaseMapping["SFTP_OUTBOUND_FILE_POLLING"] = "SFTP Outbound File Polling";
|
|
130
135
|
})(UsecaseMapping || (exports.UsecaseMapping = UsecaseMapping = {}));
|
package/package.json
CHANGED
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@gus-eip/loggers",
|
|
3
|
-
"version": "4.4.
|
|
4
|
-
"description": "@gus-eip/loggers is a package designed to provide logging functionality for your Node.js applications.",
|
|
5
|
-
"author": "gus",
|
|
6
|
-
"readmeFilename": "README.md",
|
|
7
|
-
"main": "dist/index.js",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist/**/*",
|
|
10
|
-
"*.md"
|
|
11
|
-
],
|
|
12
|
-
"scripts": {
|
|
13
|
-
"start:dev": "tsc -w",
|
|
14
|
-
"build": "tsc",
|
|
15
|
-
"prepare": "npm run build",
|
|
16
|
-
"format": "prettier --write \"src/**/*.ts\"",
|
|
17
|
-
"lint": "tslint -p tsconfig.json -c tslint.json",
|
|
18
|
-
"test": "node --experimental-vm-modules ./node_modules/.bin/jest",
|
|
19
|
-
"test:watch": "jest --watch",
|
|
20
|
-
"test:cov": "jest --coverage",
|
|
21
|
-
"test:e2e": "jest --config ./test/jest-e2e.json"
|
|
22
|
-
},
|
|
23
|
-
"keywords": [
|
|
24
|
-
"nestjs",
|
|
25
|
-
"nodejs",
|
|
26
|
-
"javascript",
|
|
27
|
-
"typescript",
|
|
28
|
-
"eip-loggers"
|
|
29
|
-
],
|
|
30
|
-
"publishConfig": {
|
|
31
|
-
"access": "public"
|
|
32
|
-
},
|
|
33
|
-
"dependencies": {
|
|
34
|
-
"@aws-sdk/client-ssm": "^3.759.0",
|
|
35
|
-
"aws-sdk": "^2.1590.0",
|
|
36
|
-
"axios": "^1.7.4"
|
|
37
|
-
},
|
|
38
|
-
"devDependencies": {
|
|
39
|
-
"@nestjs/common": "^10.0.2",
|
|
40
|
-
"@nestjs/core": "^10.0.2",
|
|
41
|
-
"@nestjs/platform-express": "^10.0.2",
|
|
42
|
-
"@nestjs/testing": "10.0.2",
|
|
43
|
-
"@types/express": "4.17.17",
|
|
44
|
-
"@types/jest": "29.5.2",
|
|
45
|
-
"@types/lodash": "^4.17.7",
|
|
46
|
-
"@types/node": "20.3.1",
|
|
47
|
-
"@types/supertest": "2.0.12",
|
|
48
|
-
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
|
49
|
-
"@typescript-eslint/parser": "^5.60.0",
|
|
50
|
-
"eslint": "^8.43.0",
|
|
51
|
-
"eslint-config-prettier": "^8.8.0",
|
|
52
|
-
"eslint-plugin-prettier": "^4.2.1",
|
|
53
|
-
"jest": "29.5.0",
|
|
54
|
-
"prettier": "2.8.8",
|
|
55
|
-
"reflect-metadata": "^0.1.13",
|
|
56
|
-
"rxjs": "^7.8.1",
|
|
57
|
-
"supertest": "6.3.3",
|
|
58
|
-
"ts-jest": "29.1.0",
|
|
59
|
-
"ts-node": "10.9.1",
|
|
60
|
-
"tsc-watch": "6.0.4",
|
|
61
|
-
"tsconfig-paths": "4.2.0",
|
|
62
|
-
"tslint": "5.20.1",
|
|
63
|
-
"typescript": "^5.5.4"
|
|
64
|
-
},
|
|
65
|
-
"jest": {
|
|
66
|
-
"moduleFileExtensions": [
|
|
67
|
-
"js",
|
|
68
|
-
"json",
|
|
69
|
-
"ts"
|
|
70
|
-
],
|
|
71
|
-
"rootDir": "src",
|
|
72
|
-
"testRegex": ".spec.ts$",
|
|
73
|
-
"transform": {
|
|
74
|
-
"^.+\\.(t|j)s$": "ts-jest"
|
|
75
|
-
},
|
|
76
|
-
"coverageDirectory": "../coverage",
|
|
77
|
-
"testEnvironment": "node"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@gus-eip/loggers",
|
|
3
|
+
"version": "4.4.5",
|
|
4
|
+
"description": "@gus-eip/loggers is a package designed to provide logging functionality for your Node.js applications.",
|
|
5
|
+
"author": "gus",
|
|
6
|
+
"readmeFilename": "README.md",
|
|
7
|
+
"main": "dist/index.js",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist/**/*",
|
|
10
|
+
"*.md"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"start:dev": "tsc -w",
|
|
14
|
+
"build": "tsc",
|
|
15
|
+
"prepare": "npm run build",
|
|
16
|
+
"format": "prettier --write \"src/**/*.ts\"",
|
|
17
|
+
"lint": "tslint -p tsconfig.json -c tslint.json",
|
|
18
|
+
"test": "node --experimental-vm-modules ./node_modules/.bin/jest",
|
|
19
|
+
"test:watch": "jest --watch",
|
|
20
|
+
"test:cov": "jest --coverage",
|
|
21
|
+
"test:e2e": "jest --config ./test/jest-e2e.json"
|
|
22
|
+
},
|
|
23
|
+
"keywords": [
|
|
24
|
+
"nestjs",
|
|
25
|
+
"nodejs",
|
|
26
|
+
"javascript",
|
|
27
|
+
"typescript",
|
|
28
|
+
"eip-loggers"
|
|
29
|
+
],
|
|
30
|
+
"publishConfig": {
|
|
31
|
+
"access": "public"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@aws-sdk/client-ssm": "^3.759.0",
|
|
35
|
+
"aws-sdk": "^2.1590.0",
|
|
36
|
+
"axios": "^1.7.4"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@nestjs/common": "^10.0.2",
|
|
40
|
+
"@nestjs/core": "^10.0.2",
|
|
41
|
+
"@nestjs/platform-express": "^10.0.2",
|
|
42
|
+
"@nestjs/testing": "10.0.2",
|
|
43
|
+
"@types/express": "4.17.17",
|
|
44
|
+
"@types/jest": "29.5.2",
|
|
45
|
+
"@types/lodash": "^4.17.7",
|
|
46
|
+
"@types/node": "20.3.1",
|
|
47
|
+
"@types/supertest": "2.0.12",
|
|
48
|
+
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
|
49
|
+
"@typescript-eslint/parser": "^5.60.0",
|
|
50
|
+
"eslint": "^8.43.0",
|
|
51
|
+
"eslint-config-prettier": "^8.8.0",
|
|
52
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
53
|
+
"jest": "29.5.0",
|
|
54
|
+
"prettier": "2.8.8",
|
|
55
|
+
"reflect-metadata": "^0.1.13",
|
|
56
|
+
"rxjs": "^7.8.1",
|
|
57
|
+
"supertest": "6.3.3",
|
|
58
|
+
"ts-jest": "29.1.0",
|
|
59
|
+
"ts-node": "10.9.1",
|
|
60
|
+
"tsc-watch": "6.0.4",
|
|
61
|
+
"tsconfig-paths": "4.2.0",
|
|
62
|
+
"tslint": "5.20.1",
|
|
63
|
+
"typescript": "^5.5.4"
|
|
64
|
+
},
|
|
65
|
+
"jest": {
|
|
66
|
+
"moduleFileExtensions": [
|
|
67
|
+
"js",
|
|
68
|
+
"json",
|
|
69
|
+
"ts"
|
|
70
|
+
],
|
|
71
|
+
"rootDir": "src",
|
|
72
|
+
"testRegex": ".spec.ts$",
|
|
73
|
+
"transform": {
|
|
74
|
+
"^.+\\.(t|j)s$": "ts-jest"
|
|
75
|
+
},
|
|
76
|
+
"coverageDirectory": "../coverage",
|
|
77
|
+
"testEnvironment": "node"
|
|
78
|
+
}
|
|
79
|
+
}
|