mio-config 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/#mio-config.gemspec# +23 -0
- data/Gemfile +16 -0
- data/Gemfile.lock +68 -0
- data/LICENCE.md +8 -0
- data/README.md +162 -0
- data/Rakefile +7 -0
- data/circle.yml +3 -0
- data/config/mio.yml +4 -0
- data/coverage/assets/0.10.0/application.css +799 -0
- data/coverage/assets/0.10.0/application.js +1707 -0
- data/coverage/assets/0.10.0/colorbox/border.png +0 -0
- data/coverage/assets/0.10.0/colorbox/controls.png +0 -0
- data/coverage/assets/0.10.0/colorbox/loading.gif +0 -0
- data/coverage/assets/0.10.0/colorbox/loading_background.png +0 -0
- data/coverage/assets/0.10.0/favicon_green.png +0 -0
- data/coverage/assets/0.10.0/favicon_red.png +0 -0
- data/coverage/assets/0.10.0/favicon_yellow.png +0 -0
- data/coverage/assets/0.10.0/loading.gif +0 -0
- data/coverage/assets/0.10.0/magnify.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/coverage/index.html +4884 -0
- data/lib/mio.rb +24 -0
- data/lib/mio/#model.rb# +130 -0
- data/lib/mio/client.rb +106 -0
- data/lib/mio/config.rb +14 -0
- data/lib/mio/errors.rb +18 -0
- data/lib/mio/migrations.rb +96 -0
- data/lib/mio/model.rb +133 -0
- data/lib/mio/model/autoload.rb +7 -0
- data/lib/mio/model/groovy_script.rb +40 -0
- data/lib/mio/model/groovy_script_wait.rb +44 -0
- data/lib/mio/model/hotfolder.rb +56 -0
- data/lib/mio/model/import_action.rb +69 -0
- data/lib/mio/model/s3.rb +37 -0
- data/lib/mio/model/workflow.rb +98 -0
- data/lib/mio/model/workflow/node.rb +35 -0
- data/lib/mio/model/workflow/transition.rb +20 -0
- data/lib/mio/requests.rb +16 -0
- data/lib/mio/search.rb +29 -0
- data/lib/mio/tasks.rb +5 -0
- data/lib/mio/tasks/migrations.rb +17 -0
- data/lib/mio/tasks/skeletons.rb +38 -0
- data/migrations/20160429130853_create-an-s3-bucket-for-ingestion.rb +11 -0
- data/mio-config.gemspec +24 -0
- data/notes +1 -0
- data/spec/factories/client_factories.rb +41 -0
- data/spec/factories/mio_factories.rb +9 -0
- data/spec/factories/model_factories.rb +128 -0
- data/spec/fixtures/vcr_cassettes/client.yml +2415 -0
- data/spec/fixtures/vcr_cassettes/client.yml~ +2141 -0
- data/spec/lib/mio/client_spec.rb +79 -0
- data/spec/lib/mio/config_spec.rb +11 -0
- data/spec/lib/mio/model/groovy_script_spec.rb +13 -0
- data/spec/lib/mio/model/groovy_script_wait_spec.rb +13 -0
- data/spec/lib/mio/model/hotfolder_spec.rb +13 -0
- data/spec/lib/mio/model/import_action_spec.rb +13 -0
- data/spec/lib/mio/model/s3_spec.rb +13 -0
- data/spec/lib/mio/model/workflow/node_spec.rb +35 -0
- data/spec/lib/mio/model/workflow/transition_spec.rb +12 -0
- data/spec/lib/mio/model/workflow_spec.rb +38 -0
- data/spec/lib/mio/search_spec.rb +37 -0
- data/spec/lib/mio_spec.rb +30 -0
- data/spec/spec_helper.rb +16 -0
- data/spec/support/factory_girl.rb +3 -0
- data/spec/support/shared_examples_for_client.rb +27 -0
- data/spec/support/shared_examples_for_model.rb +87 -0
- data/spec/support/vcr.rb +12 -0
- metadata +195 -0
data/lib/mio/tasks.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
namespace :mio do
|
2
|
+
desc 'Handle migrations (via mio:migrate:up)'
|
3
|
+
task :migrate do
|
4
|
+
Rake::Task['mio:migrate:up'].invoke
|
5
|
+
end
|
6
|
+
|
7
|
+
namespace :migrate do
|
8
|
+
desc 'Run migrations'
|
9
|
+
task :up do
|
10
|
+
config = Mio::Config.read File.expand_path './config/mio.yml'
|
11
|
+
migrater = Mio::Migrations.new(config.base_url,
|
12
|
+
config.username,
|
13
|
+
config.password )
|
14
|
+
migrater.run_migrations
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
namespace :mio do
|
2
|
+
namespace :migrate do
|
3
|
+
desc 'Create a new migration'
|
4
|
+
task :create, [:model, :desc] do |t,args|
|
5
|
+
config = Mio::Config.read File.expand_path './config/mio.yml'
|
6
|
+
migrater = Mio::Migrations.new(config.base_url,
|
7
|
+
config.username,
|
8
|
+
config.password)
|
9
|
+
|
10
|
+
model = args.model
|
11
|
+
raise Mio::Model::NoSuchResource, "#{model} is an invalid mode" if model.nil?
|
12
|
+
|
13
|
+
f = migrater.create_migration_file args.desc
|
14
|
+
File.open(f, 'w') do |mig|
|
15
|
+
mig.puts "migrate '#{args.desc}' do"
|
16
|
+
mig.puts " #{model.to_s} do |m|"
|
17
|
+
|
18
|
+
Mio::Model.mappings[model.to_s].fields.each do |f|
|
19
|
+
if f[:default].nil?
|
20
|
+
value = f[:type]
|
21
|
+
else
|
22
|
+
case f[:type]
|
23
|
+
when String
|
24
|
+
value = "'#{f[:default]}'"
|
25
|
+
else
|
26
|
+
value = f[:default]
|
27
|
+
end
|
28
|
+
end
|
29
|
+
mig.puts " m.#{f[:name]} = #{value.inspect} \t\t\t\t# #{f[:desc]}"
|
30
|
+
end
|
31
|
+
mig.puts " end"
|
32
|
+
mig.puts "end"
|
33
|
+
end
|
34
|
+
|
35
|
+
puts f
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
migrate 'create an s3 bucket for ingestion' do
|
2
|
+
s3 do |m|
|
3
|
+
m.name = String # Name of the S3 resource
|
4
|
+
m.visibility = [4] # IDs of accounts that may see this
|
5
|
+
m.key = String # AWS API Key with access to bucket
|
6
|
+
m.secret = String # Secret key associated to :key
|
7
|
+
m.bucket = String # Bucket with which to interact
|
8
|
+
m.enable = :true # :true or :false
|
9
|
+
m.start = :true # :true or :false
|
10
|
+
end
|
11
|
+
end
|
data/mio-config.gemspec
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = "mio-config"
|
3
|
+
s.version = "1.3.0"
|
4
|
+
s.license = 'MIT'
|
5
|
+
|
6
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
7
|
+
s.authors = ["jspc","jemrayfield"]
|
8
|
+
s.date = "2016-03-30"
|
9
|
+
s.description = "Configure MIO with lots of lovely shite"
|
10
|
+
s.summary = "Financial Times MIO mangler"
|
11
|
+
s.email = "james.condron@ft.com"
|
12
|
+
s.homepage = "https://ft.com"
|
13
|
+
s.extra_rdoc_files = [
|
14
|
+
"README.md"
|
15
|
+
|
16
|
+
]
|
17
|
+
s.files = Dir.glob('./**/*')
|
18
|
+
|
19
|
+
s.add_dependency('rake', '~>0')
|
20
|
+
s.add_dependency('faraday', '~>0.9')
|
21
|
+
s.add_dependency('net-http-persistent', '~>2.9')
|
22
|
+
s.add_dependency('hashie', '~>3.4')
|
23
|
+
s.add_dependency('colorize', '~>0.7')
|
24
|
+
end
|
data/notes
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
$:<<'.' ; require 'client' ; require 'models/events' ; Mio::Events.all
|
@@ -0,0 +1,41 @@
|
|
1
|
+
FactoryGirl.define do
|
2
|
+
factory :client, class: Mio::Client do
|
3
|
+
base_uri 'https://example.com'
|
4
|
+
username 'masteruser'
|
5
|
+
password 'masteruser'
|
6
|
+
|
7
|
+
trait :dev_uri do
|
8
|
+
base_uri 'https://master.dev.nativ-systems.com/api'
|
9
|
+
end
|
10
|
+
|
11
|
+
trait :invalid_creds do
|
12
|
+
username Faker::Internet.user_name
|
13
|
+
password Faker::Internet.password
|
14
|
+
end
|
15
|
+
|
16
|
+
factory :valid_client, traits: [:dev_uri]
|
17
|
+
factory :invalid_user_client, traits: [:dev_uri, :invalid_creds]
|
18
|
+
factory :invalid_client, traits: [:invalid_creds]
|
19
|
+
|
20
|
+
initialize_with{ new(base_uri,username,password) }
|
21
|
+
end
|
22
|
+
|
23
|
+
factory :create_json, class: OpenStruct do
|
24
|
+
name 'vcr resource storage'
|
25
|
+
visibilityIds [4]
|
26
|
+
pluginClass "tv.nativ.mio.enterprise.resources.impl.capacity.storage.vfs.VFSStorageResource"
|
27
|
+
end
|
28
|
+
|
29
|
+
factory :configure_json, class: OpenStruct do
|
30
|
+
protocol 'S3'
|
31
|
+
path "/"
|
32
|
+
key "an-s3-key"
|
33
|
+
secret "an-s3-secret-key"
|
34
|
+
bucket "some-s3-bucket"
|
35
|
+
end
|
36
|
+
|
37
|
+
factory :action_json, class: OpenStruct do
|
38
|
+
action 'enable'
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
@@ -0,0 +1,128 @@
|
|
1
|
+
FactoryGirl.define do
|
2
|
+
trait :invalid_name do
|
3
|
+
name 123456
|
4
|
+
end
|
5
|
+
|
6
|
+
trait :invalid_field do
|
7
|
+
foo 'bar'
|
8
|
+
end
|
9
|
+
|
10
|
+
factory :node, class: OpenStruct do
|
11
|
+
name 'start 1'
|
12
|
+
action ''
|
13
|
+
type 'start'
|
14
|
+
|
15
|
+
factory :node_invalid_data, traits: [:invalid_name]
|
16
|
+
factory :node_extra_data, traits: [:invalid_field]
|
17
|
+
|
18
|
+
factory :end_node do
|
19
|
+
name 'end 1'
|
20
|
+
type 'end'
|
21
|
+
end
|
22
|
+
|
23
|
+
factory :action_node do
|
24
|
+
name 'lauch 1'
|
25
|
+
action 'Groovy Script Factory'
|
26
|
+
type 'ACTION'
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
factory :transition, class: OpenStruct do
|
31
|
+
from 'start 1'
|
32
|
+
to 'end 1'
|
33
|
+
|
34
|
+
factory :transition_invalid_data do
|
35
|
+
from 123
|
36
|
+
end
|
37
|
+
|
38
|
+
factory :transition_extra_data, traits: [:invalid_field]
|
39
|
+
end
|
40
|
+
|
41
|
+
factory :model, class: OpenStruct do
|
42
|
+
visibility [4]
|
43
|
+
enable :true
|
44
|
+
|
45
|
+
factory :s3 do
|
46
|
+
name 'S3 Bucket Factory'
|
47
|
+
key 'some_s3_key'
|
48
|
+
secret 'some_s3_secret'
|
49
|
+
bucket 'some_faked_s3_bucket'
|
50
|
+
start :true
|
51
|
+
|
52
|
+
factory :s3_invalid_data, traits: [:invalid_name]
|
53
|
+
factory :s3_extra_data, traits: [:invalid_field]
|
54
|
+
end
|
55
|
+
|
56
|
+
factory :hotfolder do
|
57
|
+
name 'Hotfolder Factory'
|
58
|
+
storage_name 'S3 Bucket Factory'
|
59
|
+
workflow_name 'Workflow'
|
60
|
+
owner 'masteruser masteruser'
|
61
|
+
start :true
|
62
|
+
|
63
|
+
factory :hotfolder_invalid_data, traits: [:invalid_name]
|
64
|
+
factory :hotfolder_extra_data, traits: [:invalid_field]
|
65
|
+
end
|
66
|
+
|
67
|
+
factory :import_action do
|
68
|
+
name 'Import Action Factory'
|
69
|
+
key 'some_s3_key'
|
70
|
+
secret 'some_s3_secret'
|
71
|
+
bucket 'some_faked_s3_bucket'
|
72
|
+
start :true
|
73
|
+
|
74
|
+
factory :import_action_invalid_data, traits: [:invalid_name]
|
75
|
+
factory :import_action_extra_data, traits: [:invalid_field]
|
76
|
+
end
|
77
|
+
|
78
|
+
factory :groovy_script do
|
79
|
+
name 'Groovy Script Factory'
|
80
|
+
displayName 'A Test Groovy Script'
|
81
|
+
key 'some_s3_key'
|
82
|
+
secret 'some_s3_secret'
|
83
|
+
script 'test script'
|
84
|
+
jars ['file:///test/test/jar','file:///test/test/test.jar']
|
85
|
+
imports ['com.test.test.test','com.testing.testing.test']
|
86
|
+
start :true
|
87
|
+
|
88
|
+
factory :groovy_script_invalid_data, traits: [:invalid_name]
|
89
|
+
factory :groovy_script_extra_data, traits: [:invalid_field]
|
90
|
+
end
|
91
|
+
|
92
|
+
factory :workflow do
|
93
|
+
name 'Workflow'
|
94
|
+
transitions [{from: 'Start 1', to: 'End 1'}]
|
95
|
+
nodes [{name: 'End 1', path: '/e', type: 'END'},
|
96
|
+
{name: 'Start 1', path: '/s', type: 'START'}]
|
97
|
+
|
98
|
+
trait :empty_nodes do
|
99
|
+
nodes []
|
100
|
+
end
|
101
|
+
|
102
|
+
trait :empty_transitions do
|
103
|
+
transitions []
|
104
|
+
end
|
105
|
+
|
106
|
+
factory :workflow_invalid_data, traits: [:invalid_name]
|
107
|
+
factory :workflow_extra_data, traits: [:invalid_field]
|
108
|
+
factory :workflow_empty_nodes, traits: [:empty_nodes]
|
109
|
+
factory :workflow_empty_transitions, traits: [:empty_transitions]
|
110
|
+
end
|
111
|
+
|
112
|
+
factory :groovy_script_wait do
|
113
|
+
name 'A Test Groovy Wait Script'
|
114
|
+
displayName 'A Test Groovy Wait Script'
|
115
|
+
key 'some_s3_key'
|
116
|
+
secret 'some_s3_secret'
|
117
|
+
script 'test script'
|
118
|
+
jars ['file:///test/test/jar','file:///test/test/test.jar']
|
119
|
+
imports ['com.test.test.test','com.testing.testing.test']
|
120
|
+
timeout 0
|
121
|
+
polling_time 10
|
122
|
+
start :true
|
123
|
+
|
124
|
+
factory :groovy_script_wait_invalid_data, traits: [:invalid_name]
|
125
|
+
factory :groovy_script_wait_extra_data, traits: [:invalid_field]
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|
@@ -0,0 +1,2415 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://master.dev.nativ-systems.com/api/no-such-resource
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.2
|
12
|
+
Authorization:
|
13
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
14
|
+
Content-Type:
|
15
|
+
- application/vnd.nativ.mio.v1+json
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 500
|
19
|
+
message:
|
20
|
+
headers:
|
21
|
+
date:
|
22
|
+
- Fri, 29 Apr 2016 11:04:48 GMT
|
23
|
+
server:
|
24
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
25
|
+
content-type:
|
26
|
+
- application/json
|
27
|
+
content-length:
|
28
|
+
- '80'
|
29
|
+
access-control-allow-origin:
|
30
|
+
- "*"
|
31
|
+
access-control-allow-methods:
|
32
|
+
- GET, POST, OPTIONS
|
33
|
+
access-control-allow-headers:
|
34
|
+
- origin, authorization, accept
|
35
|
+
access-control-allow-credentials:
|
36
|
+
- 'true'
|
37
|
+
connection:
|
38
|
+
- close
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: |-
|
42
|
+
{
|
43
|
+
"errors" : {
|
44
|
+
"error" : "Invalid Mio Object Type: no-such-resource"
|
45
|
+
}
|
46
|
+
}
|
47
|
+
http_version:
|
48
|
+
recorded_at: Fri, 29 Apr 2016 11:03:34 GMT
|
49
|
+
- request:
|
50
|
+
method: put
|
51
|
+
uri: https://master.dev.nativ-systems.com/api/resources/10943/configuration
|
52
|
+
body:
|
53
|
+
encoding: UTF-8
|
54
|
+
string: '{"vfs-location":{"protocol":"S3","path":"/","key":"an-s3-key","secret":"an-s3-secret-key","bucket":"some-s3-bucket"}}'
|
55
|
+
headers:
|
56
|
+
User-Agent:
|
57
|
+
- Faraday v0.9.2
|
58
|
+
Authorization:
|
59
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
60
|
+
Content-Type:
|
61
|
+
- application/vnd.nativ.mio.v1+json
|
62
|
+
response:
|
63
|
+
status:
|
64
|
+
code: 200
|
65
|
+
message:
|
66
|
+
headers:
|
67
|
+
date:
|
68
|
+
- Fri, 29 Apr 2016 11:04:49 GMT
|
69
|
+
server:
|
70
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
71
|
+
pragma:
|
72
|
+
- No-cache
|
73
|
+
cache-control:
|
74
|
+
- no-cache
|
75
|
+
expires:
|
76
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
77
|
+
set-cookie:
|
78
|
+
- JSESSIONID=C1NPwmilCp6z1wFGA57TP39D.-201388908; Path=/api; Secure
|
79
|
+
content-type:
|
80
|
+
- application/json
|
81
|
+
access-control-allow-origin:
|
82
|
+
- "*"
|
83
|
+
access-control-allow-methods:
|
84
|
+
- GET, POST, OPTIONS
|
85
|
+
access-control-allow-headers:
|
86
|
+
- origin, authorization, accept
|
87
|
+
access-control-allow-credentials:
|
88
|
+
- 'true'
|
89
|
+
keep-alive:
|
90
|
+
- timeout=5, max=100
|
91
|
+
connection:
|
92
|
+
- Keep-Alive
|
93
|
+
transfer-encoding:
|
94
|
+
- chunked
|
95
|
+
body:
|
96
|
+
encoding: UTF-8
|
97
|
+
string: '{"id":102208,"instance":{"vfs-location":{"protocol":"S3","path":"/","key":"an-s3-key","secret":"an-s3-secret-key","bucket":"some-s3-bucket"}},"definitionId":103954,"definition":[{"id":103955,"name":"vfs-location","displayName":"VFS
|
98
|
+
Location","description":"Details for a Virtual File System location","type":"vfs-location","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.resource.def.MioVFSLocationVariable$MioVFSLocationVariableHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":103978,"name":"file-details-check","displayName":"File
|
99
|
+
Details Check","description":"Perform regular checks of file existence, size
|
100
|
+
and last modification time.","type":"complex","multiplicity":"0..1","searchable":false,"editable":true,"required":false,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":103979,"name":"checking-interval","displayName":"Checking
|
101
|
+
Interval","description":"Minimum interval between file details checking.","type":"long","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":"text","format":"#","formatDescription":"#","validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":"duration","commentable":false,"isVisible":true,"preProcessors":[],"defaultValue":120000000}]}]}'
|
102
|
+
http_version:
|
103
|
+
recorded_at: Fri, 29 Apr 2016 11:03:34 GMT
|
104
|
+
- request:
|
105
|
+
method: get
|
106
|
+
uri: https://master.dev.nativ-systems.com/api/resources/10943/actions
|
107
|
+
body:
|
108
|
+
encoding: US-ASCII
|
109
|
+
string: ''
|
110
|
+
headers:
|
111
|
+
User-Agent:
|
112
|
+
- Faraday v0.9.2
|
113
|
+
Authorization:
|
114
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
115
|
+
Content-Type:
|
116
|
+
- application/vnd.nativ.mio.v1+json
|
117
|
+
response:
|
118
|
+
status:
|
119
|
+
code: 200
|
120
|
+
message:
|
121
|
+
headers:
|
122
|
+
date:
|
123
|
+
- Fri, 29 Apr 2016 11:04:49 GMT
|
124
|
+
server:
|
125
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
126
|
+
pragma:
|
127
|
+
- No-cache
|
128
|
+
cache-control:
|
129
|
+
- no-cache
|
130
|
+
expires:
|
131
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
132
|
+
set-cookie:
|
133
|
+
- JSESSIONID=i9O-OSEUAKYb8MNaY6lPO0FZ.-201388908; Path=/api; Secure
|
134
|
+
content-type:
|
135
|
+
- application/json
|
136
|
+
access-control-allow-origin:
|
137
|
+
- "*"
|
138
|
+
access-control-allow-methods:
|
139
|
+
- GET, POST, OPTIONS
|
140
|
+
access-control-allow-headers:
|
141
|
+
- origin, authorization, accept
|
142
|
+
access-control-allow-credentials:
|
143
|
+
- 'true'
|
144
|
+
keep-alive:
|
145
|
+
- timeout=5, max=99
|
146
|
+
connection:
|
147
|
+
- Keep-Alive
|
148
|
+
transfer-encoding:
|
149
|
+
- chunked
|
150
|
+
body:
|
151
|
+
encoding: UTF-8
|
152
|
+
string: "[]"
|
153
|
+
http_version:
|
154
|
+
recorded_at: Fri, 29 Apr 2016 11:03:35 GMT
|
155
|
+
- request:
|
156
|
+
method: post
|
157
|
+
uri: https://master.dev.nativ-systems.com/api/no-such-resource
|
158
|
+
body:
|
159
|
+
encoding: UTF-8
|
160
|
+
string: '{"name":"vcr resource storage","visibilityIds":[4],"pluginClass":"tv.nativ.mio.enterprise.resources.impl.capacity.storage.vfs.VFSStorageResource"}'
|
161
|
+
headers:
|
162
|
+
User-Agent:
|
163
|
+
- Faraday v0.9.2
|
164
|
+
Authorization:
|
165
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
166
|
+
Content-Type:
|
167
|
+
- application/vnd.nativ.mio.v1+json
|
168
|
+
response:
|
169
|
+
status:
|
170
|
+
code: 400
|
171
|
+
message:
|
172
|
+
headers:
|
173
|
+
date:
|
174
|
+
- Fri, 29 Apr 2016 11:04:49 GMT
|
175
|
+
server:
|
176
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
177
|
+
content-type:
|
178
|
+
- application/json
|
179
|
+
content-length:
|
180
|
+
- '385'
|
181
|
+
access-control-allow-origin:
|
182
|
+
- "*"
|
183
|
+
access-control-allow-methods:
|
184
|
+
- GET, POST, OPTIONS
|
185
|
+
access-control-allow-headers:
|
186
|
+
- origin, authorization, accept
|
187
|
+
access-control-allow-credentials:
|
188
|
+
- 'true'
|
189
|
+
connection:
|
190
|
+
- close
|
191
|
+
body:
|
192
|
+
encoding: UTF-8
|
193
|
+
string: |-
|
194
|
+
{
|
195
|
+
"errors" : {
|
196
|
+
"error" : "Unrecognized field \"visibilityIds\" (Class tv.nativ.mio.api.model.userdefinedobject.create.NewUserDefinedObject), not marked as ignorable\n at [Source: org.apache.catalina.connector.CoyoteInputStream@18553652; line: 1, column: 49] (through reference chain: tv.nativ.mio.api.model.userdefinedobject.create.NewUserDefinedObject[\"visibilityIds\"])"
|
197
|
+
}
|
198
|
+
}
|
199
|
+
http_version:
|
200
|
+
recorded_at: Fri, 29 Apr 2016 11:03:35 GMT
|
201
|
+
- request:
|
202
|
+
method: put
|
203
|
+
uri: https://master.dev.nativ-systems.com/api/no-such-resource/0/configuration
|
204
|
+
body:
|
205
|
+
encoding: UTF-8
|
206
|
+
string: '{"vfs-location":{"protocol":"S3","path":"/","key":"an-s3-key","secret":"an-s3-secret-key","bucket":"some-s3-bucket"}}'
|
207
|
+
headers:
|
208
|
+
User-Agent:
|
209
|
+
- Faraday v0.9.2
|
210
|
+
Authorization:
|
211
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
212
|
+
Content-Type:
|
213
|
+
- application/vnd.nativ.mio.v1+json
|
214
|
+
response:
|
215
|
+
status:
|
216
|
+
code: 404
|
217
|
+
message:
|
218
|
+
headers:
|
219
|
+
date:
|
220
|
+
- Fri, 29 Apr 2016 11:04:50 GMT
|
221
|
+
server:
|
222
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
223
|
+
pragma:
|
224
|
+
- No-cache
|
225
|
+
cache-control:
|
226
|
+
- no-cache
|
227
|
+
expires:
|
228
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
229
|
+
set-cookie:
|
230
|
+
- JSESSIONID=8glc8ddeyzStwKWoi6fdvue9.-201388908; Path=/api; Secure
|
231
|
+
content-type:
|
232
|
+
- text/html;charset=utf-8
|
233
|
+
content-length:
|
234
|
+
- '1380'
|
235
|
+
access-control-allow-origin:
|
236
|
+
- "*"
|
237
|
+
access-control-allow-methods:
|
238
|
+
- GET, POST, OPTIONS
|
239
|
+
access-control-allow-headers:
|
240
|
+
- origin, authorization, accept
|
241
|
+
access-control-allow-credentials:
|
242
|
+
- 'true'
|
243
|
+
keep-alive:
|
244
|
+
- timeout=5, max=100
|
245
|
+
connection:
|
246
|
+
- Keep-Alive
|
247
|
+
body:
|
248
|
+
encoding: UTF-8
|
249
|
+
string: '<html><head><title>JBoss Web/7.4.8.Final-redhat-4 - JBWEB000064: Error
|
250
|
+
report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
|
251
|
+
H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
|
252
|
+
H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
|
253
|
+
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
|
254
|
+
B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
|
255
|
+
P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
|
256
|
+
{color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>JBWEB000065:
|
257
|
+
HTTP Status 404 - Could not find resource for relative : /no-such-resource/0/configuration
|
258
|
+
of full path: https://master.dev.nativ-systems.com/api/no-such-resource/0/configuration</h1><HR
|
259
|
+
size="1" noshade="noshade"><p><b>JBWEB000309: type</b> JBWEB000067: Status
|
260
|
+
report</p><p><b>JBWEB000068: message</b> <u>Could not find resource for relative
|
261
|
+
: /no-such-resource/0/configuration of full path: https://master.dev.nativ-systems.com/api/no-such-resource/0/configuration</u></p><p><b>JBWEB000069:
|
262
|
+
description</b> <u>JBWEB000124: The requested resource is not available.</u></p><HR
|
263
|
+
size="1" noshade="noshade"><h3>JBoss Web/7.4.8.Final-redhat-4</h3></body></html>'
|
264
|
+
http_version:
|
265
|
+
recorded_at: Fri, 29 Apr 2016 11:03:35 GMT
|
266
|
+
- request:
|
267
|
+
method: get
|
268
|
+
uri: https://master.dev.nativ-systems.com/api/no-such-resource/0/actions
|
269
|
+
body:
|
270
|
+
encoding: US-ASCII
|
271
|
+
string: ''
|
272
|
+
headers:
|
273
|
+
User-Agent:
|
274
|
+
- Faraday v0.9.2
|
275
|
+
Authorization:
|
276
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
277
|
+
Content-Type:
|
278
|
+
- application/vnd.nativ.mio.v1+json
|
279
|
+
response:
|
280
|
+
status:
|
281
|
+
code: 500
|
282
|
+
message:
|
283
|
+
headers:
|
284
|
+
date:
|
285
|
+
- Fri, 29 Apr 2016 11:04:50 GMT
|
286
|
+
server:
|
287
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
288
|
+
content-type:
|
289
|
+
- application/json
|
290
|
+
content-length:
|
291
|
+
- '80'
|
292
|
+
access-control-allow-origin:
|
293
|
+
- "*"
|
294
|
+
access-control-allow-methods:
|
295
|
+
- GET, POST, OPTIONS
|
296
|
+
access-control-allow-headers:
|
297
|
+
- origin, authorization, accept
|
298
|
+
access-control-allow-credentials:
|
299
|
+
- 'true'
|
300
|
+
connection:
|
301
|
+
- close
|
302
|
+
body:
|
303
|
+
encoding: UTF-8
|
304
|
+
string: |-
|
305
|
+
{
|
306
|
+
"errors" : {
|
307
|
+
"error" : "Invalid Mio Object Type: no-such-resource"
|
308
|
+
}
|
309
|
+
}
|
310
|
+
http_version:
|
311
|
+
recorded_at: Fri, 29 Apr 2016 11:03:36 GMT
|
312
|
+
- request:
|
313
|
+
method: post
|
314
|
+
uri: https://master.dev.nativ-systems.com/api/resources
|
315
|
+
body:
|
316
|
+
encoding: UTF-8
|
317
|
+
string: '{"name":"vcr resource storage","visibilityIds":[4],"pluginClass":"tv.nativ.mio.enterprise.resources.impl.capacity.storage.vfs.VFSStorageResource"}'
|
318
|
+
headers:
|
319
|
+
User-Agent:
|
320
|
+
- Faraday v0.9.2
|
321
|
+
Authorization:
|
322
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
323
|
+
Content-Type:
|
324
|
+
- application/vnd.nativ.mio.v1+json
|
325
|
+
response:
|
326
|
+
status:
|
327
|
+
code: 201
|
328
|
+
message:
|
329
|
+
headers:
|
330
|
+
date:
|
331
|
+
- Fri, 29 Apr 2016 11:12:22 GMT
|
332
|
+
server:
|
333
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
334
|
+
set-cookie:
|
335
|
+
- JSESSIONID=7gfcjDKzQkFoY-cumF2P6dS4.-201388908; Path=/api; Secure
|
336
|
+
location:
|
337
|
+
- https://master.dev.nativ-systems.com/api/resources/11113
|
338
|
+
content-type:
|
339
|
+
- application/json
|
340
|
+
access-control-allow-origin:
|
341
|
+
- "*"
|
342
|
+
access-control-allow-methods:
|
343
|
+
- GET, POST, OPTIONS
|
344
|
+
access-control-allow-headers:
|
345
|
+
- origin, authorization, accept
|
346
|
+
access-control-allow-credentials:
|
347
|
+
- 'true'
|
348
|
+
keep-alive:
|
349
|
+
- timeout=5, max=100
|
350
|
+
connection:
|
351
|
+
- Keep-Alive
|
352
|
+
transfer-encoding:
|
353
|
+
- chunked
|
354
|
+
body:
|
355
|
+
encoding: UTF-8
|
356
|
+
string: '{"id":11113,"uuid":"fc4b0eea-c9f8-4103-8a47-5643ca94515e","name":"vcr
|
357
|
+
resource storage","displayName":"vcr resource storage","objectType":{"id":15,"name":"resource","href":"https://master.dev.nativ-systems.com/api/objectTypes/15","displayName":"Resource","pluralName":"Resources","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/resources/11113","enabled":false,"owner":"masteruser
|
358
|
+
masteruser","accountId":4}'
|
359
|
+
http_version:
|
360
|
+
recorded_at: Fri, 29 Apr 2016 11:11:09 GMT
|
361
|
+
- request:
|
362
|
+
method: put
|
363
|
+
uri: https://master.dev.nativ-systems.com/api/resources/11113/configuration
|
364
|
+
body:
|
365
|
+
encoding: UTF-8
|
366
|
+
string: '{"vfs-location":{"protocol":"S3","path":"/","key":"an-s3-key","secret":"an-s3-secret-key","bucket":"some-s3-bucket"}}'
|
367
|
+
headers:
|
368
|
+
User-Agent:
|
369
|
+
- Faraday v0.9.2
|
370
|
+
Authorization:
|
371
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
372
|
+
Content-Type:
|
373
|
+
- application/vnd.nativ.mio.v1+json
|
374
|
+
response:
|
375
|
+
status:
|
376
|
+
code: 200
|
377
|
+
message:
|
378
|
+
headers:
|
379
|
+
date:
|
380
|
+
- Fri, 29 Apr 2016 11:12:50 GMT
|
381
|
+
server:
|
382
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
383
|
+
pragma:
|
384
|
+
- No-cache
|
385
|
+
cache-control:
|
386
|
+
- no-cache
|
387
|
+
expires:
|
388
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
389
|
+
set-cookie:
|
390
|
+
- JSESSIONID=K2EPwUYo67vitMCq71BFmzly.-201388908; Path=/api; Secure
|
391
|
+
content-type:
|
392
|
+
- application/json
|
393
|
+
access-control-allow-origin:
|
394
|
+
- "*"
|
395
|
+
access-control-allow-methods:
|
396
|
+
- GET, POST, OPTIONS
|
397
|
+
access-control-allow-headers:
|
398
|
+
- origin, authorization, accept
|
399
|
+
access-control-allow-credentials:
|
400
|
+
- 'true'
|
401
|
+
keep-alive:
|
402
|
+
- timeout=5, max=100
|
403
|
+
connection:
|
404
|
+
- Keep-Alive
|
405
|
+
transfer-encoding:
|
406
|
+
- chunked
|
407
|
+
body:
|
408
|
+
encoding: UTF-8
|
409
|
+
string: '{"id":103286,"instance":{"vfs-location":{"protocol":"S3","path":"/","key":"an-s3-key","secret":"an-s3-secret-key","bucket":"some-s3-bucket"}},"definitionId":107063,"definition":[{"id":107064,"name":"vfs-location","displayName":"VFS
|
410
|
+
Location","description":"Details for a Virtual File System location","type":"vfs-location","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.resource.def.MioVFSLocationVariable$MioVFSLocationVariableHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107087,"name":"file-details-check","displayName":"File
|
411
|
+
Details Check","description":"Perform regular checks of file existence, size
|
412
|
+
and last modification time.","type":"complex","multiplicity":"0..1","searchable":false,"editable":true,"required":false,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107088,"name":"checking-interval","displayName":"Checking
|
413
|
+
Interval","description":"Minimum interval between file details checking.","type":"long","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":"text","format":"#","formatDescription":"#","validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":"duration","commentable":false,"isVisible":true,"preProcessors":[],"defaultValue":120000000}]}]}'
|
414
|
+
http_version:
|
415
|
+
recorded_at: Fri, 29 Apr 2016 11:11:36 GMT
|
416
|
+
- request:
|
417
|
+
method: get
|
418
|
+
uri: https://master.dev.nativ-systems.com/api/resources/11113/actions
|
419
|
+
body:
|
420
|
+
encoding: US-ASCII
|
421
|
+
string: ''
|
422
|
+
headers:
|
423
|
+
User-Agent:
|
424
|
+
- Faraday v0.9.2
|
425
|
+
Authorization:
|
426
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
427
|
+
Content-Type:
|
428
|
+
- application/vnd.nativ.mio.v1+json
|
429
|
+
response:
|
430
|
+
status:
|
431
|
+
code: 200
|
432
|
+
message:
|
433
|
+
headers:
|
434
|
+
date:
|
435
|
+
- Fri, 29 Apr 2016 11:12:50 GMT
|
436
|
+
server:
|
437
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
438
|
+
pragma:
|
439
|
+
- No-cache
|
440
|
+
cache-control:
|
441
|
+
- no-cache
|
442
|
+
expires:
|
443
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
444
|
+
set-cookie:
|
445
|
+
- JSESSIONID=JsMTJyjM8c18y6-5QFb46NFN.-201388908; Path=/api; Secure
|
446
|
+
content-type:
|
447
|
+
- application/json
|
448
|
+
access-control-allow-origin:
|
449
|
+
- "*"
|
450
|
+
access-control-allow-methods:
|
451
|
+
- GET, POST, OPTIONS
|
452
|
+
access-control-allow-headers:
|
453
|
+
- origin, authorization, accept
|
454
|
+
access-control-allow-credentials:
|
455
|
+
- 'true'
|
456
|
+
keep-alive:
|
457
|
+
- timeout=5, max=99
|
458
|
+
connection:
|
459
|
+
- Keep-Alive
|
460
|
+
transfer-encoding:
|
461
|
+
- chunked
|
462
|
+
body:
|
463
|
+
encoding: UTF-8
|
464
|
+
string: '[{"action":"delete"},{"action":"enable"}]'
|
465
|
+
http_version:
|
466
|
+
recorded_at: Fri, 29 Apr 2016 11:11:36 GMT
|
467
|
+
- request:
|
468
|
+
method: post
|
469
|
+
uri: https://master.dev.nativ-systems.com/api/resources/11113/actions
|
470
|
+
body:
|
471
|
+
encoding: UTF-8
|
472
|
+
string: '{"action":"enable"}'
|
473
|
+
headers:
|
474
|
+
User-Agent:
|
475
|
+
- Faraday v0.9.2
|
476
|
+
Authorization:
|
477
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
478
|
+
Content-Type:
|
479
|
+
- application/vnd.nativ.mio.v1+json
|
480
|
+
response:
|
481
|
+
status:
|
482
|
+
code: 200
|
483
|
+
message:
|
484
|
+
headers:
|
485
|
+
date:
|
486
|
+
- Fri, 29 Apr 2016 11:12:51 GMT
|
487
|
+
server:
|
488
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
489
|
+
set-cookie:
|
490
|
+
- JSESSIONID=Y0a0hXfOsTPiqPPsw7NJmrKD.-201388908; Path=/api; Secure
|
491
|
+
content-type:
|
492
|
+
- application/json
|
493
|
+
access-control-allow-origin:
|
494
|
+
- "*"
|
495
|
+
access-control-allow-methods:
|
496
|
+
- GET, POST, OPTIONS
|
497
|
+
access-control-allow-headers:
|
498
|
+
- origin, authorization, accept
|
499
|
+
access-control-allow-credentials:
|
500
|
+
- 'true'
|
501
|
+
keep-alive:
|
502
|
+
- timeout=5, max=98
|
503
|
+
connection:
|
504
|
+
- Keep-Alive
|
505
|
+
transfer-encoding:
|
506
|
+
- chunked
|
507
|
+
body:
|
508
|
+
encoding: UTF-8
|
509
|
+
string: '{"id":11113,"uuid":"fc4b0eea-c9f8-4103-8a47-5643ca94515e","name":"vcr
|
510
|
+
resource storage","displayName":"vcr resource storage","objectType":{"id":15,"name":"resource","href":"https://master.dev.nativ-systems.com/api/objectTypes/15","displayName":"Resource","pluralName":"Resources","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/resources/11113","owner":"masteruser
|
511
|
+
masteruser","accountId":4}'
|
512
|
+
http_version:
|
513
|
+
recorded_at: Fri, 29 Apr 2016 11:11:37 GMT
|
514
|
+
- request:
|
515
|
+
method: post
|
516
|
+
uri: https://master.dev.nativ-systems.com/api/actions
|
517
|
+
body:
|
518
|
+
encoding: UTF-8
|
519
|
+
string: '{"name":"Groovy Script Factory","pluginClass":"tv.nativ.mio.plugins.actions.script.GroovyScriptCommand","visibilityIds":[4],"type":"script","runRuleExpression":""}'
|
520
|
+
headers:
|
521
|
+
User-Agent:
|
522
|
+
- Faraday v0.9.2
|
523
|
+
Authorization:
|
524
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
525
|
+
Content-Type:
|
526
|
+
- application/vnd.nativ.mio.v1+json
|
527
|
+
response:
|
528
|
+
status:
|
529
|
+
code: 201
|
530
|
+
message:
|
531
|
+
headers:
|
532
|
+
date:
|
533
|
+
- Fri, 29 Apr 2016 11:24:58 GMT
|
534
|
+
server:
|
535
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
536
|
+
set-cookie:
|
537
|
+
- JSESSIONID=lv0rsN8OGVusVLngT7XTrJSX.-201388908; Path=/api; Secure
|
538
|
+
location:
|
539
|
+
- https://master.dev.nativ-systems.com/api/actions/11114
|
540
|
+
content-type:
|
541
|
+
- application/json
|
542
|
+
access-control-allow-origin:
|
543
|
+
- "*"
|
544
|
+
access-control-allow-methods:
|
545
|
+
- GET, POST, OPTIONS
|
546
|
+
access-control-allow-headers:
|
547
|
+
- origin, authorization, accept
|
548
|
+
access-control-allow-credentials:
|
549
|
+
- 'true'
|
550
|
+
keep-alive:
|
551
|
+
- timeout=5, max=99
|
552
|
+
connection:
|
553
|
+
- Keep-Alive
|
554
|
+
transfer-encoding:
|
555
|
+
- chunked
|
556
|
+
body:
|
557
|
+
encoding: UTF-8
|
558
|
+
string: '{"id":11114,"uuid":"72808cbc-eb29-49a7-a869-a5b42cb282fa","name":"Groovy
|
559
|
+
Script Factory","displayName":"Groovy Script Factory","objectType":{"id":18,"name":"action","href":"https://master.dev.nativ-systems.com/api/objectTypes/18","displayName":"Action","pluralName":"Actions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/actions/11114","enabled":false,"owner":"masteruser
|
560
|
+
masteruser","accountId":4}'
|
561
|
+
http_version:
|
562
|
+
recorded_at: Fri, 29 Apr 2016 11:23:44 GMT
|
563
|
+
- request:
|
564
|
+
method: put
|
565
|
+
uri: https://master.dev.nativ-systems.com/api/actions/11114/configuration
|
566
|
+
body:
|
567
|
+
encoding: UTF-8
|
568
|
+
string: '{"script-contents":{"script":"test script"},"imports":{"jar-url":[{"value":"file:///test/test/jar","isExpression":false},{"value":"file:///test/test/test.jar","isExpression":false}],"import":[{"value":"com.test.test.test","isExpression":false},{"value":"com.testing.testing.test","isExpression":false}]}}'
|
569
|
+
headers:
|
570
|
+
User-Agent:
|
571
|
+
- Faraday v0.9.2
|
572
|
+
Authorization:
|
573
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
574
|
+
Content-Type:
|
575
|
+
- application/vnd.nativ.mio.v1+json
|
576
|
+
response:
|
577
|
+
status:
|
578
|
+
code: 200
|
579
|
+
message:
|
580
|
+
headers:
|
581
|
+
date:
|
582
|
+
- Fri, 29 Apr 2016 11:24:59 GMT
|
583
|
+
server:
|
584
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
585
|
+
pragma:
|
586
|
+
- No-cache
|
587
|
+
cache-control:
|
588
|
+
- no-cache
|
589
|
+
expires:
|
590
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
591
|
+
set-cookie:
|
592
|
+
- JSESSIONID=pg1zCh0QfAP6vIcImYRIFwUO.-201388908; Path=/api; Secure
|
593
|
+
content-type:
|
594
|
+
- application/json
|
595
|
+
access-control-allow-origin:
|
596
|
+
- "*"
|
597
|
+
access-control-allow-methods:
|
598
|
+
- GET, POST, OPTIONS
|
599
|
+
access-control-allow-headers:
|
600
|
+
- origin, authorization, accept
|
601
|
+
access-control-allow-credentials:
|
602
|
+
- 'true'
|
603
|
+
keep-alive:
|
604
|
+
- timeout=5, max=98
|
605
|
+
connection:
|
606
|
+
- Keep-Alive
|
607
|
+
transfer-encoding:
|
608
|
+
- chunked
|
609
|
+
body:
|
610
|
+
encoding: UTF-8
|
611
|
+
string: '{"id":103302,"instance":{"script-contents":{"script":"test script"},"imports":{"jar-url":[{"value":"file:///test/test/jar","isExpression":false},{"value":"file:///test/test/test.jar","isExpression":false}],"import":[{"value":"com.test.test.test","isExpression":false},{"value":"com.testing.testing.test","isExpression":false}]}},"definitionId":107089,"definition":[{"id":107090,"name":"script-contents","displayName":"Script
|
612
|
+
Contents","description":null,"type":"complex","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107091,"name":"script","displayName":"Groovy
|
613
|
+
Script","description":"Script Content (create a method called execute())","type":"script","multiplicity":"0..1","searchable":false,"editable":true,"required":true,"formType":"textarea","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107092,"name":"script-file","displayName":"Groovy
|
614
|
+
Script File","description":"Groovy Script File (create a method called execute())","type":"file","multiplicity":"0..1","searchable":false,"editable":true,"required":false,"formType":"file","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.resource.def.MioFileVariable.FileValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]}]},{"id":107095,"name":"imports","displayName":"Script
|
615
|
+
Imports","description":null,"type":"complex","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107096,"name":"jar-url","displayName":"JAR
|
616
|
+
File URL","description":"Jar File URL to be imported into the script.","type":"string","multiplicity":"0..*","searchable":false,"editable":true,"required":true,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107097,"name":"import","displayName":"Script
|
617
|
+
Import","description":"Script import to use.","type":"string","multiplicity":"0..*","searchable":false,"editable":true,"required":true,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]}]}]}'
|
618
|
+
http_version:
|
619
|
+
recorded_at: Fri, 29 Apr 2016 11:23:45 GMT
|
620
|
+
- request:
|
621
|
+
method: post
|
622
|
+
uri: https://master.dev.nativ-systems.com/api/actions/11114/actions
|
623
|
+
body:
|
624
|
+
encoding: UTF-8
|
625
|
+
string: '{"action":"enable"}'
|
626
|
+
headers:
|
627
|
+
User-Agent:
|
628
|
+
- Faraday v0.9.2
|
629
|
+
Authorization:
|
630
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
631
|
+
Content-Type:
|
632
|
+
- application/vnd.nativ.mio.v1+json
|
633
|
+
response:
|
634
|
+
status:
|
635
|
+
code: 200
|
636
|
+
message:
|
637
|
+
headers:
|
638
|
+
date:
|
639
|
+
- Fri, 29 Apr 2016 11:25:00 GMT
|
640
|
+
server:
|
641
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
642
|
+
set-cookie:
|
643
|
+
- JSESSIONID=MDyWcRNmeghWPueeDz9Tgb3g.-201388908; Path=/api; Secure
|
644
|
+
content-type:
|
645
|
+
- application/json
|
646
|
+
access-control-allow-origin:
|
647
|
+
- "*"
|
648
|
+
access-control-allow-methods:
|
649
|
+
- GET, POST, OPTIONS
|
650
|
+
access-control-allow-headers:
|
651
|
+
- origin, authorization, accept
|
652
|
+
access-control-allow-credentials:
|
653
|
+
- 'true'
|
654
|
+
keep-alive:
|
655
|
+
- timeout=5, max=96
|
656
|
+
connection:
|
657
|
+
- Keep-Alive
|
658
|
+
transfer-encoding:
|
659
|
+
- chunked
|
660
|
+
body:
|
661
|
+
encoding: UTF-8
|
662
|
+
string: '{"id":11114,"uuid":"72808cbc-eb29-49a7-a869-a5b42cb282fa","name":"Groovy
|
663
|
+
Script Factory","displayName":"Groovy Script Factory","objectType":{"id":18,"name":"action","href":"https://master.dev.nativ-systems.com/api/objectTypes/18","displayName":"Action","pluralName":"Actions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/actions/11114","owner":"masteruser
|
664
|
+
masteruser","accountId":4}'
|
665
|
+
http_version:
|
666
|
+
recorded_at: Fri, 29 Apr 2016 11:23:45 GMT
|
667
|
+
- request:
|
668
|
+
method: get
|
669
|
+
uri: https://master.dev.nativ-systems.com/api/actions/11114/actions
|
670
|
+
body:
|
671
|
+
encoding: US-ASCII
|
672
|
+
string: ''
|
673
|
+
headers:
|
674
|
+
User-Agent:
|
675
|
+
- Faraday v0.9.2
|
676
|
+
Authorization:
|
677
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
678
|
+
Content-Type:
|
679
|
+
- application/vnd.nativ.mio.v1+json
|
680
|
+
response:
|
681
|
+
status:
|
682
|
+
code: 200
|
683
|
+
message:
|
684
|
+
headers:
|
685
|
+
date:
|
686
|
+
- Fri, 29 Apr 2016 11:25:00 GMT
|
687
|
+
server:
|
688
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
689
|
+
pragma:
|
690
|
+
- No-cache
|
691
|
+
cache-control:
|
692
|
+
- no-cache
|
693
|
+
expires:
|
694
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
695
|
+
set-cookie:
|
696
|
+
- JSESSIONID=9WWOmFt5iKqagiEP2pjp0JfU.-201388908; Path=/api; Secure
|
697
|
+
content-type:
|
698
|
+
- application/json
|
699
|
+
access-control-allow-origin:
|
700
|
+
- "*"
|
701
|
+
access-control-allow-methods:
|
702
|
+
- GET, POST, OPTIONS
|
703
|
+
access-control-allow-headers:
|
704
|
+
- origin, authorization, accept
|
705
|
+
access-control-allow-credentials:
|
706
|
+
- 'true'
|
707
|
+
keep-alive:
|
708
|
+
- timeout=5, max=95
|
709
|
+
connection:
|
710
|
+
- Keep-Alive
|
711
|
+
transfer-encoding:
|
712
|
+
- chunked
|
713
|
+
body:
|
714
|
+
encoding: UTF-8
|
715
|
+
string: '[{"action":"disable"}]'
|
716
|
+
http_version:
|
717
|
+
recorded_at: Fri, 29 Apr 2016 11:23:46 GMT
|
718
|
+
- request:
|
719
|
+
method: post
|
720
|
+
uri: https://master.dev.nativ-systems.com/api/actions
|
721
|
+
body:
|
722
|
+
encoding: UTF-8
|
723
|
+
string: '{"name":"A Test Groovy Wait Script","pluginClass":"tv.nativ.mio.plugins.actions.wait.ScriptedWaitCommand","visibilityIds":[4],"type":"script","runRuleExpression":""}'
|
724
|
+
headers:
|
725
|
+
User-Agent:
|
726
|
+
- Faraday v0.9.2
|
727
|
+
Authorization:
|
728
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
729
|
+
Content-Type:
|
730
|
+
- application/vnd.nativ.mio.v1+json
|
731
|
+
response:
|
732
|
+
status:
|
733
|
+
code: 201
|
734
|
+
message:
|
735
|
+
headers:
|
736
|
+
date:
|
737
|
+
- Fri, 29 Apr 2016 11:25:27 GMT
|
738
|
+
server:
|
739
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
740
|
+
set-cookie:
|
741
|
+
- JSESSIONID=pI6wJVgCodSdBMOcTnZCWUML.-201388908; Path=/api; Secure
|
742
|
+
location:
|
743
|
+
- https://master.dev.nativ-systems.com/api/actions/11115
|
744
|
+
content-type:
|
745
|
+
- application/json
|
746
|
+
access-control-allow-origin:
|
747
|
+
- "*"
|
748
|
+
access-control-allow-methods:
|
749
|
+
- GET, POST, OPTIONS
|
750
|
+
access-control-allow-headers:
|
751
|
+
- origin, authorization, accept
|
752
|
+
access-control-allow-credentials:
|
753
|
+
- 'true'
|
754
|
+
keep-alive:
|
755
|
+
- timeout=5, max=100
|
756
|
+
connection:
|
757
|
+
- Keep-Alive
|
758
|
+
transfer-encoding:
|
759
|
+
- chunked
|
760
|
+
body:
|
761
|
+
encoding: UTF-8
|
762
|
+
string: '{"id":11115,"uuid":"8855172e-31c8-4f7b-96fc-39619f14dbd6","name":"A
|
763
|
+
Test Groovy Wait Script","displayName":"A Test Groovy Wait Script","objectType":{"id":18,"name":"action","href":"https://master.dev.nativ-systems.com/api/objectTypes/18","displayName":"Action","pluralName":"Actions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/actions/11115","enabled":false,"owner":"masteruser
|
764
|
+
masteruser","accountId":4}'
|
765
|
+
http_version:
|
766
|
+
recorded_at: Fri, 29 Apr 2016 11:24:12 GMT
|
767
|
+
- request:
|
768
|
+
method: put
|
769
|
+
uri: https://master.dev.nativ-systems.com/api/actions/11115/configuration
|
770
|
+
body:
|
771
|
+
encoding: UTF-8
|
772
|
+
string: '{"script_type":{"script":"test script"},"imports":{"jar-url":[{"value":"file:///test/test/jar","isExpression":false},{"value":"file:///test/test/test.jar","isExpression":false}],"import":[{"value":"com.test.test.test","isExpression":false},{"value":"com.testing.testing.test","isExpression":false}]},"timeout":0,"polling-time-period":10}'
|
773
|
+
headers:
|
774
|
+
User-Agent:
|
775
|
+
- Faraday v0.9.2
|
776
|
+
Authorization:
|
777
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
778
|
+
Content-Type:
|
779
|
+
- application/vnd.nativ.mio.v1+json
|
780
|
+
response:
|
781
|
+
status:
|
782
|
+
code: 200
|
783
|
+
message:
|
784
|
+
headers:
|
785
|
+
date:
|
786
|
+
- Fri, 29 Apr 2016 11:25:27 GMT
|
787
|
+
server:
|
788
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
789
|
+
pragma:
|
790
|
+
- No-cache
|
791
|
+
cache-control:
|
792
|
+
- no-cache
|
793
|
+
expires:
|
794
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
795
|
+
set-cookie:
|
796
|
+
- JSESSIONID=70ihaz0HBaJgzEL4eqvlD9IO.-201388908; Path=/api; Secure
|
797
|
+
content-type:
|
798
|
+
- application/json
|
799
|
+
access-control-allow-origin:
|
800
|
+
- "*"
|
801
|
+
access-control-allow-methods:
|
802
|
+
- GET, POST, OPTIONS
|
803
|
+
access-control-allow-headers:
|
804
|
+
- origin, authorization, accept
|
805
|
+
access-control-allow-credentials:
|
806
|
+
- 'true'
|
807
|
+
keep-alive:
|
808
|
+
- timeout=5, max=99
|
809
|
+
connection:
|
810
|
+
- Keep-Alive
|
811
|
+
transfer-encoding:
|
812
|
+
- chunked
|
813
|
+
body:
|
814
|
+
encoding: UTF-8
|
815
|
+
string: '{"id":103310,"instance":{"script_type":{"script":"test script"},"imports":{"jar-url":[{"value":"file:///test/test/jar","isExpression":false},{"value":"file:///test/test/test.jar","isExpression":false}],"import":[{"value":"com.test.test.test","isExpression":false},{"value":"com.testing.testing.test","isExpression":false}]},"timeout":0,"polling-time-period":10},"definitionId":107098,"definition":[{"id":107099,"name":"script_type","displayName":"Script","description":null,"type":"complex","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107100,"name":"script","displayName":"Groovy
|
816
|
+
Script","description":"Script Content (execute() must return a boolean value)","type":"script","multiplicity":"0..1","searchable":false,"editable":true,"required":true,"formType":"textarea","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107101,"name":"script-file","displayName":"Groovy
|
817
|
+
Script File","description":"Groovy Script File (execute() must return a boolean
|
818
|
+
value)","type":"file","multiplicity":"0..1","searchable":false,"editable":true,"required":false,"formType":"file","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.resource.def.MioFileVariable.FileValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]}]},{"id":107104,"name":"imports","displayName":"Script
|
819
|
+
Imports","description":null,"type":"complex","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107105,"name":"jar-url","displayName":"JAR
|
820
|
+
File URL","description":"Jar File URL to be imported into the script.","type":"string","multiplicity":"0..*","searchable":false,"editable":true,"required":true,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107106,"name":"import","displayName":"Script
|
821
|
+
Import","description":"Script import to use.","type":"string","multiplicity":"0..*","searchable":false,"editable":true,"required":true,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]}]},{"id":107107,"name":"timeout","displayName":"Timeout","description":"Timeout
|
822
|
+
Period","type":"long","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":"text","format":"#","formatDescription":"#","validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":"duration","commentable":false,"isVisible":true,"preProcessors":[],"defaultValue":0},{"id":107108,"name":"polling-time-period","displayName":"Polling
|
823
|
+
Time Period","description":"Polling Time Period in seconds( >= 10s ).","type":"long","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":"text","format":"#","formatDescription":"#","validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":"duration","commentable":false,"isVisible":true,"preProcessors":[],"defaultValue":60000000}]}'
|
824
|
+
http_version:
|
825
|
+
recorded_at: Fri, 29 Apr 2016 11:24:13 GMT
|
826
|
+
- request:
|
827
|
+
method: get
|
828
|
+
uri: https://master.dev.nativ-systems.com/api/actions/11115/actions
|
829
|
+
body:
|
830
|
+
encoding: US-ASCII
|
831
|
+
string: ''
|
832
|
+
headers:
|
833
|
+
User-Agent:
|
834
|
+
- Faraday v0.9.2
|
835
|
+
Authorization:
|
836
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
837
|
+
Content-Type:
|
838
|
+
- application/vnd.nativ.mio.v1+json
|
839
|
+
response:
|
840
|
+
status:
|
841
|
+
code: 200
|
842
|
+
message:
|
843
|
+
headers:
|
844
|
+
date:
|
845
|
+
- Fri, 29 Apr 2016 11:25:28 GMT
|
846
|
+
server:
|
847
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
848
|
+
pragma:
|
849
|
+
- No-cache
|
850
|
+
cache-control:
|
851
|
+
- no-cache
|
852
|
+
expires:
|
853
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
854
|
+
set-cookie:
|
855
|
+
- JSESSIONID=4agpsUj7guTU+S2n8kXL7hCF.-201388908; Path=/api; Secure
|
856
|
+
content-type:
|
857
|
+
- application/json
|
858
|
+
access-control-allow-origin:
|
859
|
+
- "*"
|
860
|
+
access-control-allow-methods:
|
861
|
+
- GET, POST, OPTIONS
|
862
|
+
access-control-allow-headers:
|
863
|
+
- origin, authorization, accept
|
864
|
+
access-control-allow-credentials:
|
865
|
+
- 'true'
|
866
|
+
keep-alive:
|
867
|
+
- timeout=5, max=98
|
868
|
+
connection:
|
869
|
+
- Keep-Alive
|
870
|
+
transfer-encoding:
|
871
|
+
- chunked
|
872
|
+
body:
|
873
|
+
encoding: UTF-8
|
874
|
+
string: '[{"action":"delete"},{"action":"enable"}]'
|
875
|
+
http_version:
|
876
|
+
recorded_at: Fri, 29 Apr 2016 11:24:13 GMT
|
877
|
+
- request:
|
878
|
+
method: post
|
879
|
+
uri: https://master.dev.nativ-systems.com/api/actions/11115/actions
|
880
|
+
body:
|
881
|
+
encoding: UTF-8
|
882
|
+
string: '{"action":"enable"}'
|
883
|
+
headers:
|
884
|
+
User-Agent:
|
885
|
+
- Faraday v0.9.2
|
886
|
+
Authorization:
|
887
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
888
|
+
Content-Type:
|
889
|
+
- application/vnd.nativ.mio.v1+json
|
890
|
+
response:
|
891
|
+
status:
|
892
|
+
code: 200
|
893
|
+
message:
|
894
|
+
headers:
|
895
|
+
date:
|
896
|
+
- Fri, 29 Apr 2016 11:25:28 GMT
|
897
|
+
server:
|
898
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
899
|
+
set-cookie:
|
900
|
+
- JSESSIONID=cXB0Hyo6mQ0QZ94wkcYo-hG8.-201388908; Path=/api; Secure
|
901
|
+
content-type:
|
902
|
+
- application/json
|
903
|
+
access-control-allow-origin:
|
904
|
+
- "*"
|
905
|
+
access-control-allow-methods:
|
906
|
+
- GET, POST, OPTIONS
|
907
|
+
access-control-allow-headers:
|
908
|
+
- origin, authorization, accept
|
909
|
+
access-control-allow-credentials:
|
910
|
+
- 'true'
|
911
|
+
keep-alive:
|
912
|
+
- timeout=5, max=97
|
913
|
+
connection:
|
914
|
+
- Keep-Alive
|
915
|
+
transfer-encoding:
|
916
|
+
- chunked
|
917
|
+
body:
|
918
|
+
encoding: UTF-8
|
919
|
+
string: '{"id":11115,"uuid":"8855172e-31c8-4f7b-96fc-39619f14dbd6","name":"A
|
920
|
+
Test Groovy Wait Script","displayName":"A Test Groovy Wait Script","objectType":{"id":18,"name":"action","href":"https://master.dev.nativ-systems.com/api/objectTypes/18","displayName":"Action","pluralName":"Actions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/actions/11115","owner":"masteruser
|
921
|
+
masteruser","accountId":4}'
|
922
|
+
http_version:
|
923
|
+
recorded_at: Fri, 29 Apr 2016 11:24:14 GMT
|
924
|
+
- request:
|
925
|
+
method: post
|
926
|
+
uri: https://master.dev.nativ-systems.com/api/resources
|
927
|
+
body:
|
928
|
+
encoding: UTF-8
|
929
|
+
string: '{"name":"Hotfolder Factory","pluginClass":"tv.nativ.mio.enterprise.resources.impl.capacity.folder.hotfolder.MioHotFolderResource","visibilityIds":[4]}'
|
930
|
+
headers:
|
931
|
+
User-Agent:
|
932
|
+
- Faraday v0.9.2
|
933
|
+
Authorization:
|
934
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
935
|
+
Content-Type:
|
936
|
+
- application/vnd.nativ.mio.v1+json
|
937
|
+
response:
|
938
|
+
status:
|
939
|
+
code: 201
|
940
|
+
message:
|
941
|
+
headers:
|
942
|
+
date:
|
943
|
+
- Fri, 29 Apr 2016 11:25:38 GMT
|
944
|
+
server:
|
945
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
946
|
+
set-cookie:
|
947
|
+
- JSESSIONID=ch9lsJkHdsPHPdeFeTHKylFb.-201388908; Path=/api; Secure
|
948
|
+
location:
|
949
|
+
- https://master.dev.nativ-systems.com/api/resources/11116
|
950
|
+
content-type:
|
951
|
+
- application/json
|
952
|
+
access-control-allow-origin:
|
953
|
+
- "*"
|
954
|
+
access-control-allow-methods:
|
955
|
+
- GET, POST, OPTIONS
|
956
|
+
access-control-allow-headers:
|
957
|
+
- origin, authorization, accept
|
958
|
+
access-control-allow-credentials:
|
959
|
+
- 'true'
|
960
|
+
keep-alive:
|
961
|
+
- timeout=5, max=100
|
962
|
+
connection:
|
963
|
+
- Keep-Alive
|
964
|
+
transfer-encoding:
|
965
|
+
- chunked
|
966
|
+
body:
|
967
|
+
encoding: UTF-8
|
968
|
+
string: '{"id":11116,"uuid":"981e82bd-06cc-434d-8e95-1bc9b77d51a4","name":"Hotfolder
|
969
|
+
Factory","displayName":"Hotfolder Factory","objectType":{"id":15,"name":"resource","href":"https://master.dev.nativ-systems.com/api/objectTypes/15","displayName":"Resource","pluralName":"Resources","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/resources/11116","enabled":false,"owner":"masteruser
|
970
|
+
masteruser","accountId":4}'
|
971
|
+
http_version:
|
972
|
+
recorded_at: Fri, 29 Apr 2016 11:24:24 GMT
|
973
|
+
- request:
|
974
|
+
method: post
|
975
|
+
uri: https://master.dev.nativ-systems.com/api/resources
|
976
|
+
body:
|
977
|
+
encoding: UTF-8
|
978
|
+
string: '{"name":"S3 Bucket Factory","pluginClass":"tv.nativ.mio.enterprise.resources.impl.capacity.storage.vfs.VFSStorageResource","visibilityIds":[4]}'
|
979
|
+
headers:
|
980
|
+
User-Agent:
|
981
|
+
- Faraday v0.9.2
|
982
|
+
Authorization:
|
983
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
984
|
+
Content-Type:
|
985
|
+
- application/vnd.nativ.mio.v1+json
|
986
|
+
response:
|
987
|
+
status:
|
988
|
+
code: 201
|
989
|
+
message:
|
990
|
+
headers:
|
991
|
+
date:
|
992
|
+
- Fri, 29 Apr 2016 11:25:53 GMT
|
993
|
+
server:
|
994
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
995
|
+
set-cookie:
|
996
|
+
- JSESSIONID=egKEpprS67v680YwAX77xcLn.-201388908; Path=/api; Secure
|
997
|
+
location:
|
998
|
+
- https://master.dev.nativ-systems.com/api/resources/11117
|
999
|
+
content-type:
|
1000
|
+
- application/json
|
1001
|
+
access-control-allow-origin:
|
1002
|
+
- "*"
|
1003
|
+
access-control-allow-methods:
|
1004
|
+
- GET, POST, OPTIONS
|
1005
|
+
access-control-allow-headers:
|
1006
|
+
- origin, authorization, accept
|
1007
|
+
access-control-allow-credentials:
|
1008
|
+
- 'true'
|
1009
|
+
keep-alive:
|
1010
|
+
- timeout=5, max=100
|
1011
|
+
connection:
|
1012
|
+
- Keep-Alive
|
1013
|
+
transfer-encoding:
|
1014
|
+
- chunked
|
1015
|
+
body:
|
1016
|
+
encoding: UTF-8
|
1017
|
+
string: '{"id":11117,"uuid":"acbdb174-37db-44e6-a17c-dc50ccf884ba","name":"S3
|
1018
|
+
Bucket Factory","displayName":"S3 Bucket Factory","objectType":{"id":15,"name":"resource","href":"https://master.dev.nativ-systems.com/api/objectTypes/15","displayName":"Resource","pluralName":"Resources","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/resources/11117","enabled":false,"owner":"masteruser
|
1019
|
+
masteruser","accountId":4}'
|
1020
|
+
http_version:
|
1021
|
+
recorded_at: Fri, 29 Apr 2016 11:24:39 GMT
|
1022
|
+
- request:
|
1023
|
+
method: put
|
1024
|
+
uri: https://master.dev.nativ-systems.com/api/resources/11117/configuration
|
1025
|
+
body:
|
1026
|
+
encoding: UTF-8
|
1027
|
+
string: '{"vfs-location":{"protocol":"S3","path":"/","key":"some_s3_key","secret":"some_s3_secret","bucket":"some_faked_s3_bucket"}}'
|
1028
|
+
headers:
|
1029
|
+
User-Agent:
|
1030
|
+
- Faraday v0.9.2
|
1031
|
+
Authorization:
|
1032
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
1033
|
+
Content-Type:
|
1034
|
+
- application/vnd.nativ.mio.v1+json
|
1035
|
+
response:
|
1036
|
+
status:
|
1037
|
+
code: 200
|
1038
|
+
message:
|
1039
|
+
headers:
|
1040
|
+
date:
|
1041
|
+
- Fri, 29 Apr 2016 11:25:54 GMT
|
1042
|
+
server:
|
1043
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
1044
|
+
pragma:
|
1045
|
+
- No-cache
|
1046
|
+
cache-control:
|
1047
|
+
- no-cache
|
1048
|
+
expires:
|
1049
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
1050
|
+
set-cookie:
|
1051
|
+
- JSESSIONID=okxkP9JaAVE210UZcz+-hkow.-201388908; Path=/api; Secure
|
1052
|
+
content-type:
|
1053
|
+
- application/json
|
1054
|
+
access-control-allow-origin:
|
1055
|
+
- "*"
|
1056
|
+
access-control-allow-methods:
|
1057
|
+
- GET, POST, OPTIONS
|
1058
|
+
access-control-allow-headers:
|
1059
|
+
- origin, authorization, accept
|
1060
|
+
access-control-allow-credentials:
|
1061
|
+
- 'true'
|
1062
|
+
keep-alive:
|
1063
|
+
- timeout=5, max=99
|
1064
|
+
connection:
|
1065
|
+
- Keep-Alive
|
1066
|
+
transfer-encoding:
|
1067
|
+
- chunked
|
1068
|
+
body:
|
1069
|
+
encoding: UTF-8
|
1070
|
+
string: '{"id":103335,"instance":{"vfs-location":{"protocol":"S3","path":"/","key":"some_s3_key","secret":"some_s3_secret","bucket":"some_faked_s3_bucket"}},"definitionId":107124,"definition":[{"id":107125,"name":"vfs-location","displayName":"VFS
|
1071
|
+
Location","description":"Details for a Virtual File System location","type":"vfs-location","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.resource.def.MioVFSLocationVariable$MioVFSLocationVariableHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107148,"name":"file-details-check","displayName":"File
|
1072
|
+
Details Check","description":"Perform regular checks of file existence, size
|
1073
|
+
and last modification time.","type":"complex","multiplicity":"0..1","searchable":false,"editable":true,"required":false,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107149,"name":"checking-interval","displayName":"Checking
|
1074
|
+
Interval","description":"Minimum interval between file details checking.","type":"long","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":"text","format":"#","formatDescription":"#","validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":"duration","commentable":false,"isVisible":true,"preProcessors":[],"defaultValue":120000000}]}]}'
|
1075
|
+
http_version:
|
1076
|
+
recorded_at: Fri, 29 Apr 2016 11:24:41 GMT
|
1077
|
+
- request:
|
1078
|
+
method: get
|
1079
|
+
uri: https://master.dev.nativ-systems.com/api/resources/11117/actions
|
1080
|
+
body:
|
1081
|
+
encoding: US-ASCII
|
1082
|
+
string: ''
|
1083
|
+
headers:
|
1084
|
+
User-Agent:
|
1085
|
+
- Faraday v0.9.2
|
1086
|
+
Authorization:
|
1087
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
1088
|
+
Content-Type:
|
1089
|
+
- application/vnd.nativ.mio.v1+json
|
1090
|
+
response:
|
1091
|
+
status:
|
1092
|
+
code: 200
|
1093
|
+
message:
|
1094
|
+
headers:
|
1095
|
+
date:
|
1096
|
+
- Fri, 29 Apr 2016 11:25:55 GMT
|
1097
|
+
server:
|
1098
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
1099
|
+
pragma:
|
1100
|
+
- No-cache
|
1101
|
+
cache-control:
|
1102
|
+
- no-cache
|
1103
|
+
expires:
|
1104
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
1105
|
+
set-cookie:
|
1106
|
+
- JSESSIONID=d4l0WDB5O32le819Qxm7umM-.-201388908; Path=/api; Secure
|
1107
|
+
content-type:
|
1108
|
+
- application/json
|
1109
|
+
access-control-allow-origin:
|
1110
|
+
- "*"
|
1111
|
+
access-control-allow-methods:
|
1112
|
+
- GET, POST, OPTIONS
|
1113
|
+
access-control-allow-headers:
|
1114
|
+
- origin, authorization, accept
|
1115
|
+
access-control-allow-credentials:
|
1116
|
+
- 'true'
|
1117
|
+
keep-alive:
|
1118
|
+
- timeout=5, max=98
|
1119
|
+
connection:
|
1120
|
+
- Keep-Alive
|
1121
|
+
transfer-encoding:
|
1122
|
+
- chunked
|
1123
|
+
body:
|
1124
|
+
encoding: UTF-8
|
1125
|
+
string: '[{"action":"delete"},{"action":"enable"}]'
|
1126
|
+
http_version:
|
1127
|
+
recorded_at: Fri, 29 Apr 2016 11:24:41 GMT
|
1128
|
+
- request:
|
1129
|
+
method: post
|
1130
|
+
uri: https://master.dev.nativ-systems.com/api/resources/11117/actions
|
1131
|
+
body:
|
1132
|
+
encoding: UTF-8
|
1133
|
+
string: '{"action":"enable"}'
|
1134
|
+
headers:
|
1135
|
+
User-Agent:
|
1136
|
+
- Faraday v0.9.2
|
1137
|
+
Authorization:
|
1138
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
1139
|
+
Content-Type:
|
1140
|
+
- application/vnd.nativ.mio.v1+json
|
1141
|
+
response:
|
1142
|
+
status:
|
1143
|
+
code: 200
|
1144
|
+
message:
|
1145
|
+
headers:
|
1146
|
+
date:
|
1147
|
+
- Fri, 29 Apr 2016 11:25:56 GMT
|
1148
|
+
server:
|
1149
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
1150
|
+
set-cookie:
|
1151
|
+
- JSESSIONID=wDbNZUxU087PZCPkeZuD0CJY.-201388908; Path=/api; Secure
|
1152
|
+
content-type:
|
1153
|
+
- application/json
|
1154
|
+
access-control-allow-origin:
|
1155
|
+
- "*"
|
1156
|
+
access-control-allow-methods:
|
1157
|
+
- GET, POST, OPTIONS
|
1158
|
+
access-control-allow-headers:
|
1159
|
+
- origin, authorization, accept
|
1160
|
+
access-control-allow-credentials:
|
1161
|
+
- 'true'
|
1162
|
+
keep-alive:
|
1163
|
+
- timeout=5, max=97
|
1164
|
+
connection:
|
1165
|
+
- Keep-Alive
|
1166
|
+
transfer-encoding:
|
1167
|
+
- chunked
|
1168
|
+
body:
|
1169
|
+
encoding: UTF-8
|
1170
|
+
string: '{"id":11117,"uuid":"acbdb174-37db-44e6-a17c-dc50ccf884ba","name":"S3
|
1171
|
+
Bucket Factory","displayName":"S3 Bucket Factory","objectType":{"id":15,"name":"resource","href":"https://master.dev.nativ-systems.com/api/objectTypes/15","displayName":"Resource","pluralName":"Resources","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/resources/11117","owner":"masteruser
|
1172
|
+
masteruser","accountId":4}'
|
1173
|
+
http_version:
|
1174
|
+
recorded_at: Fri, 29 Apr 2016 11:24:43 GMT
|
1175
|
+
- request:
|
1176
|
+
method: post
|
1177
|
+
uri: https://master.dev.nativ-systems.com/api/workflowDefinitions
|
1178
|
+
body:
|
1179
|
+
encoding: UTF-8
|
1180
|
+
string: '{"name":"Workflow","visibilityIds":[4]}'
|
1181
|
+
headers:
|
1182
|
+
User-Agent:
|
1183
|
+
- Faraday v0.9.2
|
1184
|
+
Authorization:
|
1185
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
1186
|
+
Content-Type:
|
1187
|
+
- application/vnd.nativ.mio.v1+json
|
1188
|
+
response:
|
1189
|
+
status:
|
1190
|
+
code: 201
|
1191
|
+
message:
|
1192
|
+
headers:
|
1193
|
+
date:
|
1194
|
+
- Fri, 29 Apr 2016 11:28:31 GMT
|
1195
|
+
server:
|
1196
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
1197
|
+
set-cookie:
|
1198
|
+
- JSESSIONID=ZpTnmS2K9fTrRGblC+iWtTsH.-201388908; Path=/api; Secure
|
1199
|
+
location:
|
1200
|
+
- https://master.dev.nativ-systems.com/api/workflowDefinitions/11118
|
1201
|
+
content-type:
|
1202
|
+
- application/json
|
1203
|
+
access-control-allow-origin:
|
1204
|
+
- "*"
|
1205
|
+
access-control-allow-methods:
|
1206
|
+
- GET, POST, OPTIONS
|
1207
|
+
access-control-allow-headers:
|
1208
|
+
- origin, authorization, accept
|
1209
|
+
access-control-allow-credentials:
|
1210
|
+
- 'true'
|
1211
|
+
keep-alive:
|
1212
|
+
- timeout=5, max=99
|
1213
|
+
connection:
|
1214
|
+
- Keep-Alive
|
1215
|
+
transfer-encoding:
|
1216
|
+
- chunked
|
1217
|
+
body:
|
1218
|
+
encoding: UTF-8
|
1219
|
+
string: '{"id":11118,"uuid":"08f08d75-03d5-4b25-b212-da0ce39ff75e","name":"Workflow","displayName":"Workflow","objectType":{"id":11,"name":"workflow-definition","href":"https://master.dev.nativ-systems.com/api/objectTypes/11","displayName":"Workflow
|
1220
|
+
Definition","pluralName":"Workflow Definitions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/workflowDefinitions/11118","enabled":false,"owner":"masteruser
|
1221
|
+
masteruser","accountId":4}'
|
1222
|
+
http_version:
|
1223
|
+
recorded_at: Fri, 29 Apr 2016 11:27:17 GMT
|
1224
|
+
- request:
|
1225
|
+
method: get
|
1226
|
+
uri: https://master.dev.nativ-systems.com/api/actions
|
1227
|
+
body:
|
1228
|
+
encoding: US-ASCII
|
1229
|
+
string: ''
|
1230
|
+
headers:
|
1231
|
+
User-Agent:
|
1232
|
+
- Faraday v0.9.2
|
1233
|
+
Authorization:
|
1234
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
1235
|
+
Content-Type:
|
1236
|
+
- application/vnd.nativ.mio.v1+json
|
1237
|
+
response:
|
1238
|
+
status:
|
1239
|
+
code: 200
|
1240
|
+
message:
|
1241
|
+
headers:
|
1242
|
+
date:
|
1243
|
+
- Fri, 29 Apr 2016 11:39:00 GMT
|
1244
|
+
server:
|
1245
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
1246
|
+
pragma:
|
1247
|
+
- No-cache
|
1248
|
+
cache-control:
|
1249
|
+
- no-cache
|
1250
|
+
expires:
|
1251
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
1252
|
+
set-cookie:
|
1253
|
+
- JSESSIONID=gvrvgeDF2B5vwig3VRXNcL77.-201388908; Path=/api; Secure
|
1254
|
+
content-type:
|
1255
|
+
- application/json
|
1256
|
+
access-control-allow-origin:
|
1257
|
+
- "*"
|
1258
|
+
access-control-allow-methods:
|
1259
|
+
- GET, POST, OPTIONS
|
1260
|
+
access-control-allow-headers:
|
1261
|
+
- origin, authorization, accept
|
1262
|
+
access-control-allow-credentials:
|
1263
|
+
- 'true'
|
1264
|
+
keep-alive:
|
1265
|
+
- timeout=5, max=97
|
1266
|
+
connection:
|
1267
|
+
- Keep-Alive
|
1268
|
+
transfer-encoding:
|
1269
|
+
- chunked
|
1270
|
+
body:
|
1271
|
+
encoding: UTF-8
|
1272
|
+
string: '{"actions":[{"id":11114,"uuid":"72808cbc-eb29-49a7-a869-a5b42cb282fa","name":"Groovy
|
1273
|
+
Script Factory","displayName":"Groovy Script Factory","objectType":{"id":18,"name":"action","href":"https://master.dev.nativ-systems.com/api/objectTypes/18","displayName":"Action","pluralName":"Actions","userDefined":false},"enabled":true,"deleted":false,"href":"https://master.dev.nativ-systems.com/api/actions/11114","type":{"id":42,"name":"script","displayName":"Script","href":"https://master.dev.nativ-systems.com/api/actionTypes/42","category":"Workflow"},"pluginClass":"tv.nativ.mio.plugins.actions.script.GroovyScriptCommand","runRuleExpression":"","icons":{"small":"https://master.dev.nativ-systems.com:443/images/icons/small/script.png","normal":"https://master.dev.nativ-systems.com:443/images/icons/normal/script.png","medium":"https://master.dev.nativ-systems.com:443/images/icons/medium/script.png","large":"https://master.dev.nativ-systems.com:443/images/icons/giant/script.png"},"created":"29
|
1274
|
+
Apr 2016 11:23:04 +0000","lastModified":"29 Apr 2016 11:23:05 +0000","visibility":[{"id":4,"name":"Master
|
1275
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1276
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1277
|
+
masteruser","accountId":4}],"owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1278
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"account":{"id":4,"name":"Master
|
1279
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1280
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1281
|
+
masteruser","accountId":4},"revision":"1-2249385d5c7676c70fce5009bf9c3c30352f88fa"},{"id":11115,"uuid":"8855172e-31c8-4f7b-96fc-39619f14dbd6","name":"A
|
1282
|
+
Test Groovy Wait Script","displayName":"A Test Groovy Wait Script","objectType":{"id":18,"name":"action","href":"https://master.dev.nativ-systems.com/api/objectTypes/18","displayName":"Action","pluralName":"Actions","userDefined":false},"enabled":true,"deleted":false,"href":"https://master.dev.nativ-systems.com/api/actions/11115","type":{"id":42,"name":"script","displayName":"Script","href":"https://master.dev.nativ-systems.com/api/actionTypes/42","category":"Workflow"},"pluginClass":"tv.nativ.mio.plugins.actions.wait.ScriptedWaitCommand","runRuleExpression":"","icons":{"small":"https://master.dev.nativ-systems.com:443/images/icons/small/script.png","normal":"https://master.dev.nativ-systems.com:443/images/icons/normal/script.png","medium":"https://master.dev.nativ-systems.com:443/images/icons/medium/script.png","large":"https://master.dev.nativ-systems.com:443/images/icons/giant/script.png"},"created":"29
|
1283
|
+
Apr 2016 11:23:32 +0000","lastModified":"29 Apr 2016 11:23:34 +0000","visibility":[{"id":4,"name":"Master
|
1284
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1285
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1286
|
+
masteruser","accountId":4}],"owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1287
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"account":{"id":4,"name":"Master
|
1288
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1289
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1290
|
+
masteruser","accountId":4},"revision":"1-1b9f25183af5010981b8ff0278cbde1c7f6120da"}],"totalCount":2,"offset":0,"limit":100}'
|
1291
|
+
http_version:
|
1292
|
+
recorded_at: Fri, 29 Apr 2016 11:37:46 GMT
|
1293
|
+
- request:
|
1294
|
+
method: put
|
1295
|
+
uri: https://master.dev.nativ-systems.com/api/workflowDefinitions/11118/structure
|
1296
|
+
body:
|
1297
|
+
encoding: UTF-8
|
1298
|
+
string: '{"nodes":[{"id":456,"name":"End 1","path":"/e","layout":{"width":120,"height":45,"x":100,"y":100}},{"id":123,"name":"Start
|
1299
|
+
1","path":"/s","layout":{"width":120,"height":45,"x":320,"y":100}}],"transitions":[],"width":900,"height":1024}'
|
1300
|
+
headers:
|
1301
|
+
User-Agent:
|
1302
|
+
- Faraday v0.9.2
|
1303
|
+
Authorization:
|
1304
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
1305
|
+
Content-Type:
|
1306
|
+
- application/vnd.nativ.mio.v1+json
|
1307
|
+
response:
|
1308
|
+
status:
|
1309
|
+
code: 500
|
1310
|
+
message:
|
1311
|
+
headers:
|
1312
|
+
date:
|
1313
|
+
- Fri, 29 Apr 2016 11:39:16 GMT
|
1314
|
+
server:
|
1315
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
1316
|
+
content-type:
|
1317
|
+
- text/html;charset=utf-8
|
1318
|
+
content-length:
|
1319
|
+
- '4785'
|
1320
|
+
access-control-allow-origin:
|
1321
|
+
- "*"
|
1322
|
+
access-control-allow-methods:
|
1323
|
+
- GET, POST, OPTIONS
|
1324
|
+
access-control-allow-headers:
|
1325
|
+
- origin, authorization, accept
|
1326
|
+
access-control-allow-credentials:
|
1327
|
+
- 'true'
|
1328
|
+
connection:
|
1329
|
+
- close
|
1330
|
+
body:
|
1331
|
+
encoding: UTF-8
|
1332
|
+
string: "<html><head><title>JBoss Web/7.4.8.Final-redhat-4 - JBWEB000064: Error
|
1333
|
+
report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
|
1334
|
+
H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
|
1335
|
+
H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
|
1336
|
+
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
|
1337
|
+
B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
|
1338
|
+
P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
|
1339
|
+
{color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>JBWEB000065:
|
1340
|
+
HTTP Status 500 - java.lang.NullPointerException</h1><HR size=\"1\" noshade=\"noshade\"><p><b>JBWEB000309:
|
1341
|
+
type</b> JBWEB000066: Exception report</p><p><b>JBWEB000068: message</b> <u>java.lang.NullPointerException</u></p><p><b>JBWEB000069:
|
1342
|
+
description</b> <u>JBWEB000145: The server encountered an internal error that
|
1343
|
+
prevented it from fulfilling this request.</u></p><p><b>JBWEB000070: exception</b>
|
1344
|
+
<pre>org.jboss.resteasy.spi.UnhandledException: java.lang.NullPointerException\n\torg.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:365)\n\torg.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:233)\n\torg.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:209)\n\torg.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:557)\n\torg.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:524)\n\torg.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:126)\n\torg.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)\n\torg.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)\n\torg.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)\n\tjavax.servlet.http.HttpServlet.service(HttpServlet.java:847)\n\ttv.nativ.mio.api.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:83)\n\ttv.nativ.mio.api.filter.JSONPRequestFilter.doFilter(JSONPRequestFilter.java:67)\n\torg.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:124)\n\ttv.nativ.mio.api.filter.MioRestContextFilter.doFilter(MioRestContextFilter.java:36)\n</pre></p><p><b>JBWEB000071:
|
1345
|
+
root cause</b> <pre>java.lang.NullPointerException\n\ttv.nativ.mio.api.helper.workflow.WorkflowStructureReader.addNode(WorkflowStructureReader.java:130)\n\ttv.nativ.mio.api.helper.workflow.WorkflowStructureReader.addNodes(WorkflowStructureReader.java:109)\n\ttv.nativ.mio.api.helper.workflow.WorkflowStructureReader.buildProcessDefinition(WorkflowStructureReader.java:93)\n\ttv.nativ.mio.api.helper.workflow.WorkflowStructureReader.read(WorkflowStructureReader.java:51)\n\ttv.nativ.mio.api.services.WorkflowDefinitionServiceImpl.setStructure(WorkflowDefinitionServiceImpl.java:306)\n\tsun.reflect.GeneratedMethodAccessor1663.invoke(Unknown
|
1346
|
+
Source)\n\tsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tjava.lang.reflect.Method.invoke(Method.java:606)\n\torg.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:167)\n\torg.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269)\n\torg.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227)\n\torg.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216)\n\torg.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:542)\n\torg.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:524)\n\torg.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:126)\n\torg.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)\n\torg.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)\n\torg.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)\n\tjavax.servlet.http.HttpServlet.service(HttpServlet.java:847)\n\ttv.nativ.mio.api.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:83)\n\ttv.nativ.mio.api.filter.JSONPRequestFilter.doFilter(JSONPRequestFilter.java:67)\n\torg.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:124)\n\ttv.nativ.mio.api.filter.MioRestContextFilter.doFilter(MioRestContextFilter.java:36)\n</pre></p><p><b>JBWEB000072:
|
1347
|
+
note</b> <u>JBWEB000073: The full stack trace of the root cause is available
|
1348
|
+
in the JBoss Web/7.4.8.Final-redhat-4 logs.</u></p><HR size=\"1\" noshade=\"noshade\"><h3>JBoss
|
1349
|
+
Web/7.4.8.Final-redhat-4</h3></body></html>"
|
1350
|
+
http_version:
|
1351
|
+
recorded_at: Fri, 29 Apr 2016 11:38:02 GMT
|
1352
|
+
- request:
|
1353
|
+
method: put
|
1354
|
+
uri: https://master.dev.nativ-systems.com/api/workflowDefinitions/11118/structure
|
1355
|
+
body:
|
1356
|
+
encoding: UTF-8
|
1357
|
+
string: '{"nodes":[{"name":"End 1","path":"/e","type":"END","layout":{"width":120,"height":45,"x":100,"y":100}},{"name":"Start
|
1358
|
+
1","path":"/s","type":"START","layout":{"width":120,"height":45,"x":320,"y":100}}],"transitions":[],"width":900,"height":1024}'
|
1359
|
+
headers:
|
1360
|
+
User-Agent:
|
1361
|
+
- Faraday v0.9.2
|
1362
|
+
Authorization:
|
1363
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
1364
|
+
Content-Type:
|
1365
|
+
- application/vnd.nativ.mio.v1+json
|
1366
|
+
response:
|
1367
|
+
status:
|
1368
|
+
code: 200
|
1369
|
+
message:
|
1370
|
+
headers:
|
1371
|
+
date:
|
1372
|
+
- Fri, 29 Apr 2016 11:49:11 GMT
|
1373
|
+
server:
|
1374
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
1375
|
+
pragma:
|
1376
|
+
- No-cache
|
1377
|
+
cache-control:
|
1378
|
+
- no-cache
|
1379
|
+
expires:
|
1380
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
1381
|
+
set-cookie:
|
1382
|
+
- JSESSIONID=FFUPoMY5BCPH3dtCJL2nDHwu.-201388908; Path=/api; Secure
|
1383
|
+
content-type:
|
1384
|
+
- application/json
|
1385
|
+
access-control-allow-origin:
|
1386
|
+
- "*"
|
1387
|
+
access-control-allow-methods:
|
1388
|
+
- GET, POST, OPTIONS
|
1389
|
+
access-control-allow-headers:
|
1390
|
+
- origin, authorization, accept
|
1391
|
+
access-control-allow-credentials:
|
1392
|
+
- 'true'
|
1393
|
+
keep-alive:
|
1394
|
+
- timeout=5, max=97
|
1395
|
+
connection:
|
1396
|
+
- Keep-Alive
|
1397
|
+
transfer-encoding:
|
1398
|
+
- chunked
|
1399
|
+
body:
|
1400
|
+
encoding: UTF-8
|
1401
|
+
string: '{"name":"Workflow","version":1,"width":900,"height":1024,"nodes":[{"id":101844,"name":"End
|
1402
|
+
1","path":"/End 1","type":"END","layout":{"width":120,"height":45,"x":100,"y":100}},{"id":101845,"name":"Start
|
1403
|
+
1","path":"/Start 1","type":"START","layout":{"width":120,"height":45,"x":320,"y":100}}],"transitions":[],"image":"/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcG\r\nBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwM\r\nDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAEsASwDASIA\r\nAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA\r\nAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3\r\nODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm\r\np6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA\r\nAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx\r\nBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK\r\nU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3\r\nuLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD9/KKK\r\nKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoooo\r\nAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigA\r\nooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACi\r\niigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKK\r\nKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoooo\r\nAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigA\r\nooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACi\r\niigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKK\r\nKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoooo\r\nAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigA\r\nooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACi\r\niigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKK\r\nKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoooo\r\nAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigA\r\nooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACi\r\niigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKK\r\nKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoooo\r\nAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigA\r\nooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACi\r\niigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKK\r\nKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoooo\r\nAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigA\r\nooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACi\r\niigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKK\r\nKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoooo\r\nAKKKKACiiigAooooAKKKKAP/2Q==\r\n"}'
|
1404
|
+
http_version:
|
1405
|
+
recorded_at: Fri, 29 Apr 2016 11:47:57 GMT
|
1406
|
+
- request:
|
1407
|
+
method: put
|
1408
|
+
uri: https://master.dev.nativ-systems.com/api/workflowDefinitions/11118/structure
|
1409
|
+
body:
|
1410
|
+
encoding: UTF-8
|
1411
|
+
string: '{"nodes":[{"name":"End 1","path":"/e","type":"END","layout":{"width":120,"height":45,"x":100,"y":100}},{"name":"Start
|
1412
|
+
1","path":"/s","type":"START","layout":{"width":120,"height":45,"x":320,"y":100}}],"transitions":[{"name":null,"from":{"id":101845,"name":"Start
|
1413
|
+
1","path":"/Start 1"},"to":{"id":101844,"name":"End 1","path":"/End 1"}}],"width":900,"height":1024}'
|
1414
|
+
headers:
|
1415
|
+
User-Agent:
|
1416
|
+
- Faraday v0.9.2
|
1417
|
+
Authorization:
|
1418
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
1419
|
+
Content-Type:
|
1420
|
+
- application/vnd.nativ.mio.v1+json
|
1421
|
+
response:
|
1422
|
+
status:
|
1423
|
+
code: 200
|
1424
|
+
message:
|
1425
|
+
headers:
|
1426
|
+
date:
|
1427
|
+
- Fri, 29 Apr 2016 11:49:12 GMT
|
1428
|
+
server:
|
1429
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
1430
|
+
pragma:
|
1431
|
+
- No-cache
|
1432
|
+
cache-control:
|
1433
|
+
- no-cache
|
1434
|
+
expires:
|
1435
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
1436
|
+
set-cookie:
|
1437
|
+
- JSESSIONID=CDa3emptpmFAQ+g8kr9cJf3T.-201388908; Path=/api; Secure
|
1438
|
+
content-type:
|
1439
|
+
- application/json
|
1440
|
+
access-control-allow-origin:
|
1441
|
+
- "*"
|
1442
|
+
access-control-allow-methods:
|
1443
|
+
- GET, POST, OPTIONS
|
1444
|
+
access-control-allow-headers:
|
1445
|
+
- origin, authorization, accept
|
1446
|
+
access-control-allow-credentials:
|
1447
|
+
- 'true'
|
1448
|
+
keep-alive:
|
1449
|
+
- timeout=5, max=96
|
1450
|
+
connection:
|
1451
|
+
- Keep-Alive
|
1452
|
+
transfer-encoding:
|
1453
|
+
- chunked
|
1454
|
+
body:
|
1455
|
+
encoding: UTF-8
|
1456
|
+
string: '{"name":"Workflow","version":2,"width":900,"height":1024,"nodes":[{"id":101846,"name":"End
|
1457
|
+
1","path":"/End 1","type":"END","layout":{"width":120,"height":45,"x":100,"y":100}},{"id":101847,"name":"Start
|
1458
|
+
1","path":"/Start 1","type":"START","layout":{"width":120,"height":45,"x":320,"y":100}}],"transitions":[{"id":101414,"name":null,"description":null,"from":{"id":101847,"name":"Start
|
1459
|
+
1","path":"/Start 1"},"to":{"id":101846,"name":"End 1","path":"/End 1"},"layout":{"labelX":null,"labelY":null,"bendPoints":[]}}],"image":"/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcG\r\nBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwM\r\nDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAEsASwDASIA\r\nAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA\r\nAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3\r\nODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm\r\np6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA\r\nAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx\r\nBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK\r\nU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3\r\nuLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD9/KKK\r\nKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoooo\r\nAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigA\r\nooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACi\r\niigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKK\r\nKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoooo\r\nAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigA\r\nooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACi\r\niigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKK\r\nKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoooo\r\nAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigA\r\nooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACi\r\niigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKK\r\nKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoooo\r\nAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigA\r\nooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACi\r\niigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKK\r\nKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoooo\r\nAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigA\r\nooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACi\r\niigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKK\r\nKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoooo\r\nAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigA\r\nooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACi\r\niigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKK\r\nKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoooo\r\nAKKKKACiiigAooooAKKKKAP/2Q==\r\n"}'
|
1460
|
+
http_version:
|
1461
|
+
recorded_at: Fri, 29 Apr 2016 11:47:58 GMT
|
1462
|
+
- request:
|
1463
|
+
method: get
|
1464
|
+
uri: https://master.dev.nativ-systems.com/api/workflowDefinitions/11118/actions
|
1465
|
+
body:
|
1466
|
+
encoding: US-ASCII
|
1467
|
+
string: ''
|
1468
|
+
headers:
|
1469
|
+
User-Agent:
|
1470
|
+
- Faraday v0.9.2
|
1471
|
+
Authorization:
|
1472
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
1473
|
+
Content-Type:
|
1474
|
+
- application/vnd.nativ.mio.v1+json
|
1475
|
+
response:
|
1476
|
+
status:
|
1477
|
+
code: 200
|
1478
|
+
message:
|
1479
|
+
headers:
|
1480
|
+
date:
|
1481
|
+
- Fri, 29 Apr 2016 11:49:12 GMT
|
1482
|
+
server:
|
1483
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
1484
|
+
pragma:
|
1485
|
+
- No-cache
|
1486
|
+
cache-control:
|
1487
|
+
- no-cache
|
1488
|
+
expires:
|
1489
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
1490
|
+
set-cookie:
|
1491
|
+
- JSESSIONID=2WDGw74Xf-JdUdBdwU+j+Oln.-201388908; Path=/api; Secure
|
1492
|
+
content-type:
|
1493
|
+
- application/json
|
1494
|
+
access-control-allow-origin:
|
1495
|
+
- "*"
|
1496
|
+
access-control-allow-methods:
|
1497
|
+
- GET, POST, OPTIONS
|
1498
|
+
access-control-allow-headers:
|
1499
|
+
- origin, authorization, accept
|
1500
|
+
access-control-allow-credentials:
|
1501
|
+
- 'true'
|
1502
|
+
keep-alive:
|
1503
|
+
- timeout=5, max=95
|
1504
|
+
connection:
|
1505
|
+
- Keep-Alive
|
1506
|
+
transfer-encoding:
|
1507
|
+
- chunked
|
1508
|
+
body:
|
1509
|
+
encoding: UTF-8
|
1510
|
+
string: '[{"action":"delete"},{"action":"enable"}]'
|
1511
|
+
http_version:
|
1512
|
+
recorded_at: Fri, 29 Apr 2016 11:47:58 GMT
|
1513
|
+
- request:
|
1514
|
+
method: post
|
1515
|
+
uri: https://master.dev.nativ-systems.com/api/workflowDefinitions/11118/actions
|
1516
|
+
body:
|
1517
|
+
encoding: UTF-8
|
1518
|
+
string: '{"action":"enable"}'
|
1519
|
+
headers:
|
1520
|
+
User-Agent:
|
1521
|
+
- Faraday v0.9.2
|
1522
|
+
Authorization:
|
1523
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
1524
|
+
Content-Type:
|
1525
|
+
- application/vnd.nativ.mio.v1+json
|
1526
|
+
response:
|
1527
|
+
status:
|
1528
|
+
code: 200
|
1529
|
+
message:
|
1530
|
+
headers:
|
1531
|
+
date:
|
1532
|
+
- Fri, 29 Apr 2016 11:49:13 GMT
|
1533
|
+
server:
|
1534
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
1535
|
+
set-cookie:
|
1536
|
+
- JSESSIONID=RSkjO6J7J2XoK+NK4r2e81an.-201388908; Path=/api; Secure
|
1537
|
+
content-type:
|
1538
|
+
- application/json
|
1539
|
+
access-control-allow-origin:
|
1540
|
+
- "*"
|
1541
|
+
access-control-allow-methods:
|
1542
|
+
- GET, POST, OPTIONS
|
1543
|
+
access-control-allow-headers:
|
1544
|
+
- origin, authorization, accept
|
1545
|
+
access-control-allow-credentials:
|
1546
|
+
- 'true'
|
1547
|
+
keep-alive:
|
1548
|
+
- timeout=5, max=94
|
1549
|
+
connection:
|
1550
|
+
- Keep-Alive
|
1551
|
+
transfer-encoding:
|
1552
|
+
- chunked
|
1553
|
+
body:
|
1554
|
+
encoding: UTF-8
|
1555
|
+
string: '{"id":11118,"uuid":"08f08d75-03d5-4b25-b212-da0ce39ff75e","name":"Workflow","displayName":"Workflow","objectType":{"id":11,"name":"workflow-definition","href":"https://master.dev.nativ-systems.com/api/objectTypes/11","displayName":"Workflow
|
1556
|
+
Definition","pluralName":"Workflow Definitions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/workflowDefinitions/11118","owner":"masteruser
|
1557
|
+
masteruser","accountId":4}'
|
1558
|
+
http_version:
|
1559
|
+
recorded_at: Fri, 29 Apr 2016 11:47:58 GMT
|
1560
|
+
- request:
|
1561
|
+
method: get
|
1562
|
+
uri: https://master.dev.nativ-systems.com/api/workflows
|
1563
|
+
body:
|
1564
|
+
encoding: US-ASCII
|
1565
|
+
string: ''
|
1566
|
+
headers:
|
1567
|
+
User-Agent:
|
1568
|
+
- Faraday v0.9.2
|
1569
|
+
Authorization:
|
1570
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
1571
|
+
Content-Type:
|
1572
|
+
- application/vnd.nativ.mio.v1+json
|
1573
|
+
response:
|
1574
|
+
status:
|
1575
|
+
code: 200
|
1576
|
+
message:
|
1577
|
+
headers:
|
1578
|
+
date:
|
1579
|
+
- Fri, 29 Apr 2016 11:49:29 GMT
|
1580
|
+
server:
|
1581
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
1582
|
+
pragma:
|
1583
|
+
- No-cache
|
1584
|
+
cache-control:
|
1585
|
+
- no-cache
|
1586
|
+
expires:
|
1587
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
1588
|
+
set-cookie:
|
1589
|
+
- JSESSIONID=Z5j4b5zbfJjkr2HsjQziErmJ.-201388908; Path=/api; Secure
|
1590
|
+
content-type:
|
1591
|
+
- application/json
|
1592
|
+
access-control-allow-origin:
|
1593
|
+
- "*"
|
1594
|
+
access-control-allow-methods:
|
1595
|
+
- GET, POST, OPTIONS
|
1596
|
+
access-control-allow-headers:
|
1597
|
+
- origin, authorization, accept
|
1598
|
+
access-control-allow-credentials:
|
1599
|
+
- 'true'
|
1600
|
+
keep-alive:
|
1601
|
+
- timeout=5, max=94
|
1602
|
+
connection:
|
1603
|
+
- Keep-Alive
|
1604
|
+
transfer-encoding:
|
1605
|
+
- chunked
|
1606
|
+
body:
|
1607
|
+
encoding: UTF-8
|
1608
|
+
string: '{"workflows":[{"id":10971,"name":"complete migration workflow test","displayName":"complete
|
1609
|
+
migration workflow test","objectType":{"id":7,"name":"workflow","href":"https://master.dev.nativ-systems.com/api/objectTypes/7","displayName":"Workflow","pluralName":"Workflows","userDefined":false},"deleted":false,"href":"https://master.dev.nativ-systems.com/api/workflows/10971","status":"Failed,
|
1610
|
+
Cancelled","priority":"Normal","running":false,"ended":false,"cancelled":true,"cancelling":false,"failed":true,"start":"13
|
1611
|
+
Apr 2016 13:07:27 +0000","end":"26 Apr 2016 13:57:19 +0000","owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1612
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"definition":{"id":11053,"uuid":"d6dc69b0-a672-4973-8e82-c6b485baf0fb","name":"complete
|
1613
|
+
migration workflow test","displayName":"complete migration workflow test","objectType":{"id":11,"name":"workflow-definition","href":"https://master.dev.nativ-systems.com/api/objectTypes/11","displayName":"Workflow
|
1614
|
+
Definition","pluralName":"Workflow Definitions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/workflowDefinitions/11053","enabled":false,"deleted":true,"owner":"masteruser
|
1615
|
+
masteruser","accountId":4},"definitionVersion":32,"created":"13 Apr 2016 13:07:27
|
1616
|
+
+0000","lastModified":"26 Apr 2016 13:57:19 +0000","account":{"id":4,"name":"Master
|
1617
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1618
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1619
|
+
masteruser","accountId":4},"workspace":{"id":3,"name":"Master Account","objectType":{"id":30,"name":"account-workspace","href":"https://master.dev.nativ-systems.com/api/objectTypes/30","displayName":"Account
|
1620
|
+
Workspace","pluralName":"Account Workspaces","userDefined":false},"owner":"masteruser
|
1621
|
+
masteruser","accountId":4}},{"id":10925,"name":"Import Jizz","displayName":"Import
|
1622
|
+
Jizz","objectType":{"id":7,"name":"workflow","href":"https://master.dev.nativ-systems.com/api/objectTypes/7","displayName":"Workflow","pluralName":"Workflows","userDefined":false},"deleted":false,"href":"https://master.dev.nativ-systems.com/api/workflows/10925","status":"Running","priority":"Normal","running":true,"ended":false,"cancelled":false,"cancelling":false,"failed":false,"start":"15
|
1623
|
+
Mar 2016 16:58:18 +0000","end":null,"owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1624
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"definition":{"id":10104,"uuid":"f4e57201-d0cc-44e4-a5fd-e5b9445f7c3a","name":"Import
|
1625
|
+
Jizz","displayName":"Import Jizz","objectType":{"id":11,"name":"workflow-definition","href":"https://master.dev.nativ-systems.com/api/objectTypes/11","displayName":"Workflow
|
1626
|
+
Definition","pluralName":"Workflow Definitions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/workflowDefinitions/10104","enabled":false,"deleted":true,"owner":"masteruser
|
1627
|
+
masteruser","accountId":4},"definitionVersion":2,"created":"15 Mar 2016 16:58:18
|
1628
|
+
+0000","lastModified":"15 Mar 2016 16:58:26 +0000","account":{"id":4,"name":"Master
|
1629
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1630
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1631
|
+
masteruser","accountId":4},"workspace":{"id":3,"name":"Master Account","objectType":{"id":30,"name":"account-workspace","href":"https://master.dev.nativ-systems.com/api/objectTypes/30","displayName":"Account
|
1632
|
+
Workspace","pluralName":"Account Workspaces","userDefined":false},"owner":"masteruser
|
1633
|
+
masteruser","accountId":4}},{"id":10922,"name":"Import Jizz","displayName":"Import
|
1634
|
+
Jizz","objectType":{"id":7,"name":"workflow","href":"https://master.dev.nativ-systems.com/api/objectTypes/7","displayName":"Workflow","pluralName":"Workflows","userDefined":false},"deleted":false,"href":"https://master.dev.nativ-systems.com/api/workflows/10922","status":"Running","priority":"Normal","running":true,"ended":false,"cancelled":false,"cancelling":false,"failed":false,"start":"15
|
1635
|
+
Mar 2016 16:56:14 +0000","end":null,"owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1636
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"definition":{"id":10104,"uuid":"f4e57201-d0cc-44e4-a5fd-e5b9445f7c3a","name":"Import
|
1637
|
+
Jizz","displayName":"Import Jizz","objectType":{"id":11,"name":"workflow-definition","href":"https://master.dev.nativ-systems.com/api/objectTypes/11","displayName":"Workflow
|
1638
|
+
Definition","pluralName":"Workflow Definitions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/workflowDefinitions/10104","enabled":false,"deleted":true,"owner":"masteruser
|
1639
|
+
masteruser","accountId":4},"definitionVersion":2,"created":"15 Mar 2016 16:56:14
|
1640
|
+
+0000","lastModified":"15 Mar 2016 16:56:20 +0000","account":{"id":4,"name":"Master
|
1641
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1642
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1643
|
+
masteruser","accountId":4},"workspace":{"id":3,"name":"Master Account","objectType":{"id":30,"name":"account-workspace","href":"https://master.dev.nativ-systems.com/api/objectTypes/30","displayName":"Account
|
1644
|
+
Workspace","pluralName":"Account Workspaces","userDefined":false},"owner":"masteruser
|
1645
|
+
masteruser","accountId":4}},{"id":10918,"name":"Import Jizz","displayName":"Import
|
1646
|
+
Jizz","objectType":{"id":7,"name":"workflow","href":"https://master.dev.nativ-systems.com/api/objectTypes/7","displayName":"Workflow","pluralName":"Workflows","userDefined":false},"deleted":false,"href":"https://master.dev.nativ-systems.com/api/workflows/10918","status":"Completed","priority":"Normal","running":false,"ended":true,"cancelled":false,"cancelling":false,"failed":false,"start":"15
|
1647
|
+
Mar 2016 16:43:06 +0000","end":"15 Mar 2016 16:47:24 +0000","owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1648
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"definition":{"id":10104,"uuid":"f4e57201-d0cc-44e4-a5fd-e5b9445f7c3a","name":"Import
|
1649
|
+
Jizz","displayName":"Import Jizz","objectType":{"id":11,"name":"workflow-definition","href":"https://master.dev.nativ-systems.com/api/objectTypes/11","displayName":"Workflow
|
1650
|
+
Definition","pluralName":"Workflow Definitions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/workflowDefinitions/10104","enabled":false,"deleted":true,"owner":"masteruser
|
1651
|
+
masteruser","accountId":4},"definitionVersion":2,"asset":{"id":10815,"name":"proxy","displayName":"proxy","type":"Media
|
1652
|
+
Asset","href":"https://master.dev.nativ-systems.com/api/assets/10815","creationContext":"Proxy","accountId":4,"workspaceId":3},"created":"15
|
1653
|
+
Mar 2016 16:43:06 +0000","lastModified":"15 Mar 2016 16:47:24 +0000","account":{"id":4,"name":"Master
|
1654
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1655
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1656
|
+
masteruser","accountId":4},"workspace":{"id":3,"name":"Master Account","objectType":{"id":30,"name":"account-workspace","href":"https://master.dev.nativ-systems.com/api/objectTypes/30","displayName":"Account
|
1657
|
+
Workspace","pluralName":"Account Workspaces","userDefined":false},"owner":"masteruser
|
1658
|
+
masteruser","accountId":4}},{"id":10915,"name":"Import Jizz","displayName":"Import
|
1659
|
+
Jizz","objectType":{"id":7,"name":"workflow","href":"https://master.dev.nativ-systems.com/api/objectTypes/7","displayName":"Workflow","pluralName":"Workflows","userDefined":false},"deleted":false,"href":"https://master.dev.nativ-systems.com/api/workflows/10915","status":"Cancelled","priority":"Normal","running":false,"ended":false,"cancelled":true,"cancelling":false,"failed":false,"start":"15
|
1660
|
+
Mar 2016 16:31:59 +0000","end":"15 Mar 2016 16:37:16 +0000","owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1661
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"definition":{"id":10104,"uuid":"f4e57201-d0cc-44e4-a5fd-e5b9445f7c3a","name":"Import
|
1662
|
+
Jizz","displayName":"Import Jizz","objectType":{"id":11,"name":"workflow-definition","href":"https://master.dev.nativ-systems.com/api/objectTypes/11","displayName":"Workflow
|
1663
|
+
Definition","pluralName":"Workflow Definitions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/workflowDefinitions/10104","enabled":false,"deleted":true,"owner":"masteruser
|
1664
|
+
masteruser","accountId":4},"definitionVersion":2,"created":"15 Mar 2016 16:31:59
|
1665
|
+
+0000","lastModified":"15 Mar 2016 16:37:16 +0000","account":{"id":4,"name":"Master
|
1666
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1667
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1668
|
+
masteruser","accountId":4},"workspace":{"id":3,"name":"Master Account","objectType":{"id":30,"name":"account-workspace","href":"https://master.dev.nativ-systems.com/api/objectTypes/30","displayName":"Account
|
1669
|
+
Workspace","pluralName":"Account Workspaces","userDefined":false},"owner":"masteruser
|
1670
|
+
masteruser","accountId":4}},{"id":10912,"name":"Import Jizz","displayName":"Import
|
1671
|
+
Jizz","objectType":{"id":7,"name":"workflow","href":"https://master.dev.nativ-systems.com/api/objectTypes/7","displayName":"Workflow","pluralName":"Workflows","userDefined":false},"deleted":false,"href":"https://master.dev.nativ-systems.com/api/workflows/10912","status":"Cancelled","priority":"Normal","running":false,"ended":false,"cancelled":true,"cancelling":false,"failed":false,"start":"15
|
1672
|
+
Mar 2016 16:27:57 +0000","end":"15 Mar 2016 16:28:41 +0000","owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1673
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"definition":{"id":10104,"uuid":"f4e57201-d0cc-44e4-a5fd-e5b9445f7c3a","name":"Import
|
1674
|
+
Jizz","displayName":"Import Jizz","objectType":{"id":11,"name":"workflow-definition","href":"https://master.dev.nativ-systems.com/api/objectTypes/11","displayName":"Workflow
|
1675
|
+
Definition","pluralName":"Workflow Definitions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/workflowDefinitions/10104","enabled":false,"deleted":true,"owner":"masteruser
|
1676
|
+
masteruser","accountId":4},"definitionVersion":2,"created":"15 Mar 2016 16:27:57
|
1677
|
+
+0000","lastModified":"15 Mar 2016 16:28:41 +0000","account":{"id":4,"name":"Master
|
1678
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1679
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1680
|
+
masteruser","accountId":4},"workspace":{"id":3,"name":"Master Account","objectType":{"id":30,"name":"account-workspace","href":"https://master.dev.nativ-systems.com/api/objectTypes/30","displayName":"Account
|
1681
|
+
Workspace","pluralName":"Account Workspaces","userDefined":false},"owner":"masteruser
|
1682
|
+
masteruser","accountId":4}},{"id":10908,"name":"Import Jizz","displayName":"Import
|
1683
|
+
Jizz","objectType":{"id":7,"name":"workflow","href":"https://master.dev.nativ-systems.com/api/objectTypes/7","displayName":"Workflow","pluralName":"Workflows","userDefined":false},"deleted":false,"href":"https://master.dev.nativ-systems.com/api/workflows/10908","status":"Cancelled","priority":"Normal","running":false,"ended":false,"cancelled":true,"cancelling":false,"failed":false,"start":"15
|
1684
|
+
Mar 2016 16:07:47 +0000","end":"15 Mar 2016 16:25:42 +0000","owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1685
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"definition":{"id":10104,"uuid":"f4e57201-d0cc-44e4-a5fd-e5b9445f7c3a","name":"Import
|
1686
|
+
Jizz","displayName":"Import Jizz","objectType":{"id":11,"name":"workflow-definition","href":"https://master.dev.nativ-systems.com/api/objectTypes/11","displayName":"Workflow
|
1687
|
+
Definition","pluralName":"Workflow Definitions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/workflowDefinitions/10104","enabled":false,"deleted":true,"owner":"masteruser
|
1688
|
+
masteruser","accountId":4},"definitionVersion":2,"created":"15 Mar 2016 16:07:47
|
1689
|
+
+0000","lastModified":"15 Mar 2016 16:25:42 +0000","account":{"id":4,"name":"Master
|
1690
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1691
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1692
|
+
masteruser","accountId":4},"workspace":{"id":3,"name":"Master Account","objectType":{"id":30,"name":"account-workspace","href":"https://master.dev.nativ-systems.com/api/objectTypes/30","displayName":"Account
|
1693
|
+
Workspace","pluralName":"Account Workspaces","userDefined":false},"owner":"masteruser
|
1694
|
+
masteruser","accountId":4}},{"id":10820,"name":"Import Jizz","displayName":"Import
|
1695
|
+
Jizz","objectType":{"id":7,"name":"workflow","href":"https://master.dev.nativ-systems.com/api/objectTypes/7","displayName":"Workflow","pluralName":"Workflows","userDefined":false},"deleted":false,"href":"https://master.dev.nativ-systems.com/api/workflows/10820","status":"Failed,
|
1696
|
+
Cancelled","priority":"Normal","running":false,"ended":false,"cancelled":true,"cancelling":false,"failed":true,"start":"13
|
1697
|
+
Apr 2016 13:07:41 +0000","end":"26 Apr 2016 13:55:13 +0000","owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1698
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"definition":{"id":10104,"uuid":"f4e57201-d0cc-44e4-a5fd-e5b9445f7c3a","name":"Import
|
1699
|
+
Jizz","displayName":"Import Jizz","objectType":{"id":11,"name":"workflow-definition","href":"https://master.dev.nativ-systems.com/api/objectTypes/11","displayName":"Workflow
|
1700
|
+
Definition","pluralName":"Workflow Definitions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/workflowDefinitions/10104","enabled":false,"deleted":true,"owner":"masteruser
|
1701
|
+
masteruser","accountId":4},"definitionVersion":2,"created":"13 Apr 2016 13:07:41
|
1702
|
+
+0000","lastModified":"26 Apr 2016 13:57:19 +0000","account":{"id":4,"name":"Master
|
1703
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1704
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1705
|
+
masteruser","accountId":4},"workspace":{"id":3,"name":"Master Account","objectType":{"id":30,"name":"account-workspace","href":"https://master.dev.nativ-systems.com/api/objectTypes/30","displayName":"Account
|
1706
|
+
Workspace","pluralName":"Account Workspaces","userDefined":false},"owner":"masteruser
|
1707
|
+
masteruser","accountId":4}},{"id":10514,"name":"Import Jizz","displayName":"Import
|
1708
|
+
Jizz","objectType":{"id":7,"name":"workflow","href":"https://master.dev.nativ-systems.com/api/objectTypes/7","displayName":"Workflow","pluralName":"Workflows","userDefined":false},"deleted":false,"href":"https://master.dev.nativ-systems.com/api/workflows/10514","status":"Cancelled","priority":"Normal","running":false,"ended":false,"cancelled":true,"cancelling":false,"failed":false,"start":"15
|
1709
|
+
Mar 2016 15:41:27 +0000","end":"15 Mar 2016 16:01:13 +0000","owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1710
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"definition":{"id":10104,"uuid":"f4e57201-d0cc-44e4-a5fd-e5b9445f7c3a","name":"Import
|
1711
|
+
Jizz","displayName":"Import Jizz","objectType":{"id":11,"name":"workflow-definition","href":"https://master.dev.nativ-systems.com/api/objectTypes/11","displayName":"Workflow
|
1712
|
+
Definition","pluralName":"Workflow Definitions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/workflowDefinitions/10104","enabled":false,"deleted":true,"owner":"masteruser
|
1713
|
+
masteruser","accountId":4},"definitionVersion":2,"created":"15 Mar 2016 15:41:27
|
1714
|
+
+0000","lastModified":"15 Mar 2016 16:01:13 +0000","account":{"id":4,"name":"Master
|
1715
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1716
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1717
|
+
masteruser","accountId":4},"workspace":{"id":3,"name":"Master Account","objectType":{"id":30,"name":"account-workspace","href":"https://master.dev.nativ-systems.com/api/objectTypes/30","displayName":"Account
|
1718
|
+
Workspace","pluralName":"Account Workspaces","userDefined":false},"owner":"masteruser
|
1719
|
+
masteruser","accountId":4}},{"id":10512,"name":"Import Jizz","displayName":"Import
|
1720
|
+
Jizz","objectType":{"id":7,"name":"workflow","href":"https://master.dev.nativ-systems.com/api/objectTypes/7","displayName":"Workflow","pluralName":"Workflows","userDefined":false},"deleted":false,"href":"https://master.dev.nativ-systems.com/api/workflows/10512","status":"Failed,
|
1721
|
+
Cancelled","priority":"Normal","running":false,"ended":false,"cancelled":true,"cancelling":false,"failed":true,"start":"15
|
1722
|
+
Mar 2016 15:23:20 +0000","end":"15 Mar 2016 15:39:20 +0000","owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1723
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"definition":{"id":10104,"uuid":"f4e57201-d0cc-44e4-a5fd-e5b9445f7c3a","name":"Import
|
1724
|
+
Jizz","displayName":"Import Jizz","objectType":{"id":11,"name":"workflow-definition","href":"https://master.dev.nativ-systems.com/api/objectTypes/11","displayName":"Workflow
|
1725
|
+
Definition","pluralName":"Workflow Definitions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/workflowDefinitions/10104","enabled":false,"deleted":true,"owner":"masteruser
|
1726
|
+
masteruser","accountId":4},"definitionVersion":2,"asset":{"id":10605,"name":"Warren
|
1727
|
+
G - Regulate ft. Nate Dogg.mp4","displayName":"Warren G - Regulate ft. Nate
|
1728
|
+
Dogg.mp4","type":"Media Asset","href":"https://master.dev.nativ-systems.com/api/assets/10605","creationContext":"Import","accountId":4,"workspaceId":3},"created":"15
|
1729
|
+
Mar 2016 15:23:20 +0000","lastModified":"15 Mar 2016 15:39:16 +0000","account":{"id":4,"name":"Master
|
1730
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1731
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1732
|
+
masteruser","accountId":4},"workspace":{"id":3,"name":"Master Account","objectType":{"id":30,"name":"account-workspace","href":"https://master.dev.nativ-systems.com/api/objectTypes/30","displayName":"Account
|
1733
|
+
Workspace","pluralName":"Account Workspaces","userDefined":false},"owner":"masteruser
|
1734
|
+
masteruser","accountId":4}},{"id":10510,"name":"Import Jizz","displayName":"Import
|
1735
|
+
Jizz","objectType":{"id":7,"name":"workflow","href":"https://master.dev.nativ-systems.com/api/objectTypes/7","displayName":"Workflow","pluralName":"Workflows","userDefined":false},"deleted":false,"href":"https://master.dev.nativ-systems.com/api/workflows/10510","status":"Failed,
|
1736
|
+
Cancelled","priority":"Normal","running":false,"ended":false,"cancelled":true,"cancelling":false,"failed":true,"start":"15
|
1737
|
+
Mar 2016 15:14:36 +0000","end":"15 Mar 2016 15:17:14 +0000","owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1738
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"definition":{"id":10104,"uuid":"f4e57201-d0cc-44e4-a5fd-e5b9445f7c3a","name":"Import
|
1739
|
+
Jizz","displayName":"Import Jizz","objectType":{"id":11,"name":"workflow-definition","href":"https://master.dev.nativ-systems.com/api/objectTypes/11","displayName":"Workflow
|
1740
|
+
Definition","pluralName":"Workflow Definitions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/workflowDefinitions/10104","enabled":false,"deleted":true,"owner":"masteruser
|
1741
|
+
masteruser","accountId":4},"definitionVersion":2,"created":"15 Mar 2016 15:14:36
|
1742
|
+
+0000","lastModified":"15 Mar 2016 15:17:13 +0000","account":{"id":4,"name":"Master
|
1743
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1744
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1745
|
+
masteruser","accountId":4},"workspace":{"id":3,"name":"Master Account","objectType":{"id":30,"name":"account-workspace","href":"https://master.dev.nativ-systems.com/api/objectTypes/30","displayName":"Account
|
1746
|
+
Workspace","pluralName":"Account Workspaces","userDefined":false},"owner":"masteruser
|
1747
|
+
masteruser","accountId":4}},{"id":10106,"name":"Import Jizz","displayName":"Import
|
1748
|
+
Jizz","objectType":{"id":7,"name":"workflow","href":"https://master.dev.nativ-systems.com/api/objectTypes/7","displayName":"Workflow","pluralName":"Workflows","userDefined":false},"deleted":false,"href":"https://master.dev.nativ-systems.com/api/workflows/10106","status":"Completed","priority":"Normal","running":false,"ended":true,"cancelled":false,"cancelling":false,"failed":false,"start":"14
|
1749
|
+
Mar 2016 15:50:43 +0000","end":"14 Mar 2016 15:51:02 +0000","owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1750
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"definition":{"id":10104,"uuid":"f4e57201-d0cc-44e4-a5fd-e5b9445f7c3a","name":"Import
|
1751
|
+
Jizz","displayName":"Import Jizz","objectType":{"id":11,"name":"workflow-definition","href":"https://master.dev.nativ-systems.com/api/objectTypes/11","displayName":"Workflow
|
1752
|
+
Definition","pluralName":"Workflow Definitions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/workflowDefinitions/10104","enabled":false,"deleted":true,"owner":"masteruser
|
1753
|
+
masteruser","accountId":4},"definitionVersion":1,"asset":{"id":10201,"name":"TESTING","displayName":"TESTING","type":"Media
|
1754
|
+
Asset","href":"https://master.dev.nativ-systems.com/api/assets/10201","creationContext":"Import","accountId":4,"workspaceId":3},"created":"14
|
1755
|
+
Mar 2016 15:50:43 +0000","lastModified":"14 Mar 2016 15:51:02 +0000","account":{"id":4,"name":"Master
|
1756
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1757
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1758
|
+
masteruser","accountId":4},"workspace":{"id":3,"name":"Master Account","objectType":{"id":30,"name":"account-workspace","href":"https://master.dev.nativ-systems.com/api/objectTypes/30","displayName":"Account
|
1759
|
+
Workspace","pluralName":"Account Workspaces","userDefined":false},"owner":"masteruser
|
1760
|
+
masteruser","accountId":4}}],"totalCount":12,"offset":0,"limit":100}'
|
1761
|
+
http_version:
|
1762
|
+
recorded_at: Fri, 29 Apr 2016 11:48:15 GMT
|
1763
|
+
- request:
|
1764
|
+
method: get
|
1765
|
+
uri: https://master.dev.nativ-systems.com/api/resources
|
1766
|
+
body:
|
1767
|
+
encoding: US-ASCII
|
1768
|
+
string: ''
|
1769
|
+
headers:
|
1770
|
+
User-Agent:
|
1771
|
+
- Faraday v0.9.2
|
1772
|
+
Authorization:
|
1773
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
1774
|
+
Content-Type:
|
1775
|
+
- application/vnd.nativ.mio.v1+json
|
1776
|
+
response:
|
1777
|
+
status:
|
1778
|
+
code: 200
|
1779
|
+
message:
|
1780
|
+
headers:
|
1781
|
+
date:
|
1782
|
+
- Fri, 29 Apr 2016 11:51:14 GMT
|
1783
|
+
server:
|
1784
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
1785
|
+
pragma:
|
1786
|
+
- No-cache
|
1787
|
+
cache-control:
|
1788
|
+
- no-cache
|
1789
|
+
expires:
|
1790
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
1791
|
+
set-cookie:
|
1792
|
+
- JSESSIONID=qHfmd5Q3wS0aJQyk6ldXjHs5.-201388908; Path=/api; Secure
|
1793
|
+
content-type:
|
1794
|
+
- application/json
|
1795
|
+
access-control-allow-origin:
|
1796
|
+
- "*"
|
1797
|
+
access-control-allow-methods:
|
1798
|
+
- GET, POST, OPTIONS
|
1799
|
+
access-control-allow-headers:
|
1800
|
+
- origin, authorization, accept
|
1801
|
+
access-control-allow-credentials:
|
1802
|
+
- 'true'
|
1803
|
+
keep-alive:
|
1804
|
+
- timeout=5, max=94
|
1805
|
+
connection:
|
1806
|
+
- Keep-Alive
|
1807
|
+
transfer-encoding:
|
1808
|
+
- chunked
|
1809
|
+
body:
|
1810
|
+
encoding: UTF-8
|
1811
|
+
string: '{"resources":[{"id":11113,"uuid":"fc4b0eea-c9f8-4103-8a47-5643ca94515e","name":"vcr
|
1812
|
+
resource storage","displayName":"vcr resource storage","objectType":{"id":15,"name":"resource","href":"https://master.dev.nativ-systems.com/api/objectTypes/15","displayName":"Resource","pluralName":"Resources","userDefined":false},"enabled":true,"deleted":false,"href":"https://master.dev.nativ-systems.com/api/resources/11113","resourceType":"Capacity","resourceSubType":"Storage","pluginClass":"tv.nativ.mio.enterprise.resources.impl.capacity.storage.vfs.VFSStorageResource","status":"Stopped","pollingInterval":0,"icons":{"small":"https://master.dev.nativ-systems.com:443/images/icons/small/resource-storage.png","normal":"https://master.dev.nativ-systems.com:443/images/icons/normal/resource-storage.png","medium":"https://master.dev.nativ-systems.com:443/images/icons/medium/resource-storage.png","large":"https://master.dev.nativ-systems.com:443/images/icons/giant/resource-storage.png"},"created":"29
|
1813
|
+
Apr 2016 11:10:28 +0000","lastModified":"29 Apr 2016 11:10:57 +0000","visibility":[{"id":4,"name":"Master
|
1814
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1815
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1816
|
+
masteruser","accountId":4}],"owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1817
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"account":{"id":4,"name":"Master
|
1818
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1819
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1820
|
+
masteruser","accountId":4},"revision":"1-c7993fd4a6451c1240043dc4ace6988c55ca7b2b"},{"id":11117,"uuid":"acbdb174-37db-44e6-a17c-dc50ccf884ba","name":"S3
|
1821
|
+
Bucket Factory","displayName":"S3 Bucket Factory","objectType":{"id":15,"name":"resource","href":"https://master.dev.nativ-systems.com/api/objectTypes/15","displayName":"Resource","pluralName":"Resources","userDefined":false},"enabled":true,"deleted":false,"href":"https://master.dev.nativ-systems.com/api/resources/11117","resourceType":"Capacity","resourceSubType":"Storage","pluginClass":"tv.nativ.mio.enterprise.resources.impl.capacity.storage.vfs.VFSStorageResource","status":"Stopped","pollingInterval":0,"icons":{"small":"https://master.dev.nativ-systems.com:443/images/icons/small/resource-storage.png","normal":"https://master.dev.nativ-systems.com:443/images/icons/normal/resource-storage.png","medium":"https://master.dev.nativ-systems.com:443/images/icons/medium/resource-storage.png","large":"https://master.dev.nativ-systems.com:443/images/icons/giant/resource-storage.png"},"created":"29
|
1822
|
+
Apr 2016 11:23:58 +0000","lastModified":"29 Apr 2016 11:24:03 +0000","visibility":[{"id":4,"name":"Master
|
1823
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1824
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1825
|
+
masteruser","accountId":4}],"owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1826
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"account":{"id":4,"name":"Master
|
1827
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1828
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1829
|
+
masteruser","accountId":4},"revision":"1-ff3cb537896049ad0d63af99b1f4ad4ba7b00e1c"},{"id":11116,"uuid":"981e82bd-06cc-434d-8e95-1bc9b77d51a4","name":"Hotfolder
|
1830
|
+
Factory","displayName":"Hotfolder Factory","objectType":{"id":15,"name":"resource","href":"https://master.dev.nativ-systems.com/api/objectTypes/15","displayName":"Resource","pluralName":"Resources","userDefined":false},"enabled":false,"deleted":false,"href":"https://master.dev.nativ-systems.com/api/resources/11116","resourceType":"Capacity","resourceSubType":"Hot
|
1831
|
+
Folder","pluginClass":"tv.nativ.mio.enterprise.resources.impl.capacity.folder.hotfolder.MioHotFolderResource","status":"Stopped","pollingInterval":0,"icons":{"small":"https://master.dev.nativ-systems.com:443/images/icons/small/resource-hot-folder.png","normal":"https://master.dev.nativ-systems.com:443/images/icons/normal/resource-hot-folder.png","medium":"https://master.dev.nativ-systems.com:443/images/icons/medium/resource-hot-folder.png","large":"https://master.dev.nativ-systems.com:443/images/icons/giant/resource-hot-folder.png"},"created":"29
|
1832
|
+
Apr 2016 11:23:43 +0000","lastModified":"29 Apr 2016 11:23:43 +0000","visibility":[{"id":4,"name":"Master
|
1833
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1834
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1835
|
+
masteruser","accountId":4}],"owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1836
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"account":{"id":4,"name":"Master
|
1837
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1838
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1839
|
+
masteruser","accountId":4},"revision":"0-57dc08ce61ec5e495b88fbb64083cb07978dd480"}],"totalCount":3,"offset":0,"limit":100}'
|
1840
|
+
http_version:
|
1841
|
+
recorded_at: Fri, 29 Apr 2016 11:50:00 GMT
|
1842
|
+
- request:
|
1843
|
+
method: get
|
1844
|
+
uri: https://master.dev.nativ-systems.com/api/workflowDefinitions
|
1845
|
+
body:
|
1846
|
+
encoding: US-ASCII
|
1847
|
+
string: ''
|
1848
|
+
headers:
|
1849
|
+
User-Agent:
|
1850
|
+
- Faraday v0.9.2
|
1851
|
+
Authorization:
|
1852
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
1853
|
+
Content-Type:
|
1854
|
+
- application/vnd.nativ.mio.v1+json
|
1855
|
+
response:
|
1856
|
+
status:
|
1857
|
+
code: 200
|
1858
|
+
message:
|
1859
|
+
headers:
|
1860
|
+
date:
|
1861
|
+
- Fri, 29 Apr 2016 11:51:15 GMT
|
1862
|
+
server:
|
1863
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
1864
|
+
pragma:
|
1865
|
+
- No-cache
|
1866
|
+
cache-control:
|
1867
|
+
- no-cache
|
1868
|
+
expires:
|
1869
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
1870
|
+
set-cookie:
|
1871
|
+
- JSESSIONID=D+6cJUo-JackptAZ7wnQuWzc.-201388908; Path=/api; Secure
|
1872
|
+
content-type:
|
1873
|
+
- application/json
|
1874
|
+
access-control-allow-origin:
|
1875
|
+
- "*"
|
1876
|
+
access-control-allow-methods:
|
1877
|
+
- GET, POST, OPTIONS
|
1878
|
+
access-control-allow-headers:
|
1879
|
+
- origin, authorization, accept
|
1880
|
+
access-control-allow-credentials:
|
1881
|
+
- 'true'
|
1882
|
+
keep-alive:
|
1883
|
+
- timeout=5, max=93
|
1884
|
+
connection:
|
1885
|
+
- Keep-Alive
|
1886
|
+
transfer-encoding:
|
1887
|
+
- chunked
|
1888
|
+
body:
|
1889
|
+
encoding: UTF-8
|
1890
|
+
string: '{"workflowDefinitions":[{"id":11118,"uuid":"08f08d75-03d5-4b25-b212-da0ce39ff75e","name":"Workflow","displayName":"Workflow","objectType":{"id":11,"name":"workflow-definition","href":"https://master.dev.nativ-systems.com/api/objectTypes/11","displayName":"Workflow
|
1891
|
+
Definition","pluralName":"Workflow Definitions","userDefined":false},"enabled":true,"deleted":false,"href":"https://master.dev.nativ-systems.com/api/workflowDefinitions/11118","latestVersion":2,"created":"29
|
1892
|
+
Apr 2016 11:26:37 +0000","lastModified":"29 Apr 2016 11:47:18 +0000","visibility":[{"id":4,"name":"Master
|
1893
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1894
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1895
|
+
masteruser","accountId":4}],"owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1896
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"account":{"id":4,"name":"Master
|
1897
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1898
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1899
|
+
masteruser","accountId":4},"revision":"2-bdb10b7302259dd0a8f035ac3f95bce99013a31f"}],"totalCount":1,"offset":0,"limit":100}'
|
1900
|
+
http_version:
|
1901
|
+
recorded_at: Fri, 29 Apr 2016 11:50:00 GMT
|
1902
|
+
- request:
|
1903
|
+
method: get
|
1904
|
+
uri: https://master.dev.nativ-systems.com/api/users
|
1905
|
+
body:
|
1906
|
+
encoding: US-ASCII
|
1907
|
+
string: ''
|
1908
|
+
headers:
|
1909
|
+
User-Agent:
|
1910
|
+
- Faraday v0.9.2
|
1911
|
+
Authorization:
|
1912
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
1913
|
+
Content-Type:
|
1914
|
+
- application/vnd.nativ.mio.v1+json
|
1915
|
+
response:
|
1916
|
+
status:
|
1917
|
+
code: 200
|
1918
|
+
message:
|
1919
|
+
headers:
|
1920
|
+
date:
|
1921
|
+
- Fri, 29 Apr 2016 11:51:15 GMT
|
1922
|
+
server:
|
1923
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
1924
|
+
pragma:
|
1925
|
+
- No-cache
|
1926
|
+
cache-control:
|
1927
|
+
- no-cache
|
1928
|
+
expires:
|
1929
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
1930
|
+
set-cookie:
|
1931
|
+
- JSESSIONID=pZ4cjekT0PxEVGYFoGnAb8-q.-201388908; Path=/api; Secure
|
1932
|
+
content-type:
|
1933
|
+
- application/json
|
1934
|
+
access-control-allow-origin:
|
1935
|
+
- "*"
|
1936
|
+
access-control-allow-methods:
|
1937
|
+
- GET, POST, OPTIONS
|
1938
|
+
access-control-allow-headers:
|
1939
|
+
- origin, authorization, accept
|
1940
|
+
access-control-allow-credentials:
|
1941
|
+
- 'true'
|
1942
|
+
keep-alive:
|
1943
|
+
- timeout=5, max=92
|
1944
|
+
connection:
|
1945
|
+
- Keep-Alive
|
1946
|
+
transfer-encoding:
|
1947
|
+
- chunked
|
1948
|
+
body:
|
1949
|
+
encoding: UTF-8
|
1950
|
+
string: '{"users":[{"id":10509,"uuid":"641d4227-2361-41f6-8b78-86f5d4e43abe","name":"admin","displayName":"Titties
|
1951
|
+
McVagina","objectType":{"id":8,"name":"user","href":"https://master.dev.nativ-systems.com/api/objectTypes/8","displayName":"User","pluralName":"Users","userDefined":false},"enabled":true,"deleted":false,"href":"https://master.dev.nativ-systems.com/api/users/10509","firstName":"Titties","lastName":"McVagina","role":{"id":10508,"uuid":"9a2f318a-559a-4da9-a484-4ee18fd05e47","name":"ft-demo
|
1952
|
+
Default Role","displayName":"ft-demo Default Role","objectType":{"id":10,"name":"role","href":"https://master.dev.nativ-systems.com/api/objectTypes/10","displayName":"Role","pluralName":"Roles","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/roles/10508","owner":"masteruser
|
1953
|
+
masteruser","accountId":10507},"email":"admin@example.com","phoneNumber":"","lastLoggedIn":"15
|
1954
|
+
Mar 2016 14:22:27 +0000","company":"","addressLine1":"","addressLine2":"","addressLine3":"","externalReference":"","created":"15
|
1955
|
+
Mar 2016 12:27:45 +0000","lastModified":"15 Mar 2016 14:22:27 +0000","owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1956
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"account":{"id":10507,"uuid":"eb7b4c0b-a1b3-440e-bd38-9781d19b173b","name":"ft-demo","objectType":{"id":25,"name":"account","href":"https://master.dev.nativ-systems.com/api/objectTypes/25","displayName":"Account","pluralName":"Accounts","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/accounts/10507","owner":"masteruser
|
1957
|
+
masteruser","accountId":4},"revision":"0-d033e22ae348aeb5660fc2140aec35850c4da997"},{"id":5,"name":"masteruser","displayName":"masteruser
|
1958
|
+
masteruser","objectType":{"id":8,"name":"user","href":"https://master.dev.nativ-systems.com/api/objectTypes/8","displayName":"User","pluralName":"Users","userDefined":false},"enabled":true,"deleted":false,"href":"https://master.dev.nativ-systems.com/api/users/5","firstName":"masteruser","lastName":"masteruser","lastLoggedIn":"29
|
1959
|
+
Apr 2016 10:46:00 +0000","created":"10 Jun 2015 10:26:05 +0000","lastModified":"29
|
1960
|
+
Apr 2016 10:46:00 +0000","owner":{"id":5,"name":"masteruser","displayName":"masteruser
|
1961
|
+
masteruser","href":"https://master.dev.nativ-systems.com/api/users/5","accountId":4},"account":{"id":4,"name":"Master
|
1962
|
+
Account","objectType":{"id":24,"name":"master-account","href":"https://master.dev.nativ-systems.com/api/objectTypes/24","displayName":"Master
|
1963
|
+
Account","pluralName":"Master Accounts","userDefined":false},"owner":"masteruser
|
1964
|
+
masteruser","accountId":4}}],"totalCount":2,"offset":0,"limit":100}'
|
1965
|
+
http_version:
|
1966
|
+
recorded_at: Fri, 29 Apr 2016 11:50:00 GMT
|
1967
|
+
- request:
|
1968
|
+
method: put
|
1969
|
+
uri: https://master.dev.nativ-systems.com/api/resources/11116/configuration
|
1970
|
+
body:
|
1971
|
+
encoding: UTF-8
|
1972
|
+
string: '{"housekeeping-period":5139767606400000000,"inactivity-timeout":30000000,"storage-resources":{"Storage
|
1973
|
+
Resource":[{"id":11117}]},"use-md5":false,"workflow-definition":{"id":11118},"owner":{"id":5}}'
|
1974
|
+
headers:
|
1975
|
+
User-Agent:
|
1976
|
+
- Faraday v0.9.2
|
1977
|
+
Authorization:
|
1978
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
1979
|
+
Content-Type:
|
1980
|
+
- application/vnd.nativ.mio.v1+json
|
1981
|
+
response:
|
1982
|
+
status:
|
1983
|
+
code: 200
|
1984
|
+
message:
|
1985
|
+
headers:
|
1986
|
+
date:
|
1987
|
+
- Fri, 29 Apr 2016 11:51:15 GMT
|
1988
|
+
server:
|
1989
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
1990
|
+
pragma:
|
1991
|
+
- No-cache
|
1992
|
+
cache-control:
|
1993
|
+
- no-cache
|
1994
|
+
expires:
|
1995
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
1996
|
+
set-cookie:
|
1997
|
+
- JSESSIONID=9Jh6D8cBJmKvjPCpQXoUEVVG.-201388908; Path=/api; Secure
|
1998
|
+
content-type:
|
1999
|
+
- application/json
|
2000
|
+
access-control-allow-origin:
|
2001
|
+
- "*"
|
2002
|
+
access-control-allow-methods:
|
2003
|
+
- GET, POST, OPTIONS
|
2004
|
+
access-control-allow-headers:
|
2005
|
+
- origin, authorization, accept
|
2006
|
+
access-control-allow-credentials:
|
2007
|
+
- 'true'
|
2008
|
+
keep-alive:
|
2009
|
+
- timeout=5, max=91
|
2010
|
+
connection:
|
2011
|
+
- Keep-Alive
|
2012
|
+
transfer-encoding:
|
2013
|
+
- chunked
|
2014
|
+
body:
|
2015
|
+
encoding: UTF-8
|
2016
|
+
string: '{"id":103322,"instance":{"housekeeping-period":5139767606400000000,"inactivity-timeout":30000000,"storage-resources":{"Storage
|
2017
|
+
Resource":[{"id":"11117"}]},"use-md5":false,"workflow-definition":{"id":"11118"},"owner":{"id":"5"}},"definitionId":107109,"definition":[{"id":107110,"name":"housekeeping-period","displayName":"Housekeeping
|
2018
|
+
Period","description":"The time after which unmodified files will be deleted.\n ","type":"long","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":"text","format":"#","formatDescription":"#","validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":"duration","commentable":false,"isVisible":true,"preProcessors":[],"defaultValue":86400000000},{"id":107111,"name":"inactivity-timeout","displayName":"Inactivity
|
2019
|
+
Timeout","description":"Seconds of inactivity before considering transfer\n complete.\n ","type":"long","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":"text","format":"#","formatDescription":"#","validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":"duration","commentable":false,"isVisible":true,"preProcessors":[],"defaultValue":120000000},{"id":107112,"name":"storage-resources","displayName":"Storage
|
2020
|
+
Resources","description":"Storage Resources used by the Hot Folder.","type":"complex","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107113,"name":"Storage
|
2021
|
+
Resource","displayName":"Storage Resource","description":"Name of storage
|
2022
|
+
resource","type":"object","multiplicity":"1..*","searchable":false,"editable":true,"required":false,"formType":"select","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"objectType":"Resource
|
2023
|
+
(Storage)"}]},{"id":107114,"name":"match-pattern","displayName":"Match Pattern
|
2024
|
+
(regular expression)","description":"Specify a regular expression to match
|
2025
|
+
on assets file names to import.","type":"string","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107115,"name":"ignore-pattern","displayName":"Ignore
|
2026
|
+
Pattern (regular expression)","description":"Specify a regular expression
|
2027
|
+
used to ignore files to be imported.","type":"string","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107116,"name":"use-md5","displayName":"Use
|
2028
|
+
MD5","description":"Whether or not an MD5 checksum file for the main file\n is
|
2029
|
+
expected.\n ","type":"boolean","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":"select","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"options":[{"id":107117,"name":"Yes","displayName":"Yes","default":false,"value":"true"},{"id":107118,"name":"No","displayName":"No","default":true,"value":"false"}]},{"id":107119,"name":"workflow-definition","displayName":"Workflow
|
2030
|
+
Definition","description":"Name of the workflow definition to launch after
|
2031
|
+
upload.\n ","type":"object","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":"select","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"objectType":"Workflow
|
2032
|
+
Definition"},{"id":107120,"name":"owner","displayName":"Workflow and Asset
|
2033
|
+
Owner","description":"User to set as the owner of workflows and any imported
|
2034
|
+
assets","type":"object","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":"select","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"objectType":"User"},{"id":107121,"name":"workspace","displayName":"Workflow
|
2035
|
+
and Asset Workspace","description":"\n Workspace to set
|
2036
|
+
for workflows and any imported assets. If not set, the owner''s default workspace
|
2037
|
+
will be used","type":"string","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107122,"name":"sidecar","displayName":"Sidecar","description":"Use
|
2038
|
+
a sidecar file (this will be injected into the\n workflow
|
2039
|
+
as variable)\n ","type":"complex","multiplicity":"0..1","searchable":false,"editable":true,"required":true,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107123,"name":"workflow-variable-name","displayName":"Workflow
|
2040
|
+
Variable Name","description":"Specify the workflow variable name to use for
|
2041
|
+
the injected payload.","type":"string","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]}]}]}'
|
2042
|
+
http_version:
|
2043
|
+
recorded_at: Fri, 29 Apr 2016 11:50:01 GMT
|
2044
|
+
- request:
|
2045
|
+
method: get
|
2046
|
+
uri: https://master.dev.nativ-systems.com/api/resources/11116/actions
|
2047
|
+
body:
|
2048
|
+
encoding: US-ASCII
|
2049
|
+
string: ''
|
2050
|
+
headers:
|
2051
|
+
User-Agent:
|
2052
|
+
- Faraday v0.9.2
|
2053
|
+
Authorization:
|
2054
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
2055
|
+
Content-Type:
|
2056
|
+
- application/vnd.nativ.mio.v1+json
|
2057
|
+
response:
|
2058
|
+
status:
|
2059
|
+
code: 200
|
2060
|
+
message:
|
2061
|
+
headers:
|
2062
|
+
date:
|
2063
|
+
- Fri, 29 Apr 2016 11:51:16 GMT
|
2064
|
+
server:
|
2065
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
2066
|
+
pragma:
|
2067
|
+
- No-cache
|
2068
|
+
cache-control:
|
2069
|
+
- no-cache
|
2070
|
+
expires:
|
2071
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
2072
|
+
set-cookie:
|
2073
|
+
- JSESSIONID=CDDZ0ojfXI11HPRGBe4L1v2a.-201388908; Path=/api; Secure
|
2074
|
+
content-type:
|
2075
|
+
- application/json
|
2076
|
+
access-control-allow-origin:
|
2077
|
+
- "*"
|
2078
|
+
access-control-allow-methods:
|
2079
|
+
- GET, POST, OPTIONS
|
2080
|
+
access-control-allow-headers:
|
2081
|
+
- origin, authorization, accept
|
2082
|
+
access-control-allow-credentials:
|
2083
|
+
- 'true'
|
2084
|
+
keep-alive:
|
2085
|
+
- timeout=5, max=90
|
2086
|
+
connection:
|
2087
|
+
- Keep-Alive
|
2088
|
+
transfer-encoding:
|
2089
|
+
- chunked
|
2090
|
+
body:
|
2091
|
+
encoding: UTF-8
|
2092
|
+
string: '[{"action":"delete"},{"action":"enable"}]'
|
2093
|
+
http_version:
|
2094
|
+
recorded_at: Fri, 29 Apr 2016 11:50:01 GMT
|
2095
|
+
- request:
|
2096
|
+
method: post
|
2097
|
+
uri: https://master.dev.nativ-systems.com/api/resources/11116/actions
|
2098
|
+
body:
|
2099
|
+
encoding: UTF-8
|
2100
|
+
string: '{"action":"enable"}'
|
2101
|
+
headers:
|
2102
|
+
User-Agent:
|
2103
|
+
- Faraday v0.9.2
|
2104
|
+
Authorization:
|
2105
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
2106
|
+
Content-Type:
|
2107
|
+
- application/vnd.nativ.mio.v1+json
|
2108
|
+
response:
|
2109
|
+
status:
|
2110
|
+
code: 200
|
2111
|
+
message:
|
2112
|
+
headers:
|
2113
|
+
date:
|
2114
|
+
- Fri, 29 Apr 2016 11:51:16 GMT
|
2115
|
+
server:
|
2116
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
2117
|
+
content-type:
|
2118
|
+
- application/json
|
2119
|
+
content-length:
|
2120
|
+
- '145'
|
2121
|
+
access-control-allow-origin:
|
2122
|
+
- "*"
|
2123
|
+
access-control-allow-methods:
|
2124
|
+
- GET, POST, OPTIONS
|
2125
|
+
access-control-allow-headers:
|
2126
|
+
- origin, authorization, accept
|
2127
|
+
access-control-allow-credentials:
|
2128
|
+
- 'true'
|
2129
|
+
connection:
|
2130
|
+
- close
|
2131
|
+
body:
|
2132
|
+
encoding: UTF-8
|
2133
|
+
string: "{}"
|
2134
|
+
http_version:
|
2135
|
+
recorded_at: Fri, 29 Apr 2016 11:50:02 GMT
|
2136
|
+
- request:
|
2137
|
+
method: post
|
2138
|
+
uri: https://master.dev.nativ-systems.com/api/actions
|
2139
|
+
body:
|
2140
|
+
encoding: UTF-8
|
2141
|
+
string: '{"name":"Import Action Factory","pluginClass":"tv.nativ.mio.enterprise.execution.action.file.impl.objectimport.vfs.AssetImportCommand","visibilityIds":[4],"type":"import","runRuleExpression":""}'
|
2142
|
+
headers:
|
2143
|
+
User-Agent:
|
2144
|
+
- Faraday v0.9.2
|
2145
|
+
Authorization:
|
2146
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
2147
|
+
Content-Type:
|
2148
|
+
- application/vnd.nativ.mio.v1+json
|
2149
|
+
response:
|
2150
|
+
status:
|
2151
|
+
code: 201
|
2152
|
+
message:
|
2153
|
+
headers:
|
2154
|
+
date:
|
2155
|
+
- Fri, 29 Apr 2016 11:52:47 GMT
|
2156
|
+
server:
|
2157
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
2158
|
+
set-cookie:
|
2159
|
+
- JSESSIONID=ZY78g+fNWFxBz7Sj2HLefXwL.-201388908; Path=/api; Secure
|
2160
|
+
location:
|
2161
|
+
- https://master.dev.nativ-systems.com/api/actions/11119
|
2162
|
+
content-type:
|
2163
|
+
- application/json
|
2164
|
+
access-control-allow-origin:
|
2165
|
+
- "*"
|
2166
|
+
access-control-allow-methods:
|
2167
|
+
- GET, POST, OPTIONS
|
2168
|
+
access-control-allow-headers:
|
2169
|
+
- origin, authorization, accept
|
2170
|
+
access-control-allow-credentials:
|
2171
|
+
- 'true'
|
2172
|
+
keep-alive:
|
2173
|
+
- timeout=5, max=100
|
2174
|
+
connection:
|
2175
|
+
- Keep-Alive
|
2176
|
+
transfer-encoding:
|
2177
|
+
- chunked
|
2178
|
+
body:
|
2179
|
+
encoding: UTF-8
|
2180
|
+
string: '{"id":11119,"uuid":"7b1333cf-006e-4480-aafd-cc023b69851e","name":"Import
|
2181
|
+
Action Factory","displayName":"Import Action Factory","objectType":{"id":18,"name":"action","href":"https://master.dev.nativ-systems.com/api/objectTypes/18","displayName":"Action","pluralName":"Actions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/actions/11119","enabled":false,"owner":"masteruser
|
2182
|
+
masteruser","accountId":4}'
|
2183
|
+
http_version:
|
2184
|
+
recorded_at: Fri, 29 Apr 2016 11:51:34 GMT
|
2185
|
+
- request:
|
2186
|
+
method: put
|
2187
|
+
uri: https://master.dev.nativ-systems.com/api/actions/11119/configuration
|
2188
|
+
body:
|
2189
|
+
encoding: UTF-8
|
2190
|
+
string: '{"source-file":{"source":{"vfs-source-file-path":{"protocol":{"value":"S3","isExpression":false},"path":{"value":"/${variables.externalFileName}","isExpression":false},"key":{"value":"some_s3_key","isExpression":false},"secret":{"value":"some_s3_secret","isExpression":false},"bucket":{"value":"some_faked_s3_bucket","isExpression":false}}},"keep-source-filename":false},"asset-details":{"title":{"value":"${variables.externalFilename}","isExpression":false},"creation-context":{"value":"IMPORT","isExpression":false}}}'
|
2191
|
+
headers:
|
2192
|
+
User-Agent:
|
2193
|
+
- Faraday v0.9.2
|
2194
|
+
Authorization:
|
2195
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
2196
|
+
Content-Type:
|
2197
|
+
- application/vnd.nativ.mio.v1+json
|
2198
|
+
response:
|
2199
|
+
status:
|
2200
|
+
code: 200
|
2201
|
+
message:
|
2202
|
+
headers:
|
2203
|
+
date:
|
2204
|
+
- Fri, 29 Apr 2016 11:52:49 GMT
|
2205
|
+
server:
|
2206
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
2207
|
+
pragma:
|
2208
|
+
- No-cache
|
2209
|
+
cache-control:
|
2210
|
+
- no-cache
|
2211
|
+
expires:
|
2212
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
2213
|
+
set-cookie:
|
2214
|
+
- JSESSIONID=TxmgRtQ5vwek1sNFcVn1-1lx.-201388908; Path=/api; Secure
|
2215
|
+
content-type:
|
2216
|
+
- application/json
|
2217
|
+
access-control-allow-origin:
|
2218
|
+
- "*"
|
2219
|
+
access-control-allow-methods:
|
2220
|
+
- GET, POST, OPTIONS
|
2221
|
+
access-control-allow-headers:
|
2222
|
+
- origin, authorization, accept
|
2223
|
+
access-control-allow-credentials:
|
2224
|
+
- 'true'
|
2225
|
+
keep-alive:
|
2226
|
+
- timeout=5, max=99
|
2227
|
+
connection:
|
2228
|
+
- Keep-Alive
|
2229
|
+
transfer-encoding:
|
2230
|
+
- chunked
|
2231
|
+
body:
|
2232
|
+
encoding: UTF-8
|
2233
|
+
string: '{"id":103351,"instance":{"source-file":{"source":{"vfs-source-file-path":{"protocol":{"value":"S3","isExpression":false},"path":{"value":"/${variables.externalFileName}","isExpression":false},"key":{"value":"some_s3_key","isExpression":false},"secret":{"value":"some_s3_secret","isExpression":false},"bucket":{"value":"some_faked_s3_bucket","isExpression":false}}},"keep-source-filename":false},"asset-details":{"title":{"value":"${variables.externalFilename}","isExpression":false},"creation-context":{"value":"IMPORT","isExpression":false}}},"definitionId":107150,"definition":[{"id":107151,"name":"source-file","displayName":"Source
|
2234
|
+
File","description":"Details of the source file to import. If not specified,
|
2235
|
+
no media file will be imported into the asset. This can be used to create
|
2236
|
+
placeholder assets.","type":"complex","multiplicity":"0..1","searchable":false,"editable":true,"required":false,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107152,"name":"source","displayName":"Source","description":"Details
|
2237
|
+
of the source file.","type":"complex","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107153,"name":"vfs-source-file-path","displayName":"Source
|
2238
|
+
VFS Location","description":"The Virtual File System location of the media
|
2239
|
+
file to import.","type":"vfs-location","multiplicity":"0..1","searchable":false,"editable":true,"required":true,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.resource.def.MioVFSLocationVariable$MioVFSLocationVariableHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107176,"name":"source-resource-item","displayName":"Source
|
2240
|
+
Resource Item","description":"The Resource and Item Name of the source file.","type":"complex","multiplicity":"0..1","searchable":false,"editable":true,"required":true,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107177,"name":"source-resource","displayName":"Source
|
2241
|
+
Resource","description":"\n\t\t\t\t\t\t\t\t\t\t\tThe Resource containing the
|
2242
|
+
source item.","type":"object","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":"select","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"objectType":"Resource
|
2243
|
+
(Capacity)"},{"id":107178,"name":"source-item-name","displayName":"Item Name","description":"The
|
2244
|
+
name of the item in the source resource.","type":"string","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]}]}]},{"id":107179,"name":"original-filename","displayName":"Original
|
2245
|
+
Filename","description":"The value to set as the original filename of the
|
2246
|
+
imported media file. If not specified, the file''s name will be used.","type":"string","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107180,"name":"keep-source-filename","displayName":"Keep
|
2247
|
+
Source File Name","description":"If true, then the source file name will be
|
2248
|
+
maintained, otherwise a UUID will be generated.","type":"boolean","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":"radio","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"options":[{"id":107181,"name":"Yes","displayName":"Yes","default":false,"value":"true"},{"id":107182,"name":"No","displayName":"No","default":true,"value":"false"}]},{"id":107183,"name":"copy-file","displayName":"Copy
|
2249
|
+
File","description":"Copy the file to a new location. If not specified the
|
2250
|
+
media file will be ingested in place. One of either the target resource or
|
2251
|
+
folder can be specified.","type":"complex","multiplicity":"0..1","searchable":false,"editable":true,"required":true,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107184,"name":"copy-target-resource","displayName":"Target
|
2252
|
+
Resource","description":"The Folder Resource for the imported media file to
|
2253
|
+
be copied to.","type":"object","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":"select","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"objectType":"Resource
|
2254
|
+
(Folder)"},{"id":107185,"name":"copy-vfs-location","displayName":"Target VFS
|
2255
|
+
Location","description":"The Virtual File System location for the imported
|
2256
|
+
media file to be copied to.","type":"vfs-location","multiplicity":"0..1","searchable":false,"editable":true,"required":false,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.resource.def.MioVFSLocationVariable$MioVFSLocationVariableHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]}]},{"id":107208,"name":"move-file","displayName":"Move
|
2257
|
+
File","description":"Move the file to a new location. If not specified the
|
2258
|
+
media file will be ingested in place. One of either the target resource or
|
2259
|
+
folder can be specified.","type":"complex","multiplicity":"0..1","searchable":false,"editable":true,"required":true,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107209,"name":"move-target-resource","displayName":"Target
|
2260
|
+
Resource","description":"The Folder Resource for the imported media file to
|
2261
|
+
be moved to.","type":"object","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":"select","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"objectType":"Resource
|
2262
|
+
(Folder)"},{"id":107210,"name":"move-vfs-location","displayName":"Target VFS
|
2263
|
+
Location","description":"The Virtual File System location for the imported
|
2264
|
+
media file to be moved to.","type":"vfs-location","multiplicity":"0..1","searchable":false,"editable":true,"required":false,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.resource.def.MioVFSLocationVariable$MioVFSLocationVariableHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]}]}]},{"id":107233,"name":"asset-details","displayName":"Asset
|
2265
|
+
Details","description":"Descriptive details for the asset.","type":"complex","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107234,"name":"title","displayName":"Title","description":"The
|
2266
|
+
title of the asset.","type":"string","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107235,"name":"description","displayName":"Description","description":"Optional
|
2267
|
+
description for the asset.","type":"string","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107236,"name":"asset-type","displayName":"Placeholder
|
2268
|
+
Asset Type","description":"The Placeholder Asset Type to create if no source
|
2269
|
+
file is specified.","type":"single-option","multiplicity":"0..1","searchable":false,"editable":true,"required":false,"formType":"radio","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"options":[{"id":107237,"name":"media-asset","displayName":"Media
|
2270
|
+
Asset","default":true,"value":"media-asset"},{"id":107238,"name":"image-asset","displayName":"Image
|
2271
|
+
Asset","default":false,"value":"image-asset"},{"id":107239,"name":"text-asset","displayName":"Text
|
2272
|
+
Asset","default":false,"value":"text-asset"}]},{"id":107240,"name":"creation-context","displayName":"Creation
|
2273
|
+
Context","description":"The creation context to set on the asset.","type":"single-option","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":"select","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"options":[{"id":107241,"name":"ingest","displayName":"Ingest","default":false,"value":"INGEST"},{"id":107242,"name":"proxy","displayName":"Proxy","default":false,"value":"PROXY"},{"id":107243,"name":"copy","displayName":"Copy","default":false,"value":"COPY"},{"id":107244,"name":"transcode","displayName":"Transcode","default":false,"value":"TRANSCODE"},{"id":107245,"name":"import","displayName":"Import","default":false,"value":"IMPORT"},{"id":107246,"name":"transform","displayName":"Transform","default":false,"value":"TRANSFORM"}]}]},{"id":107247,"name":"variant-and-metadata-definition","displayName":"Variant","description":"Specify
|
2274
|
+
the Variant and optionally the Metadata Definition to set on the asset. If
|
2275
|
+
not specified, a default will be used if it has been configured.","type":"complex","multiplicity":"0..1","searchable":false,"editable":true,"required":false,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107248,"name":"variant","displayName":"Variant","description":"The
|
2276
|
+
Variant to set. This must be a valid configured Variant name.","type":"string","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107249,"name":"metadata","displayName":"Metadata","description":"Specify
|
2277
|
+
a Metadata Definition to set. If not specified, a default will be used if
|
2278
|
+
it has been configured.","type":"complex","multiplicity":"0..1","searchable":false,"editable":true,"required":false,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107250,"name":"metadata-definition","displayName":"Metadata
|
2279
|
+
Definition","description":"The Metadata Definition to set.","type":"object","multiplicity":"0..1","searchable":false,"editable":true,"required":true,"formType":"select","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"objectType":"Metadata
|
2280
|
+
Definition"},{"id":107251,"name":"source-json-variable","displayName":"Source
|
2281
|
+
JSON Variable","description":"Source JSON Variable.","type":"string","multiplicity":"0..1","searchable":false,"editable":true,"required":true,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107252,"name":"source-xml","displayName":"Source
|
2282
|
+
XML","description":"Set the metadata based on details stored in an XML file
|
2283
|
+
or workflow variable. If not specified a default metadata instance will be
|
2284
|
+
created.","type":"complex","multiplicity":"0..1","searchable":false,"editable":true,"required":false,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107253,"name":"source-xml-location","displayName":"Source
|
2285
|
+
XML Location","description":null,"type":"complex","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107254,"name":"vfs-source-xml-path","displayName":"Source
|
2286
|
+
XML VFS Location","description":"The Virtual File System location of the source
|
2287
|
+
XML file to read.","type":"vfs-location","multiplicity":"0..1","searchable":false,"editable":true,"required":false,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.resource.def.MioVFSLocationVariable$MioVFSLocationVariableHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107277,"name":"source-xml-variable-name","displayName":"Source
|
2288
|
+
XML Variable Name","description":"Source XML workflow variable name to use.","type":"string","multiplicity":"0..1","searchable":false,"editable":true,"required":true,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]}]},{"id":107278,"name":"xslt","displayName":"XSLT","description":"Optional
|
2289
|
+
XSLT to apply to source XML. If not defined then XML is expected to be in
|
2290
|
+
MioMetadata XML form.","type":"file","multiplicity":"0..1","searchable":false,"editable":true,"required":true,"formType":"file","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.resource.def.MioFileVariable.FileValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]}]}]}]},{"id":107281,"name":"keyframe","displayName":"Keyframe","description":"Keyframe
|
2291
|
+
to set on the asset. This will be used only if the imported asset is a media
|
2292
|
+
file. If an image file it will be ignored.","type":"complex","multiplicity":"0..*","searchable":false,"editable":true,"required":false,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107282,"name":"vfs-source-keyframe-path","displayName":"Source
|
2293
|
+
Keyframe VFS Location","description":"The Virtual File System location of
|
2294
|
+
the source keyframe to import.","type":"vfs-location","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.resource.def.MioVFSLocationVariable$MioVFSLocationVariableHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107305,"name":"keyframe-title","displayName":"Title","description":"Optional
|
2295
|
+
title for the keyframe.","type":"string","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107306,"name":"keyframe-description","displayName":"Keyframe
|
2296
|
+
Description","description":"Optional description for the keyframe.","type":"string","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107307,"name":"timecode","displayName":"Timecode","description":"Optional
|
2297
|
+
timecode for the keyframe. If defined the keyframe is imported as an extracted
|
2298
|
+
keyframe, otherwise it is imported as an uploaded keyframe.","type":"string","multiplicity":"0..1","searchable":false,"editable":true,"required":false,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]},{"id":107308,"name":"master","displayName":"Master","description":"Whether
|
2299
|
+
the keyframe should be set as master. If multiple keyframes are configured
|
2300
|
+
as master, the last to be imported will be set as master for the asset.","type":"boolean","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":"radio","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"options":[{"id":107309,"name":"Yes","displayName":"Yes","default":false,"value":"true"},{"id":107310,"name":"No","displayName":"No","default":true,"value":"false"}]}]},{"id":107311,"name":"asset-relationships","displayName":"Asset
|
2301
|
+
Relationships","description":"Specify relationships with existing assets in
|
2302
|
+
the system.","type":"complex","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107312,"name":"child","displayName":"Child","description":"Add
|
2303
|
+
a parent-child relationship.","type":"complex","multiplicity":"0..1","searchable":false,"editable":true,"required":false,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107313,"name":"parent","displayName":"Parent
|
2304
|
+
Asset ","description":"Specify the parent asset.","type":"complex","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107314,"name":"parent-asset","displayName":"Parent
|
2305
|
+
Asset","description":"Select the parent file asset to use.","type":"asset","multiplicity":"0..1","searchable":false,"editable":true,"required":true,"formType":"select","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"objectType":"Asset
|
2306
|
+
(File)"},{"id":107315,"name":"parent-asset-id","displayName":"Parent Asset
|
2307
|
+
ID","description":"Specify the parent file asset ID or use an expression.","type":"string","multiplicity":"0..1","searchable":false,"editable":true,"required":true,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]}]},{"id":107316,"name":"reference-name","displayName":"Reference
|
2308
|
+
Name","description":"Optional reference name to set on the parent-child relationship.","type":"string","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]}]},{"id":107317,"name":"member","displayName":"Member","description":"Add
|
2309
|
+
a group-member relationship.","type":"complex","multiplicity":"0..*","searchable":false,"editable":true,"required":false,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107318,"name":"group","displayName":"Parent
|
2310
|
+
Group Asset","description":"Specify the parent group.","type":"complex","multiplicity":"1","searchable":false,"editable":true,"required":true,"formType":null,"format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":false,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"children":[{"id":107319,"name":"group-asset","displayName":"Group
|
2311
|
+
Asset","description":"Select the parent group asset to use.","type":"asset","multiplicity":"0..1","searchable":false,"editable":true,"required":true,"formType":"select","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":null,"valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[],"objectType":"Asset
|
2312
|
+
(Group)"},{"id":107320,"name":"group-asset-id","displayName":"Group Asset
|
2313
|
+
ID","description":"Specify the parent group asset ID or use an expression.","type":"string","multiplicity":"0..1","searchable":false,"editable":true,"required":true,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]}]},{"id":107321,"name":"membership-name","displayName":"Membership
|
2314
|
+
Name","description":"Optional membership name to set on the group-member relationship.","type":"string","multiplicity":"1","searchable":false,"editable":true,"required":false,"formType":"text","format":null,"formatDescription":null,"validation":null,"maxLength":-1,"expressionEnabled":true,"validationDescription":null,"validationHandler":"tv.nativ.mio.metadata.variable.def.validation.MaxLengthValidationHandler","valueGeneratorType":null,"unitString":null,"commentable":false,"isVisible":true,"preProcessors":[]}]}]}]}'
|
2315
|
+
http_version:
|
2316
|
+
recorded_at: Fri, 29 Apr 2016 11:51:36 GMT
|
2317
|
+
- request:
|
2318
|
+
method: get
|
2319
|
+
uri: https://master.dev.nativ-systems.com/api/actions/11119/actions
|
2320
|
+
body:
|
2321
|
+
encoding: US-ASCII
|
2322
|
+
string: ''
|
2323
|
+
headers:
|
2324
|
+
User-Agent:
|
2325
|
+
- Faraday v0.9.2
|
2326
|
+
Authorization:
|
2327
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
2328
|
+
Content-Type:
|
2329
|
+
- application/vnd.nativ.mio.v1+json
|
2330
|
+
response:
|
2331
|
+
status:
|
2332
|
+
code: 200
|
2333
|
+
message:
|
2334
|
+
headers:
|
2335
|
+
date:
|
2336
|
+
- Fri, 29 Apr 2016 11:52:51 GMT
|
2337
|
+
server:
|
2338
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
2339
|
+
pragma:
|
2340
|
+
- No-cache
|
2341
|
+
cache-control:
|
2342
|
+
- no-cache
|
2343
|
+
expires:
|
2344
|
+
- Thu, 01 Jan 1970 00:00:00 UTC
|
2345
|
+
set-cookie:
|
2346
|
+
- JSESSIONID=wEOv8r-54kYSErrEjUU8pB7P.-201388908; Path=/api; Secure
|
2347
|
+
content-type:
|
2348
|
+
- application/json
|
2349
|
+
access-control-allow-origin:
|
2350
|
+
- "*"
|
2351
|
+
access-control-allow-methods:
|
2352
|
+
- GET, POST, OPTIONS
|
2353
|
+
access-control-allow-headers:
|
2354
|
+
- origin, authorization, accept
|
2355
|
+
access-control-allow-credentials:
|
2356
|
+
- 'true'
|
2357
|
+
keep-alive:
|
2358
|
+
- timeout=5, max=98
|
2359
|
+
connection:
|
2360
|
+
- Keep-Alive
|
2361
|
+
transfer-encoding:
|
2362
|
+
- chunked
|
2363
|
+
body:
|
2364
|
+
encoding: UTF-8
|
2365
|
+
string: '[{"action":"delete"},{"action":"enable"}]'
|
2366
|
+
http_version:
|
2367
|
+
recorded_at: Fri, 29 Apr 2016 11:51:36 GMT
|
2368
|
+
- request:
|
2369
|
+
method: post
|
2370
|
+
uri: https://master.dev.nativ-systems.com/api/actions/11119/actions
|
2371
|
+
body:
|
2372
|
+
encoding: UTF-8
|
2373
|
+
string: '{"action":"enable"}'
|
2374
|
+
headers:
|
2375
|
+
User-Agent:
|
2376
|
+
- Faraday v0.9.2
|
2377
|
+
Authorization:
|
2378
|
+
- Basic bWFzdGVydXNlcjptYXN0ZXJ1c2Vy
|
2379
|
+
Content-Type:
|
2380
|
+
- application/vnd.nativ.mio.v1+json
|
2381
|
+
response:
|
2382
|
+
status:
|
2383
|
+
code: 200
|
2384
|
+
message:
|
2385
|
+
headers:
|
2386
|
+
date:
|
2387
|
+
- Fri, 29 Apr 2016 11:52:51 GMT
|
2388
|
+
server:
|
2389
|
+
- Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips
|
2390
|
+
set-cookie:
|
2391
|
+
- JSESSIONID=PyCAnupsldzc7Isl57Jo4x9S.-201388908; Path=/api; Secure
|
2392
|
+
content-type:
|
2393
|
+
- application/json
|
2394
|
+
access-control-allow-origin:
|
2395
|
+
- "*"
|
2396
|
+
access-control-allow-methods:
|
2397
|
+
- GET, POST, OPTIONS
|
2398
|
+
access-control-allow-headers:
|
2399
|
+
- origin, authorization, accept
|
2400
|
+
access-control-allow-credentials:
|
2401
|
+
- 'true'
|
2402
|
+
keep-alive:
|
2403
|
+
- timeout=5, max=97
|
2404
|
+
connection:
|
2405
|
+
- Keep-Alive
|
2406
|
+
transfer-encoding:
|
2407
|
+
- chunked
|
2408
|
+
body:
|
2409
|
+
encoding: UTF-8
|
2410
|
+
string: '{"id":11119,"uuid":"7b1333cf-006e-4480-aafd-cc023b69851e","name":"Import
|
2411
|
+
Action Factory","displayName":"Import Action Factory","objectType":{"id":18,"name":"action","href":"https://master.dev.nativ-systems.com/api/objectTypes/18","displayName":"Action","pluralName":"Actions","userDefined":false},"href":"https://master.dev.nativ-systems.com/api/actions/11119","owner":"masteruser
|
2412
|
+
masteruser","accountId":4}'
|
2413
|
+
http_version:
|
2414
|
+
recorded_at: Fri, 29 Apr 2016 11:51:37 GMT
|
2415
|
+
recorded_with: VCR 3.0.1
|