wolf_core 1.0.62 → 1.0.63
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d28ecbd7d9325a547573eeb470e36fd6bc2ed39ddd7d232f6f8daf44c5a3ed89
|
4
|
+
data.tar.gz: 7a3a1e59ed1325fea83b821929ccb990597ef4b4030657ec4136334a42031f59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92d38d2f07d9b4c9cea5b79c8b0f71fd72489c4671155ff1babec233c935afb70e731927915a2b622b8b2da5b204dbf738409e75f09478d09b69c6a956874bf1
|
7
|
+
data.tar.gz: 5abb0753b7d2b1d523ddaffc89f58fbcad03ad81eea1e4ae5d81ad5b620ee40f7d44aa3f2d5a94e4120e31754a3071939b87d4f59e796b08ca42feb010e65726
|
@@ -9,6 +9,7 @@ module WolfCore
|
|
9
9
|
'barton/import/jobseeker' => 'BartonImportJobseeker',
|
10
10
|
'barton/export/jobseeker' => 'BartonExportJobseeker',
|
11
11
|
'barton/import/order' => 'BartonImportOrder',
|
12
|
+
'barton-generate-job-description' => 'BartonGenerateJobDescription',
|
12
13
|
'barton/export/order' => 'BartonExportOrder',
|
13
14
|
'barton/import/order_description' => 'BartonImportOrderDescription',
|
14
15
|
'barton/import/order_application' => 'BartonImportOrderApplication',
|
@@ -29,7 +30,7 @@ module WolfCore
|
|
29
30
|
'barton/export/jobseeker_order_applications' => 'BartonExportJobseekerOrderApplications',
|
30
31
|
}
|
31
32
|
|
32
|
-
def route_event_request(path:, body:)
|
33
|
+
def route_event_request(path:, body:, invocation_type: nil)
|
33
34
|
environment = ENV['ENVIRONMENT']
|
34
35
|
deployable_envs = ['production', 'staging']
|
35
36
|
if deployable_envs.include?(environment)
|
@@ -40,6 +41,7 @@ module WolfCore
|
|
40
41
|
invoke_lambda(
|
41
42
|
function_name: function_name,
|
42
43
|
payload: body,
|
44
|
+
invocation_type: invocation_type,
|
43
45
|
)
|
44
46
|
else
|
45
47
|
domain_url = ENV['CURRENT_SAM_URL']
|
@@ -23,6 +23,8 @@ module WolfCore
|
|
23
23
|
def invoke(function_name:, payload:, invocation_type: nil)
|
24
24
|
parsed_payload = JSON.generate(payload)
|
25
25
|
invocation_type ||= 'Event'
|
26
|
+
# use invocation_type = 'Event' to make an asynchronous call
|
27
|
+
# use invocation_type = 'RequestResponse' to make a synchronous call
|
26
28
|
@@client.invoke({
|
27
29
|
function_name: function_name,
|
28
30
|
invocation_type: invocation_type,
|
data/lib/wolf_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wolf_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.63
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Roncallo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|