integration_pal 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 23a1d177dd359e1d840597b1e69f669ae7d535ae
4
- data.tar.gz: 0b5c8180cbc0b697ae86fb2214b73577c690236d
3
+ metadata.gz: 80040423f29a4fcef6b0484d692b920d8adf1733
4
+ data.tar.gz: a46fcfbf475673dd23a9a731606ed89ad75477a9
5
5
  SHA512:
6
- metadata.gz: f8067b9aca2a8f57b76f6e2e24c8b8294976a2cc0b05117bc70e2a4e82d401c875349d940e9e750256b14867baa1362746aa7349a686549125095fc4be0f46b7
7
- data.tar.gz: 747a01149b6ec221f0ee77d8d3ab671e77a0badc0f70f82b73866c57e941cbd3e9aa729c3460d5c3b59812e1cf9cd75071a58968852136bcc83cf4f45d4157a4
6
+ metadata.gz: c10ff705ba4bbb3c0d92dce046a03a7255e101502abd98bf78f7c0c6444edb86156be076231d2836b23bafe2a6d3f79f2a84d7648c72e1f7a32aaf93c07c7cc8
7
+ data.tar.gz: e3f33b7bfef7e922e909ec13174ec026c791c789a9ff454df2e457116f5fbe7aa279063b400aa30b01c9a043fb11801409adf92516c63f624f916d467b9cc905
@@ -0,0 +1,62 @@
1
+ require_dependency "integration_pal/application_controller"
2
+
3
+ module IntegrationPal
4
+ class TasksController < ApplicationController
5
+ before_action :set_task, only: [:show, :edit, :update, :destroy]
6
+
7
+ # GET /tasks
8
+ def index
9
+ @tasks = Job.find(params[:job_id]).tasks.order('created_at DESC')
10
+ end
11
+
12
+ # GET /tasks/1
13
+ def show
14
+ end
15
+
16
+ # GET /tasks/new
17
+ def new
18
+ @task = Task.new
19
+ end
20
+
21
+ # GET /tasks/1/edit
22
+ def edit
23
+ end
24
+
25
+ # POST /tasks
26
+ def create
27
+ @task = Task.new(task_params)
28
+
29
+ if @task.save
30
+ redirect_to @task, notice: 'Task was successfully created.'
31
+ else
32
+ render :new
33
+ end
34
+ end
35
+
36
+ # PATCH/PUT /tasks/1
37
+ def update
38
+ if @task.update(task_params)
39
+ redirect_to @task, notice: 'Task was successfully updated.'
40
+ else
41
+ render :edit
42
+ end
43
+ end
44
+
45
+ # DELETE /tasks/1
46
+ def destroy
47
+ @task.destroy
48
+ redirect_to tasks_url, notice: 'Task was successfully destroyed.'
49
+ end
50
+
51
+ private
52
+ # Use callbacks to share common setup or constraints between actions.
53
+ def set_task
54
+ @task = Task.find(params[:id])
55
+ end
56
+
57
+ # Only allow a trusted parameter "white list" through.
58
+ def task_params
59
+ params.require(:task).permit(:status, :progress, :job_id)
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,32 @@
1
+ require 'active_support/concern'
2
+
3
+ module IntegrationPal
4
+ module Statusable
5
+ extend ActiveSupport::Concern
6
+
7
+ PENDING_STATUS = 'pending'.freeze
8
+ COMPLETED_STATUS = 'completed'.freeze
9
+ IN_PROGRESS_STATUS = 'in_progress'.freeze
10
+ FAILED_STATUS = 'failed'.freeze
11
+ STATUSES = [PENDING_STATUS, COMPLETED_STATUS, IN_PROGRESS_STATUS, FAILED_STATUS].freeze
12
+
13
+ included do
14
+ validates :status, presence: true, inclusion: { in: STATUSES }
15
+
16
+ before_validation :set_status
17
+ def set_status
18
+ self.status ||= PENDING_STATUS
19
+ end
20
+
21
+ def fail(exception)
22
+ self.update_attributes(status: FAILED_STATUS, error: exception.message, backtrace: exception.backtrace)
23
+ end
24
+
25
+ def complete
26
+ self.update_attributes(status: COMPLETED_STATUS, finished_at: Time.zone.now)
27
+ end
28
+
29
+ end
30
+
31
+ end
32
+ end
@@ -1,22 +1,13 @@
1
1
  module IntegrationPal
2
2
  class Job < ApplicationRecord
3
- PENDING_STATUS = 'pending'.freeze
4
- COMPLETED_STATUS = 'completed'.freeze
5
- IN_PROGRESS_STATUS = 'in_progress'.freeze
6
- FAILED_STATUS = 'failed'.freeze
7
- STATUSES = [PENDING_STATUS, COMPLETED_STATUS, IN_PROGRESS_STATUS, FAILED_STATUS].freeze
3
+ include IntegrationPal::Statusable
8
4
 
9
5
  store :job_params, coder: Hash
10
6
 
11
7
  belongs_to :worker
8
+ has_many :tasks
12
9
 
13
10
  validates :worker, presence: true
14
- validates :status, presence: true, inclusion: { in: STATUSES }
15
-
16
- before_validation :set_status
17
- def set_status
18
- self.status ||= PENDING_STATUS
19
- end
20
11
 
21
12
  def queue_job
22
13
  raise 'Cannot start a non persisted job' unless self.persisted?
@@ -27,14 +18,6 @@ module IntegrationPal
27
18
  self.update_attributes(status: IN_PROGRESS_STATUS, started_at: Time.zone.now, job_params: self.job_params.merge(worker.settings))
28
19
  end
29
20
 
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
-
38
21
  end
39
22
 
40
23
  end
@@ -0,0 +1,16 @@
1
+ module IntegrationPal
2
+ class Task < ApplicationRecord
3
+ include IntegrationPal::Statusable
4
+
5
+ store :params, coder: Hash
6
+
7
+ belongs_to :job
8
+
9
+ validates :job, presence: true
10
+
11
+ def start
12
+ self.update_attributes(status: IN_PROGRESS_STATUS, started_at: Time.zone.now)
13
+ end
14
+
15
+ end
16
+ end
@@ -9,6 +9,7 @@
9
9
  <th>Progress</th>
10
10
  <th>Started At</th>
11
11
  <th>Finished At</th>
12
+ <th>Tasks</th>
12
13
  </tr>
13
14
  </thead>
14
15
 
@@ -21,6 +22,7 @@
21
22
  <td><%= job.progress %></td>
22
23
  <td><%= time_ago_in_words(job.started_at) if job.started_at.present? %></td>
23
24
  <td><%= time_ago_in_words(job.finished_at) if job.finished_at.present?%></td>
25
+ <td><%= link_to "Tasks", tasks_path(job_id: job.id) %></td>
24
26
  </tr>
25
27
  <% end %>
26
28
  </tbody>
@@ -0,0 +1,29 @@
1
+ <h1>Tasks</h1>
2
+
3
+ <%= link_to 'Back', jobs_path, class: 'btn btn-default' %>
4
+
5
+ <table class='table'>
6
+ <thead>
7
+ <tr>
8
+ <th>ID</th>
9
+ <th>Job</th>
10
+ <th>Status</th>
11
+ <th>Progress</th>
12
+ <th>Started At</th>
13
+ <th>Finished At</th>
14
+ </tr>
15
+ </thead>
16
+
17
+ <tbody>
18
+ <% @tasks.each do |task| %>
19
+ <tr>
20
+ <td><%= task.id %></td>
21
+ <td><%= task.job.worker.name %></td>
22
+ <td><%= link_to task.status, task_path(task) %></td>
23
+ <td><%= task.progress %></td>
24
+ <td><%= time_ago_in_words(task.started_at) if task.started_at.present? %></td>
25
+ <td><%= time_ago_in_words(task.finished_at) if task.finished_at.present?%></td>
26
+ </tr>
27
+ <% end %>
28
+ </tbody>
29
+ </table>
@@ -0,0 +1,26 @@
1
+ <p>
2
+ <strong>Parameters:</strong>
3
+ <%= @task.params %>
4
+ </p>
5
+
6
+ <p>
7
+ <strong>Status:</strong>
8
+ <%= @task.status %>
9
+ </p>
10
+
11
+ <p>
12
+ <strong>Progress:</strong>
13
+ <%= @task.progress %>
14
+ </p>
15
+
16
+ <p>
17
+ <strong>Error:</strong>
18
+ <%= @task.error %>
19
+ </p>
20
+
21
+ <p>
22
+ <strong>Backtrace:</strong>
23
+ <%= @task.backtrace %>
24
+ </p>
25
+
26
+ <%= link_to 'Back', jobs_path %>
@@ -1,7 +1,8 @@
1
1
  IntegrationPal::Engine.routes.draw do
2
2
  root to: 'workers#index'
3
- resources :jobs
4
3
  resources :workers
4
+ resources :jobs
5
+ resources :tasks
5
6
 
6
7
  namespace :api do
7
8
  namespace :v1 do
@@ -0,0 +1,16 @@
1
+ class CreateIntegrationPalTasks < ActiveRecord::Migration[5.1]
2
+ def change
3
+ create_table :integration_pal_tasks do |t|
4
+ t.integer :job_id
5
+ t.text :params
6
+ t.string :status
7
+ t.datetime :started_at
8
+ t.datetime :finished_at
9
+ t.float :progress
10
+ t.string :error
11
+ t.text :backtrace
12
+
13
+ t.timestamps
14
+ end
15
+ end
16
+ end
@@ -1,3 +1,3 @@
1
1
  module IntegrationPal
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.6'
3
3
  end
@@ -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: 20170531201218) do
13
+ ActiveRecord::Schema.define(version: 20170801153911) do
14
14
 
15
15
  # These are extensions that must be enabled in order to support this database
16
16
  enable_extension "plpgsql"
@@ -28,6 +28,19 @@ ActiveRecord::Schema.define(version: 20170531201218) do
28
28
  t.text "backtrace"
29
29
  end
30
30
 
31
+ create_table "integration_pal_tasks", force: :cascade do |t|
32
+ t.integer "job_id"
33
+ t.text "params"
34
+ t.string "status"
35
+ t.datetime "started_at"
36
+ t.datetime "finished_at"
37
+ t.float "progress"
38
+ t.string "error"
39
+ t.text "backtrace"
40
+ t.datetime "created_at", null: false
41
+ t.datetime "updated_at", null: false
42
+ end
43
+
31
44
  create_table "integration_pal_workers", force: :cascade do |t|
32
45
  t.string "name"
33
46
  t.string "access_id"
@@ -942,3 +942,1464 @@ Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.4ms)
942
942
   (0.1ms) ROLLBACK
943
943
   (0.1ms) BEGIN
944
944
   (0.1ms) ROLLBACK
