haproxy-route-policy Implement request API#399
Conversation
There was a problem hiding this comment.
license-eye has checked 376 files.
| Valid | Invalid | Ignored | Fixed |
|---|---|---|---|
| 134 | 2 | 240 | 0 |
Click to see the invalid file list
- haproxy-route-policy/policy/migrations/init.py
- haproxy-route-policy/policy/migrations/0001_initial.py
Use this command to fix any missing license headers
```bash
docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix
</details>
There was a problem hiding this comment.
license-eye has checked 376 files.
| Valid | Invalid | Ignored | Fixed |
|---|---|---|---|
| 134 | 2 | 240 | 0 |
Click to see the invalid file list
- haproxy-route-policy/policy/migrations/init.py
- haproxy-route-policy/policy/migrations/0001_initial.py
Use this command to fix any missing license headers
```bash
docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix
</details>
There was a problem hiding this comment.
license-eye has checked 376 files.
| Valid | Invalid | Ignored | Fixed |
|---|---|---|---|
| 134 | 2 | 240 | 0 |
Click to see the invalid file list
- haproxy-route-policy/policy/migrations/init.py
- haproxy-route-policy/policy/migrations/0001_initial.py
Use this command to fix any missing license headers
```bash
docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix
</details>
There was a problem hiding this comment.
license-eye has checked 376 files.
| Valid | Invalid | Ignored | Fixed |
|---|---|---|---|
| 134 | 2 | 240 | 0 |
Click to see the invalid file list
- haproxy-route-policy/policy/migrations/init.py
- haproxy-route-policy/policy/migrations/0001_initial.py
Use this command to fix any missing license headers
```bash
docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix
</details>
…al/haproxy-operator into haprox-route-policy-requests-api
There was a problem hiding this comment.
license-eye has checked 376 files.
| Valid | Invalid | Ignored | Fixed |
|---|---|---|---|
| 134 | 2 | 240 | 0 |
Click to see the invalid file list
- haproxy-route-policy/policy/migrations/init.py
- haproxy-route-policy/policy/migrations/0001_initial.py
Use this command to fix any missing license headers
```bash
docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix
</details>
There was a problem hiding this comment.
license-eye has checked 376 files.
| Valid | Invalid | Ignored | Fixed |
|---|---|---|---|
| 134 | 2 | 240 | 0 |
Click to see the invalid file list
- haproxy-route-policy/policy/migrations/init.py
- haproxy-route-policy/policy/migrations/0001_initial.py
Use this command to fix any missing license headers
```bash
docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix
</details>
There was a problem hiding this comment.
license-eye has checked 376 files.
| Valid | Invalid | Ignored | Fixed |
|---|---|---|---|
| 134 | 2 | 240 | 0 |
Click to see the invalid file list
- haproxy-route-policy/policy/migrations/init.py
- haproxy-route-policy/policy/migrations/0001_initial.py
Use this command to fix any missing license headers
```bash
docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix
</details>
|
@alithethird I've opened a new pull request, #402, to work on those changes. Once the pull request is ready, I'll request review from you. |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This reverts commit 10a2708.
Test results for commit a2d1ea2Test coverage for a2d1ea2 Static code analysis report |
Test results for commit a2d1ea2Test coverage for a2d1ea2 Static code analysis report |
Test results for commit a2d1ea2Test coverage for a2d1ea2 Static code analysis report |
… Add middleware to guard against db connection errors
Applicable spec: ISD 267 ( internal)
Overview
Implement the requests API for the policy application. This includes:
2.1 GET | /api/v1/requests?status= | List all requests, with an optional query parameter.
2.2 POST | /api/v1/requests | Bulk create and evaluate requests
2.4 GET | /api/v1/requests/<id> | Get a request by ID
2.4 DELETE | /api/v1/requests/<id> | Delete a request by ID
Note: For "bulk create and evaluate requests", the evaluation logic will be skipped for now and all new requests will be set to "pending"
3. Unit and lint tests
The application should be started with uv
Checklist
docs/release-notes/artifacts. If this PR does not require a change artifact, the PR has been tagged withno-release-note.urgent,trivial,complex)