Skip to content
This repository has been archived by the owner on Jan 8, 2022. It is now read-only.

Saving updated tasks to IC #193

Merged
merged 1 commit into from
Apr 28, 2020

Conversation

slemrmartin
Copy link
Contributor

@slemrmartin slemrmartin commented Apr 27, 2020

Issue RedHatInsights/topological_inventory-ansible_tower#83

Updated tasks are saved to inventory collections for further processing by Persister's Workflow.


dependent RedHatInsights/topological_inventory-persister#56


Gem version: 1.1.2

  • released to RubyGems


# 2) Saving to updated records (will be published in Kafka)
# - see topological_inventory-persister:Workflow.send_task_updates_to_queue!
tasks_collection.updated_records << values.merge(:id => task.id, :request_id => task.x_rh_insights_request)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

request_id => task.x_rh_insights_request

Should the key that we're setting here match the column name?

@agrare agrare merged commit 033751e into RedHatInsights:master Apr 28, 2020
@slemrmartin slemrmartin deleted the task-update-kafka branch April 28, 2020 13:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants