Skip to content

Commit

Permalink
Init process of using embargoed field for Incidents
Browse files Browse the repository at this point in the history
Because of usage of same data structures in two independent applications (qem-bot and qem-dashboard)
we need to do introduction of new field in several stages. At first stage we will start pushing
this field into qem-dashboard from qem-bot. So after deploying this we can than read propely
this field coming from bot
  • Loading branch information
asmorodskyi committed Jul 7, 2023
1 parent 5c949f5 commit 9f57a96
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openqabot/smeltsync.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ def _create_record(cls, inc):
incident["approved"] = approved
incident["rr_number"] = rr_number
incident["inReviewQAM"] = inReviewQAM
# this is temporary solution. At first stage we will just push this field into dashboard
# next we will add logic to store it in dashboard and then finally we will replace
# here dummy value with real one from smelt
incident["embargoed"] = False

return incident

Expand Down

0 comments on commit 9f57a96

Please sign in to comment.