workflow2_types 1.0.4

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0bb3cafbcbbf26063213850cafce57e22dc9e351
4
+ data.tar.gz: ef9b7fe6a8f118e7b0b7d7b2dcf6f30a324cb60f
5
+ SHA512:
6
+ metadata.gz: 7feb2f751e086244b3d022e94d553c30b1e57e7502476fd6e690b5e93cc79bf357fce24b80063ea160ab282af8463b276dd1dbe0e3f7971731520fad379a80bf
7
+ data.tar.gz: 427a9af4a90c81de6d3aeb6fcb175ca05ab8fdd2ca1f36544f1c6d8dcb0990062761a6242e3d77cd0ba902f4cae0173c2673dc3981a1da939b9f326d60b78fda
@@ -0,0 +1,17 @@
1
+ #
2
+ # Autogenerated by Thrift Compiler (0.11.0)
3
+ #
4
+ # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
+ #
6
+
7
+ require 'thrift'
8
+ require_relative 'test_types'
9
+
10
+ module Liveramp
11
+ module Types
12
+ module Workflow
13
+ module Test
14
+ end
15
+ end
16
+ end
17
+ end
data/lib/test_types.rb ADDED
@@ -0,0 +1,54 @@
1
+ #
2
+ # Autogenerated by Thrift Compiler (0.11.0)
3
+ #
4
+ # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
+ #
6
+
7
+ require 'thrift'
8
+
9
+ module Liveramp
10
+ module Types
11
+ module Workflow
12
+ module Test
13
+ class Email; end
14
+
15
+ class TestType; end
16
+
17
+ class Email
18
+ include ::Thrift::Struct, ::Thrift::Struct_Union
19
+ EMAIL = 1
20
+
21
+ FIELDS = {
22
+ EMAIL => {:type => ::Thrift::Types::STRING, :name => 'email'}
23
+ }
24
+
25
+ def struct_fields; FIELDS; end
26
+
27
+ def validate
28
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field email is unset!') unless @email
29
+ end
30
+
31
+ ::Thrift::Struct.generate_accessors self
32
+ end
33
+
34
+ class TestType
35
+ include ::Thrift::Struct, ::Thrift::Struct_Union
36
+ TEST = 1
37
+
38
+ FIELDS = {
39
+ TEST => {:type => ::Thrift::Types::STRING, :name => 'test'}
40
+ }
41
+
42
+ def struct_fields; FIELDS; end
43
+
44
+ def validate
45
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field test is unset!') unless @test
46
+ end
47
+
48
+ ::Thrift::Struct.generate_accessors self
49
+ end
50
+
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,15 @@
1
+ #
2
+ # Autogenerated by Thrift Compiler (0.11.0)
3
+ #
4
+ # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
+ #
6
+
7
+ require 'thrift'
8
+ require_relative 'workflow_types'
9
+
10
+ module Liveramp
11
+ module Types
12
+ module Workflow
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,56 @@
1
+ #
2
+ # Autogenerated by Thrift Compiler (0.11.0)
3
+ #
4
+ # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
+ #
6
+
7
+ require 'thrift'
8
+
9
+ module Liveramp
10
+ module Types
11
+ module Workflow
12
+ module WorkflowExecutionStatus
13
+ INCOMPLETE = 0
14
+ COMPLETE = 1
15
+ CANCELLED = 2
16
+ VALUE_MAP = {0 => "INCOMPLETE", 1 => "COMPLETE", 2 => "CANCELLED"}
17
+ VALID_VALUES = Set.new([INCOMPLETE, COMPLETE, CANCELLED]).freeze
18
+ end
19
+
20
+ module WorkflowAttemptStatus
21
+ RUNNING = 0
22
+ FAIL_PENDING = 1
23
+ SHUTDOWN_PENDING = 2
24
+ FAILED = 3
25
+ FINISHED = 4
26
+ SHUTDOWN = 5
27
+ INITIALIZING = 6
28
+ VALUE_MAP = {0 => "RUNNING", 1 => "FAIL_PENDING", 2 => "SHUTDOWN_PENDING", 3 => "FAILED", 4 => "FINISHED", 5 => "SHUTDOWN", 6 => "INITIALIZING"}
29
+ VALID_VALUES = Set.new([RUNNING, FAIL_PENDING, SHUTDOWN_PENDING, FAILED, FINISHED, SHUTDOWN, INITIALIZING]).freeze
30
+ end
31
+
32
+ module StepStatus
33
+ WAITING = 0
34
+ RUNNING = 1
35
+ COMPLETED = 2
36
+ FAILED = 3
37
+ SKIPPED = 4
38
+ REVERTED = 5
39
+ MANUALLY_COMPLETED = 6
40
+ ROLLING_BACK = 7
41
+ ROLLED_BACK = 8
42
+ ROLLBACK_FAILED = 9
43
+ VALUE_MAP = {0 => "WAITING", 1 => "RUNNING", 2 => "COMPLETED", 3 => "FAILED", 4 => "SKIPPED", 5 => "REVERTED", 6 => "MANUALLY_COMPLETED", 7 => "ROLLING_BACK", 8 => "ROLLED_BACK", 9 => "ROLLBACK_FAILED"}
44
+ VALID_VALUES = Set.new([WAITING, RUNNING, COMPLETED, FAILED, SKIPPED, REVERTED, MANUALLY_COMPLETED, ROLLING_BACK, ROLLED_BACK, ROLLBACK_FAILED]).freeze
45
+ end
46
+
47
+ module ExecutorStatus
48
+ RUNNING = 0
49
+ STOPPED = 1
50
+ VALUE_MAP = {0 => "RUNNING", 1 => "STOPPED"}
51
+ VALID_VALUES = Set.new([RUNNING, STOPPED]).freeze
52
+ end
53
+
54
+ end
55
+ end
56
+ end
metadata ADDED
@@ -0,0 +1,47 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: workflow2_types
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.4
5
+ platform: ruby
6
+ authors:
7
+ - LiveRamp
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-05-31 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Workflow2 Types
14
+ email:
15
+ - dev-bdi@liveramp.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - lib/test_constants.rb
21
+ - lib/test_types.rb
22
+ - lib/workflow_constants.rb
23
+ - lib/workflow_types.rb
24
+ homepage:
25
+ licenses: []
26
+ metadata: {}
27
+ post_install_message:
28
+ rdoc_options: []
29
+ require_paths:
30
+ - lib
31
+ required_ruby_version: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: '0'
36
+ required_rubygems_version: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ requirements: []
42
+ rubyforge_project:
43
+ rubygems_version: 2.5.1
44
+ signing_key:
45
+ specification_version: 4
46
+ summary: Workflow2 Types
47
+ test_files: []