-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🎨 Replace SseListeners used in app #700
Conversation
…nstead of SseListener
…rsement of ATTRIB transaction)
Coverage Report
|
… 204 status code change for a future release that involves a breaking change
…suer_did_transaction_endorsed`
|
||
|
||
@pytest.mark.anyio | ||
async def test_handle_model_with_validation_error(mock_logger): |
Check notice
Code scanning / Pylintpython3 (reported by Codacy)
Redefining name 'mock_logger' from outer scope (line 25) Note test
app/tests/exception_handling/test_handle_model_with_validation.py
Dismissed
Show dismissed
Hide dismissed
field: str | ||
|
||
@field_validator("field") | ||
def validate_regex(cls, value): |
Check warning
Code scanning / Pylintpython3 (reported by Codacy)
Method 'validate_regex' should have "self" as first argument Warning test
|
||
|
||
@pytest.mark.anyio | ||
async def test_handle_acapy_call_with_unauthorized_exception(acapy_call, mock_logger): |
Check notice
Code scanning / Pylintpython3 (reported by Codacy)
Redefining name 'acapy_call' from outer scope (line 28) Note test
Quality Gate passedIssues Measures |
Coverage Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The cloudapi app logic should not need to listen for SSE events. All records can be queried from ACA-Py directly.
So, this PR replaces the few remaining cases of waiting for SSE events to instead query connection/transaction records as needed.
This removes a manual endorsement call in the issuer onboarding process, and adds an additional case to the endorser such that ATTRIB transaction types are now also automatically endorsed.