Skip to content
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

Satp version 1 #4

Merged
merged 16 commits into from
Oct 3, 2023
Merged

Satp version 1 #4

merged 16 commits into from
Oct 3, 2023

Conversation

outsidethecode
Copy link
Owner

This is the first working implementation of satp. I squashed all previous commits into one. I am not sure why the corresponding commits still show up. The next step is to add the resources to extinguish an asset and to remove the hard coded values in fabric driver.

implemented the lock assertion method

Added the lock-assertion-receipt and lock-assertion-broadcast methods

Added the request to the driver to lock an asset

corrected some variable names

Added the endpoints corresponding to the steps 3.1 to 3.9

Implemented the step 2.1B so that the driver call the gateway to update the asset status

Implemented the status check functionality required for 2.1B, 3.2B, 3.4B, and 3.6B

First iteration of switching to real driver (fabric)

Added the required functions to call back the gateway after the asset is locked.

initial commit

Initial commit for create-asset, extinguish, and assign-asset

Added the resources required to assign an asset

uncommented the perform lock part

corrected compile error due to merging issue
@@ -0,0 +1,714 @@
/*
Copy link
Collaborator

@sandeepnRES sandeepnRES Sep 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and few other files that are copied from fabric-cli, these were good for you to get easily implement functions in driver, but when we want to merge it to main, can you filter out what is needed and what is not and add those only? And see if similar function is already available in other TS files in fabric-driver (because mostly it would), and use those if possible.

Its not urgent, it can be done at the very last stage also when PR is ready to be merged.

@outsidethecode
Copy link
Owner Author

Merging this branch to satp branch where all changes related to satp implementation have been added.

@outsidethecode outsidethecode merged commit 77a7d1e into satp Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants