-
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
🔧 increase publish-revocations timeout and make configurable #987
Conversation
db6d48b
to
181f2b6
Compare
Quality Gate passedIssues Measures |
K8s Regression Test Coverage
|
181f2b6
to
d317a25
Compare
PR titles should be no longer than 50 characters (excluding emoji). Your title is 59 characters long. Please update your PR title to be more concise. |
Quality Gate passedIssues Measures |
app/routes/revocation.py
Outdated
@@ -23,6 +24,9 @@ | |||
|
|||
router = APIRouter(prefix="/v1/issuer/credentials", tags=["revocation"]) | |||
|
|||
# Config for /publish-revocations | |||
publish_revocations_timeout_seconds = int(os.getenv("PUBLISH_REVOCATIONS_TIMEOUT", 60)) |
Check notice
Code scanning / Pylintpython3 (reported by Codacy)
os.getenv default type is builtins.int. Expected str or None.
d317a25
to
1ff244f
Compare
* 🐛 Fix registering issuer did Should be called as the issuer, with `create_transaction_for_endorser=True`. Previously was being called as endorser and automatically written to ledger * 🎨 * ✨ Validate if signature request is applicable for endorsement * ✅ Test coverage for new method * ✅ Full test coverage for remaining methods in endorsement_processor, while I'm here * ✅ Full test coverage for remaining methods in util/endorsement, while I'm here * ✅ Full test coverage for main, while I'm here * 🔧 Remove `asyncio_default_fixture_loop_scope` config (again... raises unknown config warning) * 🎨 Rearrange methods, in particular to await did transaction is endorser before setting as public did * ✅ Fix assertion * 🎨 Make delay an argument for the set_endorser_metadata methods * ✅⚡ Speed up unit tests by overriding sleeps * 🚧 Test fix: `their_public_did` should be qualified * 🎨 * 🐛✅ Wait for both transactions to be endorsed before proceeding. 🎨 Rename method to reflect change * 🎨 Add timeout error description * 🚧 Debug error logs * 🎨 Use bound logger * ✅ Update tests and reduce duration to run faster * ✨ Replace passing of Endorsement model to just pass transaction_id instead. Return the TransactionRecord is successful, instead of just True * ✅ Update tests * ✨ Replace passing of Endorsement model to pass transaction_id instead. Log transaction record upon success * 🎨 * 🔧 Modify subscription fetch args * 🎨 Fix heartbeat value too large * 🔧 Increase default for `WAIT_ISSUER_DID_MAX_ATTEMPTS` * 🔧 Increase endorser batch fetch amount * 🎨 Update log * 🎨 * 🎨 Obfuscate messages_attach from transaction record log * ✅ * 🔧 increase publish-revocations timeout and make configurable (#987) * ✅ increase test sleep duration * 🔧 make publish revocations timeout configurable * 🐛 Endorser should fetch 1 message at a time * 🔧 Add `CRED_DEF_ACK_TIMEOUT` env var to configure cred def creation timeout * 🔧 Increase default max duration for awaiting webhooks * 🎨 Clean up constants * 🎨 Increase default timeout * 🎨 Adjust fetch timeout
No description provided.