Closed pacospace closed 3 years ago
/kind feature
What should the contents of InspectionRunMessage
be?
and also I don't understand why we can't directly use GraphSync using the same conditional logic.
@fridex @goern
What should the contents of
InspectionRunMessage
be?
The most important part is inspection_id so we know what inspection is finished.
and also I don't understand why we can't directly use GraphSync using the same conditional logic. @fridex @goern
Amun is a standalone component - we want to deploy it in different clusters with different HW to obtain inspection results. Then the message will notify a Thoth deployment that an inspection can be obtained and synced.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
This is duplicate of https://github.com/thoth-station/amun-api/issues/552
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
/lifecycle rotten
/triage duplicate /close
@goern: Closing this issue.
As User of Amun,
I would like to have the option to send a message to Kafka to know that an inspection ended succesfully, so that a consumer of that message can take action on that.
InspectionRunMessage
with document ID regarding inspection run just successfully concluded.InspectionRunMessage
As Thoth User of Amun,
Beside steps above I want to use that message in investigator to schedule graph-sync job so that Thoth can learn about inspections.
graph-sync Workflow
with one task and add it to thoth-applicationgraph-sync workflow
InspectionRunMessage
and schedule graph-sync WorkflowAdd to amun workflow:
with condition based on env variable to decide if the message need to be sent or not:
THOTH_AMUN_SEND_MESSAGE
Reference discussion: https://github.com/thoth-station/thoth-application/issues/352