integration_pal 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 280b4edff89cc46a952f3f285598cd653e30302e
4
- data.tar.gz: b901792e8bd9b9c4b0a15f00ed417b63f37ef22c
3
+ metadata.gz: 0d625c06fdb80952245ad7d37fe09d74a9d011b3
4
+ data.tar.gz: b3277b04f666854487ea5d782429677fd0bda05c
5
5
  SHA512:
6
- metadata.gz: 0af7e88b02c0ff73a2b14bf00b49613a056d600e95d9e0c574e5657685f62b7d30a4f5526c2abd0a5c6b7e563534bfaf4d1a9330b71a251cf95320272542c4ce
7
- data.tar.gz: 8ba3b65e035a8b837c8280a39fa3fe12037d79a92468e5ec4e5c3af15b1755e4f6c24bd7cc2389b3d1a14ef909388af68240caf0f1dc16ab93c0cd1b73704aa7
6
+ metadata.gz: d0f1880b38dd1025d5c55757ed0d59bc6b10d09a7337250258f2868ac2cf1378c8b8b3b76354909a52979e1674dafb09236a5c5c75b598ac117a8a54ab5882a2
7
+ data.tar.gz: 06775d4cbdc220da40f93929bc3d68970609ec5448996e00de69236b28f478aa96e280859b45a7004c8dfca8b891d7b9dfe58f0b1df689c5f954a9e603f089ba
data/README.md CHANGED
@@ -7,7 +7,8 @@ This engine is meant to contain the elements of big_sis that can be shared acros
7
7
  - cas authentication
8
8
 
9
9
  ## Usage
10
- How to use my plugin.
10
+ 1) Create an active job
11
+ `bin/rails generate job example_job`
11
12
 
12
13
  ## Installation
13
14
  Add this line to your application's Gemfile:
@@ -30,19 +31,11 @@ $ gem install integration_pal
30
31
  ENV['ENCRYPTION_KEY'] # this must be 32 chars
31
32
  ENV['SALT_KEY'] # this must be 32 chars
32
33
 
33
- 2) copy this to rails application.rb
34
- @cas_server_url = 'https://cas-sso.instructure.com/'
35
- config.rack_cas.server_url = @cas_server_url
34
+ 2) run `bundle exec rails g integration_pal:install`
36
35
 
37
36
  3)set active job
38
37
  config.active_job.queue_adapter = :sidekiq # If you are using sidekiq
39
38
 
40
- 4) add engine to your routes.rb file
41
- mount IntegrationPal::Engine, at: '/'
42
-
43
- ## Contributing
44
- Contribution directions go here.
45
-
46
39
  ## License
47
40
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
48
41
 
data/Rakefile CHANGED
@@ -22,15 +22,4 @@ load 'rails/tasks/statistics.rake'
22
22
 
23
23
 
24
24
 
25
- require 'bundler/gem_tasks'
26
-
27
- require 'rake/testtask'
28
-
29
- Rake::TestTask.new(:test) do |t|
30
- t.libs << 'test'
31
- t.pattern = 'test/**/*_test.rb'
32
- t.verbose = false
33
- end
34
-
35
-
36
- task default: :test
25
+ require 'bundler/gem_tasks'
@@ -5,15 +5,15 @@ module IntegrationPal
5
5
  # GET /jobs/1
6
6
  def show
7
7
  @job = Job.find(params[:id])
8
- render json: @job, status: :success
8
+ render json: @job, status: :ok
9
9
  end
10
10
 
11
11
  # POST /jobs
12
12
  def create
13
13
  @job = Job.new(job_params)
14
14
  if @job.save
15
- @job.worker.job_class.perform_later(@job.id)
16
- render json: @job, status: :success
15
+ @job.queue_job
16
+ render json: @job, status: :ok
17
17
  else
18
18
  render json: {errors: @job.errors}, status: :unprocessable_entity
19
19
  end
@@ -6,7 +6,7 @@ module IntegrationPal
6
6
 
7
7
  # GET /jobs
8
8
  def index
9
- @jobs = Job.all
9
+ @jobs = Job.order('created_at DESC')
10
10
  end
11
11
 
12
12
  # GET /jobs/1
@@ -17,6 +17,24 @@ module IntegrationPal
17
17
  def set_status
18
18
  self.status ||= PENDING_STATUS
19
19
  end
20
+
21
+ def queue_job
22
+ raise 'Cannot start a non persisted job' unless self.persisted?
23
+ worker.job_class.perform_later(self.id)
24
+ end
25
+
26
+ def start
27
+ self.update_attributes(status: IN_PROGRESS_STATUS, started_at: Time.zone.now)
28
+ end
29
+
30
+ def fail(exception)
31
+ self.update_attributes(status: FAILED_STATUS, error: exception.message, backtrace: exception.backtrace)
32
+ end
33
+
34
+ def complete
35
+ self.update_attributes(status: COMPLETED_STATUS, finished_at: Time.zone.now)
36
+ end
37
+
20
38
  end
21
39
 
22
40
  end
@@ -9,6 +9,8 @@
9
9
  <th>Worker</th>
10
10
  <th>Status</th>
11
11
  <th>Progress</th>
12
+ <th>Started At</th>
13
+ <th>Finished At</th>
12
14
  </tr>
13
15
  </thead>
14
16
 
@@ -19,6 +21,8 @@
19
21
  <td><%= job.worker.name %></td>
20
22
  <td><%= job.status %></td>
21
23
  <td><%= job.progress %></td>
24
+ <td><%= time_ago_in_words(job.started_at) if job.started_at.present? %></td>
25
+ <td><%= time_ago_in_words(job.finished_at) if job.finished_at.present?%></td>
22
26
  </tr>
23
27
  <% end %>
24
28
  </tbody>
@@ -0,0 +1,6 @@
1
+ class AddErrorFieldsToJobs < ActiveRecord::Migration[5.1]
2
+ def change
3
+ add_column :integration_pal_jobs, :error, :string
4
+ add_column :integration_pal_jobs, :backtrace, :text
5
+ end
6
+ end
@@ -0,0 +1,34 @@
1
+ require 'active_support/concern'
2
+
3
+ module IntegrationPal
4
+ module BaseJob
5
+ extend ActiveSupport::Concern
6
+
7
+ included do
8
+ attr_accessor :job, :params
9
+
10
+ rescue_from(StandardError) do |exception|
11
+ job.fail(exception)
12
+ raise(exception)
13
+ end
14
+
15
+ def setup(active_job)
16
+ @job = IntegrationPal::Job.find(active_job.arguments.first)
17
+ @params = @job.job_params.merge(@job.worker.settings)
18
+ @job.start
19
+ @job
20
+ end
21
+
22
+ def teardown(job)
23
+ job.complete
24
+ end
25
+
26
+ around_perform do |job, block|
27
+ persisted_job = setup(job)
28
+ block.call
29
+ teardown(persisted_job)
30
+ end
31
+ end
32
+
33
+ end
34
+ end
@@ -0,0 +1,10 @@
1
+ Description:
2
+ Installs the engine
3
+
4
+ Example:
5
+ rails generate integration_pal:install
6
+
7
+ This will create:
8
+ - additional config in config/application.rb
9
+ - add routes to config/routes.rb
10
+ - add code for integration_pal to your jobs/application_job.rb
@@ -0,0 +1,25 @@
1
+ module IntegrationPal
2
+ class InstallGenerator < Rails::Generators::Base
3
+ source_root File.expand_path('../templates', __FILE__)
4
+
5
+ desc "Add CAS config to application.rb"
6
+ def update_application_config
7
+ application "@cas_server_url = 'https://cas-sso.instructure.com/'"
8
+ application "config.rack_cas.server_url = @cas_server_url"
9
+ end
10
+
11
+ desc "Mount the engine"
12
+ def add_routes
13
+ route "mount IntegrationPal::Engine, at: '/'"
14
+ end
15
+
16
+ desc "Add setup to ApplicationJob"
17
+ def add_common_methods_to_application_job
18
+ inject_into_file "#{Rails.root}/app/jobs/application_job.rb", after: "class ApplicationJob < ActiveJob::Base\n" do <<-'RUBY'
19
+ include IntegrationPal::BaseJob
20
+ RUBY
21
+ end
22
+ end
23
+
24
+ end
25
+ end
@@ -1,3 +1,3 @@
1
1
  module IntegrationPal
2
- VERSION = '0.1.1'
3
- end
2
+ VERSION = '0.1.2'
3
+ end
@@ -1,6 +1,14 @@
1
1
  require_relative 'boot'
2
2
 
3
- require 'rails/all'
3
+ # Pick the frameworks you want:
4
+ require "active_record/railtie"
5
+ require "action_controller/railtie"
6
+ require "action_view/railtie"
7
+ require "action_mailer/railtie"
8
+ require "active_job/railtie"
9
+ require "action_cable/engine"
10
+ # require "rails/test_unit/railtie"
11
+ require "sprockets/railtie"
4
12
 
5
13
  Bundler.require(*Rails.groups)
6
14
  require "integration_pal"
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema.define(version: 20170525153603) do
13
+ ActiveRecord::Schema.define(version: 20170531201218) do
14
14
 
15
15
  # These are extensions that must be enabled in order to support this database
16
16
  enable_extension "plpgsql"
@@ -24,6 +24,8 @@ ActiveRecord::Schema.define(version: 20170525153603) do
24
24
  t.integer "worker_id"
25
25
  t.datetime "created_at", null: false
26
26
  t.datetime "updated_at", null: false
27
+ t.string "error"
28
+ t.text "backtrace"
27
29
  end
28
30
 
29
31
  create_table "integration_pal_workers", force: :cascade do |t|
