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

Registry for Chaincode Lifecycle Management #14

Open
tittuvarghese opened this issue Dec 16, 2023 · 0 comments
Open

Registry for Chaincode Lifecycle Management #14

tittuvarghese opened this issue Dec 16, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@tittuvarghese
Copy link
Member

It is hard to manage chaincode lifecycle in purely distributed environment. It is good to have a central registry and automated jobs to pull the latest version, and perform installation & approval of the chaincode at every peer. (Installation on every peer, approval at org level).

Following are the features to be considered,

  1. Central registry / can leverage filestore itself
  2. Dashboard to manage lifecycle and upload chaincodes (Falcon ops dashboard)
  3. Job associated with every peer to pull and install new chaincode
  4. Job to approve chaincode if new version is installed. (Based on the version)
  5. Feedback mechanism to central dashboard for job status. (For tracking)
  6. Chaincode commit and rollback mechanism from dashboard (Falcon ops dashboard)

Sample payload which can be pulled by JOB to perform the cc lifecycle management jobs.

{
    "myproject": {
        "version": "1",
        "cc_name": "chaincode-test",
        "channel_name": "mychannel",
        "cc_file_name": "chaincode_10.tar.gz",
        "cc_checksum": "e7cd90cfac934c0f6f44a5ee5db98c10da7fdafe5e9ed969d1f60a9b93809e15",
        "cc_collection_config": "true",
        "cc_collection_config_file_name": "collection-config-sample.json",
        "cc_collection_config_checksum": "7bc74976fde72bcbed113eeebcdb173f3e33a4df014589b7ed5ec20b89a1f61b",
        "registry": "http://cc-central-registry.myhlfdomain.com/registry",
        "base_path": "myproject",
        "package_id": "chaincode_10:e7cd90cfac934c0f6f44a5ee5db98c10da7fdafe5e9ed969d1f60a9b93809e15"
    }
}
@tittuvarghese tittuvarghese self-assigned this Dec 16, 2023
@tittuvarghese tittuvarghese added the enhancement New feature or request label Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant