-
Notifications
You must be signed in to change notification settings - Fork 29
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
Banking-app defines its own constitution #53
Conversation
…/tree/example_apps (microsoft#7) The repo was originally forked from https://github.com/microsoft/ccf-app-template Co-authored-by: Takuro Sato <takurosato@microsoft.com>
* Remove unused codes * Fix failed CI Co-authored-by: Takuro Sato <takurosato@microsoft.com>
* Update README.md * Fix README.md Co-authored-by: Takuro Sato <takurosato@microsoft.com>
* Add 'why ccf' section * Add application claim for transfer API * Update banking-app/README.md Co-authored-by: Amaury Chamayou <amaury@xargs.fr> * Update banking-app/README.md Co-authored-by: Amaury Chamayou <amaury@xargs.fr> * Update banking-app/test.sh Co-authored-by: Amaury Chamayou <amaury@xargs.fr> * Update banking-app/README.md Co-authored-by: Amaury Chamayou <amaury@xargs.fr> * Update banking-app/test.sh Co-authored-by: Amaury Chamayou <amaury@xargs.fr> * Add 'Get claim' endpoint * Update /receipt so that the response includes the expanded claim * Update banking-app/src/endpoints/banking.ts Co-authored-by: Amaury Chamayou <amaury@xargs.fr> * Update banking-app/src/endpoints/banking.ts Co-authored-by: Amaury Chamayou <amaury@xargs.fr> * Remove /claim Co-authored-by: Takuro Sato <takurosato@microsoft.com> Co-authored-by: Amaury Chamayou <amaury@xargs.fr>
Co-authored-by: Takuro Sato <takurosato@microsoft.com>
* Add features to devcontainer * npm install at container creation
* Run tests in CI * Tidy up Co-authored-by: Takuro Sato <takurosato@microsoft.com>
* Add linting * Fix 'detected dubious ownership in repository' error * See if CI fails as expected * Revert "See if CI fails as expected" This reverts commit 4570982. Co-authored-by: Takuro Sato <takurosato@microsoft.com>
Co-authored-by: Takuro Sato <takurosato@microsoft.com>
Co-authored-by: Takuro Sato <takurosato@microsoft.com>
Co-authored-by: Takuro Sato <79583855+takuro-sato@users.noreply.github.com>
* Added guide about board * Typos
* Add simple make commands * Add initial devcontainer build * Adding workflow-dispatch to test * workflow_dispatch * Add Safe Directory * Pass GITHUB_WORKSPACE environment variable * Added image that can use virtual * Makefile per sample * Amended CI * Removed the banking-app clean from the root Co-authored-by: Takuro Sato <79583855+takuro-sato@users.noreply.github.com>
…oft#40) * Split demo.sh into demo_governance.sh and demo_application.sh * add more comments * remove the extra echo line * resolve review comments
Could you raise an issue to make the same change for auditable-logging-app? |
|
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.
Open to discuss any of the raised comments for a better alignment if necessary.
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, Just one comment
Fixes #48 |
Quite a few changes here for what should have been a simple change.
Why the change
The Banking Sample should define its own constitution rather than copying files over the top of /opt/ccf/bin. We need a change to ccf for this which wont be until v3 microsoft/CCF#4628. This will be updated with #60
The following changes have been made to make the constitution more testable.
scripts
make help
)test.sh
executes irrespective of the hosting model (sandbox/docker)Todo (in separate PR)
Test this PR
make test
- this should build the app, start the sandbox, run the tests, kill the sandboxmake test-docker-virtual
- this will build the app, build a docker image, start the network, setup the governance and then run the tests