File without changes
@@ -0,0 +1,944 @@
1
+  (2.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2
+  (0.1ms) BEGIN
3
+  (0.1ms) SAVEPOINT active_record_1
4
+ SQL (2.6ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "be30515cfbb44d2a33fbf0a4900ec347"], ["access_id", "036c40b1bbcfb03c186748a6b66a1654"], ["secret_key", "bc751eed50657ff9f54bad62a161f6f8"], ["job_type", "TestJob"], ["encrypted_settings", "rI3ZwCzZYEnCIEvPzhOOVWIgBrQ=\n"], ["encrypted_settings_iv", "v65pQGKYEC+g4HJt\n"], ["created_at", "2017-05-31 17:35:41.666673"], ["updated_at", "2017-05-31 17:35:41.666673"]]
5
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6
+  (0.1ms) SAVEPOINT active_record_1
7
+ SQL (3.8ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["progress", "0"], ["worker_id", 515], ["created_at", "2017-05-31 17:35:41.676602"], ["updated_at", "2017-05-31 17:35:41.676602"]]
8
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9
+ Processing by IntegrationPal::Api::V1::JobsController#show as HTML
10
+ Parameters: {"id"=>"186"}
11
+ IntegrationPal::Worker Load (2.9ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" IS NULL LIMIT $1 [["LIMIT", 1]]
12
+ Filter chain halted as :authenticate_api rendered or redirected
13
+ Completed 401 Unauthorized in 5ms (ActiveRecord: 3.0ms)
14
+  (0.2ms) ROLLBACK
15
+  (0.1ms) BEGIN
16
+  (0.1ms) SAVEPOINT active_record_1
17
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "f604a4704c5bcab5bd06a746b354886a"], ["access_id", "d9ed942ab88ac5eb4d3b7008126e24ca"], ["secret_key", "82849e5c60d0fe3c5a5c88c842048f13"], ["job_type", "TestJob"], ["encrypted_settings", "ipQhJELigSpow57/frghB+GlVUo=\n"], ["encrypted_settings_iv", "ej6wkjIATj0JVddZ\n"], ["created_at", "2017-05-31 17:35:41.707326"], ["updated_at", "2017-05-31 17:35:41.707326"]]
18
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19
+  (0.2ms) SAVEPOINT active_record_1
20
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "d9bf1c31e1831e1f6c5c263437ba85c9"], ["access_id", "20ec300e435265aab2a05d41a4cdf7cc"], ["secret_key", "a92060c13e95981a3d60704fa41f15ba"], ["job_type", "TestJob"], ["encrypted_settings", "aYTfT/9MtwLlxd5pFShOBczyKEo=\n"], ["encrypted_settings_iv", "b7s/BUN9ItuVcl3x\n"], ["created_at", "2017-05-31 17:35:41.722575"], ["updated_at", "2017-05-31 17:35:41.722575"]]
21
+  (0.1ms) RELEASE SAVEPOINT active_record_1
22
+  (0.1ms) SAVEPOINT active_record_1
23
+ SQL (0.2ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["progress", "0"], ["worker_id", 517], ["created_at", "2017-05-31 17:35:41.724491"], ["updated_at", "2017-05-31 17:35:41.724491"]]
24
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25
+ Processing by IntegrationPal::Api::V1::JobsController#show as JSON
26
+ Parameters: {"id"=>"187"}
27
+ IntegrationPal::Worker Load (0.3ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "d9ed942ab88ac5eb4d3b7008126e24ca"], ["LIMIT", 1]]
28
+ IntegrationPal::Job Load (2.8ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 187], ["LIMIT", 1]]
29
+ Completed 500 Internal Server Error in 14ms (Views: 0.8ms | ActiveRecord: 3.1ms)
30
+  (0.1ms) ROLLBACK
31
+  (0.1ms) BEGIN
32
+  (0.1ms) SAVEPOINT active_record_1
33
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "65ef211c9a58c274798e58e0943822cb"], ["access_id", "f14cdff8cb58912e51b88a8989460f13"], ["secret_key", "58a764410131acfc4f6851e582bda797"], ["job_type", "TestJob"], ["encrypted_settings", "OSdW5DGEsa1Z97l6R5SEmAAyheU=\n"], ["encrypted_settings_iv", "9PdNOI51ClXpV/ea\n"], ["created_at", "2017-05-31 17:35:41.780588"], ["updated_at", "2017-05-31 17:35:41.780588"]]
34
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35
+  (0.4ms) SELECT COUNT(*) FROM "integration_pal_jobs"
36
+  (0.2ms) SAVEPOINT active_record_1
37
+ SQL (0.5ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "45efd7cf5b1b5472463cce09cc7b58a3"], ["access_id", "4b47434ccd2bf933fc16d550b3a421fc"], ["secret_key", "5047cd09ff53e3fd5c2767749cd9a107"], ["job_type", "TestJob"], ["encrypted_settings", "yQlUpSePkQYolTrtVbayRlV3DRQ=\n"], ["encrypted_settings_iv", "ybFdfqAdO4vQRbfP\n"], ["created_at", "2017-05-31 17:35:41.804460"], ["updated_at", "2017-05-31 17:35:41.804460"]]
38
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39
+ Processing by IntegrationPal::Api::V1::JobsController#create as HTML
40
+ Parameters: {"job"=>{"created_at"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"519"}}
41
+ Unpermitted parameters: :created_at, :finished_at, :id, :progress, :started_at, :status, :updated_at
42
+  (0.2ms) SAVEPOINT active_record_1
43
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 519], ["LIMIT", 1]]
44
+ SQL (0.3ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["worker_id", 519], ["created_at", "2017-05-31 17:35:41.826671"], ["updated_at", "2017-05-31 17:35:41.826671"]]
45
+  (0.1ms) RELEASE SAVEPOINT active_record_1
46
+ [ActiveJob] [TestJob] [8fd39597-d0ed-4690-8a4c-20dcecf8c6c2] Performing TestJob (Job ID: 8fd39597-d0ed-4690-8a4c-20dcecf8c6c2) from Async(default) with arguments: 188
47
+ [ActiveJob] Enqueued TestJob (Job ID: 8fd39597-d0ed-4690-8a4c-20dcecf8c6c2) to Async(default) with arguments: 188
48
+ Completed 500 Internal Server Error in 16ms (Views: 0.5ms | ActiveRecord: 0.8ms)
49
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
50
+  (1.2ms) ROLLBACK
51
+  (0.1ms) BEGIN
52
+  (0.6ms) SAVEPOINT active_record_1
53
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "b14442c67745e3e4c68aa57b25eca536"], ["access_id", "7f783672aa93b42b8b597beed634dc5b"], ["secret_key", "9e7361ab7af39a1bf19d3a806e78bb03"], ["job_type", "TestJob"], ["encrypted_settings", "p/V185x16a8cBwNBA/4GxBQXFuQ=\n"], ["encrypted_settings_iv", "u3DR09C/xVxR0aNT\n"], ["created_at", "2017-05-31 17:35:41.844488"], ["updated_at", "2017-05-31 17:35:41.844488"]]
54
+  (0.1ms) RELEASE SAVEPOINT active_record_1
55
+  (0.2ms) SAVEPOINT active_record_1
56
+ SQL (0.7ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "b2c22d1c637f3ae4144d385b9306d05d"], ["access_id", "2be4adff9e85ff1df85a154884a4e369"], ["secret_key", "09c42e9ce14c4924091c333555fb740b"], ["job_type", "TestJob"], ["encrypted_settings", "ZVvxMGJS7+vTxqdDba6EDpxBvlc=\n"], ["encrypted_settings_iv", "trOq6GrqT0aYrlXE\n"], ["created_at", "2017-05-31 17:35:41.858637"], ["updated_at", "2017-05-31 17:35:41.858637"]]
57
+  (0.1ms) RELEASE SAVEPOINT active_record_1
58
+ Processing by IntegrationPal::Api::V1::JobsController#create as HTML
59
+ Parameters: {"job"=>{"created_at"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"521"}}
60
+ Unpermitted parameters: :created_at, :finished_at, :id, :progress, :started_at, :status, :updated_at
61
+ [ActiveJob] [TestJob] [8fd39597-d0ed-4690-8a4c-20dcecf8c6c2] Performed TestJob (Job ID: 8fd39597-d0ed-4690-8a4c-20dcecf8c6c2) from Async(default) in 31.45ms
62
+  (0.4ms) SAVEPOINT active_record_1
63
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 521], ["LIMIT", 1]]
64
+ SQL (0.2ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["worker_id", 521], ["created_at", "2017-05-31 17:35:41.866854"], ["updated_at", "2017-05-31 17:35:41.866854"]]
65
+  (0.1ms) RELEASE SAVEPOINT active_record_1
66
+ [ActiveJob] Enqueued TestJob (Job ID: b39e4cd2-6ab3-4e14-af15-13be03c1d17c) to Async(default) with arguments: 189
67
+ Completed 500 Internal Server Error in 7ms (Views: 0.4ms | ActiveRecord: 0.8ms)
68
+ [ActiveJob] [TestJob] [b39e4cd2-6ab3-4e14-af15-13be03c1d17c] Performing TestJob (Job ID: b39e4cd2-6ab3-4e14-af15-13be03c1d17c) from Async(default) with arguments: 189
69
+  (0.4ms) ROLLBACK
70
+ [ActiveJob] [TestJob] [b39e4cd2-6ab3-4e14-af15-13be03c1d17c] Performed TestJob (Job ID: b39e4cd2-6ab3-4e14-af15-13be03c1d17c) from Async(default) in 0.05ms
71
+  (0.1ms) BEGIN
72
+  (0.1ms) SAVEPOINT active_record_1
73
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "4ff1e65fb9d642c8ca777af1d097dd54"], ["access_id", "4ec2bc4051858cefe367b19401159bf1"], ["secret_key", "f4a06dd9f9f034eb827f7d2d484216f1"], ["job_type", "TestJob"], ["encrypted_settings", "P9z3KXEWlM+pz9u/rKZDk3VWhPc=\n"], ["encrypted_settings_iv", "5y0FPuS1KLSqmE3s\n"], ["created_at", "2017-05-31 17:35:41.884328"], ["updated_at", "2017-05-31 17:35:41.884328"]]
74
+  (0.1ms) RELEASE SAVEPOINT active_record_1
75
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
76
+ Processing by IntegrationPal::Api::V1::JobsController#create as HTML
77
+ Parameters: {"job"=>{"created_at"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>""}}
78
+ Unpermitted parameters: :created_at, :finished_at, :id, :progress, :started_at, :status, :updated_at
79
+  (0.1ms) SAVEPOINT active_record_1
80
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
81
+ Completed 422 Unprocessable Entity in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
82
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
83
+  (0.1ms) ROLLBACK
84
+  (0.1ms) BEGIN
85
+  (0.1ms) SAVEPOINT active_record_1
86
+ SQL (0.2ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "0ba4ff26851c82bd6b354949dea9e957"], ["access_id", "63a91ad3bf2740951e2ed33b9c7c61bb"], ["secret_key", "0f4c82781472fc34313e1d2afceab176"], ["job_type", "TestJob"], ["encrypted_settings", "M5HvztLCqqrxBI5fqvMLwpOyvTg=\n"], ["encrypted_settings_iv", "O1b6++JrMzjf3MHA\n"], ["created_at", "2017-05-31 17:35:41.902627"], ["updated_at", "2017-05-31 17:35:41.902627"]]
87
+  (0.1ms) RELEASE SAVEPOINT active_record_1
88
+  (0.1ms) SAVEPOINT active_record_1
89
+ SQL (0.3ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["progress", "0"], ["worker_id", 523], ["created_at", "2017-05-31 17:35:41.907852"], ["updated_at", "2017-05-31 17:35:41.907852"]]
90
+  (0.1ms) RELEASE SAVEPOINT active_record_1
91
+ Processing by IntegrationPal::JobsController#index as HTML
92
+ Rendering text template
93
+ Rendered text template (0.0ms)
94
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
95
+ Filter chain halted as :authenticate! rendered or redirected
96
+ Completed 401 Unauthorized in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)
97
+  (0.2ms) ROLLBACK
98
+  (0.1ms) BEGIN
99
+  (0.1ms) SAVEPOINT active_record_1
100
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "900e8f759373824d1f14d57ead00a1f1"], ["access_id", "9aea945d2837e10d1472e8e245fe136a"], ["secret_key", "463bbbb5d9fd3f41bfc07dd705c6abba"], ["job_type", "TestJob"], ["encrypted_settings", "FAFctp1PwfKIY7zOowMH8CGux4Y=\n"], ["encrypted_settings_iv", "kW1UEanb7csMMo1r\n"], ["created_at", "2017-05-31 17:35:41.938768"], ["updated_at", "2017-05-31 17:35:41.938768"]]
101
+  (0.1ms) RELEASE SAVEPOINT active_record_1
102
+  (0.1ms) SAVEPOINT active_record_1
103
+ SQL (0.2ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["progress", "0"], ["worker_id", 524], ["created_at", "2017-05-31 17:35:41.941045"], ["updated_at", "2017-05-31 17:35:41.941045"]]
104
+  (0.1ms) RELEASE SAVEPOINT active_record_1
105
+ Processing by IntegrationPal::JobsController#index as HTML
106
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/index.html.erb within layouts/integration_pal/application
107
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/index.html.erb within layouts/integration_pal/application (0.2ms)
108
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
109
+ Completed 200 OK in 12ms (Views: 8.0ms | ActiveRecord: 0.0ms)
110
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs"
111
+  (0.1ms) ROLLBACK
112
+  (0.1ms) BEGIN
113
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
114
+  (0.2ms) SAVEPOINT active_record_1
115
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "c306be3d97025c04e9c7a5352b86a7e2"], ["access_id", "5e9d0eede78e2f6976cde2e20c26b8df"], ["secret_key", "0c23f186f4911295b244aec949e0327e"], ["job_type", "TestJob"], ["encrypted_settings", "nKToKe/4lu+36rmuM34PKZDrdps=\n"], ["encrypted_settings_iv", "DLryHsOprpilopIx\n"], ["created_at", "2017-05-31 17:35:41.974783"], ["updated_at", "2017-05-31 17:35:41.974783"]]
116
+  (0.1ms) RELEASE SAVEPOINT active_record_1
117
+ Processing by IntegrationPal::JobsController#create as HTML
118
+ Parameters: {"job"=>{"created_at"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"525"}}
119
+ Unpermitted parameters: :created_at, :finished_at, :id, :job_params, :started_at, :updated_at
120
+  (0.1ms) SAVEPOINT active_record_1
121
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 525], ["LIMIT", 1]]
122
+ SQL (0.3ms) INSERT INTO "integration_pal_jobs" ("status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", "pending"], ["progress", "0"], ["worker_id", 525], ["created_at", "2017-05-31 17:35:41.984228"], ["updated_at", "2017-05-31 17:35:41.984228"]]
123
+  (0.1ms) RELEASE SAVEPOINT active_record_1
124
+ Redirected to http://test.host/integration_pal/jobs/192
125
+ Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
126
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
127
+  (0.1ms) ROLLBACK
128
+  (0.1ms) BEGIN
129
+  (0.1ms) SAVEPOINT active_record_1
130
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "41362b9784c0c15ab47e05edaa06b6ea"], ["access_id", "2abdb6fb6ca5d4d737372cab4ee78b26"], ["secret_key", "ee8ec5ea11dd8e0099576582a6dd9c2b"], ["job_type", "TestJob"], ["encrypted_settings", "1Ai48hPYfzBMnWrsGF3OpTN6MHI=\n"], ["encrypted_settings_iv", "hbY7Vxnrat84PZ75\n"], ["created_at", "2017-05-31 17:35:41.999821"], ["updated_at", "2017-05-31 17:35:41.999821"]]
131
+  (0.1ms) RELEASE SAVEPOINT active_record_1
132
+ Processing by IntegrationPal::JobsController#create as HTML
133
+ Parameters: {"job"=>{"created_at"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"526"}}
134
+ Unpermitted parameters: :created_at, :finished_at, :id, :job_params, :started_at, :updated_at
135
+  (0.1ms) SAVEPOINT active_record_1
136
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 526], ["LIMIT", 1]]
137
+ SQL (0.2ms) INSERT INTO "integration_pal_jobs" ("status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", "pending"], ["progress", "0"], ["worker_id", 526], ["created_at", "2017-05-31 17:35:42.009031"], ["updated_at", "2017-05-31 17:35:42.009031"]]
138
+  (0.1ms) RELEASE SAVEPOINT active_record_1
139
+ Redirected to http://test.host/integration_pal/jobs/193
140
+ Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
141
+  (0.1ms) ROLLBACK
142
+  (0.1ms) BEGIN
143
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
144
+ Processing by IntegrationPal::JobsController#create as HTML
145
+ Parameters: {"job"=>{"created_at"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>""}}
146
+ Unpermitted parameters: :created_at, :finished_at, :id, :job_params, :started_at, :updated_at
147
+  (0.1ms) SAVEPOINT active_record_1
148
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
149
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/new.html.erb within layouts/integration_pal/application
150
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/new.html.erb within layouts/integration_pal/application (0.2ms)
151
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
152
+ Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.2ms)
153
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
154
+  (0.1ms) ROLLBACK
155
+  (0.1ms) BEGIN
156
+  (0.2ms) SAVEPOINT active_record_1
157
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "efe260e1793c51fbe508751e75ea8697"], ["access_id", "595ec4ace0ec5b7876cd16b635dce549"], ["secret_key", "a87e4d69e7ca58e0db99e3621b4689e8"], ["job_type", "TestJob"], ["encrypted_settings", "k7ii2lSoJYaiUZApSCDYKBWndJ0=\n"], ["encrypted_settings_iv", "a4KQydnJNAI6jgDB\n"], ["created_at", "2017-05-31 17:35:42.043866"], ["updated_at", "2017-05-31 17:35:42.043866"]]
158
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159
+  (0.1ms) SAVEPOINT active_record_1
160
+ SQL (0.2ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["progress", "0"], ["worker_id", 527], ["created_at", "2017-05-31 17:35:42.046106"], ["updated_at", "2017-05-31 17:35:42.046106"]]
161
+  (0.1ms) RELEASE SAVEPOINT active_record_1
162
+ Processing by IntegrationPal::JobsController#update as HTML
163
+ Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"194"}
164
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 194], ["LIMIT", 1]]
165
+ Unpermitted parameter: :name
166
+  (0.1ms) SAVEPOINT active_record_1
167
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 527], ["LIMIT", 1]]
168
+  (0.2ms) RELEASE SAVEPOINT active_record_1
169
+ Redirected to http://test.host/integration_pal/jobs/194
170
+ Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
171
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 194], ["LIMIT", 1]]
172
+  (0.1ms) ROLLBACK
173
+  (0.1ms) BEGIN
174
+  (0.1ms) SAVEPOINT active_record_1
175
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "115fd89afc8f6d94112b1c4c9ce06493"], ["access_id", "95ede4dc0eaf8466ba40def7fd82de12"], ["secret_key", "5aa688fc67595436968a075932d2ddac"], ["job_type", "TestJob"], ["encrypted_settings", "L7lPwaeBjXsnZuVcZqwyNqs7K/o=\n"], ["encrypted_settings_iv", "yDhtTe3nxdjUZqEr\n"], ["created_at", "2017-05-31 17:35:42.070596"], ["updated_at", "2017-05-31 17:35:42.070596"]]
176
+  (0.1ms) RELEASE SAVEPOINT active_record_1
177
+  (0.1ms) SAVEPOINT active_record_1
178
+ SQL (0.2ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["progress", "0"], ["worker_id", 528], ["created_at", "2017-05-31 17:35:42.072511"], ["updated_at", "2017-05-31 17:35:42.072511"]]
179
+  (0.1ms) RELEASE SAVEPOINT active_record_1
180
+ Processing by IntegrationPal::JobsController#update as HTML
181
+ Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"195"}
182
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 195], ["LIMIT", 1]]
183
+ Unpermitted parameter: :name
184
+  (0.1ms) SAVEPOINT active_record_1
185
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 528], ["LIMIT", 1]]
186
+  (0.2ms) RELEASE SAVEPOINT active_record_1
187
+ Redirected to http://test.host/integration_pal/jobs/195
188
+ Completed 302 Found in 12ms (ActiveRecord: 0.6ms)
189
+  (0.2ms) ROLLBACK
190
+  (0.2ms) BEGIN
191
+  (0.1ms) SAVEPOINT active_record_1
192
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "243046ab781e5fa74d3dc074973d6b6f"], ["access_id", "64f7c7175c9bdacdeb3687bb098316cd"], ["secret_key", "c9d840716cb47f29d0930f3f9ac25e2a"], ["job_type", "TestJob"], ["encrypted_settings", "csOyPDesWvRB+oADu7N4bYhpaW8=\n"], ["encrypted_settings_iv", "lKaKOTfKFz2nQodx\n"], ["created_at", "2017-05-31 17:35:42.100332"], ["updated_at", "2017-05-31 17:35:42.100332"]]
193
+  (0.1ms) RELEASE SAVEPOINT active_record_1
194
+  (0.1ms) SAVEPOINT active_record_1
195
+ SQL (0.2ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["progress", "0"], ["worker_id", 529], ["created_at", "2017-05-31 17:35:42.102440"], ["updated_at", "2017-05-31 17:35:42.102440"]]
196
+  (0.1ms) RELEASE SAVEPOINT active_record_1
197
+ Processing by IntegrationPal::JobsController#update as HTML
198
+ Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"196"}
199
+ IntegrationPal::Job Load (0.3ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 196], ["LIMIT", 1]]
200
+ Unpermitted parameter: :name
201
+  (0.1ms) SAVEPOINT active_record_1
202
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 529], ["LIMIT", 1]]
203
+  (0.1ms) RELEASE SAVEPOINT active_record_1
204
+ Redirected to http://test.host/integration_pal/jobs/196
205
+ Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
206
+  (0.1ms) ROLLBACK
207
+  (0.1ms) BEGIN
208
+  (0.1ms) SAVEPOINT active_record_1
209
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "5950b17df3420a0e39d047e3f0b45e5a"], ["access_id", "8199f7101f7a6b8d6785aa2e75920237"], ["secret_key", "c78aa52f1271e173a7d3b3837ae8cab5"], ["job_type", "TestJob"], ["encrypted_settings", "QKFGmUHemDfscmTtY1Aoqa0VfyE=\n"], ["encrypted_settings_iv", "FpM1RlBa0jZdKtIz\n"], ["created_at", "2017-05-31 17:35:42.129334"], ["updated_at", "2017-05-31 17:35:42.129334"]]
210
+  (0.1ms) RELEASE SAVEPOINT active_record_1
211
+  (0.1ms) SAVEPOINT active_record_1
212
+ SQL (0.2ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["progress", "0"], ["worker_id", 530], ["created_at", "2017-05-31 17:35:42.131238"], ["updated_at", "2017-05-31 17:35:42.131238"]]
213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
214
+ Processing by IntegrationPal::JobsController#update as HTML
215
+ Parameters: {"job"=>{"worker_id"=>""}, "id"=>"197"}
216
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 197], ["LIMIT", 1]]
217
+  (0.1ms) SAVEPOINT active_record_1
218
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
219
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application
220
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application (0.3ms)
221
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
222
+ Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.4ms)
223
+  (0.2ms) ROLLBACK
224
+  (0.1ms) BEGIN
225
+  (0.2ms) SAVEPOINT active_record_1
226
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "74b4c94e2f06f3c3bb96429d919f601f"], ["access_id", "1f00f2311680aa3ce59749c4087903fa"], ["secret_key", "5d8dacefe06d0fdc1e1c11a00ce54177"], ["job_type", "TestJob"], ["encrypted_settings", "fMtg9kCc1V0ufUGOmZ1Z94BzbhI=\n"], ["encrypted_settings_iv", "9X6PwYkBd+v0zfNA\n"], ["created_at", "2017-05-31 17:35:42.159058"], ["updated_at", "2017-05-31 17:35:42.159058"]]
227
+  (0.1ms) RELEASE SAVEPOINT active_record_1
228
+  (0.1ms) SAVEPOINT active_record_1
229
+ SQL (0.2ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["progress", "0"], ["worker_id", 531], ["created_at", "2017-05-31 17:35:42.161133"], ["updated_at", "2017-05-31 17:35:42.161133"]]
230
+  (0.1ms) RELEASE SAVEPOINT active_record_1
231
+ Processing by IntegrationPal::JobsController#update as HTML
232
+ Parameters: {"job"=>{"worker_id"=>""}, "id"=>"198"}
233
+ IntegrationPal::Job Load (0.1ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 198], ["LIMIT", 1]]
234
+  (0.1ms) SAVEPOINT active_record_1
235
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
236
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application
237
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application (0.0ms)
238
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
239
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)
240
+  (0.2ms) ROLLBACK
241
+  (0.2ms) BEGIN
242
+  (0.1ms) SAVEPOINT active_record_1
243
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "528a5feeaca2edf9bfdfce770bf4f6ae"], ["access_id", "693aba89e4fc43a9487d703f25aed70e"], ["secret_key", "d24f454a35139c03c5d413672d02429d"], ["job_type", "TestJob"], ["encrypted_settings", "DvskmCYpEOeXUzzMmODkvg8ogWU=\n"], ["encrypted_settings_iv", "J70flEZpwKtricOe\n"], ["created_at", "2017-05-31 17:35:42.181947"], ["updated_at", "2017-05-31 17:35:42.181947"]]
244
+  (0.1ms) RELEASE SAVEPOINT active_record_1
245
+ Processing by IntegrationPal::WorkersController#index as HTML
246
+ Rendering text template
247
+ Rendered text template (0.0ms)
248
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
249
+ Filter chain halted as :authenticate! rendered or redirected
250
+ Completed 401 Unauthorized in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
251
+  (0.1ms) ROLLBACK
252
+  (0.1ms) BEGIN
253
+  (0.1ms) SAVEPOINT active_record_1
254
+ SQL (0.2ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "1b27590548c4aa8c837fe4bae0c0dd27"], ["access_id", "b19654270fbcf823c63f9fa68b4436f1"], ["secret_key", "1cae22a7aa3c75b63afc00a87a43bd41"], ["job_type", "TestJob"], ["encrypted_settings", "QpwCdjjiS2qgQjW59g0F23EWY3o=\n"], ["encrypted_settings_iv", "tre4I0UvzDvK8zGQ\n"], ["created_at", "2017-05-31 17:35:42.197047"], ["updated_at", "2017-05-31 17:35:42.197047"]]
255
+  (0.1ms) RELEASE SAVEPOINT active_record_1
256
+ Processing by IntegrationPal::WorkersController#index as HTML
257
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/index.html.erb within layouts/integration_pal/application
258
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/index.html.erb within layouts/integration_pal/application (0.2ms)
259
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
260
+ Completed 200 OK in 15ms (Views: 4.1ms | ActiveRecord: 0.0ms)
261
+ IntegrationPal::Worker Load (0.3ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers"
262
+  (0.2ms) ROLLBACK
263
+  (0.1ms) BEGIN
264
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_workers"
265
+ Processing by IntegrationPal::WorkersController#create as HTML
266
+ Parameters: {"worker"=>{"access_id"=>"17f766444584750712ff38307c998c9d", "created_at"=>"", "encrypted_settings"=>"yNCtWCuxgecoKxNPaxCS9XFgevA=\n", "encrypted_settings_iv"=>"aFuYDdj+pLZkO5JX\n", "id"=>"", "job_type"=>"TestJob", "name"=>"030ad716af0e854abd7ddcb4c515d373", "secret_key"=>"e67d71468b4f55fa31877dbcb38abafd", "updated_at"=>""}}
267
+ Unpermitted parameters: :created_at, :encrypted_settings, :encrypted_settings_iv, :id, :updated_at
268
+  (0.2ms) SAVEPOINT active_record_1
269
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "030ad716af0e854abd7ddcb4c515d373"], ["access_id", "17f766444584750712ff38307c998c9d"], ["secret_key", "e67d71468b4f55fa31877dbcb38abafd"], ["job_type", "TestJob"], ["encrypted_settings", "9CrFLHRDn0OxRnSJKDWltkc5lto=\n"], ["encrypted_settings_iv", "ivhAssjxipr4vW/k\n"], ["created_at", "2017-05-31 17:35:42.240863"], ["updated_at", "2017-05-31 17:35:42.240863"]]
270
+  (0.1ms) RELEASE SAVEPOINT active_record_1
271
+ Redirected to http://test.host/integration_pal/workers/534
272
+ Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
273
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_workers"
274
+  (0.1ms) ROLLBACK
275
+  (0.1ms) BEGIN
276
+ Processing by IntegrationPal::WorkersController#create as HTML
277
+ Parameters: {"worker"=>{"access_id"=>"4cb7577598bdc031bd56b6957860c103", "created_at"=>"", "encrypted_settings"=>"fD/9VPiN9asXuGj5JXMB6B2CGG8=\n", "encrypted_settings_iv"=>"W0xFJCkoNsMdtdSU\n", "id"=>"", "job_type"=>"TestJob", "name"=>"7ac189725d531f8fa4f7928187235ccd", "secret_key"=>"90b4b73884d1ea885136328e5e5e6115", "updated_at"=>""}}
278
+ Unpermitted parameters: :created_at, :encrypted_settings, :encrypted_settings_iv, :id, :updated_at
279
+  (0.1ms) SAVEPOINT active_record_1
280
+ SQL (0.2ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "7ac189725d531f8fa4f7928187235ccd"], ["access_id", "4cb7577598bdc031bd56b6957860c103"], ["secret_key", "90b4b73884d1ea885136328e5e5e6115"], ["job_type", "TestJob"], ["encrypted_settings", "uIEal/889CyXXAb+7toZHkRSJYQ=\n"], ["encrypted_settings_iv", "5B6K2eyJBLivY+rw\n"], ["created_at", "2017-05-31 17:35:42.261951"], ["updated_at", "2017-05-31 17:35:42.261951"]]
281
+  (0.1ms) RELEASE SAVEPOINT active_record_1
282
+ Redirected to http://test.host/integration_pal/workers/535
283
+ Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
284
+  (0.1ms) ROLLBACK
285
+  (0.1ms) BEGIN
286
+  (5.0ms) SELECT COUNT(*) FROM "integration_pal_workers"
287
+ Processing by IntegrationPal::WorkersController#create as HTML
288
+ Parameters: {"worker"=>{"access_id"=>"aae0bad9ede5e25fea87b3d017dafc85", "created_at"=>"", "encrypted_settings"=>"AqQHRepc53slgNF+8iIBL/OakAI=\n", "encrypted_settings_iv"=>"dvcId09opsOBBY3N\n", "id"=>"", "job_type"=>"", "name"=>"8aab86ed20fccf87ee2d02b7533a0679", "secret_key"=>"bdf12adf8c00ba2aedbe33a2a8022cfb", "updated_at"=>""}}
289
+ Unpermitted parameters: :created_at, :encrypted_settings, :encrypted_settings_iv, :id, :updated_at
290
+  (0.2ms) SAVEPOINT active_record_1
291
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
292
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/new.html.erb within layouts/integration_pal/application
293
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/new.html.erb within layouts/integration_pal/application (0.3ms)
294
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
295
+ Completed 200 OK in 13ms (Views: 6.9ms | ActiveRecord: 0.4ms)
296
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_workers"
297
+  (0.1ms) ROLLBACK
298
+  (0.1ms) BEGIN
299
+  (0.1ms) SAVEPOINT active_record_1
300
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "09ee6297ef0a10acac60a953b47a6010"], ["access_id", "4e97602e30adc54bbc4ed8f8db11b150"], ["secret_key", "65983b77d81bdc2f054cc76399b99bff"], ["job_type", "TestJob"], ["encrypted_settings", "2Po9tpgSJWR6UHrOJudTmsgHuGk=\n"], ["encrypted_settings_iv", "ZPzoJIuCaDTeWy9p\n"], ["created_at", "2017-05-31 17:35:42.309899"], ["updated_at", "2017-05-31 17:35:42.309899"]]
301
+  (0.1ms) RELEASE SAVEPOINT active_record_1
302
+ Processing by IntegrationPal::WorkersController#update as HTML
303
+ Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"536"}
304
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 536], ["LIMIT", 1]]
305
+  (0.1ms) SAVEPOINT active_record_1
306
+ SQL (0.3ms) UPDATE "integration_pal_workers" SET "name" = $1, "updated_at" = $2 WHERE "integration_pal_workers"."id" = $3 [["name", "New Name"], ["updated_at", "2017-05-31 17:35:42.317234"], ["id", 536]]
307
+  (0.1ms) RELEASE SAVEPOINT active_record_1
308
+ Redirected to http://test.host/integration_pal/workers/536
309
+ Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
310
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 536], ["LIMIT", 1]]
311
+  (0.1ms) ROLLBACK
312
+  (0.1ms) BEGIN
313
+  (0.1ms) SAVEPOINT active_record_1
314
+ SQL (0.2ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "193049420ca06ef9100a14d27c74446a"], ["access_id", "d064fff43beba3462026044a7c64a6e6"], ["secret_key", "2f570be245b1d784278f6f201218daf5"], ["job_type", "TestJob"], ["encrypted_settings", "7AsI1iRttFmUDsO7rnhh3BZWQDo=\n"], ["encrypted_settings_iv", "PdGRapMckccJHydo\n"], ["created_at", "2017-05-31 17:35:42.335135"], ["updated_at", "2017-05-31 17:35:42.335135"]]
315
+  (0.1ms) RELEASE SAVEPOINT active_record_1
316
+ Processing by IntegrationPal::WorkersController#update as HTML
317
+ Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"537"}
318
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 537], ["LIMIT", 1]]
319
+  (0.2ms) SAVEPOINT active_record_1
320
+ SQL (0.3ms) UPDATE "integration_pal_workers" SET "name" = $1, "updated_at" = $2 WHERE "integration_pal_workers"."id" = $3 [["name", "New Name"], ["updated_at", "2017-05-31 17:35:42.347039"], ["id", 537]]
321
+  (0.1ms) RELEASE SAVEPOINT active_record_1
322
+ Redirected to http://test.host/integration_pal/workers/537
323
+ Completed 302 Found in 12ms (ActiveRecord: 0.7ms)
324
+  (0.1ms) ROLLBACK
325
+  (0.1ms) BEGIN
326
+  (0.2ms) SAVEPOINT active_record_1
327
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "8beee2f436e5317471bf463621b1a4b4"], ["access_id", "af7ac5657f6b43401d809ef1616e3828"], ["secret_key", "b639e669ad2550cbdc1f2caf9a280b5b"], ["job_type", "TestJob"], ["encrypted_settings", "R79fVXmpiJTSnBCsSiMRXf6CIe0=\n"], ["encrypted_settings_iv", "pUZChC8zcjnl4aVI\n"], ["created_at", "2017-05-31 17:35:42.361521"], ["updated_at", "2017-05-31 17:35:42.361521"]]
328
+  (0.1ms) RELEASE SAVEPOINT active_record_1
329
+ Processing by IntegrationPal::WorkersController#update as HTML
330
+ Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"538"}
331
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 538], ["LIMIT", 1]]
332
+  (0.1ms) SAVEPOINT active_record_1
333
+ SQL (0.3ms) UPDATE "integration_pal_workers" SET "name" = $1, "updated_at" = $2 WHERE "integration_pal_workers"."id" = $3 [["name", "New Name"], ["updated_at", "2017-05-31 17:35:42.369027"], ["id", 538]]
334
+  (0.1ms) RELEASE SAVEPOINT active_record_1
335
+ Redirected to http://test.host/integration_pal/workers/538
336
+ Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
337
+  (0.1ms) ROLLBACK
338
+  (0.1ms) BEGIN
339
+  (0.1ms) SAVEPOINT active_record_1
340
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "c43084664f3906ea3b2346e55f893f3f"], ["access_id", "f979abe5394a47c91b69ee9310e96b94"], ["secret_key", "f0ed94b731d266431e0374f66367fb61"], ["job_type", "TestJob"], ["encrypted_settings", "poZlHCMkkCj4ymp+bwNgzyZShb4=\n"], ["encrypted_settings_iv", "xnw5na6zWbv7iMLN\n"], ["created_at", "2017-05-31 17:35:42.386831"], ["updated_at", "2017-05-31 17:35:42.386831"]]
341
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342
+ Processing by IntegrationPal::WorkersController#update as HTML
343
+ Parameters: {"worker"=>{"job_type"=>""}, "id"=>"539"}
344
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 539], ["LIMIT", 1]]
345
+  (0.1ms) SAVEPOINT active_record_1
346
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
347
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application
348
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application (0.2ms)
349
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
350
+ Completed 200 OK in 16ms (Views: 10.1ms | ActiveRecord: 0.3ms)
351
+  (0.1ms) ROLLBACK
352
+  (0.1ms) BEGIN
353
+  (0.2ms) SAVEPOINT active_record_1
354
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "1710be9cfa9cdf3f82318ae5c002bf7b"], ["access_id", "0042f43de63aa394a0a731b8d53bf887"], ["secret_key", "d0b405d67ad5f5aad06f977e4c3d7c22"], ["job_type", "TestJob"], ["encrypted_settings", "w541k5cXWriLZN2Oe9VoGpJZiZA=\n"], ["encrypted_settings_iv", "OpJEZmjjMJ7XuMnn\n"], ["created_at", "2017-05-31 17:35:42.421867"], ["updated_at", "2017-05-31 17:35:42.421867"]]
355
+  (0.1ms) RELEASE SAVEPOINT active_record_1
356
+ Processing by IntegrationPal::WorkersController#update as HTML
357
+ Parameters: {"worker"=>{"job_type"=>""}, "id"=>"540"}
358
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 540], ["LIMIT", 1]]
359
+  (0.1ms) SAVEPOINT active_record_1
360
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
361
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application
362
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application (0.0ms)
363
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
364
+ Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.3ms)
365
+  (0.2ms) ROLLBACK
366
+  (0.1ms) BEGIN
367
+  (0.1ms) ROLLBACK
368
+  (0.1ms) BEGIN
369
+  (0.1ms) SAVEPOINT active_record_1
370
+ SQL (0.2ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "0de72cf0a2113043758597a8e52efeed"], ["access_id", "93255db977822ea958804ad69ff6a2d4"], ["secret_key", "801dcf63182a1a13e43286f834e0f6ec"], ["job_type", "TestJob"], ["encrypted_settings", "Nsll2+ifDrutKAyQKbUnroEjWCw=\n"], ["encrypted_settings_iv", "Uhhv2POGm0cS4WE1\n"], ["created_at", "2017-05-31 17:35:42.449651"], ["updated_at", "2017-05-31 17:35:42.449651"]]
371
+  (0.1ms) RELEASE SAVEPOINT active_record_1
372
+  (0.1ms) ROLLBACK
373
+  (0.1ms) BEGIN
374
+  (0.1ms) SAVEPOINT active_record_1
375
+ SQL (0.2ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "68dea3e5d9906cd0e3bbdf02f1ffa7b6"], ["access_id", "d68ce2874f5a56e01248e0ed0b1954b3"], ["secret_key", "83f8ae4bfb933ebf92441d4e6bc28218"], ["job_type", "TestJob"], ["encrypted_settings", "kmtX79PMnC51YNOPStwYsmWsfJM=\n"], ["encrypted_settings_iv", "5n1J0l9A2rBLKCqL\n"], ["created_at", "2017-05-31 17:35:42.463448"], ["updated_at", "2017-05-31 17:35:42.463448"]]
376
+  (0.1ms) RELEASE SAVEPOINT active_record_1
377
+  (0.1ms) ROLLBACK
378
+  (0.1ms) BEGIN
379
+  (0.2ms) ROLLBACK
380
+  (0.1ms) BEGIN
381
+  (0.2ms) ROLLBACK
382
+  (0.1ms) BEGIN
383
+  (0.1ms) ROLLBACK
384
+  (0.1ms) BEGIN
385
+  (0.1ms) ROLLBACK
386
+  (0.1ms) BEGIN
387
+  (0.1ms) ROLLBACK
388
+  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
389
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
390
+  (2.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
391
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
392
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
393
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
394
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
395
+  (200.8ms) DROP DATABASE IF EXISTS "integration_pal_test"
396
+  (698.5ms) CREATE DATABASE "integration_pal_test" ENCODING = 'unicode'
397
+ SQL (1.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
398
+  (0.1ms) DROP TABLE IF EXISTS "integration_pal_jobs" CASCADE
399
+  (15.4ms) CREATE TABLE "integration_pal_jobs" ("id" bigserial primary key, "job_params" text, "status" character varying, "started_at" timestamp, "finished_at" timestamp, "progress" character varying, "worker_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
400
+  (0.2ms) DROP TABLE IF EXISTS "integration_pal_workers" CASCADE
401
+  (4.6ms) CREATE TABLE "integration_pal_workers" ("id" bigserial primary key, "name" character varying, "access_id" character varying, "secret_key" character varying, "job_type" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
402
+  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
403
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
404
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20170525153603)
405
+  (3.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
406
+ ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
407
+  (0.1ms) BEGIN
408
+ SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2017-05-31 21:26:28.496682"], ["updated_at", "2017-05-31 21:26:28.496682"]]
409
+  (0.3ms) COMMIT
410
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
411
+  (0.1ms) BEGIN
412
+  (0.1ms) COMMIT
413
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
414
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
415
+  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
416
+  (1.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
417
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
418
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
419
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
420
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
421
+  (191.7ms) DROP DATABASE IF EXISTS "integration_pal_test"
422
+  (471.1ms) CREATE DATABASE "integration_pal_test" ENCODING = 'unicode'
423
+ SQL (1.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
424
+  (0.1ms) DROP TABLE IF EXISTS "integration_pal_jobs" CASCADE
425
+  (17.5ms) CREATE TABLE "integration_pal_jobs" ("id" bigserial primary key, "job_params" text, "status" character varying, "started_at" timestamp, "finished_at" timestamp, "progress" character varying, "worker_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
426
+  (0.2ms) DROP TABLE IF EXISTS "integration_pal_workers" CASCADE
427
+  (4.0ms) CREATE TABLE "integration_pal_workers" ("id" bigserial primary key, "name" character varying, "access_id" character varying, "secret_key" character varying, "job_type" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
428
+  (3.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
429
+  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
430
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20170525153603)
431
+  (3.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
432
+ ActiveRecord::InternalMetadata Load (1.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
433
+  (0.1ms) BEGIN
434
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2017-05-31 21:26:31.139730"], ["updated_at", "2017-05-31 21:26:31.139730"]]
435
+  (0.4ms) COMMIT
436
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
437
+  (0.1ms) BEGIN
438
+  (0.1ms) COMMIT
439
+  (2.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
440
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
441
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
442
+  (1.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
443
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
444
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
445
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
446
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
447
+  (200.1ms) DROP DATABASE IF EXISTS "integration_pal_test"
448
+  (555.5ms) CREATE DATABASE "integration_pal_test" ENCODING = 'unicode'
449
+ SQL (1.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
450
+  (0.1ms) DROP TABLE IF EXISTS "integration_pal_jobs" CASCADE
451
+  (20.5ms) CREATE TABLE "integration_pal_jobs" ("id" bigserial primary key, "job_params" text, "status" character varying, "started_at" timestamp, "finished_at" timestamp, "progress" character varying, "worker_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
452
+  (0.2ms) DROP TABLE IF EXISTS "integration_pal_workers" CASCADE
453
+  (4.8ms) CREATE TABLE "integration_pal_workers" ("id" bigserial primary key, "name" character varying, "access_id" character varying, "secret_key" character varying, "job_type" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
454
+  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
455
+  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
456
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20170525153603)
457
+  (3.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
458
+ ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
459
+  (0.1ms) BEGIN
460
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2017-05-31 21:26:33.959127"], ["updated_at", "2017-05-31 21:26:33.959127"]]
461
+  (0.5ms) COMMIT
462
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
463
+  (0.1ms) BEGIN
464
+  (0.1ms) COMMIT
465
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
466
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
467
+  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
468
+  (1.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
469
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
470
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
471
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
472
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
473
+  (196.2ms) DROP DATABASE IF EXISTS "integration_pal_test"
474
+  (497.7ms) CREATE DATABASE "integration_pal_test" ENCODING = 'unicode'
475
+ SQL (1.8ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
476
+  (0.1ms) DROP TABLE IF EXISTS "integration_pal_jobs" CASCADE
477
+  (20.7ms) CREATE TABLE "integration_pal_jobs" ("id" bigserial primary key, "job_params" text, "status" character varying, "started_at" timestamp, "finished_at" timestamp, "progress" character varying, "worker_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
478
+  (0.2ms) DROP TABLE IF EXISTS "integration_pal_workers" CASCADE
479
+  (4.4ms) CREATE TABLE "integration_pal_workers" ("id" bigserial primary key, "name" character varying, "access_id" character varying, "secret_key" character varying, "job_type" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
480
+  (3.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
481
+  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
482
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20170525153603)
483
+  (3.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
484
+ ActiveRecord::InternalMetadata Load (1.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
485
+  (0.1ms) BEGIN
486
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2017-05-31 21:26:36.730853"], ["updated_at", "2017-05-31 21:26:36.730853"]]
487
+  (0.3ms) COMMIT
488
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
489
+  (0.1ms) BEGIN
490
+  (0.1ms) COMMIT
491
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
492
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
493
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
494
+  (1.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
495
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
496
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
497
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
498
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
499
+  (203.4ms) DROP DATABASE IF EXISTS "integration_pal_test"
500
+  (494.9ms) CREATE DATABASE "integration_pal_test" ENCODING = 'unicode'
501
+ SQL (1.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
502
+  (0.2ms) DROP TABLE IF EXISTS "integration_pal_jobs" CASCADE
503
+  (20.3ms) CREATE TABLE "integration_pal_jobs" ("id" bigserial primary key, "job_params" text, "status" character varying, "started_at" timestamp, "finished_at" timestamp, "progress" character varying, "worker_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
504
+  (0.2ms) DROP TABLE IF EXISTS "integration_pal_workers" CASCADE
505
+  (4.9ms) CREATE TABLE "integration_pal_workers" ("id" bigserial primary key, "name" character varying, "access_id" character varying, "secret_key" character varying, "job_type" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
506
+  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
507
+  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
508
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20170525153603)
509
+  (3.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
510
+ ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
511
+  (0.1ms) BEGIN
512
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2017-05-31 21:26:39.493099"], ["updated_at", "2017-05-31 21:26:39.493099"]]
513
+  (0.3ms) COMMIT
514
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
515
+  (0.1ms) BEGIN
516
+  (0.1ms) COMMIT
517
+  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
518
+  (1.8ms) SELECT pg_try_advisory_lock(6964560810240048645);
519
+  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
520
+ Migrating to CreateIntegrationPalWorkers (20170524203831)
521
+  (0.2ms) BEGIN
522
+  (7.4ms) CREATE TABLE "integration_pal_workers" ("id" bigserial primary key, "name" character varying, "access_id" character varying, "secret_key" character varying, "job_type" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
523
+  (0.1ms) ROLLBACK
524
+  (0.2ms) SELECT pg_advisory_unlock(6964560810240048645)
525
+  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
526
+  (1.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
527
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
528
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
529
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
530
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
531
+  (132.0ms) DROP DATABASE IF EXISTS "integration_pal_test"
532
+  (23.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
533
+  (4.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
534
+  (0.2ms) SELECT pg_try_advisory_lock(6964560810240048645);
535
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
536
+ Migrating to CreateIntegrationPalWorkers (20170524203831)
537
+  (0.1ms) BEGIN
538
+  (5.5ms) CREATE TABLE "integration_pal_workers" ("id" bigserial primary key, "name" character varying, "access_id" character varying, "secret_key" character varying, "job_type" character varying, "encrypted_settings" text, "encrypted_settings_iv" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
539
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170524203831"]]
540
+  (0.4ms) COMMIT
541
+ Migrating to CreateIntegrationPalJobs (20170525153603)
542
+  (6.0ms) BEGIN
543
+  (17.9ms) CREATE TABLE "integration_pal_jobs" ("id" bigserial primary key, "job_params" text, "status" character varying, "started_at" timestamp, "finished_at" timestamp, "progress" character varying, "worker_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
544
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170525153603"]]
545
+  (0.5ms) COMMIT
546
+ Migrating to AddErrorFieldsToJobs (20170531201218)
547
+  (0.3ms) BEGIN
548
+  (0.4ms) ALTER TABLE "integration_pal_jobs" ADD "error" character varying
549
+  (0.2ms) ALTER TABLE "integration_pal_jobs" ADD "backtrace" text
550
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170531201218"]]
551
+  (0.3ms) COMMIT
552
+ ActiveRecord::InternalMetadata Load (1.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
553
+  (0.1ms) BEGIN
554
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2017-05-31 21:27:39.994126"], ["updated_at", "2017-05-31 21:27:39.994126"]]
555
+  (0.4ms) COMMIT
556
+  (0.2ms) SELECT pg_advisory_unlock(6964560810240048645)
557
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
558
+  (2.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
559
+  (0.1ms) BEGIN
560
+  (0.2ms) SAVEPOINT active_record_1
561
+ SQL (2.0ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "c3267c0656fab768001400f627aea73e"], ["access_id", "bd9dc41f8f60a74c74809493b9a0be9c"], ["secret_key", "434a0522cd73ff2c2b6aac5d803f1117"], ["job_type", "TestJob"], ["encrypted_settings", "rXdz9611dR1ZEQrorFGz9hhgRaw=\n"], ["encrypted_settings_iv", "ESh6DUpgih6aR5mf\n"], ["created_at", "2017-05-31 21:27:45.133529"], ["updated_at", "2017-05-31 21:27:45.133529"]]
562
+  (0.1ms) RELEASE SAVEPOINT active_record_1
563
+  (0.2ms) SAVEPOINT active_record_1
564
+ SQL (1.7ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["progress", "0"], ["worker_id", 1], ["created_at", "2017-05-31 21:27:45.147320"], ["updated_at", "2017-05-31 21:27:45.147320"]]
565
+  (0.1ms) RELEASE SAVEPOINT active_record_1
566
+ Processing by IntegrationPal::Api::V1::JobsController#show as HTML
567
+ Parameters: {"id"=>"1"}
568
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" IS NULL LIMIT $1 [["LIMIT", 1]]
569
+ Filter chain halted as :authenticate_api rendered or redirected
570
+ Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms)
571
+  (0.2ms) ROLLBACK
572
+  (0.1ms) BEGIN
573
+  (0.1ms) SAVEPOINT active_record_1
574
+ SQL (0.2ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "40dce7ec8844e8ca37cb84b2fa3f2ede"], ["access_id", "8b7de608ebb793c6565e6ba87a824e5b"], ["secret_key", "d775694e560e61d256812c4ee1077fab"], ["job_type", "TestJob"], ["encrypted_settings", "0hdEaOSieF/R4BoG18OXBZ/0rCo=\n"], ["encrypted_settings_iv", "oADY6o2Ns7ffACnq\n"], ["created_at", "2017-05-31 21:27:45.169663"], ["updated_at", "2017-05-31 21:27:45.169663"]]
575
+  (0.1ms) RELEASE SAVEPOINT active_record_1
576
+  (0.2ms) SAVEPOINT active_record_1
577
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "be7def83e3d00fab477b13865b27d813"], ["access_id", "9252e43f93160b92a40ea52758df85cd"], ["secret_key", "bebcad789b7176b84acafd4bfd90aa47"], ["job_type", "TestJob"], ["encrypted_settings", "2fNxZUrToIBmqa3yQwL1xc7EXVY=\n"], ["encrypted_settings_iv", "GMl4G5T8jDV2Xb3z\n"], ["created_at", "2017-05-31 21:27:45.194217"], ["updated_at", "2017-05-31 21:27:45.194217"]]
578
+  (0.1ms) RELEASE SAVEPOINT active_record_1
579
+  (0.1ms) SAVEPOINT active_record_1
580
+ SQL (0.2ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["progress", "0"], ["worker_id", 3], ["created_at", "2017-05-31 21:27:45.196319"], ["updated_at", "2017-05-31 21:27:45.196319"]]
581
+  (0.1ms) RELEASE SAVEPOINT active_record_1
582
+ Processing by IntegrationPal::Api::V1::JobsController#show as JSON
583
+ Parameters: {"id"=>"2"}
584
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "8b7de608ebb793c6565e6ba87a824e5b"], ["LIMIT", 1]]
585
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]
586
+ Completed 200 OK in 16ms (Views: 0.8ms | ActiveRecord: 0.4ms)
587
+  (0.2ms) ROLLBACK
588
+  (0.1ms) BEGIN
589
+  (0.2ms) SAVEPOINT active_record_1
590
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "b796c37cef04062825bf23bbe6e06273"], ["access_id", "2c0333060da6c5bacfbfb7e1b5ea8201"], ["secret_key", "f61ab222e376aee27e9744dd53eec8d5"], ["job_type", "TestJob"], ["encrypted_settings", "82afAgbMqyIBCqCgos/ewlXgeIY=\n"], ["encrypted_settings_iv", "+Q7YuBonsACoTEZG\n"], ["created_at", "2017-05-31 21:27:45.248644"], ["updated_at", "2017-05-31 21:27:45.248644"]]
591
+  (0.1ms) RELEASE SAVEPOINT active_record_1
592
+  (0.4ms) SELECT COUNT(*) FROM "integration_pal_jobs"
593
+  (0.1ms) SAVEPOINT active_record_1
594
+ SQL (0.2ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "fc4fbc3cba47566c5ef43c70b6216700"], ["access_id", "7d0a9c548c62256426a77f90d560b346"], ["secret_key", "5b4e6ee3cef7e1a99c6b7688eaed17d3"], ["job_type", "TestJob"], ["encrypted_settings", "sRfLqojUoV73XOtBk7/IsWg8MCg=\n"], ["encrypted_settings_iv", "lOAszjJHTqujwsEy\n"], ["created_at", "2017-05-31 21:27:45.263978"], ["updated_at", "2017-05-31 21:27:45.263978"]]
595
+  (0.1ms) RELEASE SAVEPOINT active_record_1
596
+ Processing by IntegrationPal::Api::V1::JobsController#create as HTML
597
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"5"}}
598
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :progress, :started_at, :status, :updated_at
599
+  (0.2ms) SAVEPOINT active_record_1
600
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]]
601
+ SQL (0.3ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["worker_id", 5], ["created_at", "2017-05-31 21:27:45.291265"], ["updated_at", "2017-05-31 21:27:45.291265"]]
602
+  (0.1ms) RELEASE SAVEPOINT active_record_1
603
+ [ActiveJob] [TestJob] [74046986-0a96-40d9-9e33-8ac767c348f8] Performing TestJob (Job ID: 74046986-0a96-40d9-9e33-8ac767c348f8) from Async(default) with arguments: 3
604
+ [ActiveJob] Enqueued TestJob (Job ID: 74046986-0a96-40d9-9e33-8ac767c348f8) to Async(default) with arguments: 3
605
+ Completed 200 OK in 23ms (Views: 0.5ms | ActiveRecord: 0.7ms)
606
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
607
+  (1.1ms) ROLLBACK
608
+  (0.1ms) BEGIN
609
+  (0.4ms) SAVEPOINT active_record_1
610
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "74a91c8f6d876d2d77cbbcc65f0d83c5"], ["access_id", "c50be1311dd5f530520d49e414552d11"], ["secret_key", "0109d787a3c87c3fba1c0e4c321a4aff"], ["job_type", "TestJob"], ["encrypted_settings", "z1l9MVNPDb3pYfZohCSSTTz20lg=\n"], ["encrypted_settings_iv", "8k2EW2EE/j6YLVd3\n"], ["created_at", "2017-05-31 21:27:45.311056"], ["updated_at", "2017-05-31 21:27:45.311056"]]
611
+  (0.6ms) RELEASE SAVEPOINT active_record_1
612
+ [ActiveJob] [TestJob] [74046986-0a96-40d9-9e33-8ac767c348f8] Performed TestJob (Job ID: 74046986-0a96-40d9-9e33-8ac767c348f8) from Async(default) in 23.57ms
613
+  (0.6ms) SAVEPOINT active_record_1
614
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "872986269573e0ddede504cf6a9967a4"], ["access_id", "624861fb7a7a0770076be3ebee9fac3a"], ["secret_key", "507bc8b5ca9a7d1f3d31620641ac9dba"], ["job_type", "TestJob"], ["encrypted_settings", "bNe8Jv/LF2dE6N11NySb2jaUqrc=\n"], ["encrypted_settings_iv", "QH6u3G584vxxo7HV\n"], ["created_at", "2017-05-31 21:27:45.321207"], ["updated_at", "2017-05-31 21:27:45.321207"]]
615
+  (0.1ms) RELEASE SAVEPOINT active_record_1
616
+ Processing by IntegrationPal::Api::V1::JobsController#create as HTML
617
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"7"}}
618
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :progress, :started_at, :status, :updated_at
619
+  (0.1ms) SAVEPOINT active_record_1
620
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]
621
+ SQL (0.2ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["worker_id", 7], ["created_at", "2017-05-31 21:27:45.329377"], ["updated_at", "2017-05-31 21:27:45.329377"]]
622
+  (0.1ms) RELEASE SAVEPOINT active_record_1
623
+ [ActiveJob] Enqueued TestJob (Job ID: a51cf1be-c938-4ac3-b2c6-a4c91b3b8f8b) to Async(default) with arguments: 4
624
+ Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 0.5ms)
625
+ [ActiveJob] [TestJob] [a51cf1be-c938-4ac3-b2c6-a4c91b3b8f8b] Performing TestJob (Job ID: a51cf1be-c938-4ac3-b2c6-a4c91b3b8f8b) from Async(default) with arguments: 4
626
+ [ActiveJob] [TestJob] [a51cf1be-c938-4ac3-b2c6-a4c91b3b8f8b] Performed TestJob (Job ID: a51cf1be-c938-4ac3-b2c6-a4c91b3b8f8b) from Async(default) in 0.03ms
627
+  (0.5ms) ROLLBACK
628
+  (0.1ms) BEGIN
629
+  (0.1ms) SAVEPOINT active_record_1
630
+ SQL (0.2ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "2eee96e9245d69c29a8c64fc5bf675dc"], ["access_id", "b616d65f3fe034ac556653a79959b52a"], ["secret_key", "20f9d4a69faa8f1473b0618fa40aea88"], ["job_type", "TestJob"], ["encrypted_settings", "ifeA0GHjuMygCz9wr30cI8NJbWo=\n"], ["encrypted_settings_iv", "QRRitdLyOiuLWd+t\n"], ["created_at", "2017-05-31 21:27:45.351154"], ["updated_at", "2017-05-31 21:27:45.351154"]]
631
+  (0.1ms) RELEASE SAVEPOINT active_record_1
632
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
633
+ Processing by IntegrationPal::Api::V1::JobsController#create as HTML
634
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>""}}
635
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :progress, :started_at, :status, :updated_at
636
+  (0.1ms) SAVEPOINT active_record_1
637
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
638
+ Completed 422 Unprocessable Entity in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
639
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
640
+  (0.1ms) ROLLBACK
641
+  (0.1ms) BEGIN
642
+  (0.1ms) SAVEPOINT active_record_1
643
+ SQL (0.2ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "a6c0b8c466d2e8f2c28c0ee002b63a52"], ["access_id", "59231ac788e620cd13cd7186b73776f0"], ["secret_key", "612ff6dbe80c6b2e7b9893a0efb76c8e"], ["job_type", "TestJob"], ["encrypted_settings", "VEvssC6PwKWJXYvUjc2uNxxz9es=\n"], ["encrypted_settings_iv", "ge6TJlYV+Q+wZokT\n"], ["created_at", "2017-05-31 21:27:45.370454"], ["updated_at", "2017-05-31 21:27:45.370454"]]
644
+  (0.1ms) RELEASE SAVEPOINT active_record_1
645
+  (0.1ms) SAVEPOINT active_record_1
646
+ SQL (0.3ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["progress", "0"], ["worker_id", 9], ["created_at", "2017-05-31 21:27:45.372405"], ["updated_at", "2017-05-31 21:27:45.372405"]]
647
+  (0.1ms) RELEASE SAVEPOINT active_record_1
648
+ Processing by IntegrationPal::JobsController#index as HTML
649
+ Rendering text template
650
+ Rendered text template (0.0ms)
651
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
652
+ Filter chain halted as :authenticate! rendered or redirected
653
+ Completed 401 Unauthorized in 12ms (Views: 11.6ms | ActiveRecord: 0.0ms)
654
+  (0.1ms) ROLLBACK
655
+  (0.1ms) BEGIN
656
+  (0.1ms) SAVEPOINT active_record_1
657
+ SQL (0.2ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "fa5d1911c91f17f6e405090fa0fd303b"], ["access_id", "cba9a0b54f61bb51f93288000170ef88"], ["secret_key", "0fb908daad7865bf7dc56a5b3e17ed9d"], ["job_type", "TestJob"], ["encrypted_settings", "QNpK9tMXgY81BJ3AFmVbuWdB9g0=\n"], ["encrypted_settings_iv", "fk3lIalgw5I6V0XA\n"], ["created_at", "2017-05-31 21:27:45.398631"], ["updated_at", "2017-05-31 21:27:45.398631"]]
658
+  (0.1ms) RELEASE SAVEPOINT active_record_1
659
+  (0.1ms) SAVEPOINT active_record_1
660
+ SQL (0.2ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["progress", "0"], ["worker_id", 10], ["created_at", "2017-05-31 21:27:45.400403"], ["updated_at", "2017-05-31 21:27:45.400403"]]
661
+  (0.1ms) RELEASE SAVEPOINT active_record_1
662
+ Processing by IntegrationPal::JobsController#index as HTML
663
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/index.html.erb within layouts/integration_pal/application
664
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/index.html.erb within layouts/integration_pal/application (0.3ms)
665
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
666
+ Completed 200 OK in 12ms (Views: 8.7ms | ActiveRecord: 0.0ms)
667
+ IntegrationPal::Job Load (0.5ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" ORDER BY created_at DESC
668
+  (0.1ms) ROLLBACK
669
+  (0.1ms) BEGIN
670
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
671
+  (0.1ms) SAVEPOINT active_record_1
672
+ SQL (0.2ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "bf79c4b0240c73c55b7f00d213f1561c"], ["access_id", "b94b2a630e98bc6aad6d2e0687f9e343"], ["secret_key", "7e0fe707995e880559a1f23a84b8c09d"], ["job_type", "TestJob"], ["encrypted_settings", "buiua2ZprWLTKIxoxoXHaqP7MhU=\n"], ["encrypted_settings_iv", "aeTW75OWW/RBSw9+\n"], ["created_at", "2017-05-31 21:27:45.435126"], ["updated_at", "2017-05-31 21:27:45.435126"]]
673
+  (0.1ms) RELEASE SAVEPOINT active_record_1
674
+ Processing by IntegrationPal::JobsController#create as HTML
675
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"11"}}
676
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :job_params, :started_at, :updated_at
677
+  (0.1ms) SAVEPOINT active_record_1
678
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
679
+ SQL (0.2ms) INSERT INTO "integration_pal_jobs" ("status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", "pending"], ["progress", "0"], ["worker_id", 11], ["created_at", "2017-05-31 21:27:45.446038"], ["updated_at", "2017-05-31 21:27:45.446038"]]
680
+  (0.1ms) RELEASE SAVEPOINT active_record_1
681
+ Redirected to http://test.host/integration_pal/jobs/7
682
+ Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
683
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
684
+  (0.1ms) ROLLBACK
685
+  (0.1ms) BEGIN
686
+  (0.2ms) SAVEPOINT active_record_1
687
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "bec08ff5cc714d9d9c12d0b878c7717f"], ["access_id", "3a9a3b57930ebb986a0c84981dc205ac"], ["secret_key", "3122be6a7e22c86dbdfc674898b21c50"], ["job_type", "TestJob"], ["encrypted_settings", "FLq3giTRfI8NP46ou/pYGWuccmk=\n"], ["encrypted_settings_iv", "kPhYJy1EiBFY4hnU\n"], ["created_at", "2017-05-31 21:27:45.464936"], ["updated_at", "2017-05-31 21:27:45.464936"]]
688
+  (0.1ms) RELEASE SAVEPOINT active_record_1
689
+ Processing by IntegrationPal::JobsController#create as HTML
690
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"12"}}
691
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :job_params, :started_at, :updated_at
692
+  (0.1ms) SAVEPOINT active_record_1
693
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]]
694
+ SQL (0.4ms) INSERT INTO "integration_pal_jobs" ("status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", "pending"], ["progress", "0"], ["worker_id", 12], ["created_at", "2017-05-31 21:27:45.474389"], ["updated_at", "2017-05-31 21:27:45.474389"]]
695
+  (0.1ms) RELEASE SAVEPOINT active_record_1
696
+ Redirected to http://test.host/integration_pal/jobs/8
697
+ Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
698
+  (0.1ms) ROLLBACK
699
+  (0.1ms) BEGIN
700
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
701
+ Processing by IntegrationPal::JobsController#create as HTML
702
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>""}}
703
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :job_params, :started_at, :updated_at
704
+  (0.1ms) SAVEPOINT active_record_1
705
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
706
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/new.html.erb within layouts/integration_pal/application
707
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/new.html.erb within layouts/integration_pal/application (0.2ms)
708
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
709
+ Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.2ms)
710
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
711
+  (0.1ms) ROLLBACK
712
+  (0.1ms) BEGIN
713
+  (0.1ms) SAVEPOINT active_record_1
714
+ SQL (0.2ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "a58d3a0cf341b56881e10923bcb8d371"], ["access_id", "01ea6da5e90c234f82eefc26edbedf71"], ["secret_key", "b6cb0b57328be490adf33b1b579c539f"], ["job_type", "TestJob"], ["encrypted_settings", "3rKcfiJxze+tir8nMeufOt2Gni0=\n"], ["encrypted_settings_iv", "aF4X8tA75H+Q1POD\n"], ["created_at", "2017-05-31 21:27:45.505281"], ["updated_at", "2017-05-31 21:27:45.505281"]]
715
+  (0.1ms) RELEASE SAVEPOINT active_record_1
716
+  (0.1ms) SAVEPOINT active_record_1
717
+ SQL (5.3ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["progress", "0"], ["worker_id", 13], ["created_at", "2017-05-31 21:27:45.507154"], ["updated_at", "2017-05-31 21:27:45.507154"]]
718
+  (0.1ms) RELEASE SAVEPOINT active_record_1
719
+ Processing by IntegrationPal::JobsController#update as HTML
720
+ Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"9"}
721
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]]
722
+ Unpermitted parameter: :name
723
+  (0.1ms) SAVEPOINT active_record_1
724
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]]
725
+  (0.2ms) RELEASE SAVEPOINT active_record_1
726
+ Redirected to http://test.host/integration_pal/jobs/9
727
+ Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
728
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]]
729
+  (0.1ms) ROLLBACK
730
+  (0.1ms) BEGIN
731
+  (0.1ms) SAVEPOINT active_record_1
732
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "9ae8aac58f10922c80bdd12992c02e74"], ["access_id", "9146df762225a89f3608d191d1d90097"], ["secret_key", "b475418789909c631409dec27138624f"], ["job_type", "TestJob"], ["encrypted_settings", "KqiHPYEAnKDFWLALQvmk/V2jneQ=\n"], ["encrypted_settings_iv", "/Vw7heweWs7cblY5\n"], ["created_at", "2017-05-31 21:27:45.536413"], ["updated_at", "2017-05-31 21:27:45.536413"]]
733
+  (0.1ms) RELEASE SAVEPOINT active_record_1
734
+  (0.1ms) SAVEPOINT active_record_1
735
+ SQL (0.2ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["progress", "0"], ["worker_id", 14], ["created_at", "2017-05-31 21:27:45.538420"], ["updated_at", "2017-05-31 21:27:45.538420"]]
736
+  (0.1ms) RELEASE SAVEPOINT active_record_1
737
+ Processing by IntegrationPal::JobsController#update as HTML
738
+ Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"10"}
739
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]]
740
+ Unpermitted parameter: :name
741
+  (0.1ms) SAVEPOINT active_record_1
742
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]]
743
+  (0.1ms) RELEASE SAVEPOINT active_record_1
744
+ Redirected to http://test.host/integration_pal/jobs/10
745
+ Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
746
+  (0.1ms) ROLLBACK
747
+  (0.1ms) BEGIN
748
+  (0.1ms) SAVEPOINT active_record_1
749
+ SQL (0.2ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "72652aa61bbd6725116ec05f8f8e8543"], ["access_id", "3fd3f2afd7830a5f320952c6d5a9207f"], ["secret_key", "556129d3e86269b56df6f7fe29f9603c"], ["job_type", "TestJob"], ["encrypted_settings", "5nUkySgUy6b55HFh09dZndOApEc=\n"], ["encrypted_settings_iv", "txBZXPM+suusiUcW\n"], ["created_at", "2017-05-31 21:27:45.562136"], ["updated_at", "2017-05-31 21:27:45.562136"]]
750
+  (0.1ms) RELEASE SAVEPOINT active_record_1
751
+  (0.1ms) SAVEPOINT active_record_1
752
+ SQL (0.2ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["progress", "0"], ["worker_id", 15], ["created_at", "2017-05-31 21:27:45.563973"], ["updated_at", "2017-05-31 21:27:45.563973"]]
753
+  (0.1ms) RELEASE SAVEPOINT active_record_1
754
+ Processing by IntegrationPal::JobsController#update as HTML
755
+ Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"11"}
756
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
757
+ Unpermitted parameter: :name
758
+  (0.1ms) SAVEPOINT active_record_1
759
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 15], ["LIMIT", 1]]
760
+  (0.2ms) RELEASE SAVEPOINT active_record_1
761
+ Redirected to http://test.host/integration_pal/jobs/11
762
+ Completed 302 Found in 13ms (ActiveRecord: 0.6ms)
763
+  (0.2ms) ROLLBACK
764
+  (0.1ms) BEGIN
765
+  (0.1ms) SAVEPOINT active_record_1
766
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "4e0a022dc69512edeacdc4ed3bdf7ef1"], ["access_id", "cbb0140657eff4b00532fad730fe5424"], ["secret_key", "8a8c2fb544240ef1fe500bb44f924e36"], ["job_type", "TestJob"], ["encrypted_settings", "/ofanxszNC3+jsB37jCqkiHl1Qc=\n"], ["encrypted_settings_iv", "1CZIKu4ce7H9fG4H\n"], ["created_at", "2017-05-31 21:27:45.599532"], ["updated_at", "2017-05-31 21:27:45.599532"]]
767
+  (0.1ms) RELEASE SAVEPOINT active_record_1
768
+  (0.1ms) SAVEPOINT active_record_1
769
+ SQL (0.2ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["progress", "0"], ["worker_id", 16], ["created_at", "2017-05-31 21:27:45.601625"], ["updated_at", "2017-05-31 21:27:45.601625"]]
770
+  (0.1ms) RELEASE SAVEPOINT active_record_1
771
+ Processing by IntegrationPal::JobsController#update as HTML
772
+ Parameters: {"job"=>{"worker_id"=>""}, "id"=>"12"}
773
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]]
774
+  (0.1ms) SAVEPOINT active_record_1
775
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
776
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application
777
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application (0.2ms)
778
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
779
+ Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.4ms)
780
+  (0.1ms) ROLLBACK
781
+  (0.1ms) BEGIN
782
+  (5.0ms) SAVEPOINT active_record_1
783
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "28436457744c134aa655ac9aa540ff53"], ["access_id", "f70eb65538b5545d8bd75f20e288f26f"], ["secret_key", "06a90df00c52ba5e4132eee3da7cf39e"], ["job_type", "TestJob"], ["encrypted_settings", "fQsDkpjWiCoe8GRI9iJYHk//9Wg=\n"], ["encrypted_settings_iv", "R9mA5gEF1jzOSbSs\n"], ["created_at", "2017-05-31 21:27:45.628186"], ["updated_at", "2017-05-31 21:27:45.628186"]]
784
+  (0.2ms) RELEASE SAVEPOINT active_record_1
785
+  (0.1ms) SAVEPOINT active_record_1
786
+ SQL (0.2ms) INSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_params", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ntest: test\n"], ["status", "pending"], ["progress", "0"], ["worker_id", 17], ["created_at", "2017-05-31 21:27:45.630385"], ["updated_at", "2017-05-31 21:27:45.630385"]]
787
+  (0.1ms) RELEASE SAVEPOINT active_record_1
788
+ Processing by IntegrationPal::JobsController#update as HTML
789
+ Parameters: {"job"=>{"worker_id"=>""}, "id"=>"13"}
790
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]]
791
+  (0.1ms) SAVEPOINT active_record_1
792
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
793
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application
794
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application (0.0ms)
795
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
796
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
797
+  (0.1ms) ROLLBACK
798
+  (0.1ms) BEGIN
799
+  (0.2ms) SAVEPOINT active_record_1
800
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "1fbd05eb6e697962b642d75a56d42c32"], ["access_id", "c4a4c08fd5f77aef0b8604ec3038cf2c"], ["secret_key", "2cf346814f59699040d458eb9b58ecdb"], ["job_type", "TestJob"], ["encrypted_settings", "vvSxzfCWOSO1Mwdl7IOBGW9I6zU=\n"], ["encrypted_settings_iv", "iZFkwxTfGPoY6bhe\n"], ["created_at", "2017-05-31 21:27:45.648336"], ["updated_at", "2017-05-31 21:27:45.648336"]]
801
+  (0.1ms) RELEASE SAVEPOINT active_record_1
802
+ Processing by IntegrationPal::WorkersController#index as HTML
803
+ Rendering text template
804
+ Rendered text template (0.0ms)
805
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
806
+ Filter chain halted as :authenticate! rendered or redirected
807
+ Completed 401 Unauthorized in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
808
+  (0.1ms) ROLLBACK
809
+  (0.1ms) BEGIN
810
+  (0.1ms) SAVEPOINT active_record_1
811
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "63135cbb1c1e69db1ece61fedebe5a44"], ["access_id", "786dd5da27523b78d3c1f3a7d443651d"], ["secret_key", "4214ac53fde3d60c423c0143b1dc401e"], ["job_type", "TestJob"], ["encrypted_settings", "5WkMXrhmCUS7KZlt1gZZlf2dtac=\n"], ["encrypted_settings_iv", "wSyuBYUHX9huwFng\n"], ["created_at", "2017-05-31 21:27:45.665806"], ["updated_at", "2017-05-31 21:27:45.665806"]]
812
+  (0.1ms) RELEASE SAVEPOINT active_record_1
813
+ Processing by IntegrationPal::WorkersController#index as HTML
814
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/index.html.erb within layouts/integration_pal/application
815
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/index.html.erb within layouts/integration_pal/application (0.2ms)
816
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
817
+ Completed 200 OK in 10ms (Views: 3.8ms | ActiveRecord: 0.0ms)
818
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers"
819
+  (0.1ms) ROLLBACK
820
+  (5.1ms) BEGIN
821
+  (0.3ms) SELECT COUNT(*) FROM "integration_pal_workers"
822
+ Processing by IntegrationPal::WorkersController#create as HTML
823
+ Parameters: {"worker"=>{"access_id"=>"3b861275498be51111671e05c10a97f8", "created_at"=>"", "encrypted_settings"=>"iTdYGlECXkk7YgiI8GwLrvG5Lls=\n", "encrypted_settings_iv"=>"bnKjLprdIf38cU7V\n", "id"=>"", "job_type"=>"TestJob", "name"=>"bbbe2d38f1c451d6bb2b381f406f95ab", "secret_key"=>"95905947626d99678863523bb3ed68ef", "updated_at"=>""}}
824
+ Unpermitted parameters: :created_at, :encrypted_settings, :encrypted_settings_iv, :id, :updated_at
825
+  (0.2ms) SAVEPOINT active_record_1
826
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "bbbe2d38f1c451d6bb2b381f406f95ab"], ["access_id", "3b861275498be51111671e05c10a97f8"], ["secret_key", "95905947626d99678863523bb3ed68ef"], ["job_type", "TestJob"], ["encrypted_settings", "mQDVFPwhaWqmFHfnJiXUCUbYTRM=\n"], ["encrypted_settings_iv", "s16Z66qXqAYcmCEy\n"], ["created_at", "2017-05-31 21:27:45.706957"], ["updated_at", "2017-05-31 21:27:45.706957"]]
827
+  (0.1ms) RELEASE SAVEPOINT active_record_1
828
+ Redirected to http://test.host/integration_pal/workers/20
829
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
830
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_workers"
831
+  (0.1ms) ROLLBACK
832
+  (0.1ms) BEGIN
833
+ Processing by IntegrationPal::WorkersController#create as HTML
834
+ Parameters: {"worker"=>{"access_id"=>"b9beb8e44dbdc73d4e49ebb9df484a11", "created_at"=>"", "encrypted_settings"=>"ThwF+o3wIG3HNSTE0MHX7vw/st0=\n", "encrypted_settings_iv"=>"p2xrK8ZYcek02jlx\n", "id"=>"", "job_type"=>"TestJob", "name"=>"0ef7c7535506e1ff100500c907d62f41", "secret_key"=>"d6be929c07080dcb393ed745d362479a", "updated_at"=>""}}
835
+ Unpermitted parameters: :created_at, :encrypted_settings, :encrypted_settings_iv, :id, :updated_at
836
+  (0.1ms) SAVEPOINT active_record_1
837
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "0ef7c7535506e1ff100500c907d62f41"], ["access_id", "b9beb8e44dbdc73d4e49ebb9df484a11"], ["secret_key", "d6be929c07080dcb393ed745d362479a"], ["job_type", "TestJob"], ["encrypted_settings", "/TJRxypNDR4CococOKT7VV9+79s=\n"], ["encrypted_settings_iv", "6LBFM+sEf40jC409\n"], ["created_at", "2017-05-31 21:27:45.728305"], ["updated_at", "2017-05-31 21:27:45.728305"]]
838
+  (0.1ms) RELEASE SAVEPOINT active_record_1
839
+ Redirected to http://test.host/integration_pal/workers/21
840
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
841
+  (0.1ms) ROLLBACK
842
+  (0.1ms) BEGIN
843
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_workers"
844
+ Processing by IntegrationPal::WorkersController#create as HTML
845
+ Parameters: {"worker"=>{"access_id"=>"4ce283142706f20e43311e3c5e05c158", "created_at"=>"", "encrypted_settings"=>"AWwBk/PCyQlzKov/MhLaXIwJPvw=\n", "encrypted_settings_iv"=>"QK6DJ9rVLFaCQcYB\n", "id"=>"", "job_type"=>"", "name"=>"f32dbee453ebe64d0ae9aa64b51aa6fa", "secret_key"=>"9b7a5c57a3ee8122c36eb30404886dd5", "updated_at"=>""}}
846
+ Unpermitted parameters: :created_at, :encrypted_settings, :encrypted_settings_iv, :id, :updated_at
847
+  (0.2ms) SAVEPOINT active_record_1
848
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
849
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/new.html.erb within layouts/integration_pal/application
850
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/new.html.erb within layouts/integration_pal/application (0.2ms)
851
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
852
+ Completed 200 OK in 16ms (Views: 5.7ms | ActiveRecord: 0.3ms)
853
+  (0.3ms) SELECT COUNT(*) FROM "integration_pal_workers"
854
+  (0.1ms) ROLLBACK
855
+  (0.1ms) BEGIN
856
+  (0.1ms) SAVEPOINT active_record_1
857
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "46c01e0351c1723ba8d27dbdd285cbe5"], ["access_id", "75e45b4a8d6abe0e1f1bda2bdc53e185"], ["secret_key", "f292bd79fedb9d32b269fd989e516522"], ["job_type", "TestJob"], ["encrypted_settings", "fPikp3/QuVcTUuSamW2SBUS4Op0=\n"], ["encrypted_settings_iv", "YfVE28WwgQfaVcSp\n"], ["created_at", "2017-05-31 21:27:45.773098"], ["updated_at", "2017-05-31 21:27:45.773098"]]
858
+  (0.2ms) RELEASE SAVEPOINT active_record_1
859
+ Processing by IntegrationPal::WorkersController#update as HTML
860
+ Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"22"}
861
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]]
862
+  (0.1ms) SAVEPOINT active_record_1
863
+ SQL (0.3ms) UPDATE "integration_pal_workers" SET "name" = $1, "updated_at" = $2 WHERE "integration_pal_workers"."id" = $3 [["name", "New Name"], ["updated_at", "2017-05-31 21:27:45.781752"], ["id", 22]]
864
+  (0.1ms) RELEASE SAVEPOINT active_record_1
865
+ Redirected to http://test.host/integration_pal/workers/22
866
+ Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
867
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]]
868
+  (0.1ms) ROLLBACK
869
+  (0.1ms) BEGIN
870
+  (0.1ms) SAVEPOINT active_record_1
871
+ SQL (0.2ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "796b21efecd77afcd9cca5ff8d9b0fa4"], ["access_id", "0b337367bb92d604f12533bcd2924c5b"], ["secret_key", "024a0ce1c24d692a58be0e95cd69bc95"], ["job_type", "TestJob"], ["encrypted_settings", "gSKE9sxn91kBW2kI1pTZHT6Q470=\n"], ["encrypted_settings_iv", "Q8p8BYLTXbUzj3NG\n"], ["created_at", "2017-05-31 21:27:45.799779"], ["updated_at", "2017-05-31 21:27:45.799779"]]
872
+  (0.1ms) RELEASE SAVEPOINT active_record_1
873
+ Processing by IntegrationPal::WorkersController#update as HTML
874
+ Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"23"}
875
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]]
876
+  (0.1ms) SAVEPOINT active_record_1
877
+ SQL (0.2ms) UPDATE "integration_pal_workers" SET "name" = $1, "updated_at" = $2 WHERE "integration_pal_workers"."id" = $3 [["name", "New Name"], ["updated_at", "2017-05-31 21:27:45.806754"], ["id", 23]]
878
+  (0.1ms) RELEASE SAVEPOINT active_record_1
879
+ Redirected to http://test.host/integration_pal/workers/23
880
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
881
+  (5.0ms) ROLLBACK
882
+  (0.1ms) BEGIN
883
+  (0.1ms) SAVEPOINT active_record_1
884
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "086b64052f9cba59d29f49a357b6077a"], ["access_id", "6a2c33f4f5eec718352c65013dff4c74"], ["secret_key", "60bd13d23de39e6dd90bc17eb14210ba"], ["job_type", "TestJob"], ["encrypted_settings", "Slut6nm068gurOzTTwuBcNjlC6U=\n"], ["encrypted_settings_iv", "3igGsQyZovj3bGYn\n"], ["created_at", "2017-05-31 21:27:45.825925"], ["updated_at", "2017-05-31 21:27:45.825925"]]
885
+  (0.1ms) RELEASE SAVEPOINT active_record_1
886
+ Processing by IntegrationPal::WorkersController#update as HTML
887
+ Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"24"}
888
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]]
889
+  (0.1ms) SAVEPOINT active_record_1
890
+ SQL (0.3ms) UPDATE "integration_pal_workers" SET "name" = $1, "updated_at" = $2 WHERE "integration_pal_workers"."id" = $3 [["name", "New Name"], ["updated_at", "2017-05-31 21:27:45.833445"], ["id", 24]]
891
+  (0.1ms) RELEASE SAVEPOINT active_record_1
892
+ Redirected to http://test.host/integration_pal/workers/24
893
+ Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
894
+  (0.1ms) ROLLBACK
895
+  (0.1ms) BEGIN
896
+  (0.1ms) SAVEPOINT active_record_1
897
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "674a925eed7ca3d860c84fef6b4a5b88"], ["access_id", "0a519a08554c615780c7307b80a0105f"], ["secret_key", "e31b4144180db04174bbc12a24cabf34"], ["job_type", "TestJob"], ["encrypted_settings", "3gR1MeptMCvf8Zo29ehiwzuwEuk=\n"], ["encrypted_settings_iv", "rsAusMN1I582oaSm\n"], ["created_at", "2017-05-31 21:27:45.851447"], ["updated_at", "2017-05-31 21:27:45.851447"]]
898
+  (0.1ms) RELEASE SAVEPOINT active_record_1
899
+ Processing by IntegrationPal::WorkersController#update as HTML
900
+ Parameters: {"worker"=>{"job_type"=>""}, "id"=>"25"}
901
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]]
902
+  (0.1ms) SAVEPOINT active_record_1
903
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
904
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application
905
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application (0.2ms)
906
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
907
+ Completed 200 OK in 16ms (Views: 10.1ms | ActiveRecord: 0.3ms)
908
+  (0.1ms) ROLLBACK
909
+  (0.1ms) BEGIN
910
+  (0.2ms) SAVEPOINT active_record_1
911
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "3911924e981401bc2acca68e04899d3b"], ["access_id", "f39ba65c5ba91d0dd6a55e5ac35f2046"], ["secret_key", "29cdfea45bb9aa8dbbe369605a349808"], ["job_type", "TestJob"], ["encrypted_settings", "qqufmMzXQU/RTT6Ldgvj6vi7hcA=\n"], ["encrypted_settings_iv", "39sWYl8RgbYQQFIA\n"], ["created_at", "2017-05-31 21:27:45.886030"], ["updated_at", "2017-05-31 21:27:45.886030"]]
912
+  (0.1ms) RELEASE SAVEPOINT active_record_1
913
+ Processing by IntegrationPal::WorkersController#update as HTML
914
+ Parameters: {"worker"=>{"job_type"=>""}, "id"=>"26"}
915
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 1]]
916
+  (0.1ms) SAVEPOINT active_record_1
917
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
918
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application
919
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application (0.1ms)
920
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
921
+ Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.4ms)
922
+  (0.1ms) ROLLBACK
923
+  (0.1ms) BEGIN
924
+  (0.1ms) ROLLBACK
925
+  (0.1ms) BEGIN
926
+  (0.1ms) SAVEPOINT active_record_1
927
+ SQL (0.3ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "22637763c48df847cf0329e14e233f24"], ["access_id", "08fdeba3ec1cbd36d9f77b06c9f7c25d"], ["secret_key", "6190c05b044d52371cab3a13f78ab282"], ["job_type", "TestJob"], ["encrypted_settings", "RSiIRM7tvoIV+UPzssPqoSdkC8o=\n"], ["encrypted_settings_iv", "Yr9MaJQmoGNI/gEY\n"], ["created_at", "2017-05-31 21:27:45.911191"], ["updated_at", "2017-05-31 21:27:45.911191"]]
928
+  (0.1ms) RELEASE SAVEPOINT active_record_1
929
+  (0.1ms) ROLLBACK
930
+  (0.1ms) BEGIN
931
+  (0.1ms) SAVEPOINT active_record_1
932
+ SQL (0.2ms) INSERT INTO "integration_pal_workers" ("name", "access_id", "secret_key", "job_type", "encrypted_settings", "encrypted_settings_iv", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "f4e80817f2f8d7df5d13d3d4765ab6a5"], ["access_id", "f60cc1329bdc606cc2704e381e2d3420"], ["secret_key", "151c209fb98d37c551a9c25e9476614f"], ["job_type", "TestJob"], ["encrypted_settings", "MQj0wRqaJJmMcz0z9i7CF4U+X/k=\n"], ["encrypted_settings_iv", "B1331d3UlZRs/lws\n"], ["created_at", "2017-05-31 21:27:45.924950"], ["updated_at", "2017-05-31 21:27:45.924950"]]
933
+  (0.1ms) RELEASE SAVEPOINT active_record_1
934
+  (0.1ms) ROLLBACK
935
+  (0.1ms) BEGIN
936
+  (0.1ms) ROLLBACK
937
+  (0.1ms) BEGIN
938
+  (0.2ms) ROLLBACK
939
+  (0.1ms) BEGIN
940
+  (0.1ms) ROLLBACK
941
+  (0.1ms) BEGIN
942
+  (0.1ms) ROLLBACK
943
+  (0.1ms) BEGIN
944
+  (0.1ms) ROLLBACK