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

feat(satp): sample implementation of SATP standard using relays #3001

Merged
merged 2 commits into from
May 15, 2024

Commits on May 15, 2024

  1. feat(satp): sample implementation of SATP standard using relays

    * Implemented the two endpoints TransferProposalClaims and TransferProposalReceipt
    * 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.
    * Colorful log to show different stages and steps
    * Initial commit for create-asset, extinguish, and assign-asset
    * Added the resources required to assign an asset
    * uncommented the perform lock part
    * 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 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
    * Squashed commit: first implementation version of satp
    * 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 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
    * Initial documentation on how to run the satp gateway and test it
    * feat(weaver): add application logs
    * Initial log functionality
    * feat: log statements are stored in sqlite db
    * feat: updated the .gitignore file
    * feat: added log entries to all requests
    * feat: removed the unnecessary
    * feat: removed unnecessary comments
    * feat: added the missing methods in driver
    * feat: remove the unnecessary log statements
    * feat: initial rfcs for satp
    * initial satp github action script
    * corrected the github actions
    * Corrected the protoc version to be 3.17.3 and rebuild
    * corrected the version of cacti_weaver_protos_rs and added the copyright statement
    * removed the code copied from fabric-cli
    * feat: initial rfcs for satp
    * initial satp github action script
    * corrected the github actions
    * Corrected the protoc version to be 3.17.3 and rebuild
    * corrected the version of cacti_weaver_protos_rs and added the copyright statement
    * removed the code copied from fabric-cli
    * refactored the code in satp.ts
    * corrected the satpsimpleasset smart contract
    * fix(relay-docker): change server to alpine image and add libsqlite
    * refactor: rename the service to sample_service due to hardcoded values
    ---------
    
    Peter's changes:
    1. I've removed the Cargo.lock file from the diff because it seemed
    unrelated to the change at hand.
    2. Applied some formatting (but not all because as I just realized we
    don't yet have the linter working for the ./weaver/ subdirectories)
    3. Removed dead code/unused variables
    4. Adjusted `var` to `let`
    5. Not perfect by any means but I'll work on some more incremental upgrades
    later in follow-up pull requests.
    ---------
    
    Rama's changes
    * fix(weaver-common-rs): remove outdated Cargo.lock to ensure compilation
    * chore(weaver-common): upgraded build depenencies for Weaver Common Protobufs in Rust
    * fix(weaver-relay): upgraded relay Dockerfiles for SATP support
        Updated relay cargo dependencies.
        Updated instructions in docs.
    * fix(weaver): bug and linter fixes in relay, Fabric driver, and Fabric SDK
        Ensured that TLS endpoints in the relay module had the 'https' URL prefix.
        Removed unnecessary variable declarations.
    * chore(weaver-fabric-driver): removed unnecessary variables as flagged by Yarn
    
    Co-authored-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>
    Co-authored-by: Peter Somogyvari <peter.somogyvari@accenture.com>
    Co-authored-by: Sandeep Nishad <sandeep.nishad1@ibm.com>
    Co-authored-by: VRamakrishna <vramakr2@in.ibm.com>
    
    Signed-off-by: outsidethecode <49871473+outsidethecode@users.noreply.github.com>
    Signed-off-by: outsidethecode <outsidethecode@gmail.com>
    Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>
    Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
    Signed-off-by: Sandeep Nishad <sandeep.nishad1@ibm.com>
    Signed-off-by: VRamakrishna <vramakr2@in.ibm.com>
    outsidethecode authored and sandeepnRES committed May 15, 2024
    Configuration menu
    Copy the full SHA
    5888e1b View commit details
    Browse the repository at this point in the history
  2. chore: fix JS modules makefile to correctly delete dependency directo…

    …ries on build fail
    
    Signed-off-by: Sandeep Nishad <sandeep.nishad1@ibm.com>
    sandeepnRES committed May 15, 2024
    Configuration menu
    Copy the full SHA
    3fd54a4 View commit details
    Browse the repository at this point in the history