topological_inventory-core 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 347c7cb316d449144a8e1808ba1a9fd99c202612df7a09c0e5083cda50bcdf7d
|
4
|
+
data.tar.gz: 0356fc633d5ec1729324ff7f6d3a657e503f045eb03697cb60cc03470bbf332f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7fa8777bf792f7478d1f618b29136756320ea6e90cf44ce38083a2ea42888ca25c0ba5ed78c95fe3f423dc6131acc93e709e0416982f857463b1a004d179607
|
7
|
+
data.tar.gz: f9b67fca9caf8ff7cf212a0293f7b53dfefaf6fe7c861b0b378f7033b410eca19673e30b04fc3d438776cd5e53d592ae1470be4e59b01cc3eed724bed78d7734
|
@@ -0,0 +1,11 @@
|
|
1
|
+
class AddForwardableHeadersRemoveRequestIdOnTask < ActiveRecord::Migration[5.2]
|
2
|
+
def up
|
3
|
+
add_column :tasks, :forwardable_headers, :jsonb
|
4
|
+
remove_column :tasks, :x_rh_insights_request
|
5
|
+
end
|
6
|
+
|
7
|
+
def down
|
8
|
+
add_column :tasks, :x_rh_insights_request, :string
|
9
|
+
remove_column :tasks, :forwardable_headers
|
10
|
+
end
|
11
|
+
end
|
data/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: 2020_05_05_101547) do
|
14
14
|
|
15
15
|
# These are extensions that must be enabled in order to support this database
|
16
16
|
enable_extension "plpgsql"
|
@@ -1190,7 +1190,7 @@ ActiveRecord::Schema.define(version: 2020_04_28_090420) do
|
|
1190
1190
|
t.string "target_source_ref"
|
1191
1191
|
t.string "target_type"
|
1192
1192
|
t.bigint "source_id"
|
1193
|
-
t.
|
1193
|
+
t.jsonb "forwardable_headers"
|
1194
1194
|
t.index ["source_id"], name: "index_tasks_on_source_id"
|
1195
1195
|
t.index ["target_type", "target_source_ref"], name: "index_tasks_on_target_type_and_target_source_ref"
|
1196
1196
|
t.index ["tenant_id"], name: "index_tasks_on_tenant_id"
|
@@ -183,7 +183,7 @@ module TopologicalInventory
|
|
183
183
|
|
184
184
|
# 2) Saving to updated records (will be published in Kafka)
|
185
185
|
# - see topological_inventory-persister:Workflow.send_task_updates_to_queue!
|
186
|
-
tasks_collection.updated_records << values.merge(:id => task.id, :
|
186
|
+
tasks_collection.updated_records << values.merge(:id => task.id, :forwardable_headers => task.forwardable_headers)
|
187
187
|
end
|
188
188
|
end
|
189
189
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: topological_inventory-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Grare
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: acts_as_tenant
|
@@ -355,6 +355,7 @@ files:
|
|
355
355
|
- db/migrate/20200403114310_add_target_and_source_to_task.rb
|
356
356
|
- db/migrate/20200414123737_extract_tasks_source_ref_from_context.rb
|
357
357
|
- db/migrate/20200428090420_add_request_id_to_task.rb
|
358
|
+
- db/migrate/20200505101547_add_forwardable_headers_remove_request_id_on_task.rb
|
358
359
|
- db/schema.rb
|
359
360
|
- db/seeds.rb
|
360
361
|
- lib/tasks/topological_inventory_tasks.rake
|
@@ -386,7 +387,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
386
387
|
- !ruby/object:Gem::Version
|
387
388
|
version: '0'
|
388
389
|
requirements: []
|
389
|
-
rubygems_version: 3.0.
|
390
|
+
rubygems_version: 3.0.8
|
390
391
|
signing_key:
|
391
392
|
specification_version: 4
|
392
393
|
summary: Core Models and Schema for the Topological Inventory Service.
|