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 +4 -4
- data/app/controllers/integration_pal/tasks_controller.rb +62 -0
- data/app/models/concerns/integration_pal/statusable.rb +32 -0
- data/app/models/integration_pal/job.rb +2 -19
- data/app/models/integration_pal/task.rb +16 -0
- data/app/views/integration_pal/jobs/index.html.erb +2 -0
- data/app/views/integration_pal/tasks/index.html.erb +29 -0
- data/app/views/integration_pal/tasks/show.html.erb +26 -0
- data/config/routes.rb +2 -1
- data/db/migrate/20170801153911_create_integration_pal_tasks.rb +16 -0
- data/lib/integration_pal/version.rb +1 -1
- data/spec/dummy/db/schema.rb +14 -1
- data/spec/dummy/log/test.log +1461 -0
- data/spec/factories/integration_pal_tasks.rb +7 -0
- data/spec/models/integration_pal/task_spec.rb +20 -0
- metadata +12 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80040423f29a4fcef6b0484d692b920d8adf1733
|
4
|
+
data.tar.gz: a46fcfbf475673dd23a9a731606ed89ad75477a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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 %>
|
data/config/routes.rb
CHANGED
@@ -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
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -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:
|
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"
|
data/spec/dummy/log/test.log
CHANGED
@@ -942,3 +942,1464 @@ Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.4ms)
|
|
942
942
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
943
943
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
944
944
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
945
|
+
[1m[35m (3.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
946
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
947
|
+
[1m[35m (3.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
948
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
949
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
950
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
951
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
952
|
+
[1m[35m (184.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "integration_pal_test"[0m
|
953
|
+
[1m[35m (738.6ms)[0m [1m[35mCREATE DATABASE "integration_pal_test" ENCODING = 'unicode'[0m
|
954
|
+
[1m[35mSQL (2.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
955
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "integration_pal_jobs" CASCADE[0m
|
956
|
+
[1m[35m (20.2ms)[0m [1m[35mCREATE 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)[0m
|
957
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "integration_pal_workers" CASCADE[0m
|
958
|
+
[1m[35m (5.2ms)[0m [1m[35mCREATE 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)[0m
|
959
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
960
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
961
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20170531201218)[0m
|
962
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
963
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
964
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
965
|
+
[1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2017-08-01 21:17:55.914558"], ["updated_at", "2017-08-01 21:17:55.914558"]]
|
966
|
+
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
|
967
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
968
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
969
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
970
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
971
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
972
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
973
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
974
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
975
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
976
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
977
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
978
|
+
[1m[35m (204.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "integration_pal_test"[0m
|
979
|
+
[1m[35m (559.2ms)[0m [1m[35mCREATE DATABASE "integration_pal_test" ENCODING = 'unicode'[0m
|
980
|
+
[1m[35mSQL (1.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
981
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "integration_pal_jobs" CASCADE[0m
|
982
|
+
[1m[35m (19.5ms)[0m [1m[35mCREATE 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)[0m
|
983
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "integration_pal_workers" CASCADE[0m
|
984
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE 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)[0m
|
985
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
986
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
987
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20170531201218)[0m
|
988
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
989
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
990
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
991
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2017-08-01 21:17:59.023949"], ["updated_at", "2017-08-01 21:17:59.023949"]]
|
992
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
993
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
994
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
995
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
996
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
997
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
998
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
999
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1000
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1001
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1002
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1003
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1004
|
+
[1m[35m (178.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "integration_pal_test"[0m
|
1005
|
+
[1m[35m (566.8ms)[0m [1m[35mCREATE DATABASE "integration_pal_test" ENCODING = 'unicode'[0m
|
1006
|
+
[1m[35mSQL (1.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1007
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "integration_pal_jobs" CASCADE[0m
|
1008
|
+
[1m[35m (20.1ms)[0m [1m[35mCREATE 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)[0m
|
1009
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "integration_pal_workers" CASCADE[0m
|
1010
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE 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)[0m
|
1011
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1012
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1013
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20170531201218)[0m
|
1014
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1015
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1016
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1017
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2017-08-01 21:18:01.915494"], ["updated_at", "2017-08-01 21:18:01.915494"]]
|
1018
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
1019
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1020
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1021
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
1022
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1023
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1024
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(6964560810240048645);[0m
|
1025
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1026
|
+
Migrating to CreateIntegrationPalWorkers (20170524203831)
|
1027
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1028
|
+
[1m[35m (6.0ms)[0m [1m[35mCREATE 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)[0m
|
1029
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1030
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(6964560810240048645)[0m
|
1031
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1032
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1033
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1034
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1035
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1036
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1037
|
+
[1m[35m (204.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "integration_pal_test"[0m
|
1038
|
+
[1m[35m (20.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1039
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1040
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(6964560810240048645);[0m
|
1041
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1042
|
+
Migrating to CreateIntegrationPalWorkers (20170524203831)
|
1043
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1044
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE 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)[0m
|
1045
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170524203831"]]
|
1046
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
1047
|
+
Migrating to CreateIntegrationPalJobs (20170525153603)
|
1048
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1049
|
+
[1m[35m (5.5ms)[0m [1m[35mCREATE 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)[0m
|
1050
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170525153603"]]
|
1051
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
1052
|
+
Migrating to AddErrorFieldsToJobs (20170531201218)
|
1053
|
+
[1m[35m (6.2ms)[0m [1m[35mBEGIN[0m
|
1054
|
+
[1m[35m (16.8ms)[0m [1m[35mALTER TABLE "integration_pal_jobs" ADD "error" character varying[0m
|
1055
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "integration_pal_jobs" ADD "backtrace" text[0m
|
1056
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170531201218"]]
|
1057
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1058
|
+
Migrating to CreateIntegrationPalTasks (20170801153911)
|
1059
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1060
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE 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)[0m
|
1061
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170801153911"]]
|
1062
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1063
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1064
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1065
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2017-08-01 21:18:58.284789"], ["updated_at", "2017-08-01 21:18:58.284789"]]
|
1066
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
1067
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(6964560810240048645)[0m
|
1068
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1069
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1070
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1071
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1072
|
+
[1m[36mIntegrationPal::Worker Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "3c006e04c377e697d8c1e8978b23e886"], ["LIMIT", 1]]
|
1073
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1075
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1076
|
+
[1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1078
|
+
Processing by IntegrationPal::Api::V1::JobsController#show as HTML
|
1079
|
+
Parameters: {"id"=>"1"}
|
1080
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
1081
|
+
Filter chain halted as :authenticate_api rendered or redirected
|
1082
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.4ms)
|
1083
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1084
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1085
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1086
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "5410c01256fd53e10da8f546d8a30a76"], ["LIMIT", 1]]
|
1087
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1089
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1090
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "ec133de9446ed9d6f64698050c90bd79"], ["LIMIT", 1]]
|
1091
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1093
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1094
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1096
|
+
Processing by IntegrationPal::Api::V1::JobsController#show as JSON
|
1097
|
+
Parameters: {"id"=>"2"}
|
1098
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "5410c01256fd53e10da8f546d8a30a76"], ["LIMIT", 1]]
|
1099
|
+
[1m[36mIntegrationPal::Job Load (0.2ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
1100
|
+
Completed 200 OK in 10ms (Views: 0.7ms | ActiveRecord: 0.4ms)
|
1101
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1102
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1103
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1104
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "adb814edad43128055b3ac9fb3e7f38c"], ["LIMIT", 1]]
|
1105
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1107
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
1108
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1109
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "d28af2cd5e24e93f5ced8550d415b2b0"], ["LIMIT", 1]]
|
1110
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1116
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
|
1117
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
1123
|
+
[1m[35m (1.3ms)[0m [1m[31mROLLBACK[0m
|
1124
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1125
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1126
|
+
[1m[36mIntegrationPal::Worker Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "7ac5ab147695b2e5eb90512c6c4b9da4"], ["LIMIT", 1]]
|
1127
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1129
|
+
[ActiveJob] [TestJob] [8852da89-bcf0-422c-9672-6ba350fb8155] Performed TestJob (Job ID: 8852da89-bcf0-422c-9672-6ba350fb8155) from Async(default) in 25.21ms
|
1130
|
+
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1131
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "29e4551ec087fd98340e78cf47fcac94"], ["LIMIT", 1]]
|
1132
|
+
[1m[35mSQL (1.5ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1138
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
|
1139
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1146
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1147
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1148
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "384c7f5157c5b8b5eb16b3ae89dc7985"], ["LIMIT", 1]]
|
1149
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1151
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1156
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
1157
|
+
Completed 422 Unprocessable Entity in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1158
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
1159
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1160
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1161
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1162
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "e31b639d7f8535433a21000d80282d00"], ["LIMIT", 1]]
|
1163
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1165
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1166
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1175
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1176
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1177
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "4a58a3aa823b8c952ff38895f718f35b"], ["LIMIT", 1]]
|
1178
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1180
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1181
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mIntegrationPal::Job Load (0.5ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" ORDER BY created_at DESC[0m
|
1189
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1190
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1191
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
1192
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1193
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "6b44bf2e0fe1b095105491d0367d9c7e"], ["LIMIT", 1]]
|
1194
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1200
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
|
1201
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1203
|
+
Redirected to http://test.host/integration_pal/jobs/7
|
1204
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.6ms)
|
1205
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
1206
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1207
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1208
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1209
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "071b7e2a1250a33d9d1c26550c71e912"], ["LIMIT", 1]]
|
1210
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1216
|
+
[1m[36mIntegrationPal::Worker Load (0.3ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
|
1217
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1219
|
+
Redirected to http://test.host/integration_pal/jobs/8
|
1220
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
1221
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1222
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1223
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1228
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
1234
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1235
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1236
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1237
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "7bfe1195976ce5ac117b6ae0fabfaf19"], ["LIMIT", 1]]
|
1238
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1240
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1241
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1243
|
+
Processing by IntegrationPal::JobsController#update as HTML
|
1244
|
+
Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"9"}
|
1245
|
+
[1m[36mIntegrationPal::Job Load (0.1ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
|
1246
|
+
Unpermitted parameter: :name
|
1247
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1248
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
|
1249
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1250
|
+
Redirected to http://test.host/integration_pal/jobs/9
|
1251
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
1252
|
+
[1m[36mIntegrationPal::Job Load (0.2ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
|
1253
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1254
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1255
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1256
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "4ab3868babe1452ff9f34aa084d1640f"], ["LIMIT", 1]]
|
1257
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1259
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1260
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1262
|
+
Processing by IntegrationPal::JobsController#update as HTML
|
1263
|
+
Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"10"}
|
1264
|
+
[1m[36mIntegrationPal::Job Load (0.2ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
|
1265
|
+
Unpermitted parameter: :name
|
1266
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1267
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
|
1268
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1269
|
+
Redirected to http://test.host/integration_pal/jobs/10
|
1270
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
1271
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1272
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1273
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1274
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "ccfce426b14c23c1bfc4b92f594beb84"], ["LIMIT", 1]]
|
1275
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1277
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1278
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1280
|
+
Processing by IntegrationPal::JobsController#update as HTML
|
1281
|
+
Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"11"}
|
1282
|
+
[1m[36mIntegrationPal::Job Load (0.2ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
|
1283
|
+
Unpermitted parameter: :name
|
1284
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1285
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
|
1286
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1287
|
+
Redirected to http://test.host/integration_pal/jobs/11
|
1288
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
1289
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1290
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1291
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1292
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "f142f84b10368729e2694f24708b3e65"], ["LIMIT", 1]]
|
1293
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1295
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1296
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1298
|
+
Processing by IntegrationPal::JobsController#update as HTML
|
1299
|
+
Parameters: {"job"=>{"worker_id"=>""}, "id"=>"12"}
|
1300
|
+
[1m[36mIntegrationPal::Job Load (0.2ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
|
1301
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1302
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1308
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1309
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1310
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "a4f2cd301c62647096587eaf98eae362"], ["LIMIT", 1]]
|
1311
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1313
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1314
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1316
|
+
Processing by IntegrationPal::JobsController#update as HTML
|
1317
|
+
Parameters: {"job"=>{"worker_id"=>""}, "id"=>"13"}
|
1318
|
+
[1m[36mIntegrationPal::Job Load (0.2ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
|
1319
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1320
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1326
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1327
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1328
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "f286c01c49a44d94270ea209df5ff394"], ["LIMIT", 1]]
|
1329
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1338
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1339
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1340
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "6d046e8fa251fc8fdcb18d58d6b6cd3d"], ["LIMIT", 1]]
|
1341
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers"[0m
|
1349
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1350
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1351
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_workers"[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1356
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "052e3302e6d31522f26435fc6bfe29b8"], ["LIMIT", 1]]
|
1357
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1359
|
+
Redirected to http://test.host/integration_pal/workers/20
|
1360
|
+
Completed 302 Found in 13ms (ActiveRecord: 0.8ms)
|
1361
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_workers"[0m
|
1362
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1363
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1368
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "b863862213131c7baeecf4a91ff17a82"], ["LIMIT", 1]]
|
1369
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1371
|
+
Redirected to http://test.host/integration_pal/workers/21
|
1372
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.7ms)
|
1373
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1374
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1375
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_workers"[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1380
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "b710349d348464a7b77d7beec8d0bca9"], ["LIMIT", 1]]
|
1381
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_workers"[0m
|
1387
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1388
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1389
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1390
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "0f6e91605a61611366a5f25d7c295f72"], ["LIMIT", 1]]
|
1391
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1393
|
+
Processing by IntegrationPal::WorkersController#update as HTML
|
1394
|
+
Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"22"}
|
1395
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
|
1396
|
+
Unpermitted parameter: :settings
|
1397
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1398
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3[0m [["access_id", "0f6e91605a61611366a5f25d7c295f72"], ["id", 22], ["LIMIT", 1]]
|
1399
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "integration_pal_workers" SET "encrypted_settings" = $1, "encrypted_settings_iv" = $2, "name" = $3, "updated_at" = $4 WHERE "integration_pal_workers"."id" = $5[0m [["encrypted_settings", "evPKXkRcAhpARc4JFui8J3mIRI4=\n"], ["encrypted_settings_iv", "GBHn9Kp3ZegSKcTB\n"], ["name", "New Name"], ["updated_at", "2017-08-01 21:19:06.894515"], ["id", 22]]
|
1400
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1401
|
+
Redirected to http://test.host/integration_pal/workers/22
|
1402
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.9ms)
|
1403
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
|
1404
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1405
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1406
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1407
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "8207b844b596e6638b509269e8bc36fa"], ["LIMIT", 1]]
|
1408
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1410
|
+
Processing by IntegrationPal::WorkersController#update as HTML
|
1411
|
+
Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"23"}
|
1412
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
|
1413
|
+
Unpermitted parameter: :settings
|
1414
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1415
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3[0m [["access_id", "8207b844b596e6638b509269e8bc36fa"], ["id", 23], ["LIMIT", 1]]
|
1416
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "integration_pal_workers" SET "encrypted_settings" = $1, "encrypted_settings_iv" = $2, "name" = $3, "updated_at" = $4 WHERE "integration_pal_workers"."id" = $5[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1418
|
+
Redirected to http://test.host/integration_pal/workers/23
|
1419
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.7ms)
|
1420
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1421
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1422
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1423
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "4bad78f539f84b0cf14103af9d03e75b"], ["LIMIT", 1]]
|
1424
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1426
|
+
Processing by IntegrationPal::WorkersController#update as HTML
|
1427
|
+
Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"24"}
|
1428
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
|
1429
|
+
Unpermitted parameter: :settings
|
1430
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1431
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3[0m [["access_id", "4bad78f539f84b0cf14103af9d03e75b"], ["id", 24], ["LIMIT", 1]]
|
1432
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "integration_pal_workers" SET "encrypted_settings" = $1, "encrypted_settings_iv" = $2, "name" = $3, "updated_at" = $4 WHERE "integration_pal_workers"."id" = $5[0m [["encrypted_settings", "MxSbH0LKYgNXmOuHgtQU1EcO9vo=\n"], ["encrypted_settings_iv", "z9UUbMbH96GV0wtV\n"], ["name", "New Name"], ["updated_at", "2017-08-01 21:19:06.951305"], ["id", 24]]
|
1433
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1434
|
+
Redirected to http://test.host/integration_pal/workers/24
|
1435
|
+
Completed 302 Found in 13ms (ActiveRecord: 0.9ms)
|
1436
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1437
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1438
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1439
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "c99e40a99dfe3fc77bcda6e4c65cad21"], ["LIMIT", 1]]
|
1440
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1442
|
+
Processing by IntegrationPal::WorkersController#update as HTML
|
1443
|
+
Parameters: {"worker"=>{"job_type"=>""}, "id"=>"25"}
|
1444
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
|
1445
|
+
Unpermitted parameter: :settings
|
1446
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1447
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3[0m [["access_id", "c99e40a99dfe3fc77bcda6e4c65cad21"], ["id", 25], ["LIMIT", 1]]
|
1448
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1454
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1455
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1456
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "1243fe7750ddf54f36451e231135b5f3"], ["LIMIT", 1]]
|
1457
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1459
|
+
Processing by IntegrationPal::WorkersController#update as HTML
|
1460
|
+
Parameters: {"worker"=>{"job_type"=>""}, "id"=>"26"}
|
1461
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 26], ["LIMIT", 1]]
|
1462
|
+
Unpermitted parameter: :settings
|
1463
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1464
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3[0m [["access_id", "1243fe7750ddf54f36451e231135b5f3"], ["id", 26], ["LIMIT", 1]]
|
1465
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1471
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1472
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1473
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1474
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1475
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "6a7908eef8d2da9e65c7e2ecf9f46ae1"], ["LIMIT", 1]]
|
1476
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1478
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1479
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1480
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1481
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "49856217eae09182290dbc7cd5987227"], ["LIMIT", 1]]
|
1482
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1484
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1485
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1486
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1487
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1488
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1489
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1490
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1491
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1492
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "7f0183b4c2547f839e13664481c3ff52"], ["LIMIT", 1]]
|
1493
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1494
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1495
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
1496
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1497
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1498
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "8e9caf04db98a312a1555d0d144176df"], ["LIMIT", 1]]
|
1499
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1500
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1501
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "1f5919aac2f2a611383b6bcc5123869c"], ["LIMIT", 1]]
|
1502
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1503
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1504
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "b325cb73aba6015586c912edf59a0d9f"], ["LIMIT", 1]]
|
1505
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1506
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1507
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1508
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1509
|
+
[1m[36mIntegrationPal::Worker Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "c55b1c0043a3a6a5f4afa4bd39d31f49"], ["LIMIT", 1]]
|
1510
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1512
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1513
|
+
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1515
|
+
Processing by IntegrationPal::Api::V1::JobsController#show as HTML
|
1516
|
+
Parameters: {"id"=>"14"}
|
1517
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
1518
|
+
Filter chain halted as :authenticate_api rendered or redirected
|
1519
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms)
|
1520
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1521
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1522
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1523
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "652ba6de656a0b85eb8875981be2da95"], ["LIMIT", 1]]
|
1524
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1526
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1527
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "8bb3b18731dd5afb73a5b3f141e242fd"], ["LIMIT", 1]]
|
1528
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1530
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1531
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1533
|
+
Processing by IntegrationPal::Api::V1::JobsController#show as JSON
|
1534
|
+
Parameters: {"id"=>"15"}
|
1535
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "652ba6de656a0b85eb8875981be2da95"], ["LIMIT", 1]]
|
1536
|
+
[1m[36mIntegrationPal::Job Load (0.9ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
|
1537
|
+
Completed 200 OK in 11ms (Views: 0.8ms | ActiveRecord: 1.1ms)
|
1538
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1539
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1540
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1541
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "60b6efdb0ae8cfa6dc3ba7d7d823a739"], ["LIMIT", 1]]
|
1542
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1544
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
1545
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1546
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "e0954e58f575f977624fae5ebbcb45c7"], ["LIMIT", 1]]
|
1547
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1553
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 33], ["LIMIT", 1]]
|
1554
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
1560
|
+
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
|
1561
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1562
|
+
[ActiveJob] [TestJob] [f7fb17b5-db54-4016-9f66-b57d6cbc6141] Performed TestJob (Job ID: f7fb17b5-db54-4016-9f66-b57d6cbc6141) from Async(default) in 16.56ms
|
1563
|
+
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1564
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "a63a1976ebb2e98508c70dfcd9edd30b"], ["LIMIT", 1]]
|
1565
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1567
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1568
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "1d7a24b14796c82558ecb9c0e05ab31f"], ["LIMIT", 1]]
|
1569
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1575
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 35], ["LIMIT", 1]]
|
1576
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
|
1583
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1584
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1585
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "6ddc808e56bdcddee5fb598ffd41dbeb"], ["LIMIT", 1]]
|
1586
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1588
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1593
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
1594
|
+
Completed 422 Unprocessable Entity in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1595
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
1596
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1597
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1598
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1599
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "175f3315bd29ce684e0f02fbaca3c901"], ["LIMIT", 1]]
|
1600
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1602
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1603
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1612
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1613
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1614
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "d9b0a16e89294af78ddda79719976910"], ["LIMIT", 1]]
|
1615
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1617
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1618
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mIntegrationPal::Job Load (0.5ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" ORDER BY created_at DESC[0m
|
1626
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1627
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1628
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
1629
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1630
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "d947d08fffbe64adcedd00c2c0d43fde"], ["LIMIT", 1]]
|
1631
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 39], ["LIMIT", 1]]
|
1638
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1640
|
+
Redirected to http://test.host/integration_pal/jobs/20
|
1641
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
1642
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
1643
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1644
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1645
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1646
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "37fb8d712dae14ec50199c5ef244a145"], ["LIMIT", 1]]
|
1647
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1653
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 40], ["LIMIT", 1]]
|
1654
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1656
|
+
Redirected to http://test.host/integration_pal/jobs/21
|
1657
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
1658
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1659
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1660
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1665
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
1671
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1672
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1673
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1674
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "cb6bc549312b92c6707c819abac19559"], ["LIMIT", 1]]
|
1675
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1677
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1678
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1680
|
+
Processing by IntegrationPal::JobsController#update as HTML
|
1681
|
+
Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"22"}
|
1682
|
+
[1m[36mIntegrationPal::Job Load (0.2ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
|
1683
|
+
Unpermitted parameter: :name
|
1684
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1685
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 41], ["LIMIT", 1]]
|
1686
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1687
|
+
Redirected to http://test.host/integration_pal/jobs/22
|
1688
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
1689
|
+
[1m[36mIntegrationPal::Job Load (0.2ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
|
1690
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1691
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1692
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1693
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "49f53d2b1099e7cc832a6b56c6db38d5"], ["LIMIT", 1]]
|
1694
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1696
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1697
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1699
|
+
Processing by IntegrationPal::JobsController#update as HTML
|
1700
|
+
Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"23"}
|
1701
|
+
[1m[36mIntegrationPal::Job Load (0.2ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
|
1702
|
+
Unpermitted parameter: :name
|
1703
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1704
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 42], ["LIMIT", 1]]
|
1705
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1706
|
+
Redirected to http://test.host/integration_pal/jobs/23
|
1707
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
1708
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1709
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1710
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1711
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "cf170b98f747e5ee5b7f340ed2982c61"], ["LIMIT", 1]]
|
1712
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1714
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1715
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1717
|
+
Processing by IntegrationPal::JobsController#update as HTML
|
1718
|
+
Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"24"}
|
1719
|
+
[1m[36mIntegrationPal::Job Load (0.2ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
|
1720
|
+
Unpermitted parameter: :name
|
1721
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1722
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 43], ["LIMIT", 1]]
|
1723
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1724
|
+
Redirected to http://test.host/integration_pal/jobs/24
|
1725
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.5ms)
|
1726
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1727
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1728
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1729
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "4d63dfb619b5e743cf6fad4456d2bba1"], ["LIMIT", 1]]
|
1730
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1732
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1733
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1735
|
+
Processing by IntegrationPal::JobsController#update as HTML
|
1736
|
+
Parameters: {"job"=>{"worker_id"=>""}, "id"=>"25"}
|
1737
|
+
[1m[36mIntegrationPal::Job Load (0.2ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
|
1738
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1739
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1745
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1746
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1747
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "99b00cd0118d5fa81bc1a930ef572e6a"], ["LIMIT", 1]]
|
1748
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1750
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1751
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1753
|
+
Processing by IntegrationPal::JobsController#update as HTML
|
1754
|
+
Parameters: {"job"=>{"worker_id"=>""}, "id"=>"26"}
|
1755
|
+
[1m[36mIntegrationPal::Job Load (0.1ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 26], ["LIMIT", 1]]
|
1756
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1757
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1763
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1764
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1765
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "3387f2c4d403e51f3c30e6e627cb1a5d"], ["LIMIT", 1]]
|
1766
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1775
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1776
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1777
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "3e8d637e0805f2b4ff97fc01a8b7cb62"], ["LIMIT", 1]]
|
1778
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mIntegrationPal::Worker Load (0.3ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers"[0m
|
1786
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1787
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1788
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_workers"[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1793
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "1ea92722219e11b8d99418c91b77c1bc"], ["LIMIT", 1]]
|
1794
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1796
|
+
Redirected to http://test.host/integration_pal/workers/48
|
1797
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.7ms)
|
1798
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_workers"[0m
|
1799
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1800
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1805
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "e4d8b1128bf55b189340dc96e3eb4097"], ["LIMIT", 1]]
|
1806
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1808
|
+
Redirected to http://test.host/integration_pal/workers/49
|
1809
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.7ms)
|
1810
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1811
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1812
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_workers"[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1817
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "3b3aad04dc827962ace5875310e04629"], ["LIMIT", 1]]
|
1818
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_workers"[0m
|
1824
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1825
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1826
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1827
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "7bf38a8f5326cf2c9b9dcbda652f5afe"], ["LIMIT", 1]]
|
1828
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1830
|
+
Processing by IntegrationPal::WorkersController#update as HTML
|
1831
|
+
Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"50"}
|
1832
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 50], ["LIMIT", 1]]
|
1833
|
+
Unpermitted parameter: :settings
|
1834
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1835
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3[0m [["access_id", "7bf38a8f5326cf2c9b9dcbda652f5afe"], ["id", 50], ["LIMIT", 1]]
|
1836
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "integration_pal_workers" SET "encrypted_settings" = $1, "encrypted_settings_iv" = $2, "name" = $3, "updated_at" = $4 WHERE "integration_pal_workers"."id" = $5[0m [["encrypted_settings", "gTYbUHlYsRIOY3snQJzz1PbS8r4=\n"], ["encrypted_settings_iv", "t8FLJj77bBU64juk\n"], ["name", "New Name"], ["updated_at", "2017-08-01 21:19:55.628710"], ["id", 50]]
|
1837
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1838
|
+
Redirected to http://test.host/integration_pal/workers/50
|
1839
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.9ms)
|
1840
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 50], ["LIMIT", 1]]
|
1841
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1842
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1843
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1844
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "0745c0898fcb766f97ff28ac708b828c"], ["LIMIT", 1]]
|
1845
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1847
|
+
Processing by IntegrationPal::WorkersController#update as HTML
|
1848
|
+
Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"51"}
|
1849
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 51], ["LIMIT", 1]]
|
1850
|
+
Unpermitted parameter: :settings
|
1851
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1852
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3[0m [["access_id", "0745c0898fcb766f97ff28ac708b828c"], ["id", 51], ["LIMIT", 1]]
|
1853
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "integration_pal_workers" SET "encrypted_settings" = $1, "encrypted_settings_iv" = $2, "name" = $3, "updated_at" = $4 WHERE "integration_pal_workers"."id" = $5[0m [["encrypted_settings", "N3ISAMSBidVcDa5zn8XnN4IrVeI=\n"], ["encrypted_settings_iv", "4ooRFhnULeTfOM1Q\n"], ["name", "New Name"], ["updated_at", "2017-08-01 21:19:55.659074"], ["id", 51]]
|
1854
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1855
|
+
Redirected to http://test.host/integration_pal/workers/51
|
1856
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
|
1857
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1858
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1859
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1860
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "26b155d8c89ad84f45e09fc34492d041"], ["LIMIT", 1]]
|
1861
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1863
|
+
Processing by IntegrationPal::WorkersController#update as HTML
|
1864
|
+
Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"52"}
|
1865
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 52], ["LIMIT", 1]]
|
1866
|
+
Unpermitted parameter: :settings
|
1867
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1868
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3[0m [["access_id", "26b155d8c89ad84f45e09fc34492d041"], ["id", 52], ["LIMIT", 1]]
|
1869
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "integration_pal_workers" SET "encrypted_settings" = $1, "encrypted_settings_iv" = $2, "name" = $3, "updated_at" = $4 WHERE "integration_pal_workers"."id" = $5[0m [["encrypted_settings", "RkUFMsazmYPeoETc7NgyG8fiKR0=\n"], ["encrypted_settings_iv", "msSuTRC9xpIL2nBI\n"], ["name", "New Name"], ["updated_at", "2017-08-01 21:19:55.685481"], ["id", 52]]
|
1870
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1871
|
+
Redirected to http://test.host/integration_pal/workers/52
|
1872
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.7ms)
|
1873
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1874
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1875
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1876
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "65efce81bfa3435a65d7ccdb20bcd763"], ["LIMIT", 1]]
|
1877
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1879
|
+
Processing by IntegrationPal::WorkersController#update as HTML
|
1880
|
+
Parameters: {"worker"=>{"job_type"=>""}, "id"=>"53"}
|
1881
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 53], ["LIMIT", 1]]
|
1882
|
+
Unpermitted parameter: :settings
|
1883
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1884
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3[0m [["access_id", "65efce81bfa3435a65d7ccdb20bcd763"], ["id", 53], ["LIMIT", 1]]
|
1885
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1891
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1892
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1893
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "04f85e4cdfc09133d86345ff7df8cbca"], ["LIMIT", 1]]
|
1894
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1896
|
+
Processing by IntegrationPal::WorkersController#update as HTML
|
1897
|
+
Parameters: {"worker"=>{"job_type"=>""}, "id"=>"54"}
|
1898
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 54], ["LIMIT", 1]]
|
1899
|
+
Unpermitted parameter: :settings
|
1900
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1901
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3[0m [["access_id", "04f85e4cdfc09133d86345ff7df8cbca"], ["id", 54], ["LIMIT", 1]]
|
1902
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1908
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1909
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1910
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1911
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1912
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "60fa95b0d0afb1f0ea2b690f6d33fbbb"], ["LIMIT", 1]]
|
1913
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1915
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1916
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1917
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1918
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "6fb582b7f663713ea80468b5d18b3d04"], ["LIMIT", 1]]
|
1919
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1921
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1922
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1923
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1924
|
+
[1m[36mIntegrationPal::Worker Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "e4c8f9f0d29fccb08fa10f2cfd5095e0"], ["LIMIT", 1]]
|
1925
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1927
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1928
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1929
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1930
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "a2e79c5504a01b3bea948094b32a8458"], ["LIMIT", 1]]
|
1931
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1933
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1934
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1935
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1936
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "551a5a6cf331d1eab1b8de8566b5786d"], ["LIMIT", 1]]
|
1937
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1939
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1940
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1941
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "7b7969be62aef3db7678dd68c3d9e578"], ["LIMIT", 1]]
|
1942
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1943
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1944
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
1945
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1946
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1947
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "22af4b2ef8384cdea5d2cd552d3eccfa"], ["LIMIT", 1]]
|
1948
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1949
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1950
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "aa23c5a9f4ece6c30a20673fd3a633fe"], ["LIMIT", 1]]
|
1951
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1952
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1953
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "421d575f9636b834ca8bbe1582bce223"], ["LIMIT", 1]]
|
1954
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1955
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1956
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1957
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1958
|
+
[1m[36mIntegrationPal::Worker Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "c95e2081008f46a5f31b93339e4662e2"], ["LIMIT", 1]]
|
1959
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1961
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1962
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1964
|
+
Processing by IntegrationPal::Api::V1::JobsController#show as HTML
|
1965
|
+
Parameters: {"id"=>"27"}
|
1966
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
1967
|
+
Filter chain halted as :authenticate_api rendered or redirected
|
1968
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms)
|
1969
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1970
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1971
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1972
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "7642e44eaca4efe7b2968a24facfa929"], ["LIMIT", 1]]
|
1973
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1975
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1976
|
+
[1m[36mIntegrationPal::Worker Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "f194205f509d6e16a10c0033b151b38c"], ["LIMIT", 1]]
|
1977
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1979
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1980
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1982
|
+
Processing by IntegrationPal::Api::V1::JobsController#show as JSON
|
1983
|
+
Parameters: {"id"=>"28"}
|
1984
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "7642e44eaca4efe7b2968a24facfa929"], ["LIMIT", 1]]
|
1985
|
+
[1m[36mIntegrationPal::Job Load (0.4ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 28], ["LIMIT", 1]]
|
1986
|
+
Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 0.7ms)
|
1987
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1988
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1989
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1990
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "d924157cecc07c20086c2f602a2124fa"], ["LIMIT", 1]]
|
1991
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1993
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
1994
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1995
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "320cae22a077421bfcb1d79a5d5964d4"], ["LIMIT", 1]]
|
1996
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2002
|
+
[1m[36mIntegrationPal::Worker Load (0.3ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 64], ["LIMIT", 1]]
|
2003
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
2009
|
+
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
|
2010
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2011
|
+
[ActiveJob] [TestJob] [31f2b461-f379-490f-8539-514f3d69e1e4] Performed TestJob (Job ID: 31f2b461-f379-490f-8539-514f3d69e1e4) from Async(default) in 15.33ms
|
2012
|
+
[1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2013
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "6e00e529f4f4e990f6140e26e40f6ad5"], ["LIMIT", 1]]
|
2014
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2016
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2017
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "9311dcbbf48d84c1ce1ba44dbf855d70"], ["LIMIT", 1]]
|
2018
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2024
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 66], ["LIMIT", 1]]
|
2025
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2032
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2033
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2034
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "be050b75a5e56acf09b234038e35bd68"], ["LIMIT", 1]]
|
2035
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2037
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2042
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2043
|
+
Completed 422 Unprocessable Entity in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
2044
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
2045
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2046
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2047
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2048
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "70ebcbf56a7327c54859f262c8d52b53"], ["LIMIT", 1]]
|
2049
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2051
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2052
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2061
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2062
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2063
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "4ad6908dd0a8aa9cd7b2c154d8835c16"], ["LIMIT", 1]]
|
2064
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2066
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2067
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mIntegrationPal::Job Load (0.5ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" ORDER BY created_at DESC[0m
|
2075
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2076
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2077
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
2078
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2079
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "5fec08dc5d848eca1cef096e62e75461"], ["LIMIT", 1]]
|
2080
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2086
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 70], ["LIMIT", 1]]
|
2087
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2089
|
+
Redirected to http://test.host/integration_pal/jobs/33
|
2090
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.6ms)
|
2091
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
2092
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2093
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2094
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2095
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "a532db08c3ed9e896093e460dc5febbb"], ["LIMIT", 1]]
|
2096
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2102
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 71], ["LIMIT", 1]]
|
2103
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2105
|
+
Redirected to http://test.host/integration_pal/jobs/34
|
2106
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
2107
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2108
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2109
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2114
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_jobs"[0m
|
2120
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2121
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2122
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2123
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "af61657693cf0d191bb7846f735785ba"], ["LIMIT", 1]]
|
2124
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2126
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2127
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2129
|
+
Processing by IntegrationPal::JobsController#update as HTML
|
2130
|
+
Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"35"}
|
2131
|
+
[1m[36mIntegrationPal::Job Load (0.2ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 35], ["LIMIT", 1]]
|
2132
|
+
Unpermitted parameter: :name
|
2133
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2134
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 72], ["LIMIT", 1]]
|
2135
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2136
|
+
Redirected to http://test.host/integration_pal/jobs/35
|
2137
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
2138
|
+
[1m[36mIntegrationPal::Job Load (0.2ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 35], ["LIMIT", 1]]
|
2139
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2140
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2141
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2142
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "06ec52dc541540d9da02956a183797e3"], ["LIMIT", 1]]
|
2143
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2145
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2146
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2148
|
+
Processing by IntegrationPal::JobsController#update as HTML
|
2149
|
+
Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"36"}
|
2150
|
+
[1m[36mIntegrationPal::Job Load (0.2ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 36], ["LIMIT", 1]]
|
2151
|
+
Unpermitted parameter: :name
|
2152
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2153
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 73], ["LIMIT", 1]]
|
2154
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2155
|
+
Redirected to http://test.host/integration_pal/jobs/36
|
2156
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
2157
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2158
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2159
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2160
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "d72d2bb5ee971da973167768ec93d376"], ["LIMIT", 1]]
|
2161
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2163
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2164
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2166
|
+
Processing by IntegrationPal::JobsController#update as HTML
|
2167
|
+
Parameters: {"job"=>{"name"=>"New Name"}, "id"=>"37"}
|
2168
|
+
[1m[36mIntegrationPal::Job Load (0.2ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 37], ["LIMIT", 1]]
|
2169
|
+
Unpermitted parameter: :name
|
2170
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2171
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 74], ["LIMIT", 1]]
|
2172
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2173
|
+
Redirected to http://test.host/integration_pal/jobs/37
|
2174
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
2175
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2176
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2177
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2178
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "624965acf2ec23b7c9fe0346bb1b8093"], ["LIMIT", 1]]
|
2179
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2181
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2182
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2184
|
+
Processing by IntegrationPal::JobsController#update as HTML
|
2185
|
+
Parameters: {"job"=>{"worker_id"=>""}, "id"=>"38"}
|
2186
|
+
[1m[36mIntegrationPal::Job Load (0.2ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 38], ["LIMIT", 1]]
|
2187
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2188
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2194
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2195
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2196
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "0ce7b0438e53ded2ef16171856b39766"], ["LIMIT", 1]]
|
2197
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2199
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2200
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2202
|
+
Processing by IntegrationPal::JobsController#update as HTML
|
2203
|
+
Parameters: {"job"=>{"worker_id"=>""}, "id"=>"39"}
|
2204
|
+
[1m[36mIntegrationPal::Job Load (0.1ms)[0m [1m[34mSELECT "integration_pal_jobs".* FROM "integration_pal_jobs" WHERE "integration_pal_jobs"."id" = $1 LIMIT $2[0m [["id", 39], ["LIMIT", 1]]
|
2205
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2206
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2212
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
2213
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2214
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "6bf9167b277d6cc6d237c8d7f3fdb001"], ["LIMIT", 1]]
|
2215
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2224
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2225
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2226
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "e395b25069c1fa361e73e7155dd74879"], ["LIMIT", 1]]
|
2227
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mIntegrationPal::Worker Load (0.2ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers"[0m
|
2235
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2236
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2237
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_workers"[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2242
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "e58d0a060906493498ee4ac6ae5a3ad1"], ["LIMIT", 1]]
|
2243
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2245
|
+
Redirected to http://test.host/integration_pal/workers/79
|
2246
|
+
Completed 302 Found in 13ms (ActiveRecord: 0.7ms)
|
2247
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_workers"[0m
|
2248
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2249
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2254
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "592a74c65cfdc841ac59b53e217f7f01"], ["LIMIT", 1]]
|
2255
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2257
|
+
Redirected to http://test.host/integration_pal/workers/80
|
2258
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.7ms)
|
2259
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2260
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2261
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_workers"[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2266
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "d616523735ad87af2b3b85be0ceb1c41"], ["LIMIT", 1]]
|
2267
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "integration_pal_workers"[0m
|
2273
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2274
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2275
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2276
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "c3220537f145efa2674e72834f9e71a7"], ["LIMIT", 1]]
|
2277
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2279
|
+
Processing by IntegrationPal::WorkersController#update as HTML
|
2280
|
+
Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"81"}
|
2281
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 81], ["LIMIT", 1]]
|
2282
|
+
Unpermitted parameter: :settings
|
2283
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2284
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3[0m [["access_id", "c3220537f145efa2674e72834f9e71a7"], ["id", 81], ["LIMIT", 1]]
|
2285
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "integration_pal_workers" SET "encrypted_settings" = $1, "encrypted_settings_iv" = $2, "name" = $3, "updated_at" = $4 WHERE "integration_pal_workers"."id" = $5[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2287
|
+
Redirected to http://test.host/integration_pal/workers/81
|
2288
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
|
2289
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 81], ["LIMIT", 1]]
|
2290
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2291
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2292
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2293
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "394b669e799bf316271ad119ff4c1dd0"], ["LIMIT", 1]]
|
2294
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2296
|
+
Processing by IntegrationPal::WorkersController#update as HTML
|
2297
|
+
Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"82"}
|
2298
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 82], ["LIMIT", 1]]
|
2299
|
+
Unpermitted parameter: :settings
|
2300
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2301
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3[0m [["access_id", "394b669e799bf316271ad119ff4c1dd0"], ["id", 82], ["LIMIT", 1]]
|
2302
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "integration_pal_workers" SET "encrypted_settings" = $1, "encrypted_settings_iv" = $2, "name" = $3, "updated_at" = $4 WHERE "integration_pal_workers"."id" = $5[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2304
|
+
Redirected to http://test.host/integration_pal/workers/82
|
2305
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.8ms)
|
2306
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2307
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2308
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2309
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "e652920aaa1a06dcaced668dc440b9a3"], ["LIMIT", 1]]
|
2310
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2312
|
+
Processing by IntegrationPal::WorkersController#update as HTML
|
2313
|
+
Parameters: {"worker"=>{"name"=>"New Name"}, "id"=>"83"}
|
2314
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 83], ["LIMIT", 1]]
|
2315
|
+
Unpermitted parameter: :settings
|
2316
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2317
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3[0m [["access_id", "e652920aaa1a06dcaced668dc440b9a3"], ["id", 83], ["LIMIT", 1]]
|
2318
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "integration_pal_workers" SET "encrypted_settings" = $1, "encrypted_settings_iv" = $2, "name" = $3, "updated_at" = $4 WHERE "integration_pal_workers"."id" = $5[0m [["encrypted_settings", "yD2duGGGjuDMRT1Mw8HUiadALNg=\n"], ["encrypted_settings_iv", "soxaCZpGgvPOhuGr\n"], ["name", "New Name"], ["updated_at", "2017-08-01 21:20:24.813133"], ["id", 83]]
|
2319
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2320
|
+
Redirected to http://test.host/integration_pal/workers/83
|
2321
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
|
2322
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2323
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2324
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2325
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "fdf2c56d703ab7a28f02380befda6441"], ["LIMIT", 1]]
|
2326
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2328
|
+
Processing by IntegrationPal::WorkersController#update as HTML
|
2329
|
+
Parameters: {"worker"=>{"job_type"=>""}, "id"=>"84"}
|
2330
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 84], ["LIMIT", 1]]
|
2331
|
+
Unpermitted parameter: :settings
|
2332
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2333
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3[0m [["access_id", "fdf2c56d703ab7a28f02380befda6441"], ["id", 84], ["LIMIT", 1]]
|
2334
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2340
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2341
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2342
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "2599383eeec5c21a96f600157551304c"], ["LIMIT", 1]]
|
2343
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2345
|
+
Processing by IntegrationPal::WorkersController#update as HTML
|
2346
|
+
Parameters: {"worker"=>{"job_type"=>""}, "id"=>"85"}
|
2347
|
+
[1m[36mIntegrationPal::Worker Load (0.1ms)[0m [1m[34mSELECT "integration_pal_workers".* FROM "integration_pal_workers" WHERE "integration_pal_workers"."id" = $1 LIMIT $2[0m [["id", 85], ["LIMIT", 1]]
|
2348
|
+
Unpermitted parameter: :settings
|
2349
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2350
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 AND ("integration_pal_workers"."id" != $2) LIMIT $3[0m [["access_id", "2599383eeec5c21a96f600157551304c"], ["id", 85], ["LIMIT", 1]]
|
2351
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2357
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2358
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2359
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2360
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2361
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "33a5127528ef7e3bdd810849aced1b14"], ["LIMIT", 1]]
|
2362
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2364
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2365
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2366
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2367
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "274755be9c433b6d57829c23c561a305"], ["LIMIT", 1]]
|
2368
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2370
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2371
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2372
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2373
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2374
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2375
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "c37f30ac2ec445ac04b8bfaddb31fe49"], ["LIMIT", 1]]
|
2376
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2378
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2379
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2381
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2382
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2383
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2384
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "e8dbb05df5e1e3b42abbac15c9c90ded"], ["LIMIT", 1]]
|
2385
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2387
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2388
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "integration_pal_jobs" ("job_params", "status", "progress", "worker_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2390
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2391
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2392
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "2bd8d157055fab5ce705a7eaa3491f1d"], ["LIMIT", 1]]
|
2393
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2394
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2395
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
2396
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2397
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2398
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "e58b160f2635f76baae6ace36a08ba98"], ["LIMIT", 1]]
|
2399
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2400
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2401
|
+
[1m[36mIntegrationPal::Worker Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "dfcc53c34b9cf69b23f0ae0080bacf8a"], ["LIMIT", 1]]
|
2402
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2403
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2404
|
+
[1m[36mIntegrationPal::Worker Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "integration_pal_workers" WHERE "integration_pal_workers"."access_id" = $1 LIMIT $2[0m [["access_id", "754d1ba7ab87b6493f167604c4a00cc5"], ["LIMIT", 1]]
|
2405
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|