-
Notifications
You must be signed in to change notification settings - Fork 16
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
refactor: Implemented auto flag handling within the ecosystem and introduced validation. #158
Conversation
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
…into auto-sign-and-submit
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
…into auto-sign-and-submit
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
…into auto-sign-and-submit
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
…into auto-endorsement-flag
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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
return updateEcosystemConfig; | ||
|
||
} catch (error) { | ||
this.logger.error(`Error in fetching schema details for submit transaction: ${error.message}`); |
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.
change the error message
…roduced validation. (#158) * Added the auto submit flag for automatic submit the transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Removed unnecessary params Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Error handling in the schema endorsement Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: Schema and credDef auto sign and submit transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved issue when schema sign Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Added the validation for the cedDef create and write Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: auto endorsement flag handle and refactor schema and cred-def Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved conflicts in endorsement service Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Change the API URL for auto sign and submit flag Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Modify the error messages in ecosystem Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> --------- Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
…roduced validation. (#158) * Added the auto submit flag for automatic submit the transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Removed unnecessary params Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Error handling in the schema endorsement Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: Schema and credDef auto sign and submit transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved issue when schema sign Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Added the validation for the cedDef create and write Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: auto endorsement flag handle and refactor schema and cred-def Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved conflicts in endorsement service Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Change the API URL for auto sign and submit flag Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Modify the error messages in ecosystem Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> --------- Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
…roduced validation. (#158) * Added the auto submit flag for automatic submit the transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Removed unnecessary params Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Error handling in the schema endorsement Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: Schema and credDef auto sign and submit transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved issue when schema sign Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Added the validation for the cedDef create and write Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: auto endorsement flag handle and refactor schema and cred-def Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved conflicts in endorsement service Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Change the API URL for auto sign and submit flag Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Modify the error messages in ecosystem Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> --------- Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
…roduced validation. (#158) * Added the auto submit flag for automatic submit the transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Removed unnecessary params Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Error handling in the schema endorsement Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: Schema and credDef auto sign and submit transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved issue when schema sign Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Added the validation for the cedDef create and write Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: auto endorsement flag handle and refactor schema and cred-def Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved conflicts in endorsement service Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Change the API URL for auto sign and submit flag Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Modify the error messages in ecosystem Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> --------- Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
…roduced validation. (#158) * Added the auto submit flag for automatic submit the transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Removed unnecessary params Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Error handling in the schema endorsement Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: Schema and credDef auto sign and submit transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved issue when schema sign Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Added the validation for the cedDef create and write Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: auto endorsement flag handle and refactor schema and cred-def Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved conflicts in endorsement service Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Change the API URL for auto sign and submit flag Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Modify the error messages in ecosystem Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> --------- Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
…roduced validation. (#158) * Added the auto submit flag for automatic submit the transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Removed unnecessary params Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Error handling in the schema endorsement Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: Schema and credDef auto sign and submit transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved issue when schema sign Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Added the validation for the cedDef create and write Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: auto endorsement flag handle and refactor schema and cred-def Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved conflicts in endorsement service Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Change the API URL for auto sign and submit flag Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Modify the error messages in ecosystem Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> --------- Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
…roduced validation. (#158) * Added the auto submit flag for automatic submit the transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Removed unnecessary params Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Error handling in the schema endorsement Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: Schema and credDef auto sign and submit transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved issue when schema sign Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Added the validation for the cedDef create and write Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: auto endorsement flag handle and refactor schema and cred-def Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved conflicts in endorsement service Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Change the API URL for auto sign and submit flag Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Modify the error messages in ecosystem Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> --------- Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
…roduced validation. (#158) * Added the auto submit flag for automatic submit the transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Removed unnecessary params Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Error handling in the schema endorsement Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: Schema and credDef auto sign and submit transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved issue when schema sign Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Added the validation for the cedDef create and write Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: auto endorsement flag handle and refactor schema and cred-def Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved conflicts in endorsement service Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Change the API URL for auto sign and submit flag Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Modify the error messages in ecosystem Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> --------- Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
…roduced validation. (#158) * Added the auto submit flag for automatic submit the transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Removed unnecessary params Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Error handling in the schema endorsement Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: Schema and credDef auto sign and submit transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved issue when schema sign Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Added the validation for the cedDef create and write Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: auto endorsement flag handle and refactor schema and cred-def Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved conflicts in endorsement service Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Change the API URL for auto sign and submit flag Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Modify the error messages in ecosystem Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> --------- Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
…roduced validation. (#158) * Added the auto submit flag for automatic submit the transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Removed unnecessary params Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Error handling in the schema endorsement Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: Schema and credDef auto sign and submit transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved issue when schema sign Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Added the validation for the cedDef create and write Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: auto endorsement flag handle and refactor schema and cred-def Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved conflicts in endorsement service Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Change the API URL for auto sign and submit flag Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Modify the error messages in ecosystem Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> --------- Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
…roduced validation. (#158) * Added the auto submit flag for automatic submit the transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Removed unnecessary params Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Error handling in the schema endorsement Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: Schema and credDef auto sign and submit transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved issue when schema sign Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Added the validation for the cedDef create and write Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: auto endorsement flag handle and refactor schema and cred-def Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved conflicts in endorsement service Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Change the API URL for auto sign and submit flag Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Modify the error messages in ecosystem Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> --------- Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
…roduced validation. (#158) * Added the auto submit flag for automatic submit the transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Removed unnecessary params Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Error handling in the schema endorsement Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: Schema and credDef auto sign and submit transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved issue when schema sign Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Added the validation for the cedDef create and write Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: auto endorsement flag handle and refactor schema and cred-def Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved conflicts in endorsement service Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Change the API URL for auto sign and submit flag Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Modify the error messages in ecosystem Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> --------- Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
…roduced validation. (#158) * Added the auto submit flag for automatic submit the transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Removed unnecessary params Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Error handling in the schema endorsement Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: Schema and credDef auto sign and submit transaction Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved issue when schema sign Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Added the validation for the cedDef create and write Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * feat: auto endorsement flag handle and refactor schema and cred-def Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Solved conflicts in endorsement service Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Change the API URL for auto sign and submit flag Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> * Modify the error messages in ecosystem Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com> --------- Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
What
Why
How