trailblazer-endpoint 0.0.1 → 0.0.2

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: a13cc4ea9b50a656f620578a75ccd11aa01106bc22be8975e8758a660d1a13aa
4
- data.tar.gz: 4c006bbfeab10458615ee658e862cf152b42b17f1c0d8302f9d1308b8cdc1425
3
+ metadata.gz: 2223ccae09c1e72ad993d75dae43dbeb60d2194b924006caa44e606d0f41e162
4
+ data.tar.gz: c9a7580cef40249013d4069356edd3e260b820026101bea28c01f39e6d65935e
5
5
  SHA512:
6
- metadata.gz: 53dfeec3df63a69bbe4f481f58eaa6c71e32d55044066fda4eb7dc8579ef1b973079ff8fa6b7cbd7a6f4ce4ecdb767d25f37a6bf68eee99626557f1a1de2ab71
7
- data.tar.gz: 99b9e753a78f182ad274c677aa9f1c33bc85fbd8ad4ce57c2574a4b4ef29d3400e3553c6484674e3d75cec41dcacea76f601db77aee7273fdd066ec3c41c17c7
6
+ metadata.gz: 8f31213731d9bcd5267019ab3e5027e873d63cdf31cb0e418e48c70b0bf13ef3012c040deeb1a01fb171cb28aa9e1e64a5a0057218d9030679748c76ce57009e
7
+ data.tar.gz: 457aa56b0e109053568351a46fbc3f3dc487280e0937f88d2ed60297ee456078c64399422f6acb2ec7129c48c36db18aef406f257f17d43c0b60578e242043d7
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.0.2
2
+
3
+ The `:collaboration` and `:dictionary` options for `arguments_for` are now optional and figured out by `workflow`.
4
+
1
5
  # 0.0.1
2
6
 
3
7
  * Provides very simple `Protocol` implementations for `Web` and `API`, same for `Adapter`.
@@ -75,25 +75,19 @@ module Trailblazer
75
75
  return signal, [endpoint_ctx]
76
76
  end
77
77
 
78
- # def self.default_success_if(success_id)
79
- # ->(signal:, graph:, **) { signal[:lane_positions][suspend_activity].last == graph.find(success_id).task }
80
- # end
81
-
82
78
  #@ For WORKFLOW and operations. not sure this method will stay here.
83
- def self.arguments_for(domain_ctx:, collaboration:, dictionary: collaboration.to_h[:dictionary], flow_options:, circuit_options: {}, **options)
79
+ def self.arguments_for(domain_ctx:, flow_options:, circuit_options: {}, **options)
84
80
  domain_ctx = Trailblazer::Context::IndifferentAccess.build(domain_ctx, {}, [domain_ctx, flow_options], circuit_options)
85
81
 
86
82
  [
87
83
  [
88
84
  {
89
- activity: collaboration,
90
85
  domain_ctx: domain_ctx, # DISCUSS: is this where {:resume_data} comes in?
91
86
  # process_model_class: process_model_class,
92
87
  # process_model_from_resume_data: process_model_from_resume_data,
93
88
  # find_process_model: find_process_model,
94
89
  # encrypted_resume_data: encrypted_resume_data,
95
90
 
96
- dictionary: dictionary,
97
91
  # cipher_key: cipher_key,
98
92
  **options,
99
93
  },
@@ -1,5 +1,5 @@
1
1
  module Trailblazer
2
2
  class Endpoint
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trailblazer-endpoint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-09 00:00:00.000000000 Z
11
+ date: 2020-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trailblazer-activity-dsl-linear