`process_orchestration` reading response with status code 400 raises exception in `response.read_json()`
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
Start by tracing add_orchestration_rule() into process_orchestration() and inspect how orchestration_response.read_json() handles a 400 response before OrchestrationError is raised. Compare the response type with constants.Payload.JSON and determine why read_json() raises RuntimeError; done means the original orchestration failure can be diagnosed without a secondary parsing exception.
Written by the indexing model from the issue text.
Description
Carlos Bocanera Gallardo found that when calling add_orchestration_rule(), if the response status code is 400 and the process_orchestration function raises an OrchestrationError, the orchestration_response.read_json() method raises a RuntimeError, which makes debugging hard.
The reason for raising the RuntimeError is that the orchestration_response is not a "JSON" response, or at least not a constants.Payload.JSON response. I am not sure why this is happening at the moment.
- Dominant language
- Python
- Stars
- 5
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from arrowhead-f/client-library-python
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
-
Difficulty 1/5 Under an hour Newbie friendliness 58/100
-
Update pypi repo Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
arrowhead-f/client-library-python#35 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
All issues in arrowhead-f/client-library-python
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
canonical/paas-charm#368 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
StevenBlack/hosts#3256 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
qualcomm/qai-appbuilder#275 ·