feat(mock): generate unique mock bolt11 invoice for createInvoice#56
Merged
feat(mock): generate unique mock bolt11 invoice for createInvoice#56
Conversation
- Updated the createInvoice method to generate a unique mock bolt11 invoice using a hex string derived from the current time. This enhances the realism of the mock server's responses.
Qodana Community for JVM2 new problems were found
☁️ View the detailed Qodana report Contact Qodana teamContact us at qodana-support@jetbrains.com
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request includes the following changes:
Mock Invoice Generation:
createInvoicemethod to generate a unique mockbolt11invoice using a hex string derived from the current timestamp. This improves the mock server's response realism.Logging Improvements:
@Slf4jlogging acrossphoenixd-rest, including requests, operations, and factory classes. This provides safe and meaningful log messages.simplelogger.propertiesfile to make DEBUG logs visible by default.Version Bump:
0.1.4and updated the CHANGELOG to reflect updates related to logging configuration.Checklist