mortar-api-ruby 0.8.8 → 0.8.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mortar/api/jobs.rb +16 -2
- data/lib/mortar/api/version.rb +1 -1
- metadata +4 -4
data/lib/mortar/api/jobs.rb
CHANGED
@@ -33,19 +33,33 @@ module Mortar
|
|
33
33
|
STATUS_STOPPING = "stopping"
|
34
34
|
STATUS_STOPPED = "stopped"
|
35
35
|
|
36
|
+
LUIGI_JOB_STATUS__PENDING = 'pending'
|
37
|
+
LUIGI_JOB_STATUS__STARTING = 'starting'
|
38
|
+
LUIGI_JOB_STATUS__RUNNING = 'running'
|
39
|
+
LUIGI_JOB_STATUS__FINISHED = 'finished'
|
40
|
+
LUIGI_JOB_STATUS__STOPPED = 'stopped'
|
41
|
+
LUIGI_JOB_STATUS__STOPPING = 'stopping'
|
42
|
+
|
43
|
+
|
36
44
|
STATUSES_IN_PROGRESS = Set.new([STATUS_STARTING,
|
37
45
|
STATUS_GATEWAY_STARTING,
|
38
46
|
STATUS_VALIDATING_SCRIPT,
|
39
47
|
STATUS_STARTING_CLUSTER,
|
40
48
|
STATUS_RUNNING,
|
41
|
-
STATUS_STOPPING
|
49
|
+
STATUS_STOPPING,
|
50
|
+
LUIGI_JOB_STATUS__PENDING,
|
51
|
+
LUIGI_JOB_STATUS__STARTING,
|
52
|
+
LUIGI_JOB_STATUS__RUNNING,
|
53
|
+
LUIGI_JOB_STATUS__STOPPING])
|
42
54
|
|
43
55
|
STATUSES_COMPLETE = Set.new([STATUS_SCRIPT_ERROR,
|
44
56
|
STATUS_PLAN_ERROR,
|
45
57
|
STATUS_SUCCESS,
|
46
58
|
STATUS_EXECUTION_ERROR,
|
47
59
|
STATUS_SERVICE_ERROR,
|
48
|
-
STATUS_STOPPED
|
60
|
+
STATUS_STOPPED,
|
61
|
+
LUIGI_JOB_STATUS__FINISHED,
|
62
|
+
LUIGI_JOB_STATUS__STOPPED])
|
49
63
|
|
50
64
|
CLUSTER_TYPE__SINGLE_JOB = 'single_job'
|
51
65
|
CLUSTER_TYPE__PERSISTENT = 'persistent'
|
data/lib/mortar/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mortar-api-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 45
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 8
|
9
|
-
-
|
10
|
-
version: 0.8.
|
9
|
+
- 9
|
10
|
+
version: 0.8.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mortar Data
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2014-10-
|
18
|
+
date: 2014-10-07 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: excon
|