945
+  (3.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
946
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
947
+  (3.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
948
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
949
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
950
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
951
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
952
+  (184.7ms) DROP DATABASE IF EXISTS "integration_pal_test"
953
+  (738.6ms) CREATE DATABASE "integration_pal_test" ENCODING = 'unicode'
954
+ SQL (2.1ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
955
+  (0.2ms) DROP TABLE IF EXISTS "integration_pal_jobs" CASCADE
956
+  (20.2ms) 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, "error" character varying, "backtrace" text)
957
+  (0.2ms) DROP TABLE IF EXISTS "integration_pal_workers" CASCADE
958
+  (5.2ms) 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)
959
+  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
960
+  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
961
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20170531201218)
962
+  (3.8ms) 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)
963
+ 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]]
964
+  (0.1ms) BEGIN
965
+ SQL (1.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-08-01 21:17:55.914558"], ["updated_at", "2017-08-01 21:17:55.914558"]]
966
+  (0.6ms) COMMIT
967
+ 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]]
968
+  (0.1ms) BEGIN
969
+  (0.1ms) COMMIT
970
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
971
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
972
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
973
+  (1.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
974
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
975
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
976
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
977
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
978
+  (204.7ms) DROP DATABASE IF EXISTS "integration_pal_test"
979
+  (559.2ms) CREATE DATABASE "integration_pal_test" ENCODING = 'unicode'
980
+ SQL (1.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
981
+  (0.1ms) DROP TABLE IF EXISTS "integration_pal_jobs" CASCADE
982
+  (19.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, "error" character varying, "backtrace" text)
983
+  (0.2ms) DROP TABLE IF EXISTS "integration_pal_workers" CASCADE
984
+  (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)
985
+  (3.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
986
+  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
987
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20170531201218)
988
+  (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)
989
+ ActiveRecord::InternalMetadata Load (1.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
990
+  (0.1ms) BEGIN
991
+ 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-08-01 21:17:59.023949"], ["updated_at", "2017-08-01 21:17:59.023949"]]
992
+  (0.3ms) COMMIT
993
+ 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]]
994
+  (0.1ms) BEGIN
995
+  (0.1ms) COMMIT
996
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
997
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
998
+  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
999
+  (1.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
1000
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1001
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
1002
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1003
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
1004
+  (178.5ms) DROP DATABASE IF EXISTS "integration_pal_test"
1005
+  (566.8ms) CREATE DATABASE "integration_pal_test" ENCODING = 'unicode'
1006
+ SQL (1.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1007
+  (0.1ms) DROP TABLE IF EXISTS "integration_pal_jobs" CASCADE
1008
+  (20.1ms) 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, "error" character varying, "backtrace" text)
1009
+  (0.2ms) DROP TABLE IF EXISTS "integration_pal_workers" CASCADE
1010
+  (4.3ms) 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)
1011
+  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1012
+  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1013
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20170531201218)
1014
+  (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)
1015
+ 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]]
1016
+  (0.1ms) BEGIN
1017
+ 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-08-01 21:18:01.915494"], ["updated_at", "2017-08-01 21:18:01.915494"]]
1018
+  (0.5ms) COMMIT
1019
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
1020
+  (0.1ms) BEGIN
1021
+  (0.1ms) COMMIT
1022
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1023
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1024
+  (1.4ms) SELECT pg_try_advisory_lock(6964560810240048645);
1025
+  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1026
+ Migrating to CreateIntegrationPalWorkers (20170524203831)
1027
+  (0.2ms) BEGIN
1028
+  (6.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)
1029
+  (0.1ms) ROLLBACK
1030
+  (0.2ms) SELECT pg_advisory_unlock(6964560810240048645)
1031
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1032
+  (1.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
1033
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1034
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
1035
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1036
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
1037
+  (204.1ms) DROP DATABASE IF EXISTS "integration_pal_test"
1038
+  (20.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1039
+  (4.1ms) 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)
1040
+  (0.2ms) SELECT pg_try_advisory_lock(6964560810240048645);
1041
+  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1042
+ Migrating to CreateIntegrationPalWorkers (20170524203831)
1043
+  (0.1ms) BEGIN
1044
+  (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)
1045
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170524203831"]]
1046
+  (0.4ms) COMMIT
1047
+ Migrating to CreateIntegrationPalJobs (20170525153603)
1048
+  (0.2ms) BEGIN
1049
+  (5.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)
1050
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170525153603"]]
1051
+  (0.4ms) COMMIT
1052
+ Migrating to AddErrorFieldsToJobs (20170531201218)
1053
+  (6.2ms) BEGIN
1054
+  (16.8ms) ALTER TABLE "integration_pal_jobs" ADD "error" character varying
1055
+  (0.2ms) ALTER TABLE "integration_pal_jobs" ADD "backtrace" text
1056
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170531201218"]]
1057
+  (0.3ms) COMMIT
1058
+ Migrating to CreateIntegrationPalTasks (20170801153911)
1059
+  (0.1ms) BEGIN
1060
+  (4.8ms) CREATE TABLE "integration_pal_tasks" ("id" bigserial primary key, "job_id" integer, "params" text, "status" character varying, "started_at" timestamp, "finished_at" timestamp, "progress" float, "error" character varying, "backtrace" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1061
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170801153911"]]
1062
+  (0.3ms) COMMIT
1063
+ 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]]
1064
+  (0.1ms) BEGIN
1065
+ 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-08-01 21:18:58.284789"], ["updated_at", "2017-08-01 21:18:58.284789"]]
1066
+  (0.4ms) COMMIT
1067
+  (0.2ms) SELECT pg_advisory_unlock(6964560810240048645)
1068
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1069
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1070
+  (0.1ms) BEGIN
1071
+  (0.1ms) SAVEPOINT active_record_1
1072
+ IntegrationPal::Worker Exists (1.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "3c006e04c377e697d8c1e8978b23e886"], ["LIMIT", 1]]
1073
+ SQL (0.4ms) 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", "4269c88f0a528546324094bcb38e4635"], ["access_id", "3c006e04c377e697d8c1e8978b23e886"], ["secret_key", "e079ea9fd860a8150d67182cc64addc8"], ["job_type", "TestJob"], ["encrypted_settings", "gve7l+Lcet/Dl6v/owcBfGiSUdM=\n"], ["encrypted_settings_iv", "JtmTm7B/lfgiyRZ4\n"], ["created_at", "2017-08-01 21:19:06.269387"], ["updated_at", "2017-08-01 21:19:06.269387"]]
1074
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1075
+  (0.1ms) SAVEPOINT active_record_1
1076
+ SQL (1.5ms) 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-08-01 21:19:06.281240"], ["updated_at", "2017-08-01 21:19:06.281240"]]
1077
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1078
+ Processing by IntegrationPal::Api::V1::JobsController#show as HTML
1079
+ Parameters: {"id"=>"1"}
1080
+ 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]]
1081
+ Filter chain halted as :authenticate_api rendered or redirected
1082
+ Completed 401 Unauthorized in 2ms (ActiveRecord: 0.4ms)
1083
+  (0.2ms) ROLLBACK
1084
+  (0.1ms) BEGIN
1085
+  (0.1ms) SAVEPOINT active_record_1
1086
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "5410c01256fd53e10da8f546d8a30a76"], ["LIMIT", 1]]
1087
+ 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", "2c82dcedba89200fb2e106c6a2dc30bb"], ["access_id", "5410c01256fd53e10da8f546d8a30a76"], ["secret_key", "6233629bc3221ed2bf3777dde0b4bd2c"], ["job_type", "TestJob"], ["encrypted_settings", "YEbvpglGUbj2BB86BmjhnxtJ+VY=\n"], ["encrypted_settings_iv", "f8YC4IVUx43zxsSi\n"], ["created_at", "2017-08-01 21:19:06.305242"], ["updated_at", "2017-08-01 21:19:06.305242"]]
1088
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1089
+  (0.1ms) SAVEPOINT active_record_1
1090
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "ec133de9446ed9d6f64698050c90bd79"], ["LIMIT", 1]]
1091
+ 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", "2563602af701119ba0cf6f44bdbbdace"], ["access_id", "ec133de9446ed9d6f64698050c90bd79"], ["secret_key", "deb5d52155a826958430943845d94401"], ["job_type", "TestJob"], ["encrypted_settings", "QFhBn8uTHj03wSAIqX6ef5OWsAc=\n"], ["encrypted_settings_iv", "nThDao/FlnvLQmB4\n"], ["created_at", "2017-08-01 21:19:06.319866"], ["updated_at", "2017-08-01 21:19:06.319866"]]
1092
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1093
+  (0.1ms) SAVEPOINT active_record_1
1094
+ 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-08-01 21:19:06.321568"], ["updated_at", "2017-08-01 21:19:06.321568"]]
1095
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1096
+ Processing by IntegrationPal::Api::V1::JobsController#show as JSON
1097
+ Parameters: {"id"=>"2"}
1098
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "5410c01256fd53e10da8f546d8a30a76"], ["LIMIT", 1]]
1099
+ 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]]
1100
+ Completed 200 OK in 10ms (Views: 0.7ms | ActiveRecord: 0.4ms)
1101
+  (0.1ms) ROLLBACK
1102
+  (0.1ms) BEGIN
1103
+  (0.1ms) SAVEPOINT active_record_1
1104
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "adb814edad43128055b3ac9fb3e7f38c"], ["LIMIT", 1]]
1105
+ 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", "42a4670e4535c3ec89730cb22472e541"], ["access_id", "adb814edad43128055b3ac9fb3e7f38c"], ["secret_key", "979469889d36177973393ed6fc4a49b9"], ["job_type", "TestJob"], ["encrypted_settings", "3mHX1SxNXPXF3uRembccPQGqAmQ=\n"], ["encrypted_settings_iv", "mQ2ZvXyDxGDBnCrU\n"], ["created_at", "2017-08-01 21:19:06.371498"], ["updated_at", "2017-08-01 21:19:06.371498"]]
1106
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1107
+  (0.3ms) SELECT COUNT(*) FROM "integration_pal_jobs"
1108
+  (0.1ms) SAVEPOINT active_record_1
1109
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "d28af2cd5e24e93f5ced8550d415b2b0"], ["LIMIT", 1]]
1110
+ 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", "a44259e51931a2addd8134f0144d5eab"], ["access_id", "d28af2cd5e24e93f5ced8550d415b2b0"], ["secret_key", "f78a693ddcb15f46a07af7f73938fa9b"], ["job_type", "TestJob"], ["encrypted_settings", "IqwDbIRGbXwe5q83RsXKGBoq2TI=\n"], ["encrypted_settings_iv", "i1SbQcO0sxyQlIUn\n"], ["created_at", "2017-08-01 21:19:06.384954"], ["updated_at", "2017-08-01 21:19:06.384954"]]
1111
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1112
+ Processing by IntegrationPal::Api::V1::JobsController#create as HTML
1113
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"5"}}
1114
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :progress, :started_at, :status, :updated_at
1115
+  (0.1ms) SAVEPOINT active_record_1
1116
+ 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]]
1117
+ 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", 5], ["created_at", "2017-08-01 21:19:06.411578"], ["updated_at", "2017-08-01 21:19:06.411578"]]
1118
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1119
+ [ActiveJob] [TestJob] [8852da89-bcf0-422c-9672-6ba350fb8155] Performing TestJob (Job ID: 8852da89-bcf0-422c-9672-6ba350fb8155) from Async(default) with arguments: 3
1120
+ [ActiveJob] Enqueued TestJob (Job ID: 8852da89-bcf0-422c-9672-6ba350fb8155) to Async(default) with arguments: 3
1121
+ Completed 200 OK in 28ms (Views: 0.5ms | ActiveRecord: 0.7ms)
1122
+  (0.3ms) SELECT COUNT(*) FROM "integration_pal_jobs"
1123
+  (1.3ms) ROLLBACK
1124
+  (0.1ms) BEGIN
1125
+  (0.4ms) SAVEPOINT active_record_1
1126
+ IntegrationPal::Worker Exists (0.4ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "7ac5ab147695b2e5eb90512c6c4b9da4"], ["LIMIT", 1]]
1127
+ SQL (0.9ms) 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", "f652df4fe34c89331ce4c733a24600bb"], ["access_id", "7ac5ab147695b2e5eb90512c6c4b9da4"], ["secret_key", "149e1f6f0fa1ac009fdcef03cdfdb4d1"], ["job_type", "TestJob"], ["encrypted_settings", "IrR0OHAQWpCt8BNH6MxYF5saepY=\n"], ["encrypted_settings_iv", "Rd8s7BnEoGgHrmDa\n"], ["created_at", "2017-08-01 21:19:06.437668"], ["updated_at", "2017-08-01 21:19:06.437668"]]
1128
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1129
+ [ActiveJob] [TestJob] [8852da89-bcf0-422c-9672-6ba350fb8155] Performed TestJob (Job ID: 8852da89-bcf0-422c-9672-6ba350fb8155) from Async(default) in 25.21ms
1130
+  (0.5ms) SAVEPOINT active_record_1
1131
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "29e4551ec087fd98340e78cf47fcac94"], ["LIMIT", 1]]
1132
+ SQL (1.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", "fd33fe8570de4c6daf0d431c0b20d523"], ["access_id", "29e4551ec087fd98340e78cf47fcac94"], ["secret_key", "7f5622020cd42e1dc2d2819fa7bf59ac"], ["job_type", "TestJob"], ["encrypted_settings", "OH1MRG8IpoU1rnK+rb7XN6YjfyI=\n"], ["encrypted_settings_iv", "1wf8vcY7+0xQWPTV\n"], ["created_at", "2017-08-01 21:19:06.448173"], ["updated_at", "2017-08-01 21:19:06.448173"]]
1133
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1134
+ Processing by IntegrationPal::Api::V1::JobsController#create as HTML
1135
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"7"}}
1136
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :progress, :started_at, :status, :updated_at
1137
+  (0.1ms) SAVEPOINT active_record_1
1138
+ 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]]
1139
+ 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", 7], ["created_at", "2017-08-01 21:19:06.461023"], ["updated_at", "2017-08-01 21:19:06.461023"]]
1140
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1141
+ [ActiveJob] Enqueued TestJob (Job ID: 5b710487-1723-41f8-8d41-627692db541e) to Async(default) with arguments: 4
1142
+ [ActiveJob] [TestJob] [5b710487-1723-41f8-8d41-627692db541e] Performing TestJob (Job ID: 5b710487-1723-41f8-8d41-627692db541e) from Async(default) with arguments: 4
1143
+ Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 0.6ms)
1144
+ [ActiveJob] [TestJob] [5b710487-1723-41f8-8d41-627692db541e] Performed TestJob (Job ID: 5b710487-1723-41f8-8d41-627692db541e) from Async(default) in 0.03ms
1145
+  (0.2ms) ROLLBACK
1146
+  (0.1ms) BEGIN
1147
+  (0.1ms) SAVEPOINT active_record_1
1148
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "384c7f5157c5b8b5eb16b3ae89dc7985"], ["LIMIT", 1]]
1149
+ 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", "8dc025e2b776f33859034cc6f27c5879"], ["access_id", "384c7f5157c5b8b5eb16b3ae89dc7985"], ["secret_key", "4a5cee91be6f72c6c51c23ca0be93977"], ["job_type", "TestJob"], ["encrypted_settings", "pgnRXGYGvQ2liZGPekemSWKOYgc=\n"], ["encrypted_settings_iv", "CyBorzhXbK9T0giZ\n"], ["created_at", "2017-08-01 21:19:06.476875"], ["updated_at", "2017-08-01 21:19:06.476875"]]
1150
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1151
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
1152
+ Processing by IntegrationPal::Api::V1::JobsController#create as HTML
1153
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>""}}
1154
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :progress, :started_at, :status, :updated_at
1155
+  (0.1ms) SAVEPOINT active_record_1
1156
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1157
+ Completed 422 Unprocessable Entity in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
1158
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
1159
+  (0.1ms) ROLLBACK
1160
+  (0.1ms) BEGIN
1161
+  (0.2ms) SAVEPOINT active_record_1
1162
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "e31b639d7f8535433a21000d80282d00"], ["LIMIT", 1]]
1163
+ 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", "414da3a33ef8a2a6b142ef945504c94b"], ["access_id", "e31b639d7f8535433a21000d80282d00"], ["secret_key", "3a0f1efbb3f924036985f18677c92607"], ["job_type", "TestJob"], ["encrypted_settings", "vCp3b5uUFrU3aKOJU7Rgu3HOI2I=\n"], ["encrypted_settings_iv", "yeTJ0SeYiyG9WA/B\n"], ["created_at", "2017-08-01 21:19:06.496263"], ["updated_at", "2017-08-01 21:19:06.496263"]]
1164
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1165
+  (0.1ms) SAVEPOINT active_record_1
1166
+ 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-08-01 21:19:06.498184"], ["updated_at", "2017-08-01 21:19:06.498184"]]
1167
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1168
+ Processing by IntegrationPal::JobsController#index as HTML
1169
+ Rendering text template
1170
+ Rendered text template (0.0ms)
1171
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1172
+ Filter chain halted as :authenticate! rendered or redirected
1173
+ Completed 401 Unauthorized in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)
1174
+  (0.1ms) ROLLBACK
1175
+  (0.1ms) BEGIN
1176
+  (0.1ms) SAVEPOINT active_record_1
1177
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "4a58a3aa823b8c952ff38895f718f35b"], ["LIMIT", 1]]
1178
+ 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", "0f86e0bad23a17340cb5258bd0acd3c1"], ["access_id", "4a58a3aa823b8c952ff38895f718f35b"], ["secret_key", "da63bf2be57e64e6099275dfcfdefc16"], ["job_type", "TestJob"], ["encrypted_settings", "HwsO/waa7UzW79Xd4RKzUvfwpHA=\n"], ["encrypted_settings_iv", "ir0oMC8scJl6gmBj\n"], ["created_at", "2017-08-01 21:19:06.525664"], ["updated_at", "2017-08-01 21:19:06.525664"]]
1179
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1180
+  (0.1ms) SAVEPOINT active_record_1
1181
+ 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-08-01 21:19:06.527433"], ["updated_at", "2017-08-01 21:19:06.527433"]]
1182
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1183
+ Processing by IntegrationPal::JobsController#index as HTML
1184
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/index.html.erb within layouts/integration_pal/application
1185
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/index.html.erb within layouts/integration_pal/application (0.3ms)
1186
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1187
+ Completed 200 OK in 13ms (Views: 8.6ms | ActiveRecord: 0.0ms)
1188
+ IntegrationPal::Job Load (0.5ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" ORDER BY created_at DESC
1189
+  (0.1ms) ROLLBACK
1190
+  (0.1ms) BEGIN
1191
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
1192
+  (0.2ms) SAVEPOINT active_record_1
1193
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "6b44bf2e0fe1b095105491d0367d9c7e"], ["LIMIT", 1]]
1194
+ 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", "63ef5499f0cb7b8b844b75e540d1b413"], ["access_id", "6b44bf2e0fe1b095105491d0367d9c7e"], ["secret_key", "03da23692c5d4b2024811730d770d53a"], ["job_type", "TestJob"], ["encrypted_settings", "UrwccQXJCVTZDnyGTXQw9oTX620=\n"], ["encrypted_settings_iv", "pD1t26EQzfVCSAS+\n"], ["created_at", "2017-08-01 21:19:06.558544"], ["updated_at", "2017-08-01 21:19:06.558544"]]
1195
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1196
+ Processing by IntegrationPal::JobsController#create as HTML
1197
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"11"}}
1198
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :job_params, :started_at, :updated_at
1199
+  (0.1ms) SAVEPOINT active_record_1
1200
+ 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]]
1201
+ 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-08-01 21:19:06.568634"], ["updated_at", "2017-08-01 21:19:06.568634"]]
1202
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1203
+ Redirected to http://test.host/integration_pal/jobs/7
1204
+ Completed 302 Found in 9ms (ActiveRecord: 0.6ms)
1205
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
1206
+  (0.1ms) ROLLBACK
1207
+  (0.1ms) BEGIN
1208
+  (0.1ms) SAVEPOINT active_record_1
1209
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "071b7e2a1250a33d9d1c26550c71e912"], ["LIMIT", 1]]
1210
+ 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", "8a7b77686b08f28d655925baab87b602"], ["access_id", "071b7e2a1250a33d9d1c26550c71e912"], ["secret_key", "ef0600302fbac07152e0f9d8bd5c207f"], ["job_type", "TestJob"], ["encrypted_settings", "xCl5ZCopnF5N8Kuf1NQg20SwbUs=\n"], ["encrypted_settings_iv", "iuISC9dmQPX4aW6d\n"], ["created_at", "2017-08-01 21:19:06.584136"], ["updated_at", "2017-08-01 21:19:06.584136"]]
1211
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1212
+ Processing by IntegrationPal::JobsController#create as HTML
1213
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"12"}}
1214
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :job_params, :started_at, :updated_at
1215
+  (0.1ms) SAVEPOINT active_record_1
1216
+ IntegrationPal::Worker Load (0.3ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]]
1217
+ 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", 12], ["created_at", "2017-08-01 21:19:06.593175"], ["updated_at", "2017-08-01 21:19:06.593175"]]
1218
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1219
+ Redirected to http://test.host/integration_pal/jobs/8
1220
+ Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
1221
+  (0.1ms) ROLLBACK
1222
+  (0.1ms) BEGIN
1223
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
1224
+ Processing by IntegrationPal::JobsController#create as HTML
1225
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>""}}
1226
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :job_params, :started_at, :updated_at
1227
+  (0.1ms) SAVEPOINT active_record_1
1228
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1229
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/new.html.erb within layouts/integration_pal/application
1230
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/new.html.erb within layouts/integration_pal/application (0.2ms)
1231
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1232
+ Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.2ms)
1233
+  (0.3ms) SELECT COUNT(*) FROM "integration_pal_jobs"
1234
+  (0.1ms) ROLLBACK
1235
+  (0.1ms) BEGIN
1236
+  (0.1ms) SAVEPOINT active_record_1
1237
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "7bfe1195976ce5ac117b6ae0fabfaf19"], ["LIMIT", 1]]
1238
+ 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", "c5060122005775587d74fb8eac0d1337"], ["access_id", "7bfe1195976ce5ac117b6ae0fabfaf19"], ["secret_key", "73d3a86b77e1d5370a9dae887cdc4ffd"], ["job_type", "TestJob"], ["encrypted_settings", "cR06XQQG9Vouis413P+MJmNsMsM=\n"], ["encrypted_settings_iv", "1CNS3YvUvkML0gQc\n"], ["created_at", "2017-08-01 21:19:06.624939"], ["updated_at", "2017-08-01 21:19:06.624939"]]
1239
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1240
+  (0.1ms) SAVEPOINT active_record_1
1241
+ 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", 13], ["created_at", "2017-08-01 21:19:06.626662"], ["updated_at", "2017-08-01 21:19:06.626662"]]
1242
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1243
+ Processing by IntegrationPal::JobsController#update as HTML
1244
+ Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"9"}
1245
+ IntegrationPal::Job Load (0.1ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]]
1246
+ Unpermitted parameter: :name
1247
+  (0.1ms) SAVEPOINT active_record_1
1248
+ 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]]
1249
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1250
+ Redirected to http://test.host/integration_pal/jobs/9
1251
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
1252
+ 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]]
1253
+  (0.1ms) ROLLBACK
1254
+  (0.1ms) BEGIN
1255
+  (0.1ms) SAVEPOINT active_record_1
1256
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "4ab3868babe1452ff9f34aa084d1640f"], ["LIMIT", 1]]
1257
+ 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", "188a53d5469c414662fea3e3308cd788"], ["access_id", "4ab3868babe1452ff9f34aa084d1640f"], ["secret_key", "f73a25ea7153a2aebc0765879f6613f8"], ["job_type", "TestJob"], ["encrypted_settings", "A1A9Kovb4oqfXxfoLU3Jgx4iy6Q=\n"], ["encrypted_settings_iv", "XyVI524OV1de0PUb\n"], ["created_at", "2017-08-01 21:19:06.650621"], ["updated_at", "2017-08-01 21:19:06.650621"]]
1258
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1259
+  (0.1ms) SAVEPOINT active_record_1
1260
+ 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-08-01 21:19:06.654152"], ["updated_at", "2017-08-01 21:19:06.654152"]]
1261
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1262
+ Processing by IntegrationPal::JobsController#update as HTML
1263
+ Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"10"}
1264
+ 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]]
1265
+ Unpermitted parameter: :name
1266
+  (0.1ms) SAVEPOINT active_record_1
1267
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]]
1268
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1269
+ Redirected to http://test.host/integration_pal/jobs/10
1270
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
1271
+  (0.1ms) ROLLBACK
1272
+  (0.1ms) BEGIN
1273
+  (0.1ms) SAVEPOINT active_record_1
1274
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "ccfce426b14c23c1bfc4b92f594beb84"], ["LIMIT", 1]]
1275
+ 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", "dedd8415fc9880e93260bc41d1a8e9af"], ["access_id", "ccfce426b14c23c1bfc4b92f594beb84"], ["secret_key", "a98fbd8ccc9e5b3d8961b77dacc2da4e"], ["job_type", "TestJob"], ["encrypted_settings", "FmDOJ3/8mW5q/coCDohL4XHc/rQ=\n"], ["encrypted_settings_iv", "Qkcvd0BIR3szL7Se\n"], ["created_at", "2017-08-01 21:19:06.676867"], ["updated_at", "2017-08-01 21:19:06.676867"]]
1276
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1277
+  (0.1ms) SAVEPOINT active_record_1
1278
+ 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-08-01 21:19:06.678638"], ["updated_at", "2017-08-01 21:19:06.678638"]]
1279
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1280
+ Processing by IntegrationPal::JobsController#update as HTML
1281
+ Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"11"}
1282
+ 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]]
1283
+ Unpermitted parameter: :name
1284
+  (0.1ms) SAVEPOINT active_record_1
1285
+ 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]]
1286
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1287
+ Redirected to http://test.host/integration_pal/jobs/11
1288
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
1289
+  (0.2ms) ROLLBACK
1290
+  (0.1ms) BEGIN
1291
+  (0.2ms) SAVEPOINT active_record_1
1292
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "f142f84b10368729e2694f24708b3e65"], ["LIMIT", 1]]
1293
+ 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", "3426852b2b7e0ecbbd07202e2b94cd28"], ["access_id", "f142f84b10368729e2694f24708b3e65"], ["secret_key", "b01bf862bafeb7d286b1d0701e22c224"], ["job_type", "TestJob"], ["encrypted_settings", "KictvbXknsENH+zD970BopAeWKw=\n"], ["encrypted_settings_iv", "5lHBmAutjEIh0PAC\n"], ["created_at", "2017-08-01 21:19:06.708096"], ["updated_at", "2017-08-01 21:19:06.708096"]]
1294
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1295
+  (0.1ms) SAVEPOINT active_record_1
1296
+ 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-08-01 21:19:06.710035"], ["updated_at", "2017-08-01 21:19:06.710035"]]
1297
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1298
+ Processing by IntegrationPal::JobsController#update as HTML
1299
+ Parameters: {"job"=>{"worker_id"=>""}, "id"=>"12"}
1300
+ 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]]
1301
+  (0.1ms) SAVEPOINT active_record_1
1302
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1303
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application
1304
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application (0.3ms)
1305
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1306
+ Completed 200 OK in 9ms (Views: 6.2ms | ActiveRecord: 0.4ms)
1307
+  (0.1ms) ROLLBACK
1308
+  (0.1ms) BEGIN
1309
+  (0.1ms) SAVEPOINT active_record_1
1310
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "a4f2cd301c62647096587eaf98eae362"], ["LIMIT", 1]]
1311
+ 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", "28861df7bb1131c887e2743ecd6c6ccb"], ["access_id", "a4f2cd301c62647096587eaf98eae362"], ["secret_key", "cde55083df180d8d0130685820b80110"], ["job_type", "TestJob"], ["encrypted_settings", "uLfk72E9z+ee1v4sBRZsfguxVFQ=\n"], ["encrypted_settings_iv", "9WmNnCmdp1TgmDLu\n"], ["created_at", "2017-08-01 21:19:06.733545"], ["updated_at", "2017-08-01 21:19:06.733545"]]
1312
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1313
+  (0.1ms) SAVEPOINT active_record_1
1314
+ 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-08-01 21:19:06.735247"], ["updated_at", "2017-08-01 21:19:06.735247"]]
1315
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1316
+ Processing by IntegrationPal::JobsController#update as HTML
1317
+ Parameters: {"job"=>{"worker_id"=>""}, "id"=>"13"}
1318
+ 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]]
1319
+  (0.1ms) SAVEPOINT active_record_1
1320
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1321
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application
1322
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application (0.0ms)
1323
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1324
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms)
1325
+  (0.1ms) ROLLBACK
1326
+  (0.1ms) BEGIN
1327
+  (0.1ms) SAVEPOINT active_record_1
1328
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "f286c01c49a44d94270ea209df5ff394"], ["LIMIT", 1]]
1329
+ 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", "d41b00f71411815d3c71c6b5a7afbfe6"], ["access_id", "f286c01c49a44d94270ea209df5ff394"], ["secret_key", "71d42503f0e76196996d16b8a283ebdd"], ["job_type", "TestJob"], ["encrypted_settings", "xcWESWdq3LdRHGdcccjLK52nGAU=\n"], ["encrypted_settings_iv", "lVJLc0csCTfz/bvj\n"], ["created_at", "2017-08-01 21:19:06.754917"], ["updated_at", "2017-08-01 21:19:06.754917"]]
1330
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1331
+ Processing by IntegrationPal::WorkersController#index as HTML
1332
+ Rendering text template
1333
+ Rendered text template (0.0ms)
1334
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1335
+ Filter chain halted as :authenticate! rendered or redirected
1336
+ Completed 401 Unauthorized in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1337
+  (0.1ms) ROLLBACK
1338
+  (0.1ms) BEGIN
1339
+  (0.1ms) SAVEPOINT active_record_1
1340
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "6d046e8fa251fc8fdcb18d58d6b6cd3d"], ["LIMIT", 1]]
1341
+ 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", "40986cd07a115e0c874cb407eea55fad"], ["access_id", "6d046e8fa251fc8fdcb18d58d6b6cd3d"], ["secret_key", "9a5c75757f8fc5ceebfc905877c94e22"], ["job_type", "TestJob"], ["encrypted_settings", "cwNXa3BVhSvPwbCmWjYIk25xHRY=\n"], ["encrypted_settings_iv", "3Cl31JpqBF6feMT/\n"], ["created_at", "2017-08-01 21:19:06.769921"], ["updated_at", "2017-08-01 21:19:06.769921"]]
1342
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1343
+ Processing by IntegrationPal::WorkersController#index as HTML
1344
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/index.html.erb within layouts/integration_pal/application
1345
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/index.html.erb within layouts/integration_pal/application (0.2ms)
1346
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1347
+ Completed 200 OK in 9ms (Views: 3.8ms | ActiveRecord: 0.0ms)
1348
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers"
1349
+  (0.1ms) ROLLBACK
1350
+  (0.1ms) BEGIN
1351
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_workers"
1352
+ Processing by IntegrationPal::WorkersController#create as HTML
1353
+ Parameters: {"worker"=>{"access_id"=>"052e3302e6d31522f26435fc6bfe29b8", "created_at"=>"", "encrypted_settings"=>"P0jCVGL2Ut/E9NYImkeGJNVIsVI=\n", "encrypted_settings_iv"=>"pW6OKk5wl9CycUAO\n", "id"=>"", "job_type"=>"TestJob", "name"=>"1c2bb0d0689bf05b3fef4da9b04e429b", "secret_key"=>"d3fc7155f57b74992205b905ccce8016", "updated_at"=>""}}
1354
+ Unpermitted parameters: :created_at, :encrypted_settings, :encrypted_settings_iv, :id, :updated_at, :settings
1355
+  (0.2ms) SAVEPOINT active_record_1
1356
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "052e3302e6d31522f26435fc6bfe29b8"], ["LIMIT", 1]]
1357
+ 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", "1c2bb0d0689bf05b3fef4da9b04e429b"], ["access_id", "052e3302e6d31522f26435fc6bfe29b8"], ["secret_key", "d3fc7155f57b74992205b905ccce8016"], ["job_type", "TestJob"], ["encrypted_settings", "VM+smivV93pX0QM+W9dAywoN27wIoMxyxcoi7qcnvSFA5cFDK+6mDK2ITJCa\nVP4tbR/G/4L5WyAWmZaAgzx9MHSSxErIwGr22MKXemWT9hepWcscAIWBxCz7\nqEcF7dyNm/Kkjwoo6AEErVWt7oNo4H5Ja8xarLirkQ==\n"], ["encrypted_settings_iv", "Y7TBiz6JSHG1PkMV\n"], ["created_at", "2017-08-01 21:19:06.809279"], ["updated_at", "2017-08-01 21:19:06.809279"]]
1358
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1359
+ Redirected to http://test.host/integration_pal/workers/20
1360
+ Completed 302 Found in 13ms (ActiveRecord: 0.8ms)
1361
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_workers"
1362
+  (0.1ms) ROLLBACK
1363
+  (0.1ms) BEGIN
1364
+ Processing by IntegrationPal::WorkersController#create as HTML
1365
+ Parameters: {"worker"=>{"access_id"=>"b863862213131c7baeecf4a91ff17a82", "created_at"=>"", "encrypted_settings"=>"1n37HoUAlaTT4CFUTJ/0S5uU/zE=\n", "encrypted_settings_iv"=>"XlpANRBJbHHucPh1\n", "id"=>"", "job_type"=>"TestJob", "name"=>"e598a5fc9aa980c70e057565d8f368e2", "secret_key"=>"039b998197693fda555527fcc21d1fa3", "updated_at"=>""}}
1366
+ Unpermitted parameters: :created_at, :encrypted_settings, :encrypted_settings_iv, :id, :updated_at, :settings
1367
+  (0.1ms) SAVEPOINT active_record_1
1368
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "b863862213131c7baeecf4a91ff17a82"], ["LIMIT", 1]]
1369
+ 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", "e598a5fc9aa980c70e057565d8f368e2"], ["access_id", "b863862213131c7baeecf4a91ff17a82"], ["secret_key", "039b998197693fda555527fcc21d1fa3"], ["job_type", "TestJob"], ["encrypted_settings", "oYcbjgCXoVKdTKqrXMxxrKdfR0mth12VeXMeouaI8NowcFFrwhz9tQDqaJKc\nXpU3OttrNEG37kG6YEwhB66YtwB2dNf6mOKjIin2zco5PmCQJv5gIcoHhEL4\nle1pqA2QKlImv3MyGwb3MVESTPgzN3lSJPg8Cxpklg==\n"], ["encrypted_settings_iv", "iKj2apSUupSuRYRz\n"], ["created_at", "2017-08-01 21:19:06.834696"], ["updated_at", "2017-08-01 21:19:06.834696"]]
1370
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1371
+ Redirected to http://test.host/integration_pal/workers/21
1372
+ Completed 302 Found in 10ms (ActiveRecord: 0.7ms)
1373
+  (0.1ms) ROLLBACK
1374
+  (0.1ms) BEGIN
1375
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_workers"
1376
+ Processing by IntegrationPal::WorkersController#create as HTML
1377
+ Parameters: {"worker"=>{"access_id"=>"b710349d348464a7b77d7beec8d0bca9", "created_at"=>"", "encrypted_settings"=>"e+Uoy4KMiUQolBb3+5TCryEndsE=\n", "encrypted_settings_iv"=>"si/9kQ0AQ+DaG7m8\n", "id"=>"", "job_type"=>"", "name"=>"5951f78d7576c9db56afecbeea55236f", "secret_key"=>"4a3d06b0e0a4b8241e92e3717bcc99cf", "updated_at"=>""}}
1378
+ Unpermitted parameters: :created_at, :encrypted_settings, :encrypted_settings_iv, :id, :updated_at, :settings
1379
+  (0.2ms) SAVEPOINT active_record_1
1380
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "b710349d348464a7b77d7beec8d0bca9"], ["LIMIT", 1]]
1381
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1382
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/new.html.erb within layouts/integration_pal/application
1383
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/new.html.erb within layouts/integration_pal/application (0.2ms)
1384
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1385
+ Completed 200 OK in 20ms (Views: 8.2ms | ActiveRecord: 0.5ms)
1386
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_workers"
1387
+  (0.1ms) ROLLBACK
1388
+  (0.1ms) BEGIN
1389
+  (0.1ms) SAVEPOINT active_record_1
1390
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "0f6e91605a61611366a5f25d7c295f72"], ["LIMIT", 1]]
1391
+ 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", "da262de970883b24466354d4d9bce2fe"], ["access_id", "0f6e91605a61611366a5f25d7c295f72"], ["secret_key", "329331894863fd04dc523879b1b9c394"], ["job_type", "TestJob"], ["encrypted_settings", "2B6qWXbYhsE1WnOyjkD4lG9osJQ=\n"], ["encrypted_settings_iv", "5fN7HwRB1b+Abzi+\n"], ["created_at", "2017-08-01 21:19:06.882761"], ["updated_at", "2017-08-01 21:19:06.882761"]]
1392
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1393
+ Processing by IntegrationPal::WorkersController#update as HTML
1394
+ Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"22"}
1395
+ 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]]
1396
+ Unpermitted parameter: :settings
1397
+  (0.2ms) SAVEPOINT active_record_1
1398
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3 [["access_id", "0f6e91605a61611366a5f25d7c295f72"], ["id", 22], ["LIMIT", 1]]
1399
+ SQL (0.2ms) UPDATE "integration_pal_workers" SET "encrypted_settings" = $1, "encrypted_settings_iv" = $2, "name" = $3, "updated_at" = $4 WHERE "integration_pal_workers"."id" = $5 [["encrypted_settings", "evPKXkRcAhpARc4JFui8J3mIRI4=\n"], ["encrypted_settings_iv", "GBHn9Kp3ZegSKcTB\n"], ["name", "New Name"], ["updated_at", "2017-08-01 21:19:06.894515"], ["id", 22]]
1400
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1401
+ Redirected to http://test.host/integration_pal/workers/22
1402
+ Completed 302 Found in 12ms (ActiveRecord: 0.9ms)
1403
+ 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]]
1404
+  (0.1ms) ROLLBACK
1405
+  (0.1ms) BEGIN
1406
+  (0.1ms) SAVEPOINT active_record_1
1407
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "8207b844b596e6638b509269e8bc36fa"], ["LIMIT", 1]]
1408
+ 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", "956e4877cbacc70095cc2756b7ceda8f"], ["access_id", "8207b844b596e6638b509269e8bc36fa"], ["secret_key", "67e44959ef3f957bf9ccf0ef0f07c3ba"], ["job_type", "TestJob"], ["encrypted_settings", "d91oAfhPWaupfNDVlASbXeZlV3g=\n"], ["encrypted_settings_iv", "BQsx9VvnX1YtyWFl\n"], ["created_at", "2017-08-01 21:19:06.914482"], ["updated_at", "2017-08-01 21:19:06.914482"]]
1409
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1410
+ Processing by IntegrationPal::WorkersController#update as HTML
1411
+ Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"23"}
1412
+ 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]]
1413
+ Unpermitted parameter: :settings
1414
+  (0.1ms) SAVEPOINT active_record_1
1415
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3 [["access_id", "8207b844b596e6638b509269e8bc36fa"], ["id", 23], ["LIMIT", 1]]
1416
+ SQL (0.2ms) UPDATE "integration_pal_workers" SET "encrypted_settings" = $1, "encrypted_settings_iv" = $2, "name" = $3, "updated_at" = $4 WHERE "integration_pal_workers"."id" = $5 [["encrypted_settings", "TNX1o06v1bsvDF6lodQhHC+EGgM=\n"], ["encrypted_settings_iv", "mw02oNDxHQZQVV3n\n"], ["name", "New Name"], ["updated_at", "2017-08-01 21:19:06.925387"], ["id", 23]]
1417
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1418
+ Redirected to http://test.host/integration_pal/workers/23
1419
+ Completed 302 Found in 11ms (ActiveRecord: 0.7ms)
1420
+  (0.1ms) ROLLBACK
1421
+  (0.1ms) BEGIN
1422
+  (0.2ms) SAVEPOINT active_record_1
1423
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "4bad78f539f84b0cf14103af9d03e75b"], ["LIMIT", 1]]
1424
+ 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", "c3473625c3a1a0cfc063891f30005578"], ["access_id", "4bad78f539f84b0cf14103af9d03e75b"], ["secret_key", "786c19e17ac4fe117a6495497a2f1b85"], ["job_type", "TestJob"], ["encrypted_settings", "pB57u/O7NVRqRj3YAN8jWN3BGVo=\n"], ["encrypted_settings_iv", "nXA4xE3d0z37MB/t\n"], ["created_at", "2017-08-01 21:19:06.939872"], ["updated_at", "2017-08-01 21:19:06.939872"]]
1425
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1426
+ Processing by IntegrationPal::WorkersController#update as HTML
1427
+ Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"24"}
1428
+ 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]]
1429
+ Unpermitted parameter: :settings
1430
+  (0.1ms) SAVEPOINT active_record_1
1431
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3 [["access_id", "4bad78f539f84b0cf14103af9d03e75b"], ["id", 24], ["LIMIT", 1]]
1432
+ SQL (0.3ms) UPDATE "integration_pal_workers" SET "encrypted_settings" = $1, "encrypted_settings_iv" = $2, "name" = $3, "updated_at" = $4 WHERE "integration_pal_workers"."id" = $5 [["encrypted_settings", "MxSbH0LKYgNXmOuHgtQU1EcO9vo=\n"], ["encrypted_settings_iv", "z9UUbMbH96GV0wtV\n"], ["name", "New Name"], ["updated_at", "2017-08-01 21:19:06.951305"], ["id", 24]]
1433
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1434
+ Redirected to http://test.host/integration_pal/workers/24
1435
+ Completed 302 Found in 13ms (ActiveRecord: 0.9ms)
1436
+  (0.1ms) ROLLBACK
1437
+  (0.1ms) BEGIN
1438
+  (0.1ms) SAVEPOINT active_record_1
1439
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "c99e40a99dfe3fc77bcda6e4c65cad21"], ["LIMIT", 1]]
1440
+ 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", "59344242a8af8a518456aeff9da39cc3"], ["access_id", "c99e40a99dfe3fc77bcda6e4c65cad21"], ["secret_key", "4e295e5e9c1029992dd27862d541a8f5"], ["job_type", "TestJob"], ["encrypted_settings", "AnPLRE4lTYxeZ+6cqh10KLe+T+c=\n"], ["encrypted_settings_iv", "KHP9Axdy5fGK3cDm\n"], ["created_at", "2017-08-01 21:19:06.967545"], ["updated_at", "2017-08-01 21:19:06.967545"]]
1441
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1442
+ Processing by IntegrationPal::WorkersController#update as HTML
1443
+ Parameters: {"worker"=>{"job_type"=>""}, "id"=>"25"}
1444
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]]
1445
+ Unpermitted parameter: :settings
1446
+  (0.1ms) SAVEPOINT active_record_1
1447
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3 [["access_id", "c99e40a99dfe3fc77bcda6e4c65cad21"], ["id", 25], ["LIMIT", 1]]
1448
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1449
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application
1450
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application (0.2ms)
1451
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1452
+ Completed 200 OK in 17ms (Views: 6.2ms | ActiveRecord: 0.5ms)
1453
+  (0.2ms) ROLLBACK
1454
+  (0.1ms) BEGIN
1455
+  (0.1ms) SAVEPOINT active_record_1
1456
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "1243fe7750ddf54f36451e231135b5f3"], ["LIMIT", 1]]
1457
+ 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", "ec320dc5fc8646450fbd12b0c2bf07cf"], ["access_id", "1243fe7750ddf54f36451e231135b5f3"], ["secret_key", "15ec47c2dadea4d335c00a34dc5914f3"], ["job_type", "TestJob"], ["encrypted_settings", "bEuBOstPZ1tqTIUvVuLeJloPI48=\n"], ["encrypted_settings_iv", "zTkWbg81oO9F28y2\n"], ["created_at", "2017-08-01 21:19:06.999880"], ["updated_at", "2017-08-01 21:19:06.999880"]]
1458
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1459
+ Processing by IntegrationPal::WorkersController#update as HTML
1460
+ Parameters: {"worker"=>{"job_type"=>""}, "id"=>"26"}
1461
+ 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]]
1462
+ Unpermitted parameter: :settings
1463
+  (0.1ms) SAVEPOINT active_record_1
1464
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3 [["access_id", "1243fe7750ddf54f36451e231135b5f3"], ["id", 26], ["LIMIT", 1]]
1465
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1466
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application
1467
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application (0.0ms)
1468
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1469
+ Completed 200 OK in 11ms (Views: 0.6ms | ActiveRecord: 0.6ms)
1470
+  (0.1ms) ROLLBACK
1471
+  (0.1ms) BEGIN
1472
+  (0.1ms) ROLLBACK
1473
+  (0.1ms) BEGIN
1474
+  (0.1ms) SAVEPOINT active_record_1
1475
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "6a7908eef8d2da9e65c7e2ecf9f46ae1"], ["LIMIT", 1]]
1476
+ 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", "53f3747e87571cf0dfb29138c8aef056"], ["access_id", "6a7908eef8d2da9e65c7e2ecf9f46ae1"], ["secret_key", "77333e114b745ff272a74fd92c38bc16"], ["job_type", "TestJob"], ["encrypted_settings", "MgKe8gY90bwbovzmZgw559KiXeI=\n"], ["encrypted_settings_iv", "+CDGUQAU0XXN5VjX\n"], ["created_at", "2017-08-01 21:19:07.030355"], ["updated_at", "2017-08-01 21:19:07.030355"]]
1477
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1478
+  (0.1ms) ROLLBACK
1479
+  (0.1ms) BEGIN
1480
+  (0.2ms) SAVEPOINT active_record_1
1481
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "49856217eae09182290dbc7cd5987227"], ["LIMIT", 1]]
1482
+ 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", "f2133a430de827e38c4f0ce89f1b8dc2"], ["access_id", "49856217eae09182290dbc7cd5987227"], ["secret_key", "788243ad4bd021e7b4da336da1336448"], ["job_type", "TestJob"], ["encrypted_settings", "hOVi1GduzT/EpGxPXdkaHORICeo=\n"], ["encrypted_settings_iv", "zD5v1q0bJ8W4alTZ\n"], ["created_at", "2017-08-01 21:19:07.043938"], ["updated_at", "2017-08-01 21:19:07.043938"]]
1483
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1484
+  (0.1ms) ROLLBACK
1485
+  (0.1ms) BEGIN
1486
+  (0.1ms) ROLLBACK
1487
+  (0.1ms) BEGIN
1488
+  (0.1ms) ROLLBACK
1489
+  (0.1ms) BEGIN
1490
+  (0.1ms) ROLLBACK
1491
+  (0.1ms) BEGIN
1492
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "7f0183b4c2547f839e13664481c3ff52"], ["LIMIT", 1]]
1493
+  (0.1ms) ROLLBACK
1494
+  (0.1ms) BEGIN
1495
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" IS NULL LIMIT $1 [["LIMIT", 1]]
1496
+  (0.1ms) ROLLBACK
1497
+  (0.1ms) BEGIN
1498
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "8e9caf04db98a312a1555d0d144176df"], ["LIMIT", 1]]
1499
+  (0.1ms) ROLLBACK
1500
+  (0.1ms) BEGIN
1501
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "1f5919aac2f2a611383b6bcc5123869c"], ["LIMIT", 1]]
1502
+  (0.1ms) ROLLBACK
1503
+  (0.1ms) BEGIN
1504
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "b325cb73aba6015586c912edf59a0d9f"], ["LIMIT", 1]]
1505
+  (0.1ms) ROLLBACK
1506
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1507
+  (0.1ms) BEGIN
1508
+  (0.1ms) SAVEPOINT active_record_1
1509
+ IntegrationPal::Worker Exists (1.5ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "c55b1c0043a3a6a5f4afa4bd39d31f49"], ["LIMIT", 1]]
1510
+ 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", "8a63499bda16fe5749d111276ce26398"], ["access_id", "c55b1c0043a3a6a5f4afa4bd39d31f49"], ["secret_key", "96ca3fc738f109605a7dbba056b65b53"], ["job_type", "TestJob"], ["encrypted_settings", "1kWSbVFFfH4AZ4cSjh502ca4t64=\n"], ["encrypted_settings_iv", "uKKQZL/CfJeM/2YQ\n"], ["created_at", "2017-08-01 21:19:55.047753"], ["updated_at", "2017-08-01 21:19:55.047753"]]
1511
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1512
+  (0.2ms) SAVEPOINT active_record_1
1513
+ SQL (1.1ms) 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", 29], ["created_at", "2017-08-01 21:19:55.055161"], ["updated_at", "2017-08-01 21:19:55.055161"]]
1514
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1515
+ Processing by IntegrationPal::Api::V1::JobsController#show as HTML
1516
+ Parameters: {"id"=>"14"}
1517
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" IS NULL LIMIT $1 [["LIMIT", 1]]
1518
+ Filter chain halted as :authenticate_api rendered or redirected
1519
+ Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms)
1520
+  (0.2ms) ROLLBACK
1521
+  (0.1ms) BEGIN
1522
+  (0.1ms) SAVEPOINT active_record_1
1523
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "652ba6de656a0b85eb8875981be2da95"], ["LIMIT", 1]]
1524
+ 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", "e81dd0baefdd0c40d85b999d0302b7ac"], ["access_id", "652ba6de656a0b85eb8875981be2da95"], ["secret_key", "725b9bca6ac9ab94f21fa48e38cbdac3"], ["job_type", "TestJob"], ["encrypted_settings", "IADXLuiTaRgIQ+3rxwHTUh61NzE=\n"], ["encrypted_settings_iv", "q9alAeJpLTtPp9L6\n"], ["created_at", "2017-08-01 21:19:55.077520"], ["updated_at", "2017-08-01 21:19:55.077520"]]
1525
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1526
+  (0.1ms) SAVEPOINT active_record_1
1527
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "8bb3b18731dd5afb73a5b3f141e242fd"], ["LIMIT", 1]]
1528
+ 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", "d3185e6b25639ddc6132b57e122ce42e"], ["access_id", "8bb3b18731dd5afb73a5b3f141e242fd"], ["secret_key", "68fb33e0fcb34b8e67a6bb58e41b46e5"], ["job_type", "TestJob"], ["encrypted_settings", "oi7qMevqs+9pECsgHbAmwAlz7Hk=\n"], ["encrypted_settings_iv", "E5dPWjTEoRiwq4tc\n"], ["created_at", "2017-08-01 21:19:55.089656"], ["updated_at", "2017-08-01 21:19:55.089656"]]
1529
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1530
+  (0.1ms) SAVEPOINT active_record_1
1531
+ 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", 31], ["created_at", "2017-08-01 21:19:55.091306"], ["updated_at", "2017-08-01 21:19:55.091306"]]
1532
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1533
+ Processing by IntegrationPal::Api::V1::JobsController#show as JSON
1534
+ Parameters: {"id"=>"15"}
1535
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "652ba6de656a0b85eb8875981be2da95"], ["LIMIT", 1]]
1536
+ IntegrationPal::Job Load (0.9ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 15], ["LIMIT", 1]]
1537
+ Completed 200 OK in 11ms (Views: 0.8ms | ActiveRecord: 1.1ms)
1538
+  (0.1ms) ROLLBACK
1539
+  (0.1ms) BEGIN
1540
+  (0.1ms) SAVEPOINT active_record_1
1541
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "60b6efdb0ae8cfa6dc3ba7d7d823a739"], ["LIMIT", 1]]
1542
+ 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", "a04bda31400a604fec7a621c1e7c8d2d"], ["access_id", "60b6efdb0ae8cfa6dc3ba7d7d823a739"], ["secret_key", "f84b6b3fd7aa61a4e838f623b78f96a5"], ["job_type", "TestJob"], ["encrypted_settings", "+2P2EpZTVI03goiVYYJv4YCGgxg=\n"], ["encrypted_settings_iv", "stG/G1ugY8WnehCy\n"], ["created_at", "2017-08-01 21:19:55.128639"], ["updated_at", "2017-08-01 21:19:55.128639"]]
1543
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1544
+  (0.3ms) SELECT COUNT(*) FROM "integration_pal_jobs"
1545
+  (0.1ms) SAVEPOINT active_record_1
1546
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "e0954e58f575f977624fae5ebbcb45c7"], ["LIMIT", 1]]
1547
+ 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", "e6e4d065560dd7fc7fb0808569d8a4bf"], ["access_id", "e0954e58f575f977624fae5ebbcb45c7"], ["secret_key", "6bdaa8d7c9fd02bebbcae47722f8037f"], ["job_type", "TestJob"], ["encrypted_settings", "owYjaHCU+vP7T6MtNyFRN5IXCBo=\n"], ["encrypted_settings_iv", "n4YqX+7kuSYAnLYT\n"], ["created_at", "2017-08-01 21:19:55.141651"], ["updated_at", "2017-08-01 21:19:55.141651"]]
1548
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1549
+ Processing by IntegrationPal::Api::V1::JobsController#create as HTML
1550
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"33"}}
1551
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :progress, :started_at, :status, :updated_at
1552
+  (0.1ms) SAVEPOINT active_record_1
1553
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]]
1554
+ 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", 33], ["created_at", "2017-08-01 21:19:55.160786"], ["updated_at", "2017-08-01 21:19:55.160786"]]
1555
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1556
+ [ActiveJob] [TestJob] [f7fb17b5-db54-4016-9f66-b57d6cbc6141] Performing TestJob (Job ID: f7fb17b5-db54-4016-9f66-b57d6cbc6141) from Async(default) with arguments: 16
1557
+ [ActiveJob] Enqueued TestJob (Job ID: f7fb17b5-db54-4016-9f66-b57d6cbc6141) to Async(default) with arguments: 16
1558
+ Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 0.7ms)
1559
+  (1.4ms) SELECT COUNT(*) FROM "integration_pal_jobs"
1560
+  (0.5ms) ROLLBACK
1561
+  (0.1ms) BEGIN
1562
+ [ActiveJob] [TestJob] [f7fb17b5-db54-4016-9f66-b57d6cbc6141] Performed TestJob (Job ID: f7fb17b5-db54-4016-9f66-b57d6cbc6141) from Async(default) in 16.56ms
1563
+  (0.6ms) SAVEPOINT active_record_1
1564
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "a63a1976ebb2e98508c70dfcd9edd30b"], ["LIMIT", 1]]
1565
+ 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", "1c9f994525fc05761d6cada276b7c22b"], ["access_id", "a63a1976ebb2e98508c70dfcd9edd30b"], ["secret_key", "38b32e7b947c7a02ed7f1d463f677fde"], ["job_type", "TestJob"], ["encrypted_settings", "UlLxa8K9A7Bc4p2ryF6JTEPCsPM=\n"], ["encrypted_settings_iv", "0IG3Jm5Q+WRr9ZVe\n"], ["created_at", "2017-08-01 21:19:55.183287"], ["updated_at", "2017-08-01 21:19:55.183287"]]
1566
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1567
+  (0.1ms) SAVEPOINT active_record_1
1568
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "1d7a24b14796c82558ecb9c0e05ab31f"], ["LIMIT", 1]]
1569
+ 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", "7a9875d17598303589f79078d9fcb4ac"], ["access_id", "1d7a24b14796c82558ecb9c0e05ab31f"], ["secret_key", "11e06ce6a69ba04de92c5c017147cc6d"], ["job_type", "TestJob"], ["encrypted_settings", "UKfElFvRqzhC/DvjGRZOdp2MYy4=\n"], ["encrypted_settings_iv", "ZE/JBHeqq+6SRnIB\n"], ["created_at", "2017-08-01 21:19:55.193362"], ["updated_at", "2017-08-01 21:19:55.193362"]]
1570
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1571
+ Processing by IntegrationPal::Api::V1::JobsController#create as HTML
1572
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"35"}}
1573
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :progress, :started_at, :status, :updated_at
1574
+  (0.1ms) SAVEPOINT active_record_1
1575
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]]
1576
+ SQL (0.4ms) 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", 35], ["created_at", "2017-08-01 21:19:55.205281"], ["updated_at", "2017-08-01 21:19:55.205281"]]
1577
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1578
+ [ActiveJob] Enqueued TestJob (Job ID: 51d13503-01c4-49fb-858b-959ff9a1476a) to Async(default) with arguments: 17
1579
+ Completed 200 OK in 12ms (Views: 0.5ms | ActiveRecord: 0.8ms)
1580
+ [ActiveJob] [TestJob] [51d13503-01c4-49fb-858b-959ff9a1476a] Performing TestJob (Job ID: 51d13503-01c4-49fb-858b-959ff9a1476a) from Async(default) with arguments: 17
1581
+ [ActiveJob] [TestJob] [51d13503-01c4-49fb-858b-959ff9a1476a] Performed TestJob (Job ID: 51d13503-01c4-49fb-858b-959ff9a1476a) from Async(default) in 0.04ms
1582
+  (0.7ms) ROLLBACK
1583
+  (0.1ms) BEGIN
1584
+  (0.2ms) SAVEPOINT active_record_1
1585
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "6ddc808e56bdcddee5fb598ffd41dbeb"], ["LIMIT", 1]]
1586
+ 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", "aa386023b1cc8a0c261073c85c5a1867"], ["access_id", "6ddc808e56bdcddee5fb598ffd41dbeb"], ["secret_key", "8c1301dcfbbe54ab7d69dab4c945b36f"], ["job_type", "TestJob"], ["encrypted_settings", "5IbKsQMHwQGJEfojPyCDJAFgzf4=\n"], ["encrypted_settings_iv", "BU4c/wF1KRABD3ir\n"], ["created_at", "2017-08-01 21:19:55.223878"], ["updated_at", "2017-08-01 21:19:55.223878"]]
1587
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1588
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
1589
+ Processing by IntegrationPal::Api::V1::JobsController#create as HTML
1590
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>""}}
1591
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :progress, :started_at, :status, :updated_at
1592
+  (0.1ms) SAVEPOINT active_record_1
1593
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1594
+ Completed 422 Unprocessable Entity in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
1595
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
1596
+  (0.1ms) ROLLBACK
1597
+  (0.1ms) BEGIN
1598
+  (0.1ms) SAVEPOINT active_record_1
1599
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "175f3315bd29ce684e0f02fbaca3c901"], ["LIMIT", 1]]
1600
+ 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", "f755ce6ba466dda97764badc04fb1459"], ["access_id", "175f3315bd29ce684e0f02fbaca3c901"], ["secret_key", "ddb445836b5a935cda8748060d495f46"], ["job_type", "TestJob"], ["encrypted_settings", "Ht8L4tQ3wW/K+aGcAQfYxgx/has=\n"], ["encrypted_settings_iv", "xOxGiKo6mDVDRVM3\n"], ["created_at", "2017-08-01 21:19:55.243369"], ["updated_at", "2017-08-01 21:19:55.243369"]]
1601
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1602
+  (0.1ms) SAVEPOINT active_record_1
1603
+ 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", 37], ["created_at", "2017-08-01 21:19:55.245169"], ["updated_at", "2017-08-01 21:19:55.245169"]]
1604
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1605
+ Processing by IntegrationPal::JobsController#index as HTML
1606
+ Rendering text template
1607
+ Rendered text template (0.0ms)
1608
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1609
+ Filter chain halted as :authenticate! rendered or redirected
1610
+ Completed 401 Unauthorized in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
1611
+  (0.2ms) ROLLBACK
1612
+  (0.1ms) BEGIN
1613
+  (0.1ms) SAVEPOINT active_record_1
1614
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "d9b0a16e89294af78ddda79719976910"], ["LIMIT", 1]]
1615
+ 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", "1e7461e797e5bda4bca269971d64fde2"], ["access_id", "d9b0a16e89294af78ddda79719976910"], ["secret_key", "be157a96c2186072dba4cd80cf6609db"], ["job_type", "TestJob"], ["encrypted_settings", "6MZQAO5zk/JLCgylwIAQBb+LYzY=\n"], ["encrypted_settings_iv", "AEtdT/6+IBqbOCG5\n"], ["created_at", "2017-08-01 21:19:55.267489"], ["updated_at", "2017-08-01 21:19:55.267489"]]
1616
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1617
+  (0.1ms) SAVEPOINT active_record_1
1618
+ 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", 38], ["created_at", "2017-08-01 21:19:55.269341"], ["updated_at", "2017-08-01 21:19:55.269341"]]
1619
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1620
+ Processing by IntegrationPal::JobsController#index as HTML
1621
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/index.html.erb within layouts/integration_pal/application
1622
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/index.html.erb within layouts/integration_pal/application (0.3ms)
1623
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1624
+ Completed 200 OK in 12ms (Views: 7.6ms | ActiveRecord: 0.0ms)
1625
+ IntegrationPal::Job Load (0.5ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" ORDER BY created_at DESC
1626
+  (0.1ms) ROLLBACK
1627
+  (0.1ms) BEGIN
1628
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
1629
+  (0.1ms) SAVEPOINT active_record_1
1630
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "d947d08fffbe64adcedd00c2c0d43fde"], ["LIMIT", 1]]
1631
+ 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", "40d7504e4fafc3346f3598cc7ea04cf9"], ["access_id", "d947d08fffbe64adcedd00c2c0d43fde"], ["secret_key", "7263b722efb09635a45c6ce8c0fa4f41"], ["job_type", "TestJob"], ["encrypted_settings", "uz2HbhGz5+J3EToOUz3+uc1wOnA=\n"], ["encrypted_settings_iv", "wz9NKk+oAs7KVBnJ\n"], ["created_at", "2017-08-01 21:19:55.298535"], ["updated_at", "2017-08-01 21:19:55.298535"]]
1632
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1633
+ Processing by IntegrationPal::JobsController#create as HTML
1634
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"39"}}
1635
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :job_params, :started_at, :updated_at
1636
+  (0.1ms) SAVEPOINT active_record_1
1637
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]]
1638
+ 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", 39], ["created_at", "2017-08-01 21:19:55.307049"], ["updated_at", "2017-08-01 21:19:55.307049"]]
1639
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1640
+ Redirected to http://test.host/integration_pal/jobs/20
1641
+ Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
1642
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
1643
+  (0.1ms) ROLLBACK
1644
+  (0.1ms) BEGIN
1645
+  (0.1ms) SAVEPOINT active_record_1
1646
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "37fb8d712dae14ec50199c5ef244a145"], ["LIMIT", 1]]
1647
+ 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", "b6441294a272b56fbfaf3fbe666655d6"], ["access_id", "37fb8d712dae14ec50199c5ef244a145"], ["secret_key", "b5e0c042b95c6756530513f2c12fed02"], ["job_type", "TestJob"], ["encrypted_settings", "Jp4bFvokaZWh/YS3sdi+0ixtfVk=\n"], ["encrypted_settings_iv", "+dXFO6sq72Lxcdkm\n"], ["created_at", "2017-08-01 21:19:55.324088"], ["updated_at", "2017-08-01 21:19:55.324088"]]
1648
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1649
+ Processing by IntegrationPal::JobsController#create as HTML
1650
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"40"}}
1651
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :job_params, :started_at, :updated_at
1652
+  (0.1ms) SAVEPOINT active_record_1
1653
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]]
1654
+ 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", 40], ["created_at", "2017-08-01 21:19:55.333070"], ["updated_at", "2017-08-01 21:19:55.333070"]]
1655
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1656
+ Redirected to http://test.host/integration_pal/jobs/21
1657
+ Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
1658
+  (0.1ms) ROLLBACK
1659
+  (0.1ms) BEGIN
1660
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
1661
+ Processing by IntegrationPal::JobsController#create as HTML
1662
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>""}}
1663
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :job_params, :started_at, :updated_at
1664
+  (0.1ms) SAVEPOINT active_record_1
1665
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1666
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/new.html.erb within layouts/integration_pal/application
1667
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/new.html.erb within layouts/integration_pal/application (0.3ms)
1668
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1669
+ Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.2ms)
1670
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
1671
+  (0.1ms) ROLLBACK
1672
+  (0.1ms) BEGIN
1673
+  (0.1ms) SAVEPOINT active_record_1
1674
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "cb6bc549312b92c6707c819abac19559"], ["LIMIT", 1]]
1675
+ 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", "1ce219a588c8224ed8591e0d4f71b463"], ["access_id", "cb6bc549312b92c6707c819abac19559"], ["secret_key", "67ee84cb4be96b739d70737709159c5e"], ["job_type", "TestJob"], ["encrypted_settings", "Ql3QgsZULbxtD2Cc4YAXb00woNs=\n"], ["encrypted_settings_iv", "ckbIMQFakD9gw8i+\n"], ["created_at", "2017-08-01 21:19:55.363306"], ["updated_at", "2017-08-01 21:19:55.363306"]]
1676
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1677
+  (0.1ms) SAVEPOINT active_record_1
1678
+ 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", 41], ["created_at", "2017-08-01 21:19:55.365124"], ["updated_at", "2017-08-01 21:19:55.365124"]]
1679
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1680
+ Processing by IntegrationPal::JobsController#update as HTML
1681
+ Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"22"}
1682
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]]
1683
+ Unpermitted parameter: :name
1684
+  (0.1ms) SAVEPOINT active_record_1
1685
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]]
1686
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1687
+ Redirected to http://test.host/integration_pal/jobs/22
1688
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
1689
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]]
1690
+  (0.1ms) ROLLBACK
1691
+  (0.1ms) BEGIN
1692
+  (0.1ms) SAVEPOINT active_record_1
1693
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "49f53d2b1099e7cc832a6b56c6db38d5"], ["LIMIT", 1]]
1694
+ 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", "e69c1f9f35f311594996d40083ad449f"], ["access_id", "49f53d2b1099e7cc832a6b56c6db38d5"], ["secret_key", "539536cad48c18940487a0bb9a1a7606"], ["job_type", "TestJob"], ["encrypted_settings", "hHrYwqFe9qDZ3x5Za0cHF3nhROc=\n"], ["encrypted_settings_iv", "wCYWNmgMTOYcFEFm\n"], ["created_at", "2017-08-01 21:19:55.388029"], ["updated_at", "2017-08-01 21:19:55.388029"]]
1695
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1696
+  (0.1ms) SAVEPOINT active_record_1
1697
+ 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", 42], ["created_at", "2017-08-01 21:19:55.389808"], ["updated_at", "2017-08-01 21:19:55.389808"]]
1698
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1699
+ Processing by IntegrationPal::JobsController#update as HTML
1700
+ Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"23"}
1701
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]]
1702
+ Unpermitted parameter: :name
1703
+  (0.1ms) SAVEPOINT active_record_1
1704
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]]
1705
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1706
+ Redirected to http://test.host/integration_pal/jobs/23
1707
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
1708
+  (0.2ms) ROLLBACK
1709
+  (0.1ms) BEGIN
1710
+  (0.2ms) SAVEPOINT active_record_1
1711
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "cf170b98f747e5ee5b7f340ed2982c61"], ["LIMIT", 1]]
1712
+ 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", "0561071760d19008f3dd975d6bf61986"], ["access_id", "cf170b98f747e5ee5b7f340ed2982c61"], ["secret_key", "5429be8607a07ebacbd77f408bfe86c5"], ["job_type", "TestJob"], ["encrypted_settings", "6MstsebfB/4GgMaKC38O+PFDoe8=\n"], ["encrypted_settings_iv", "/7RAzrz3BeqdlUoH\n"], ["created_at", "2017-08-01 21:19:55.411028"], ["updated_at", "2017-08-01 21:19:55.411028"]]
1713
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1714
+  (0.1ms) SAVEPOINT active_record_1
1715
+ 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", 43], ["created_at", "2017-08-01 21:19:55.412838"], ["updated_at", "2017-08-01 21:19:55.412838"]]
1716
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1717
+ Processing by IntegrationPal::JobsController#update as HTML
1718
+ Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"24"}
1719
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]]
1720
+ Unpermitted parameter: :name
1721
+  (0.1ms) SAVEPOINT active_record_1
1722
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 43], ["LIMIT", 1]]
1723
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1724
+ Redirected to http://test.host/integration_pal/jobs/24
1725
+ Completed 302 Found in 12ms (ActiveRecord: 0.5ms)
1726
+  (0.2ms) ROLLBACK
1727
+  (0.1ms) BEGIN
1728
+  (0.1ms) SAVEPOINT active_record_1
1729
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "4d63dfb619b5e743cf6fad4456d2bba1"], ["LIMIT", 1]]
1730
+ 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", "0d4a22b33f7028a32d7fb01cd5e224c6"], ["access_id", "4d63dfb619b5e743cf6fad4456d2bba1"], ["secret_key", "22447e36cddb02bb3b84b3293ca25c33"], ["job_type", "TestJob"], ["encrypted_settings", "No12bb3ma73x/unXdGuTchArQq0=\n"], ["encrypted_settings_iv", "CPsq1TDYv5DXB6nl\n"], ["created_at", "2017-08-01 21:19:55.442873"], ["updated_at", "2017-08-01 21:19:55.442873"]]
1731
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1732
+  (0.2ms) SAVEPOINT active_record_1
1733
+ 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", 44], ["created_at", "2017-08-01 21:19:55.446399"], ["updated_at", "2017-08-01 21:19:55.446399"]]
1734
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1735
+ Processing by IntegrationPal::JobsController#update as HTML
1736
+ Parameters: {"job"=>{"worker_id"=>""}, "id"=>"25"}
1737
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]]
1738
+  (0.1ms) SAVEPOINT active_record_1
1739
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1740
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application
1741
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application (0.2ms)
1742
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1743
+ Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.4ms)
1744
+  (0.2ms) ROLLBACK
1745
+  (0.1ms) BEGIN
1746
+  (0.2ms) SAVEPOINT active_record_1
1747
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "99b00cd0118d5fa81bc1a930ef572e6a"], ["LIMIT", 1]]
1748
+ 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", "ec8fb8ab266b721cde9c55ea4b2c310a"], ["access_id", "99b00cd0118d5fa81bc1a930ef572e6a"], ["secret_key", "8833bf5b0ad23288cc2921085ef0d634"], ["job_type", "TestJob"], ["encrypted_settings", "yJWmDlX6CmAN6Dx3I7hpExeBUks=\n"], ["encrypted_settings_iv", "JjtCw6i3M/uUx77I\n"], ["created_at", "2017-08-01 21:19:55.472965"], ["updated_at", "2017-08-01 21:19:55.472965"]]
1749
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1750
+  (0.1ms) SAVEPOINT active_record_1
1751
+ 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", 45], ["created_at", "2017-08-01 21:19:55.474798"], ["updated_at", "2017-08-01 21:19:55.474798"]]
1752
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1753
+ Processing by IntegrationPal::JobsController#update as HTML
1754
+ Parameters: {"job"=>{"worker_id"=>""}, "id"=>"26"}
1755
+ IntegrationPal::Job Load (0.1ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 1]]
1756
+  (0.1ms) SAVEPOINT active_record_1
1757
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1758
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application
1759
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application (0.0ms)
1760
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1761
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
1762
+  (0.1ms) ROLLBACK
1763
+  (0.1ms) BEGIN
1764
+  (0.1ms) SAVEPOINT active_record_1
1765
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "3387f2c4d403e51f3c30e6e627cb1a5d"], ["LIMIT", 1]]
1766
+ 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", "5920add1643ae76235ae6de9bd3e9293"], ["access_id", "3387f2c4d403e51f3c30e6e627cb1a5d"], ["secret_key", "a07e22a9fe40b8687a0c4a1934f91d24"], ["job_type", "TestJob"], ["encrypted_settings", "9CIEzMGASVZSkm9Tvivr09JHS74=\n"], ["encrypted_settings_iv", "u19Nv4G+LQlbxDn8\n"], ["created_at", "2017-08-01 21:19:55.492362"], ["updated_at", "2017-08-01 21:19:55.492362"]]
1767
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1768
+ Processing by IntegrationPal::WorkersController#index as HTML
1769
+ Rendering text template
1770
+ Rendered text template (0.0ms)
1771
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1772
+ Filter chain halted as :authenticate! rendered or redirected
1773
+ Completed 401 Unauthorized in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
1774
+  (0.1ms) ROLLBACK
1775
+  (0.1ms) BEGIN
1776
+  (0.2ms) SAVEPOINT active_record_1
1777
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "3e8d637e0805f2b4ff97fc01a8b7cb62"], ["LIMIT", 1]]
1778
+ 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", "6ecef4f6125325c08754f28c0e06f965"], ["access_id", "3e8d637e0805f2b4ff97fc01a8b7cb62"], ["secret_key", "3864ba92fb738010e01179b817bb9009"], ["job_type", "TestJob"], ["encrypted_settings", "+tVteHd3jkpCk8cVtTNQrGMLL58=\n"], ["encrypted_settings_iv", "7uHlHOGtpVmr32/r\n"], ["created_at", "2017-08-01 21:19:55.509202"], ["updated_at", "2017-08-01 21:19:55.509202"]]
1779
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1780
+ Processing by IntegrationPal::WorkersController#index as HTML
1781
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/index.html.erb within layouts/integration_pal/application
1782
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/index.html.erb within layouts/integration_pal/application (0.2ms)
1783
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1784
+ Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 0.0ms)
1785
+ IntegrationPal::Worker Load (0.3ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers"
1786
+  (0.1ms) ROLLBACK
1787
+  (0.1ms) BEGIN
1788
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_workers"
1789
+ Processing by IntegrationPal::WorkersController#create as HTML
1790
+ Parameters: {"worker"=>{"access_id"=>"1ea92722219e11b8d99418c91b77c1bc", "created_at"=>"", "encrypted_settings"=>"DOPoxZIHJkRCu629U1jOmtE3/lY=\n", "encrypted_settings_iv"=>"Wpfh40L/Kp6onRJI\n", "id"=>"", "job_type"=>"TestJob", "name"=>"03f659035a23c800d023b04bce78816b", "secret_key"=>"16db65a3ede86509a4c280042efa9ddf", "updated_at"=>""}}
1791
+ Unpermitted parameters: :created_at, :encrypted_settings, :encrypted_settings_iv, :id, :updated_at, :settings
1792
+  (0.2ms) SAVEPOINT active_record_1
1793
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "1ea92722219e11b8d99418c91b77c1bc"], ["LIMIT", 1]]
1794
+ 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", "03f659035a23c800d023b04bce78816b"], ["access_id", "1ea92722219e11b8d99418c91b77c1bc"], ["secret_key", "16db65a3ede86509a4c280042efa9ddf"], ["job_type", "TestJob"], ["encrypted_settings", "j9sqPT4j/MULflkDAUqR5iYL02924tSCvkOUGxwbSQXODi/u3ahhVQIQ2U/G\n8YJRU27oeYRcQLhwuDVmBGzWcqcZWx2AN/j92i/me6fYk6rc3/mcelUH8fEv\nSm8hjN/4R1OoCsatl/nXzH5xRbuQpHn8pHhkm/VpNA==\n"], ["encrypted_settings_iv", "HAWWiv+334rK5/gp\n"], ["created_at", "2017-08-01 21:19:55.547264"], ["updated_at", "2017-08-01 21:19:55.547264"]]
1795
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1796
+ Redirected to http://test.host/integration_pal/workers/48
1797
+ Completed 302 Found in 11ms (ActiveRecord: 0.7ms)
1798
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_workers"
1799
+  (0.1ms) ROLLBACK
1800
+  (0.1ms) BEGIN
1801
+ Processing by IntegrationPal::WorkersController#create as HTML
1802
+ Parameters: {"worker"=>{"access_id"=>"e4d8b1128bf55b189340dc96e3eb4097", "created_at"=>"", "encrypted_settings"=>"QoakKchvODS6o0fLvgsqZodA9V8=\n", "encrypted_settings_iv"=>"V7H/1L4LVmtDvnAG\n", "id"=>"", "job_type"=>"TestJob", "name"=>"753ec31540d9f73e33d8888263e46273", "secret_key"=>"ce2f143a60c9fb57a7932c2210d601ce", "updated_at"=>""}}
1803
+ Unpermitted parameters: :created_at, :encrypted_settings, :encrypted_settings_iv, :id, :updated_at, :settings
1804
+  (0.1ms) SAVEPOINT active_record_1
1805
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "e4d8b1128bf55b189340dc96e3eb4097"], ["LIMIT", 1]]
1806
+ 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", "753ec31540d9f73e33d8888263e46273"], ["access_id", "e4d8b1128bf55b189340dc96e3eb4097"], ["secret_key", "ce2f143a60c9fb57a7932c2210d601ce"], ["job_type", "TestJob"], ["encrypted_settings", "G5DhQIyUJyKlU//FP83W/Yaix4fBDov8dEVC2I7Kh5Yqz1vFX9L5thpv0DWJ\n+UCJyd8+FwPOdsRUPM+mI75zrBr03c1DUTJXQgvmaDno3Zw+f+VCNejgaDaW\nbrsvIf/4QbM+jDMSZmIU/cjqD5xRLUDTnISa21UxDQ==\n"], ["encrypted_settings_iv", "dNzOvZGe4qguFVfQ\n"], ["created_at", "2017-08-01 21:19:55.571523"], ["updated_at", "2017-08-01 21:19:55.571523"]]
1807
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1808
+ Redirected to http://test.host/integration_pal/workers/49
1809
+ Completed 302 Found in 12ms (ActiveRecord: 0.7ms)
1810
+  (0.1ms) ROLLBACK
1811
+  (0.1ms) BEGIN
1812
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_workers"
1813
+ Processing by IntegrationPal::WorkersController#create as HTML
1814
+ Parameters: {"worker"=>{"access_id"=>"3b3aad04dc827962ace5875310e04629", "created_at"=>"", "encrypted_settings"=>"Cx/Sa8yJ2noeQCSIPfb+Zkcw6LE=\n", "encrypted_settings_iv"=>"frIAvc+rLvhS3vip\n", "id"=>"", "job_type"=>"", "name"=>"84a42d95deca0555d3f4460aa8473fbc", "secret_key"=>"724c24e616536113896d649dc9e004d9", "updated_at"=>""}}
1815
+ Unpermitted parameters: :created_at, :encrypted_settings, :encrypted_settings_iv, :id, :updated_at, :settings
1816
+  (0.2ms) SAVEPOINT active_record_1
1817
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "3b3aad04dc827962ace5875310e04629"], ["LIMIT", 1]]
1818
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1819
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/new.html.erb within layouts/integration_pal/application
1820
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/new.html.erb within layouts/integration_pal/application (0.3ms)
1821
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1822
+ Completed 200 OK in 14ms (Views: 4.7ms | ActiveRecord: 0.5ms)
1823
+  (0.3ms) SELECT COUNT(*) FROM "integration_pal_workers"
1824
+  (0.1ms) ROLLBACK
1825
+  (0.1ms) BEGIN
1826
+  (0.1ms) SAVEPOINT active_record_1
1827
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "7bf38a8f5326cf2c9b9dcbda652f5afe"], ["LIMIT", 1]]
1828
+ 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", "622f043635c2a09a53d5bfd0edf8d5f3"], ["access_id", "7bf38a8f5326cf2c9b9dcbda652f5afe"], ["secret_key", "ce71570c77d50fb47dfd73f2a9196aca"], ["job_type", "TestJob"], ["encrypted_settings", "+Kl6zVqJ6DPpmFSURHvazn/1jvc=\n"], ["encrypted_settings_iv", "y/cKZGJ2qIWLNRf7\n"], ["created_at", "2017-08-01 21:19:55.615451"], ["updated_at", "2017-08-01 21:19:55.615451"]]
1829
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1830
+ Processing by IntegrationPal::WorkersController#update as HTML
1831
+ Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"50"}
1832
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 50], ["LIMIT", 1]]
1833
+ Unpermitted parameter: :settings
1834
+  (0.1ms) SAVEPOINT active_record_1
1835
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3 [["access_id", "7bf38a8f5326cf2c9b9dcbda652f5afe"], ["id", 50], ["LIMIT", 1]]
1836
+ SQL (0.2ms) UPDATE "integration_pal_workers" SET "encrypted_settings" = $1, "encrypted_settings_iv" = $2, "name" = $3, "updated_at" = $4 WHERE "integration_pal_workers"."id" = $5 [["encrypted_settings", "gTYbUHlYsRIOY3snQJzz1PbS8r4=\n"], ["encrypted_settings_iv", "t8FLJj77bBU64juk\n"], ["name", "New Name"], ["updated_at", "2017-08-01 21:19:55.628710"], ["id", 50]]
1837
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1838
+ Redirected to http://test.host/integration_pal/workers/50
1839
+ Completed 302 Found in 12ms (ActiveRecord: 0.9ms)
1840
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 50], ["LIMIT", 1]]
1841
+  (0.1ms) ROLLBACK
1842
+  (0.1ms) BEGIN
1843
+  (0.1ms) SAVEPOINT active_record_1
1844
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "0745c0898fcb766f97ff28ac708b828c"], ["LIMIT", 1]]
1845
+ 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", "57cf730c199ae8ca6e182cf0ddf34f31"], ["access_id", "0745c0898fcb766f97ff28ac708b828c"], ["secret_key", "2bb94f3d5ab6f401a4333998c50f97f1"], ["job_type", "TestJob"], ["encrypted_settings", "RYUgMLi6SbPYPB8ELNjJWoHj9Es=\n"], ["encrypted_settings_iv", "+5jwgpDsRmIhGv0x\n"], ["created_at", "2017-08-01 21:19:55.647851"], ["updated_at", "2017-08-01 21:19:55.647851"]]
1846
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1847
+ Processing by IntegrationPal::WorkersController#update as HTML
1848
+ Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"51"}
1849
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 51], ["LIMIT", 1]]
1850
+ Unpermitted parameter: :settings
1851
+  (0.1ms) SAVEPOINT active_record_1
1852
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3 [["access_id", "0745c0898fcb766f97ff28ac708b828c"], ["id", 51], ["LIMIT", 1]]
1853
+ SQL (0.2ms) UPDATE "integration_pal_workers" SET "encrypted_settings" = $1, "encrypted_settings_iv" = $2, "name" = $3, "updated_at" = $4 WHERE "integration_pal_workers"."id" = $5 [["encrypted_settings", "N3ISAMSBidVcDa5zn8XnN4IrVeI=\n"], ["encrypted_settings_iv", "4ooRFhnULeTfOM1Q\n"], ["name", "New Name"], ["updated_at", "2017-08-01 21:19:55.659074"], ["id", 51]]
1854
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1855
+ Redirected to http://test.host/integration_pal/workers/51
1856
+ Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
1857
+  (0.1ms) ROLLBACK
1858
+  (0.1ms) BEGIN
1859
+  (0.2ms) SAVEPOINT active_record_1
1860
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "26b155d8c89ad84f45e09fc34492d041"], ["LIMIT", 1]]
1861
+ 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", "586af5ed23c36a06f220c6a8dafc1fb9"], ["access_id", "26b155d8c89ad84f45e09fc34492d041"], ["secret_key", "d2ae5ddec76236ee434a527d7a77ce8b"], ["job_type", "TestJob"], ["encrypted_settings", "yZzWJ+KCsfjzL+qOc0zkY5mX+C4=\n"], ["encrypted_settings_iv", "kQO7mV5u7XRj5Eyu\n"], ["created_at", "2017-08-01 21:19:55.674468"], ["updated_at", "2017-08-01 21:19:55.674468"]]
1862
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1863
+ Processing by IntegrationPal::WorkersController#update as HTML
1864
+ Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"52"}
1865
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 52], ["LIMIT", 1]]
1866
+ Unpermitted parameter: :settings
1867
+  (0.1ms) SAVEPOINT active_record_1
1868
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3 [["access_id", "26b155d8c89ad84f45e09fc34492d041"], ["id", 52], ["LIMIT", 1]]
1869
+ SQL (0.2ms) UPDATE "integration_pal_workers" SET "encrypted_settings" = $1, "encrypted_settings_iv" = $2, "name" = $3, "updated_at" = $4 WHERE "integration_pal_workers"."id" = $5 [["encrypted_settings", "RkUFMsazmYPeoETc7NgyG8fiKR0=\n"], ["encrypted_settings_iv", "msSuTRC9xpIL2nBI\n"], ["name", "New Name"], ["updated_at", "2017-08-01 21:19:55.685481"], ["id", 52]]
1870
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1871
+ Redirected to http://test.host/integration_pal/workers/52
1872
+ Completed 302 Found in 11ms (ActiveRecord: 0.7ms)
1873
+  (0.1ms) ROLLBACK
1874
+  (0.1ms) BEGIN
1875
+  (0.1ms) SAVEPOINT active_record_1
1876
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "65efce81bfa3435a65d7ccdb20bcd763"], ["LIMIT", 1]]
1877
+ 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", "f69975d4990be4872438503e120283d6"], ["access_id", "65efce81bfa3435a65d7ccdb20bcd763"], ["secret_key", "50f09a45de73dd4cad761257beb28de1"], ["job_type", "TestJob"], ["encrypted_settings", "gy0Lck89SCWicrqUwV0zcXvBTaQ=\n"], ["encrypted_settings_iv", "tIpzo9YQspIsD76E\n"], ["created_at", "2017-08-01 21:19:55.701116"], ["updated_at", "2017-08-01 21:19:55.701116"]]
1878
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1879
+ Processing by IntegrationPal::WorkersController#update as HTML
1880
+ Parameters: {"worker"=>{"job_type"=>""}, "id"=>"53"}
1881
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 53], ["LIMIT", 1]]
1882
+ Unpermitted parameter: :settings
1883
+  (0.1ms) SAVEPOINT active_record_1
1884
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3 [["access_id", "65efce81bfa3435a65d7ccdb20bcd763"], ["id", 53], ["LIMIT", 1]]
1885
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1886
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application
1887
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application (1.5ms)
1888
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1889
+ Completed 200 OK in 16ms (Views: 5.5ms | ActiveRecord: 0.6ms)
1890
+  (0.2ms) ROLLBACK
1891
+  (0.1ms) BEGIN
1892
+  (0.1ms) SAVEPOINT active_record_1
1893
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "04f85e4cdfc09133d86345ff7df8cbca"], ["LIMIT", 1]]
1894
+ 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", "5d6861246db822eff27755e9167de8d1"], ["access_id", "04f85e4cdfc09133d86345ff7df8cbca"], ["secret_key", "463011ba733b2dd93e56d65d334329b4"], ["job_type", "TestJob"], ["encrypted_settings", "CaEnf4dV919G60n1wIrMd59tUwE=\n"], ["encrypted_settings_iv", "KLlDhDqnpsPn8aLp\n"], ["created_at", "2017-08-01 21:19:55.731128"], ["updated_at", "2017-08-01 21:19:55.731128"]]
1895
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1896
+ Processing by IntegrationPal::WorkersController#update as HTML
1897
+ Parameters: {"worker"=>{"job_type"=>""}, "id"=>"54"}
1898
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]]
1899
+ Unpermitted parameter: :settings
1900
+  (0.1ms) SAVEPOINT active_record_1
1901
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3 [["access_id", "04f85e4cdfc09133d86345ff7df8cbca"], ["id", 54], ["LIMIT", 1]]
1902
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1903
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application
1904
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application (0.1ms)
1905
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1906
+ Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 0.6ms)
1907
+  (0.1ms) ROLLBACK
1908
+  (0.1ms) BEGIN
1909
+  (0.1ms) ROLLBACK
1910
+  (0.1ms) BEGIN
1911
+  (0.1ms) SAVEPOINT active_record_1
1912
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "60fa95b0d0afb1f0ea2b690f6d33fbbb"], ["LIMIT", 1]]
1913
+ 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", "ba4c545323f867e6379a5850a366110b"], ["access_id", "60fa95b0d0afb1f0ea2b690f6d33fbbb"], ["secret_key", "787d273bb2279620c7be66cffb17febc"], ["job_type", "TestJob"], ["encrypted_settings", "9wNSwixkYNJBsbhCUFQsrZZfGJY=\n"], ["encrypted_settings_iv", "tM5gvXTNJua4mbvs\n"], ["created_at", "2017-08-01 21:19:55.762367"], ["updated_at", "2017-08-01 21:19:55.762367"]]
1914
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1915
+  (0.1ms) ROLLBACK
1916
+  (0.1ms) BEGIN
1917
+  (0.2ms) SAVEPOINT active_record_1
1918
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "6fb582b7f663713ea80468b5d18b3d04"], ["LIMIT", 1]]
1919
+ 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", "9a9fbef035ecaec191eff5b5326dba94"], ["access_id", "6fb582b7f663713ea80468b5d18b3d04"], ["secret_key", "809e3afb76cf084afc76eb16f5d3b024"], ["job_type", "TestJob"], ["encrypted_settings", "KJz1jOdyqiPkIG0REr2PfRMwWh0=\n"], ["encrypted_settings_iv", "b9JH2ukZfK6QDvWH\n"], ["created_at", "2017-08-01 21:19:55.777142"], ["updated_at", "2017-08-01 21:19:55.777142"]]
1920
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1921
+  (0.1ms) ROLLBACK
1922
+  (0.1ms) BEGIN
1923
+  (0.2ms) SAVEPOINT active_record_1
1924
+ IntegrationPal::Worker Exists (0.4ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "e4c8f9f0d29fccb08fa10f2cfd5095e0"], ["LIMIT", 1]]
1925
+ 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", "d407cb8c2f88413faa745019939d700a"], ["access_id", "e4c8f9f0d29fccb08fa10f2cfd5095e0"], ["secret_key", "e8cae60e56b6bd8f43b26a294f0476aa"], ["job_type", "TestJob"], ["encrypted_settings", "RkiNyT+P+1IVoIJPhVjMtOG3Twg=\n"], ["encrypted_settings_iv", "UqinLQqMOR5/KXPl\n"], ["created_at", "2017-08-01 21:19:55.804833"], ["updated_at", "2017-08-01 21:19:55.804833"]]
1926
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1927
+  (0.1ms) ROLLBACK
1928
+  (0.1ms) BEGIN
1929
+  (0.1ms) SAVEPOINT active_record_1
1930
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "a2e79c5504a01b3bea948094b32a8458"], ["LIMIT", 1]]
1931
+ SQL (0.4ms) 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", "fb57746d671bbe68807c83b95024b27f"], ["access_id", "a2e79c5504a01b3bea948094b32a8458"], ["secret_key", "c2441124540f76b76d178f43cd688c55"], ["job_type", "TestJob"], ["encrypted_settings", "Wrgjj84z/oV7Tz58S+F44mZffAI=\n"], ["encrypted_settings_iv", "45Kzf0I24We/zlj+\n"], ["created_at", "2017-08-01 21:19:55.818481"], ["updated_at", "2017-08-01 21:19:55.818481"]]
1932
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1933
+  (0.1ms) ROLLBACK
1934
+  (0.1ms) BEGIN
1935
+  (0.2ms) SAVEPOINT active_record_1
1936
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "551a5a6cf331d1eab1b8de8566b5786d"], ["LIMIT", 1]]
1937
+ 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", "6235452337b64fc49723baa132c8390c"], ["access_id", "551a5a6cf331d1eab1b8de8566b5786d"], ["secret_key", "f7e387601548541865b75f7ed5c7666f"], ["job_type", "TestJob"], ["encrypted_settings", "YYt+BAWusM68oenfTRTntvz/Oe0=\n"], ["encrypted_settings_iv", "+cmMec0B6SP8jnmF\n"], ["created_at", "2017-08-01 21:19:55.833395"], ["updated_at", "2017-08-01 21:19:55.833395"]]
1938
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1939
+  (0.1ms) ROLLBACK
1940
+  (0.1ms) BEGIN
1941
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "7b7969be62aef3db7678dd68c3d9e578"], ["LIMIT", 1]]
1942
+  (0.1ms) ROLLBACK
1943
+  (0.1ms) BEGIN
1944
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" IS NULL LIMIT $1 [["LIMIT", 1]]
1945
+  (0.1ms) ROLLBACK
1946
+  (0.1ms) BEGIN
1947
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "22af4b2ef8384cdea5d2cd552d3eccfa"], ["LIMIT", 1]]
1948
+  (0.1ms) ROLLBACK
1949
+  (0.1ms) BEGIN
1950
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "aa23c5a9f4ece6c30a20673fd3a633fe"], ["LIMIT", 1]]
1951
+  (0.1ms) ROLLBACK
1952
+  (0.1ms) BEGIN
1953
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "421d575f9636b834ca8bbe1582bce223"], ["LIMIT", 1]]
1954
+  (0.1ms) ROLLBACK
1955
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1956
+  (0.1ms) BEGIN
1957
+  (0.1ms) SAVEPOINT active_record_1
1958
+ IntegrationPal::Worker Exists (1.1ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "c95e2081008f46a5f31b93339e4662e2"], ["LIMIT", 1]]
1959
+ SQL (0.9ms) 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", "f0530913adf757deec6225801bc2d9eb"], ["access_id", "c95e2081008f46a5f31b93339e4662e2"], ["secret_key", "335d8084d4fca61e5f16bbce5c89373a"], ["job_type", "TestJob"], ["encrypted_settings", "TG0C089EwwedAf75MkqEn/GdRXI=\n"], ["encrypted_settings_iv", "rdOJE+gdtDuZqgG+\n"], ["created_at", "2017-08-01 21:20:24.181845"], ["updated_at", "2017-08-01 21:20:24.181845"]]
1960
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1961
+  (0.1ms) SAVEPOINT active_record_1
1962
+ SQL (0.6ms) 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", 60], ["created_at", "2017-08-01 21:20:24.188872"], ["updated_at", "2017-08-01 21:20:24.188872"]]
1963
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1964
+ Processing by IntegrationPal::Api::V1::JobsController#show as HTML
1965
+ Parameters: {"id"=>"27"}
1966
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" IS NULL LIMIT $1 [["LIMIT", 1]]
1967
+ Filter chain halted as :authenticate_api rendered or redirected
1968
+ Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms)
1969
+  (0.2ms) ROLLBACK
1970
+  (0.1ms) BEGIN
1971
+  (0.1ms) SAVEPOINT active_record_1
1972
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "7642e44eaca4efe7b2968a24facfa929"], ["LIMIT", 1]]
1973
+ 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", "d427e405ffdf36e856085a975911cf7d"], ["access_id", "7642e44eaca4efe7b2968a24facfa929"], ["secret_key", "e6c684ea57a316874e3e46457aca26e2"], ["job_type", "TestJob"], ["encrypted_settings", "NgzBJt04aOlT0AvGrBs7tyEZtmE=\n"], ["encrypted_settings_iv", "v8NslBAX7lEmvqWa\n"], ["created_at", "2017-08-01 21:20:24.208548"], ["updated_at", "2017-08-01 21:20:24.208548"]]
1974
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1975
+  (0.1ms) SAVEPOINT active_record_1
1976
+ IntegrationPal::Worker Exists (1.6ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "f194205f509d6e16a10c0033b151b38c"], ["LIMIT", 1]]
1977
+ 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", "93cd744f6db53ee2ca81bcc39a18d066"], ["access_id", "f194205f509d6e16a10c0033b151b38c"], ["secret_key", "2445f33f42db37824c5bfd6730c221f3"], ["job_type", "TestJob"], ["encrypted_settings", "DK3n0IXMrD4Etkq3qNKpNJzS0Co=\n"], ["encrypted_settings_iv", "MUvTejiDh7rewwtY\n"], ["created_at", "2017-08-01 21:20:24.223455"], ["updated_at", "2017-08-01 21:20:24.223455"]]
1978
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1979
+  (0.1ms) SAVEPOINT active_record_1
1980
+ 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", 62], ["created_at", "2017-08-01 21:20:24.225384"], ["updated_at", "2017-08-01 21:20:24.225384"]]
1981
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1982
+ Processing by IntegrationPal::Api::V1::JobsController#show as JSON
1983
+ Parameters: {"id"=>"28"}
1984
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "7642e44eaca4efe7b2968a24facfa929"], ["LIMIT", 1]]
1985
+ IntegrationPal::Job Load (0.4ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]]
1986
+ Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 0.7ms)
1987
+  (0.1ms) ROLLBACK
1988
+  (0.1ms) BEGIN
1989
+  (0.1ms) SAVEPOINT active_record_1
1990
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "d924157cecc07c20086c2f602a2124fa"], ["LIMIT", 1]]
1991
+ 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", "e42452362e7869d36ca92f6fa391368a"], ["access_id", "d924157cecc07c20086c2f602a2124fa"], ["secret_key", "27acb26592861f2c6a51d039016deab2"], ["job_type", "TestJob"], ["encrypted_settings", "pqQyTHOdxn1g4pNSfY7cSfaer00=\n"], ["encrypted_settings_iv", "ZA4vJQxzDH+PCrf+\n"], ["created_at", "2017-08-01 21:20:24.259591"], ["updated_at", "2017-08-01 21:20:24.259591"]]
1992
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1993
+  (0.3ms) SELECT COUNT(*) FROM "integration_pal_jobs"
1994
+  (0.2ms) SAVEPOINT active_record_1
1995
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "320cae22a077421bfcb1d79a5d5964d4"], ["LIMIT", 1]]
1996
+ 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", "4799fcb8b3f76f10326dc63ee1713dc9"], ["access_id", "320cae22a077421bfcb1d79a5d5964d4"], ["secret_key", "2ba39283ddaf8d58711ef7678ca22d6b"], ["job_type", "TestJob"], ["encrypted_settings", "TI8AvcKMtqF+vIIcF2kz7NpRXgs=\n"], ["encrypted_settings_iv", "0WypJ2MDqx6L14/O\n"], ["created_at", "2017-08-01 21:20:24.274611"], ["updated_at", "2017-08-01 21:20:24.274611"]]
1997
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1998
+ Processing by IntegrationPal::Api::V1::JobsController#create as HTML
1999
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"64"}}
2000
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :progress, :started_at, :status, :updated_at
2001
+  (0.1ms) SAVEPOINT active_record_1
2002
+ IntegrationPal::Worker Load (0.3ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 64], ["LIMIT", 1]]
2003
+ 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", 64], ["created_at", "2017-08-01 21:20:24.293412"], ["updated_at", "2017-08-01 21:20:24.293412"]]
2004
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2005
+ [ActiveJob] [TestJob] [31f2b461-f379-490f-8539-514f3d69e1e4] Performing TestJob (Job ID: 31f2b461-f379-490f-8539-514f3d69e1e4) from Async(default) with arguments: 29
2006
+ [ActiveJob] Enqueued TestJob (Job ID: 31f2b461-f379-490f-8539-514f3d69e1e4) to Async(default) with arguments: 29
2007
+ Completed 200 OK in 16ms (Views: 0.5ms | ActiveRecord: 0.8ms)
2008
+  (1.3ms) SELECT COUNT(*) FROM "integration_pal_jobs"
2009
+  (0.5ms) ROLLBACK
2010
+  (0.1ms) BEGIN
2011
+ [ActiveJob] [TestJob] [31f2b461-f379-490f-8539-514f3d69e1e4] Performed TestJob (Job ID: 31f2b461-f379-490f-8539-514f3d69e1e4) from Async(default) in 15.33ms
2012
+  (0.8ms) SAVEPOINT active_record_1
2013
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "6e00e529f4f4e990f6140e26e40f6ad5"], ["LIMIT", 1]]
2014
+ 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", "3925b0c56976263026d2c1e9a02673d0"], ["access_id", "6e00e529f4f4e990f6140e26e40f6ad5"], ["secret_key", "98f57118143080a333492fe88f0ae053"], ["job_type", "TestJob"], ["encrypted_settings", "OZJXmxWB+CassnG6mj/0pmi/c0U=\n"], ["encrypted_settings_iv", "kCVQyIZL6LuTf/+O\n"], ["created_at", "2017-08-01 21:20:24.314560"], ["updated_at", "2017-08-01 21:20:24.314560"]]
2015
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2016
+  (0.1ms) SAVEPOINT active_record_1
2017
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "9311dcbbf48d84c1ce1ba44dbf855d70"], ["LIMIT", 1]]
2018
+ 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", "4fd5a6a2524050ecfd5cec35586cde0a"], ["access_id", "9311dcbbf48d84c1ce1ba44dbf855d70"], ["secret_key", "6b06308af8273d0b1b2f09ab517595c9"], ["job_type", "TestJob"], ["encrypted_settings", "QjZdHa/q/MzS9SyX9Lotbc/SwbY=\n"], ["encrypted_settings_iv", "126rOWo72sOem7q4\n"], ["created_at", "2017-08-01 21:20:24.326501"], ["updated_at", "2017-08-01 21:20:24.326501"]]
2019
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2020
+ Processing by IntegrationPal::Api::V1::JobsController#create as HTML
2021
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"66"}}
2022
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :progress, :started_at, :status, :updated_at
2023
+  (0.1ms) SAVEPOINT active_record_1
2024
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 66], ["LIMIT", 1]]
2025
+ SQL (0.4ms) 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", 66], ["created_at", "2017-08-01 21:20:24.339778"], ["updated_at", "2017-08-01 21:20:24.339778"]]
2026
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2027
+ [ActiveJob] Enqueued TestJob (Job ID: 25d4a041-1e41-4105-a966-ec022c89063f) to Async(default) with arguments: 30
2028
+ [ActiveJob] [TestJob] [25d4a041-1e41-4105-a966-ec022c89063f] Performing TestJob (Job ID: 25d4a041-1e41-4105-a966-ec022c89063f) from Async(default) with arguments: 30
2029
+ Completed 200 OK in 14ms (Views: 0.5ms | ActiveRecord: 0.7ms)
2030
+ [ActiveJob] [TestJob] [25d4a041-1e41-4105-a966-ec022c89063f] Performed TestJob (Job ID: 25d4a041-1e41-4105-a966-ec022c89063f) from Async(default) in 0.04ms
2031
+  (0.1ms) ROLLBACK
2032
+  (0.1ms) BEGIN
2033
+  (0.1ms) SAVEPOINT active_record_1
2034
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "be050b75a5e56acf09b234038e35bd68"], ["LIMIT", 1]]
2035
+ 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", "3a60d365351adf86183718013081453a"], ["access_id", "be050b75a5e56acf09b234038e35bd68"], ["secret_key", "96175a18d344048beaaa802137ad25c3"], ["job_type", "TestJob"], ["encrypted_settings", "ZzGLfGxErBHkT2JoeOtDJnVrSmk=\n"], ["encrypted_settings_iv", "lNo9+S0dyaLGPe2t\n"], ["created_at", "2017-08-01 21:20:24.357321"], ["updated_at", "2017-08-01 21:20:24.357321"]]
2036
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2037
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
2038
+ Processing by IntegrationPal::Api::V1::JobsController#create as HTML
2039
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>""}}
2040
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :progress, :started_at, :status, :updated_at
2041
+  (0.2ms) SAVEPOINT active_record_1
2042
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2043
+ Completed 422 Unprocessable Entity in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
2044
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
2045
+  (0.1ms) ROLLBACK
2046
+  (0.1ms) BEGIN
2047
+  (0.1ms) SAVEPOINT active_record_1
2048
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "70ebcbf56a7327c54859f262c8d52b53"], ["LIMIT", 1]]
2049
+ 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", "c015d017e8a1c6566abcf0dec259cb5d"], ["access_id", "70ebcbf56a7327c54859f262c8d52b53"], ["secret_key", "e56a6c286119aaba7cd68bcce02c9df8"], ["job_type", "TestJob"], ["encrypted_settings", "VbjvE2XzChHJI/vigKIYtw2B+yc=\n"], ["encrypted_settings_iv", "OJsND+M6hFsvnlct\n"], ["created_at", "2017-08-01 21:20:24.378734"], ["updated_at", "2017-08-01 21:20:24.378734"]]
2050
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2051
+  (0.1ms) SAVEPOINT active_record_1
2052
+ 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", 68], ["created_at", "2017-08-01 21:20:24.380495"], ["updated_at", "2017-08-01 21:20:24.380495"]]
2053
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2054
+ Processing by IntegrationPal::JobsController#index as HTML
2055
+ Rendering text template
2056
+ Rendered text template (0.0ms)
2057
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
2058
+ Filter chain halted as :authenticate! rendered or redirected
2059
+ Completed 401 Unauthorized in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
2060
+  (0.2ms) ROLLBACK
2061
+  (0.1ms) BEGIN
2062
+  (0.1ms) SAVEPOINT active_record_1
2063
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "4ad6908dd0a8aa9cd7b2c154d8835c16"], ["LIMIT", 1]]
2064
+ 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", "97555266e0d24e26e6c2a782dc3e181f"], ["access_id", "4ad6908dd0a8aa9cd7b2c154d8835c16"], ["secret_key", "7b96de4137b7f1851fdf299d8f0d27d2"], ["job_type", "TestJob"], ["encrypted_settings", "yjKCMLN6vuo4BLJLRaJkBUTDjwU=\n"], ["encrypted_settings_iv", "Yawdl9lIW7JE4Plh\n"], ["created_at", "2017-08-01 21:20:24.401124"], ["updated_at", "2017-08-01 21:20:24.401124"]]
2065
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2066
+  (0.1ms) SAVEPOINT active_record_1
2067
+ 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", 69], ["created_at", "2017-08-01 21:20:24.403027"], ["updated_at", "2017-08-01 21:20:24.403027"]]
2068
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2069
+ Processing by IntegrationPal::JobsController#index as HTML
2070
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/index.html.erb within layouts/integration_pal/application
2071
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/index.html.erb within layouts/integration_pal/application (0.2ms)
2072
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
2073
+ Completed 200 OK in 12ms (Views: 8.1ms | ActiveRecord: 0.0ms)
2074
+ IntegrationPal::Job Load (0.5ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" ORDER BY created_at DESC
2075
+  (0.1ms) ROLLBACK
2076
+  (0.1ms) BEGIN
2077
+  (0.3ms) SELECT COUNT(*) FROM "integration_pal_jobs"
2078
+  (0.1ms) SAVEPOINT active_record_1
2079
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "5fec08dc5d848eca1cef096e62e75461"], ["LIMIT", 1]]
2080
+ 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", "ea05c73dadfb0f1733e3d49c6d0937e3"], ["access_id", "5fec08dc5d848eca1cef096e62e75461"], ["secret_key", "aa5b623600c24328a0ee6ff416c99221"], ["job_type", "TestJob"], ["encrypted_settings", "/E+C//CiuNyXFP2xyhPwVWFSbUY=\n"], ["encrypted_settings_iv", "TpuaoVDS9s4ruoyf\n"], ["created_at", "2017-08-01 21:20:24.433051"], ["updated_at", "2017-08-01 21:20:24.433051"]]
2081
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2082
+ Processing by IntegrationPal::JobsController#create as HTML
2083
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"70"}}
2084
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :job_params, :started_at, :updated_at
2085
+  (0.1ms) SAVEPOINT active_record_1
2086
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 70], ["LIMIT", 1]]
2087
+ 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", 70], ["created_at", "2017-08-01 21:20:24.442925"], ["updated_at", "2017-08-01 21:20:24.442925"]]
2088
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2089
+ Redirected to http://test.host/integration_pal/jobs/33
2090
+ Completed 302 Found in 9ms (ActiveRecord: 0.6ms)
2091
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
2092
+  (0.1ms) ROLLBACK
2093
+  (0.1ms) BEGIN
2094
+  (0.1ms) SAVEPOINT active_record_1
2095
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "a532db08c3ed9e896093e460dc5febbb"], ["LIMIT", 1]]
2096
+ 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", "30472d244d9645977ea2ddcff85b387c"], ["access_id", "a532db08c3ed9e896093e460dc5febbb"], ["secret_key", "7acdcbf2efda79d6bc54a4588fb5b59e"], ["job_type", "TestJob"], ["encrypted_settings", "27+9QEtZNLQjqdXV7qsKoKKywrM=\n"], ["encrypted_settings_iv", "xUXv0IeFFg+VKuUq\n"], ["created_at", "2017-08-01 21:20:24.457711"], ["updated_at", "2017-08-01 21:20:24.457711"]]
2097
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2098
+ Processing by IntegrationPal::JobsController#create as HTML
2099
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>"71"}}
2100
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :job_params, :started_at, :updated_at
2101
+  (0.2ms) SAVEPOINT active_record_1
2102
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 71], ["LIMIT", 1]]
2103
+ 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", 71], ["created_at", "2017-08-01 21:20:24.467110"], ["updated_at", "2017-08-01 21:20:24.467110"]]
2104
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2105
+ Redirected to http://test.host/integration_pal/jobs/34
2106
+ Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
2107
+  (0.1ms) ROLLBACK
2108
+  (0.1ms) BEGIN
2109
+  (0.3ms) SELECT COUNT(*) FROM "integration_pal_jobs"
2110
+ Processing by IntegrationPal::JobsController#create as HTML
2111
+ Parameters: {"job"=>{"backtrace"=>"", "created_at"=>"", "error"=>"", "finished_at"=>"", "id"=>"", "job_params"=>{"test"=>"test"}, "progress"=>"0", "started_at"=>"", "status"=>"pending", "updated_at"=>"", "worker_id"=>""}}
2112
+ Unpermitted parameters: :backtrace, :created_at, :error, :finished_at, :id, :job_params, :started_at, :updated_at
2113
+  (0.1ms) SAVEPOINT active_record_1
2114
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2115
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/new.html.erb within layouts/integration_pal/application
2116
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/new.html.erb within layouts/integration_pal/application (0.2ms)
2117
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
2118
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.2ms)
2119
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_jobs"
2120
+  (0.1ms) ROLLBACK
2121
+  (0.1ms) BEGIN
2122
+  (0.1ms) SAVEPOINT active_record_1
2123
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "af61657693cf0d191bb7846f735785ba"], ["LIMIT", 1]]
2124
+ 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", "4f1e9d9282530ca6169532237e6f98aa"], ["access_id", "af61657693cf0d191bb7846f735785ba"], ["secret_key", "1df0f4936d8f1f3c06269819fb892fd1"], ["job_type", "TestJob"], ["encrypted_settings", "z04h9ekkHc104LUEO6ntEE5CIkw=\n"], ["encrypted_settings_iv", "0NDsbGG+Y6cTUO5V\n"], ["created_at", "2017-08-01 21:20:24.495355"], ["updated_at", "2017-08-01 21:20:24.495355"]]
2125
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2126
+  (0.1ms) SAVEPOINT active_record_1
2127
+ 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", 72], ["created_at", "2017-08-01 21:20:24.497255"], ["updated_at", "2017-08-01 21:20:24.497255"]]
2128
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2129
+ Processing by IntegrationPal::JobsController#update as HTML
2130
+ Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"35"}
2131
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]]
2132
+ Unpermitted parameter: :name
2133
+  (0.1ms) SAVEPOINT active_record_1
2134
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 72], ["LIMIT", 1]]
2135
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2136
+ Redirected to http://test.host/integration_pal/jobs/35
2137
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
2138
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]]
2139
+  (0.1ms) ROLLBACK
2140
+  (0.1ms) BEGIN
2141
+  (0.1ms) SAVEPOINT active_record_1
2142
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "06ec52dc541540d9da02956a183797e3"], ["LIMIT", 1]]
2143
+ 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", "35fc1b225c230f59bd8645e5d790500c"], ["access_id", "06ec52dc541540d9da02956a183797e3"], ["secret_key", "347ce1ff3a53e9dff71467dbb3bbab4c"], ["job_type", "TestJob"], ["encrypted_settings", "XtMlktbyWLD+At2ShqOj/TjSH58=\n"], ["encrypted_settings_iv", "r/JpRnhCtC8UhQ3u\n"], ["created_at", "2017-08-01 21:20:24.522011"], ["updated_at", "2017-08-01 21:20:24.522011"]]
2144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2145
+  (0.2ms) SAVEPOINT active_record_1
2146
+ 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", 73], ["created_at", "2017-08-01 21:20:24.525491"], ["updated_at", "2017-08-01 21:20:24.525491"]]
2147
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2148
+ Processing by IntegrationPal::JobsController#update as HTML
2149
+ Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"36"}
2150
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]]
2151
+ Unpermitted parameter: :name
2152
+  (0.1ms) SAVEPOINT active_record_1
2153
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 73], ["LIMIT", 1]]
2154
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2155
+ Redirected to http://test.host/integration_pal/jobs/36
2156
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
2157
+  (0.2ms) ROLLBACK
2158
+  (0.1ms) BEGIN
2159
+  (0.1ms) SAVEPOINT active_record_1
2160
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "d72d2bb5ee971da973167768ec93d376"], ["LIMIT", 1]]
2161
+ 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", "f4934c7373d1d9a274f5ac5f786b1d23"], ["access_id", "d72d2bb5ee971da973167768ec93d376"], ["secret_key", "2b3b54b5af449a047c82276de9f35d9c"], ["job_type", "TestJob"], ["encrypted_settings", "gUHPdlz2LYHipWqNnSfIKZUYpwk=\n"], ["encrypted_settings_iv", "21qdV+oaEpB0DWIL\n"], ["created_at", "2017-08-01 21:20:24.550202"], ["updated_at", "2017-08-01 21:20:24.550202"]]
2162
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2163
+  (0.1ms) SAVEPOINT active_record_1
2164
+ 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", 74], ["created_at", "2017-08-01 21:20:24.551956"], ["updated_at", "2017-08-01 21:20:24.551956"]]
2165
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2166
+ Processing by IntegrationPal::JobsController#update as HTML
2167
+ Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"37"}
2168
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 37], ["LIMIT", 1]]
2169
+ Unpermitted parameter: :name
2170
+  (0.1ms) SAVEPOINT active_record_1
2171
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 74], ["LIMIT", 1]]
2172
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2173
+ Redirected to http://test.host/integration_pal/jobs/37
2174
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
2175
+  (0.1ms) ROLLBACK
2176
+  (0.1ms) BEGIN
2177
+  (0.1ms) SAVEPOINT active_record_1
2178
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "624965acf2ec23b7c9fe0346bb1b8093"], ["LIMIT", 1]]
2179
+ 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", "35d2df041102aed81c0dcf5d2c7a1fb3"], ["access_id", "624965acf2ec23b7c9fe0346bb1b8093"], ["secret_key", "d351006783216544e67536cb7ccdb8ab"], ["job_type", "TestJob"], ["encrypted_settings", "HZdRIvCWHqa6Oee+iWwm3bcaZEc=\n"], ["encrypted_settings_iv", "iu4wELVB3/awOMW0\n"], ["created_at", "2017-08-01 21:20:24.577331"], ["updated_at", "2017-08-01 21:20:24.577331"]]
2180
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2181
+  (0.1ms) SAVEPOINT active_record_1
2182
+ 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", 75], ["created_at", "2017-08-01 21:20:24.579164"], ["updated_at", "2017-08-01 21:20:24.579164"]]
2183
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2184
+ Processing by IntegrationPal::JobsController#update as HTML
2185
+ Parameters: {"job"=>{"worker_id"=>""}, "id"=>"38"}
2186
+ IntegrationPal::Job Load (0.2ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]]
2187
+  (0.1ms) SAVEPOINT active_record_1
2188
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2189
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application
2190
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application (0.2ms)
2191
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
2192
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.4ms)
2193
+  (0.1ms) ROLLBACK
2194
+  (0.1ms) BEGIN
2195
+  (0.1ms) SAVEPOINT active_record_1
2196
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "0ce7b0438e53ded2ef16171856b39766"], ["LIMIT", 1]]
2197
+ 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", "c396e6c095e34a1b0aafc53b24cbd03c"], ["access_id", "0ce7b0438e53ded2ef16171856b39766"], ["secret_key", "5e3167557aaea8edf7fd9fa05bc5ee75"], ["job_type", "TestJob"], ["encrypted_settings", "i3uddIRfPRaz1fB2y38ud0xgjDQ=\n"], ["encrypted_settings_iv", "L1AzPEF0QjP8PR1j\n"], ["created_at", "2017-08-01 21:20:24.600450"], ["updated_at", "2017-08-01 21:20:24.600450"]]
2198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2199
+  (0.1ms) SAVEPOINT active_record_1
2200
+ 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", 76], ["created_at", "2017-08-01 21:20:24.602295"], ["updated_at", "2017-08-01 21:20:24.602295"]]
2201
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2202
+ Processing by IntegrationPal::JobsController#update as HTML
2203
+ Parameters: {"job"=>{"worker_id"=>""}, "id"=>"39"}
2204
+ IntegrationPal::Job Load (0.1ms) SELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]]
2205
+  (0.1ms) SAVEPOINT active_record_1
2206
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2207
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application
2208
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/jobs/edit.html.erb within layouts/integration_pal/application (0.0ms)
2209
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
2210
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
2211
+  (0.1ms) ROLLBACK
2212
+  (0.3ms) BEGIN
2213
+  (0.1ms) SAVEPOINT active_record_1
2214
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "6bf9167b277d6cc6d237c8d7f3fdb001"], ["LIMIT", 1]]
2215
+ 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", "5c62209b1f0d4ee31a1caa65aa586605"], ["access_id", "6bf9167b277d6cc6d237c8d7f3fdb001"], ["secret_key", "a9c73a4a9da06a328836b579ee505c4f"], ["job_type", "TestJob"], ["encrypted_settings", "HqyjuhGsUKUGu9w8Z5GCW2qJiPs=\n"], ["encrypted_settings_iv", "Mzb+R86xqfQINgDt\n"], ["created_at", "2017-08-01 21:20:24.620737"], ["updated_at", "2017-08-01 21:20:24.620737"]]
2216
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2217
+ Processing by IntegrationPal::WorkersController#index as HTML
2218
+ Rendering text template
2219
+ Rendered text template (0.1ms)
2220
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
2221
+ Filter chain halted as :authenticate! rendered or redirected
2222
+ Completed 401 Unauthorized in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
2223
+  (0.2ms) ROLLBACK
2224
+  (0.1ms) BEGIN
2225
+  (0.1ms) SAVEPOINT active_record_1
2226
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "e395b25069c1fa361e73e7155dd74879"], ["LIMIT", 1]]
2227
+ 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", "088ae96a3e525c60a1082d4053b81421"], ["access_id", "e395b25069c1fa361e73e7155dd74879"], ["secret_key", "3f17354c405a4adf3fe50ead288894fd"], ["job_type", "TestJob"], ["encrypted_settings", "QqymajWh9RwHHSmtXF1nxSSkcd0=\n"], ["encrypted_settings_iv", "ChgMtcf7/rpgXTog\n"], ["created_at", "2017-08-01 21:20:24.638068"], ["updated_at", "2017-08-01 21:20:24.638068"]]
2228
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2229
+ Processing by IntegrationPal::WorkersController#index as HTML
2230
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/index.html.erb within layouts/integration_pal/application
2231
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/index.html.erb within layouts/integration_pal/application (0.2ms)
2232
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
2233
+ Completed 200 OK in 8ms (Views: 3.7ms | ActiveRecord: 0.0ms)
2234
+ IntegrationPal::Worker Load (0.2ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers"
2235
+  (0.1ms) ROLLBACK
2236
+  (0.1ms) BEGIN
2237
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_workers"
2238
+ Processing by IntegrationPal::WorkersController#create as HTML
2239
+ Parameters: {"worker"=>{"access_id"=>"e58d0a060906493498ee4ac6ae5a3ad1", "created_at"=>"", "encrypted_settings"=>"2flvmc5qp+IGtf2S4G3uhNAZvEI=\n", "encrypted_settings_iv"=>"1Ji37MOGLuyIS4ro\n", "id"=>"", "job_type"=>"TestJob", "name"=>"81de763674707396a53e51ecda709446", "secret_key"=>"65661b66068ede4f7ea08d0b1276461c", "updated_at"=>""}}
2240
+ Unpermitted parameters: :created_at, :encrypted_settings, :encrypted_settings_iv, :id, :updated_at, :settings
2241
+  (0.2ms) SAVEPOINT active_record_1
2242
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "e58d0a060906493498ee4ac6ae5a3ad1"], ["LIMIT", 1]]
2243
+ 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", "81de763674707396a53e51ecda709446"], ["access_id", "e58d0a060906493498ee4ac6ae5a3ad1"], ["secret_key", "65661b66068ede4f7ea08d0b1276461c"], ["job_type", "TestJob"], ["encrypted_settings", "axcsZHzbqqc6ePYxpXys+Wq55aXS0aE/qvt0rwxR3SZmu+XGatqOPL87v5F3\nK6ytbJaLvfYtf892xtoCu7PS1PmARJ0lmSTQWBJUpIGjtdfO8nJ5LSTAAlw/\n1kld3CwoDCXjeyDJu0P76qrHhLwvKWEoGcXfll4Prw==\n"], ["encrypted_settings_iv", "1c/6RZEqy/LkhB4h\n"], ["created_at", "2017-08-01 21:20:24.675758"], ["updated_at", "2017-08-01 21:20:24.675758"]]
2244
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2245
+ Redirected to http://test.host/integration_pal/workers/79
2246
+ Completed 302 Found in 13ms (ActiveRecord: 0.7ms)
2247
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_workers"
2248
+  (0.1ms) ROLLBACK
2249
+  (0.1ms) BEGIN
2250
+ Processing by IntegrationPal::WorkersController#create as HTML
2251
+ Parameters: {"worker"=>{"access_id"=>"592a74c65cfdc841ac59b53e217f7f01", "created_at"=>"", "encrypted_settings"=>"0u4gIHSF2VPnUq261K0qd3RYeOw=\n", "encrypted_settings_iv"=>"s8cItoh18dQbPbx4\n", "id"=>"", "job_type"=>"TestJob", "name"=>"9aa4de9b19826ac71b56b8894a6a36d7", "secret_key"=>"0df75a372358d5a0d0b61ca63445ae3b", "updated_at"=>""}}
2252
+ Unpermitted parameters: :created_at, :encrypted_settings, :encrypted_settings_iv, :id, :updated_at, :settings
2253
+  (0.1ms) SAVEPOINT active_record_1
2254
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "592a74c65cfdc841ac59b53e217f7f01"], ["LIMIT", 1]]
2255
+ 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", "9aa4de9b19826ac71b56b8894a6a36d7"], ["access_id", "592a74c65cfdc841ac59b53e217f7f01"], ["secret_key", "0df75a372358d5a0d0b61ca63445ae3b"], ["job_type", "TestJob"], ["encrypted_settings", "YoKeztnPI6lAexglCo8DVOPKNh2TtGRrJ9RZehs0HYOoBnPFz030cn8bU/BM\n2TlnJQ8QQ0issWJfQWgUV/ZXwZJuymxlOZ73oXgb3C/n6V5OAV46QSWPx8nm\nzKj9N+x78JT2kBu4vehqNqAnIOnBD/+/OhJgQQiVPA==\n"], ["encrypted_settings_iv", "GVkAHBN5x1n2u9so\n"], ["created_at", "2017-08-01 21:20:24.699022"], ["updated_at", "2017-08-01 21:20:24.699022"]]
2256
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2257
+ Redirected to http://test.host/integration_pal/workers/80
2258
+ Completed 302 Found in 10ms (ActiveRecord: 0.7ms)
2259
+  (0.1ms) ROLLBACK
2260
+  (0.1ms) BEGIN
2261
+  (0.2ms) SELECT COUNT(*) FROM "integration_pal_workers"
2262
+ Processing by IntegrationPal::WorkersController#create as HTML
2263
+ Parameters: {"worker"=>{"access_id"=>"d616523735ad87af2b3b85be0ceb1c41", "created_at"=>"", "encrypted_settings"=>"VcKi4nVYgeJcNYJfKJXUHWRlsxw=\n", "encrypted_settings_iv"=>"TAyEfZsGZWd/cOuC\n", "id"=>"", "job_type"=>"", "name"=>"ae6e64cf376951003179d6ebc33debc3", "secret_key"=>"3bd756b731ba550271cc25c798151321", "updated_at"=>""}}
2264
+ Unpermitted parameters: :created_at, :encrypted_settings, :encrypted_settings_iv, :id, :updated_at, :settings
2265
+  (0.1ms) SAVEPOINT active_record_1
2266
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "d616523735ad87af2b3b85be0ceb1c41"], ["LIMIT", 1]]
2267
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2268
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/new.html.erb within layouts/integration_pal/application
2269
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/new.html.erb within layouts/integration_pal/application (0.2ms)
2270
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
2271
+ Completed 200 OK in 16ms (Views: 6.0ms | ActiveRecord: 0.5ms)
2272
+  (0.3ms) SELECT COUNT(*) FROM "integration_pal_workers"
2273
+  (0.1ms) ROLLBACK
2274
+  (0.1ms) BEGIN
2275
+  (0.1ms) SAVEPOINT active_record_1
2276
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "c3220537f145efa2674e72834f9e71a7"], ["LIMIT", 1]]
2277
+ 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", "4d3e19923e29be3cdf81f53a4b093492"], ["access_id", "c3220537f145efa2674e72834f9e71a7"], ["secret_key", "95dbe671c3d8ac8206ef8e15c34469da"], ["job_type", "TestJob"], ["encrypted_settings", "v4QYpN93rQD/qNNRNyKSJ2ghTDk=\n"], ["encrypted_settings_iv", "uEjnjUu/Yhrzh27K\n"], ["created_at", "2017-08-01 21:20:24.742285"], ["updated_at", "2017-08-01 21:20:24.742285"]]
2278
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2279
+ Processing by IntegrationPal::WorkersController#update as HTML
2280
+ Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"81"}
2281
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 81], ["LIMIT", 1]]
2282
+ Unpermitted parameter: :settings
2283
+  (0.1ms) SAVEPOINT active_record_1
2284
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3 [["access_id", "c3220537f145efa2674e72834f9e71a7"], ["id", 81], ["LIMIT", 1]]
2285
+ SQL (0.2ms) UPDATE "integration_pal_workers" SET "encrypted_settings" = $1, "encrypted_settings_iv" = $2, "name" = $3, "updated_at" = $4 WHERE "integration_pal_workers"."id" = $5 [["encrypted_settings", "3w6Aa3+Ohid4Eue8n5eXCU4CRjw=\n"], ["encrypted_settings_iv", "1poh9eKSXLhNDlFv\n"], ["name", "New Name"], ["updated_at", "2017-08-01 21:20:24.754234"], ["id", 81]]
2286
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2287
+ Redirected to http://test.host/integration_pal/workers/81
2288
+ Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
2289
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 81], ["LIMIT", 1]]
2290
+  (0.2ms) ROLLBACK
2291
+  (0.1ms) BEGIN
2292
+  (0.1ms) SAVEPOINT active_record_1
2293
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "394b669e799bf316271ad119ff4c1dd0"], ["LIMIT", 1]]
2294
+ 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", "cffdd795270b401f759acfb64b83efb3"], ["access_id", "394b669e799bf316271ad119ff4c1dd0"], ["secret_key", "07f349cafe0fe4d3ca3e51a188e0418e"], ["job_type", "TestJob"], ["encrypted_settings", "iqUGGJJaCqti4S0m3shKupJQd0I=\n"], ["encrypted_settings_iv", "lHqiG6sezddDYVFI\n"], ["created_at", "2017-08-01 21:20:24.773089"], ["updated_at", "2017-08-01 21:20:24.773089"]]
2295
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2296
+ Processing by IntegrationPal::WorkersController#update as HTML
2297
+ Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"82"}
2298
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 82], ["LIMIT", 1]]
2299
+ Unpermitted parameter: :settings
2300
+  (0.1ms) SAVEPOINT active_record_1
2301
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3 [["access_id", "394b669e799bf316271ad119ff4c1dd0"], ["id", 82], ["LIMIT", 1]]
2302
+ SQL (0.2ms) UPDATE "integration_pal_workers" SET "encrypted_settings" = $1, "encrypted_settings_iv" = $2, "name" = $3, "updated_at" = $4 WHERE "integration_pal_workers"."id" = $5 [["encrypted_settings", "z9/RZMV00jx9c8+CmjqpCqN5Rec=\n"], ["encrypted_settings_iv", "Fcgwqpuxbtekmyi9\n"], ["name", "New Name"], ["updated_at", "2017-08-01 21:20:24.785286"], ["id", 82]]
2303
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2304
+ Redirected to http://test.host/integration_pal/workers/82
2305
+ Completed 302 Found in 10ms (ActiveRecord: 0.8ms)
2306
+  (0.1ms) ROLLBACK
2307
+  (0.1ms) BEGIN
2308
+  (0.1ms) SAVEPOINT active_record_1
2309
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "e652920aaa1a06dcaced668dc440b9a3"], ["LIMIT", 1]]
2310
+ 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", "f2dda01862b77fd1cf8c1633110c6567"], ["access_id", "e652920aaa1a06dcaced668dc440b9a3"], ["secret_key", "62dae4b0ceaf6fca3c808b6c2953001c"], ["job_type", "TestJob"], ["encrypted_settings", "PgU8DuGY4s5/9K8tRvhskunYB3o=\n"], ["encrypted_settings_iv", "YQQoG4pewgXO6CN7\n"], ["created_at", "2017-08-01 21:20:24.802006"], ["updated_at", "2017-08-01 21:20:24.802006"]]
2311
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2312
+ Processing by IntegrationPal::WorkersController#update as HTML
2313
+ Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"83"}
2314
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 83], ["LIMIT", 1]]
2315
+ Unpermitted parameter: :settings
2316
+  (0.2ms) SAVEPOINT active_record_1
2317
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3 [["access_id", "e652920aaa1a06dcaced668dc440b9a3"], ["id", 83], ["LIMIT", 1]]
2318
+ SQL (0.2ms) UPDATE "integration_pal_workers" SET "encrypted_settings" = $1, "encrypted_settings_iv" = $2, "name" = $3, "updated_at" = $4 WHERE "integration_pal_workers"."id" = $5 [["encrypted_settings", "yD2duGGGjuDMRT1Mw8HUiadALNg=\n"], ["encrypted_settings_iv", "soxaCZpGgvPOhuGr\n"], ["name", "New Name"], ["updated_at", "2017-08-01 21:20:24.813133"], ["id", 83]]
2319
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2320
+ Redirected to http://test.host/integration_pal/workers/83
2321
+ Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
2322
+  (0.1ms) ROLLBACK
2323
+  (0.1ms) BEGIN
2324
+  (0.2ms) SAVEPOINT active_record_1
2325
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "fdf2c56d703ab7a28f02380befda6441"], ["LIMIT", 1]]
2326
+ 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", "d746b75012140677e391341f726c880a"], ["access_id", "fdf2c56d703ab7a28f02380befda6441"], ["secret_key", "e87d6c32e5e6e9edbdf4eda0a5b7ae05"], ["job_type", "TestJob"], ["encrypted_settings", "pLRuo+YIX5lA/VKIbUT3+hFixIs=\n"], ["encrypted_settings_iv", "p5kLAwxqseaFJrAK\n"], ["created_at", "2017-08-01 21:20:24.828783"], ["updated_at", "2017-08-01 21:20:24.828783"]]
2327
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2328
+ Processing by IntegrationPal::WorkersController#update as HTML
2329
+ Parameters: {"worker"=>{"job_type"=>""}, "id"=>"84"}
2330
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 84], ["LIMIT", 1]]
2331
+ Unpermitted parameter: :settings
2332
+  (0.1ms) SAVEPOINT active_record_1
2333
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3 [["access_id", "fdf2c56d703ab7a28f02380befda6441"], ["id", 84], ["LIMIT", 1]]
2334
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2335
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application
2336
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application (0.2ms)
2337
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
2338
+ Completed 200 OK in 15ms (Views: 4.3ms | ActiveRecord: 0.6ms)
2339
+  (0.1ms) ROLLBACK
2340
+  (0.1ms) BEGIN
2341
+  (0.1ms) SAVEPOINT active_record_1
2342
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "2599383eeec5c21a96f600157551304c"], ["LIMIT", 1]]
2343
+ 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", "0159a1e0317f7f14d1e66c16df1cdcf7"], ["access_id", "2599383eeec5c21a96f600157551304c"], ["secret_key", "64d91b410e20df265730c122224aecb8"], ["job_type", "TestJob"], ["encrypted_settings", "rEz3Ud05vVi+jdtE/WHLFnIrBUg=\n"], ["encrypted_settings_iv", "0Ey7qnvUTuX4jGyb\n"], ["created_at", "2017-08-01 21:20:24.858759"], ["updated_at", "2017-08-01 21:20:24.858759"]]
2344
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2345
+ Processing by IntegrationPal::WorkersController#update as HTML
2346
+ Parameters: {"worker"=>{"job_type"=>""}, "id"=>"85"}
2347
+ IntegrationPal::Worker Load (0.1ms) SELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2 [["id", 85], ["LIMIT", 1]]
2348
+ Unpermitted parameter: :settings
2349
+  (0.1ms) SAVEPOINT active_record_1
2350
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3 [["access_id", "2599383eeec5c21a96f600157551304c"], ["id", 85], ["LIMIT", 1]]
2351
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2352
+ Rendering /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application
2353
+ Rendered /Users/ctanner/code/integration_pal/app/views/integration_pal/workers/edit.html.erb within layouts/integration_pal/application (0.1ms)
2354
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
2355
+ Completed 200 OK in 11ms (Views: 0.6ms | ActiveRecord: 0.6ms)
2356
+  (0.1ms) ROLLBACK
2357
+  (0.1ms) BEGIN
2358
+  (0.1ms) ROLLBACK
2359
+  (0.1ms) BEGIN
2360
+  (0.1ms) SAVEPOINT active_record_1
2361
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "33a5127528ef7e3bdd810849aced1b14"], ["LIMIT", 1]]
2362
+ 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", "ee2f95b9965aae297a3405cc5d179a64"], ["access_id", "33a5127528ef7e3bdd810849aced1b14"], ["secret_key", "bb537d9bece9f79360583e216de5f0c2"], ["job_type", "TestJob"], ["encrypted_settings", "ThYRA6NE+V0KzLpIHj5LIwqVTmQ=\n"], ["encrypted_settings_iv", "6KE3/HpykAGXN5Ei\n"], ["created_at", "2017-08-01 21:20:24.889486"], ["updated_at", "2017-08-01 21:20:24.889486"]]
2363
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2364
+  (0.1ms) ROLLBACK
2365
+  (0.1ms) BEGIN
2366
+  (0.1ms) SAVEPOINT active_record_1
2367
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "274755be9c433b6d57829c23c561a305"], ["LIMIT", 1]]
2368
+ 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", "b56ad19b2b1a10797be8004292f2121f"], ["access_id", "274755be9c433b6d57829c23c561a305"], ["secret_key", "9a955c5abddd51f37ac6551ea54915dc"], ["job_type", "TestJob"], ["encrypted_settings", "0pAlgEAJ92BDisa6hOxDexkQgfw=\n"], ["encrypted_settings_iv", "fShYLktwz59NrHZC\n"], ["created_at", "2017-08-01 21:20:24.903700"], ["updated_at", "2017-08-01 21:20:24.903700"]]
2369
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2370
+  (0.1ms) ROLLBACK
2371
+  (0.1ms) BEGIN
2372
+  (0.2ms) ROLLBACK
2373
+  (0.1ms) BEGIN
2374
+  (0.1ms) SAVEPOINT active_record_1
2375
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "c37f30ac2ec445ac04b8bfaddb31fe49"], ["LIMIT", 1]]
2376
+ 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", "fe4429d84cc7548d7affeac55fb1a063"], ["access_id", "c37f30ac2ec445ac04b8bfaddb31fe49"], ["secret_key", "fd37da1a6844680a23307bfe4c5a0a30"], ["job_type", "TestJob"], ["encrypted_settings", "BMMFcGVz8KvhtUKtXvxfR0xOqpI=\n"], ["encrypted_settings_iv", "QVUmhDwFCCI6Hl7W\n"], ["created_at", "2017-08-01 21:20:24.937526"], ["updated_at", "2017-08-01 21:20:24.937526"]]
2377
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2378
+  (0.1ms) SAVEPOINT active_record_1
2379
+ 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", 88], ["created_at", "2017-08-01 21:20:24.939480"], ["updated_at", "2017-08-01 21:20:24.939480"]]
2380
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2381
+  (0.1ms) ROLLBACK
2382
+  (0.1ms) BEGIN
2383
+  (0.1ms) SAVEPOINT active_record_1
2384
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "e8dbb05df5e1e3b42abbac15c9c90ded"], ["LIMIT", 1]]
2385
+ 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", "ae268bcb58c3fb6c3f18c4656fca20f8"], ["access_id", "e8dbb05df5e1e3b42abbac15c9c90ded"], ["secret_key", "5474f80746148a1536cf7ec2a130dcbb"], ["job_type", "TestJob"], ["encrypted_settings", "CZhqifc3z5Fk2BsxszzedBF47VI=\n"], ["encrypted_settings_iv", "PJXLX/5OyuMtMFp3\n"], ["created_at", "2017-08-01 21:20:24.955267"], ["updated_at", "2017-08-01 21:20:24.955267"]]
2386
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2387
+  (0.1ms) SAVEPOINT active_record_1
2388
+ 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", 89], ["created_at", "2017-08-01 21:20:24.956986"], ["updated_at", "2017-08-01 21:20:24.956986"]]
2389
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2390
+  (0.1ms) ROLLBACK
2391
+  (0.1ms) BEGIN
2392
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "2bd8d157055fab5ce705a7eaa3491f1d"], ["LIMIT", 1]]
2393
+  (0.1ms) ROLLBACK
2394
+  (0.1ms) BEGIN
2395
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" IS NULL LIMIT $1 [["LIMIT", 1]]
2396
+  (0.1ms) ROLLBACK
2397
+  (0.2ms) BEGIN
2398
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "e58b160f2635f76baae6ace36a08ba98"], ["LIMIT", 1]]
2399
+  (0.1ms) ROLLBACK
2400
+  (0.1ms) BEGIN
2401
+ IntegrationPal::Worker Exists (0.2ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "dfcc53c34b9cf69b23f0ae0080bacf8a"], ["LIMIT", 1]]
2402
+  (0.1ms) ROLLBACK
2403
+  (0.1ms) BEGIN
2404
+ IntegrationPal::Worker Exists (0.3ms) SELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2 [["access_id", "754d1ba7ab87b6493f167604c4a00cc5"], ["LIMIT", 1]]
2405
+  (0.1ms) ROLLBACK