@friggframework/core 2.0.0--canary.531.eb2e0bb.0 → 2.0.0--canary.531.5b60782.0
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.
|
@@ -21,15 +21,14 @@ const {
|
|
|
21
21
|
|
|
22
22
|
const { SchedulerServiceInterface } = require('./scheduler-service-interface');
|
|
23
23
|
|
|
24
|
-
const SCHEDULE_GROUP_NAME = 'frigg-integration-schedules';
|
|
25
|
-
|
|
26
24
|
class EventBridgeSchedulerAdapter extends SchedulerServiceInterface {
|
|
27
25
|
constructor({ region } = {}) {
|
|
28
26
|
super();
|
|
29
27
|
this.client = new SchedulerClient({
|
|
30
28
|
region: region || process.env.AWS_REGION || 'us-east-1',
|
|
31
29
|
});
|
|
32
|
-
this.scheduleGroupName =
|
|
30
|
+
this.scheduleGroupName =
|
|
31
|
+
process.env.SCHEDULE_GROUP_NAME || 'frigg-integration-schedules';
|
|
33
32
|
this.roleArn = process.env.SCHEDULER_ROLE_ARN;
|
|
34
33
|
}
|
|
35
34
|
|
|
@@ -182,4 +181,4 @@ class EventBridgeSchedulerAdapter extends SchedulerServiceInterface {
|
|
|
182
181
|
}
|
|
183
182
|
}
|
|
184
183
|
|
|
185
|
-
module.exports = { EventBridgeSchedulerAdapter
|
|
184
|
+
module.exports = { EventBridgeSchedulerAdapter };
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
const { SchedulerServiceInterface } = require('./scheduler-service-interface');
|
|
13
|
-
const { EventBridgeSchedulerAdapter
|
|
13
|
+
const { EventBridgeSchedulerAdapter } = require('./eventbridge-scheduler-adapter');
|
|
14
14
|
const { MockSchedulerAdapter } = require('./mock-scheduler-adapter');
|
|
15
15
|
const {
|
|
16
16
|
createSchedulerService,
|
|
@@ -25,7 +25,6 @@ module.exports = {
|
|
|
25
25
|
// Adapters
|
|
26
26
|
EventBridgeSchedulerAdapter,
|
|
27
27
|
MockSchedulerAdapter,
|
|
28
|
-
SCHEDULE_GROUP_NAME,
|
|
29
28
|
|
|
30
29
|
// Factory
|
|
31
30
|
createSchedulerService,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@friggframework/core",
|
|
3
3
|
"prettier": "@friggframework/prettier-config",
|
|
4
|
-
"version": "2.0.0--canary.531.
|
|
4
|
+
"version": "2.0.0--canary.531.5b60782.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@aws-sdk/client-apigatewaymanagementapi": "^3.588.0",
|
|
7
7
|
"@aws-sdk/client-kms": "^3.588.0",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@friggframework/eslint-config": "2.0.0--canary.531.
|
|
42
|
-
"@friggframework/prettier-config": "2.0.0--canary.531.
|
|
43
|
-
"@friggframework/test": "2.0.0--canary.531.
|
|
41
|
+
"@friggframework/eslint-config": "2.0.0--canary.531.5b60782.0",
|
|
42
|
+
"@friggframework/prettier-config": "2.0.0--canary.531.5b60782.0",
|
|
43
|
+
"@friggframework/test": "2.0.0--canary.531.5b60782.0",
|
|
44
44
|
"@prisma/client": "^6.17.0",
|
|
45
45
|
"@types/lodash": "4.17.15",
|
|
46
46
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"publishConfig": {
|
|
81
81
|
"access": "public"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "5b607824c46df14b9597c489f4d2a9fbd5f0c8a7"
|
|
84
84
|
}
|