Skip to content

Commit

Permalink
Remove old TCRS code from Orchestration (#2282)
Browse files Browse the repository at this point in the history
Remove old TCRS code from orch
  • Loading branch information
JNygaard-Skylight authored Jul 30, 2024
1 parent 370fc7b commit a7c83f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@
},
{
"service": "trigger_code_reference",
"endpoint": "/stamp-condition-extensions",
"params": {
"conditions": [
"840539006"
]
}
"endpoint": "/stamp-condition-extensions"
},
{
"service": "save_bundle",
Expand Down
9 changes: 1 addition & 8 deletions containers/orchestration/app/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,17 +507,10 @@ def build_stamp_condition_extensions_request(
"data_type": orchestration_request.get("data_type"),
"workflow_params": workflow_params,
},
) as handler_span:
):
# Initialize workflow_params as an empty dictionary if it's None
workflow_params = workflow_params or {}

handler_span.add_event(
"updating stamp conditions extensions request options",
attributes={
"conditions": workflow_params.get("conditions"),
},
)

return {
"bundle": input_msg,
"conditions": workflow_params.get("conditions"),
Expand Down

0 comments on commit a7c83f1

Please sign in to comment.