Skip to content

Conversation

@dodo920306
Copy link
Contributor

Summary

Extend Chaincode functionality with advanced APIs and related fixes.

Changes

New Features

  • Add Application Gateway draft (chaincode/application-gateway/)
  • Split Chaincode installation and approval into separate APIs
  • Add Chaincode commit and transact APIs (WIP)
  • Extract Chaincode installation logic into a separate function

Fixes

  • Fix Swagger access failure through nginx
  • Fix unable to get anchor peer ports
  • Fix Flake8 missing blank lines and redundant whitespace
  • Fix peers form label
  • Fix home page breadcrumb display issue
  • Fix Chaincode package IDs setting

Frontend Improvements

  • Use different keys for upper and lower menus
  • Replace deprecated Menu children with items prop

Other

  • Add src/api-engine/cello/ to .gitignore
  • Force static collection to not expect user input

API Changes

  • POST /api/chaincodes/{id}/install/ - Install Chaincode
  • POST /api/chaincodes/{id}/approve/ - Approve Chaincode
  • POST /api/chaincodes/{id}/commit/ - Commit Chaincode (WIP)
  • POST /api/chaincodes/{id}/transact/ - Execute Chaincode (WIP)

Note

⚠️ This PR contains WIP (Work In Progress) commits. The commit and transact APIs may need further refinement.

Dependencies


🤖 This PR description was generated with AI assistance (Claude, Anthropic).

Signed-off-by: dodo920306 <[email protected]>
Signed-off-by: dodo920306 <[email protected]>
Signed-off-by: dodo920306 <[email protected]>
Signed-off-by: KIRIN.CHU 朱祐麟 <[email protected]>
Signed-off-by: dodo920306 <[email protected]>
Signed-off-by: dodo920306 <[email protected]>
Signed-off-by: dodo920306 <[email protected]>
Signed-off-by: dodo920306 <[email protected]>
Signed-off-by: dodo920306 <[email protected]>
Signed-off-by: dodo920306 <[email protected]>
Signed-off-by: dodo920306 <[email protected]>
Signed-off-by: dodo920306 <[email protected]>
Signed-off-by: dodo920306 <[email protected]>
Signed-off-by: dodo920306 <[email protected]>
Move inside api engine.

Signed-off-by: dodo920306 <[email protected]>
Signed-off-by: dodo920306 <[email protected]>
Signed-off-by: dodo920306 <[email protected]>
Signed-off-by: dodo920306 <[email protected]>
They will be added back once they're ready
for the new APIs

Signed-off-by: dodo920306 <[email protected]>
All dockerfiles should be directly placed inside with their
codes. By this way, it reduces the effort to pay attention
to connect them with their true codebase and context.

Signed-off-by: dodo920306 <[email protected]>
Since the login page doesn't include the `GlobalHeader`, the icon
of the language selection doesn't include the padding like pages
after login.

Signed-off-by: dodo920306 <[email protected]>
The peers dropdown in the chaincode form should be
labelled as "peers" directly instead of "Please select
peers" which should be the warning message.

Signed-off-by: dodo920306 <[email protected]>
The directory contains organizational MSPs should be ignored
by Git.

Signed-off-by: dodo920306 <[email protected]>
To block duplicate package IDs, chaincodes package IDs
will be set when they're created.

Signed-off-by: dodo920306 <[email protected]>
@dodo920306 dodo920306 marked this pull request as draft December 14, 2025 15:45
@dodo920306
Copy link
Contributor Author

This is draft only because #747 hasn't been merged yet.

@dodo920306 dodo920306 changed the title Feature/chaincode advanced Extend Chaincode functionality Dec 14, 2025
@dodo920306 dodo920306 mentioned this pull request Dec 14, 2025
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.

1 participant