-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
[feature]peer lifecycle chaincode package support external chaincode #3368
Comments
What do you think @mbwhite ? |
Wanted to take this exact topic as part of closing out the CCas a service work.. @davidkhala would you be up for a collaborative effort? |
If not too complex, I would like to. while across the guide, reader like me get a little confused on the difference between external chaincode and ccaas. And back to this command opt, which wording should we use? |
I was going to add a note / todo / work item in #3405 to track the addition of a new Creating the "ccaas" chaincode package is still an ... exercise left to the reader .... it would be really nice if the Both the "ccaas" and "k8s" builder types really just need a pointer to the label and Docker image to be run for the endpoint. |
It would definitely be good if the
Confusingly the original chaincode as an external service example in the documentation uses a type of One question is how will the new types be supported? At the moment you just give the command a path to package up, which should work if the correct file(s) is/are there. In the case of CCaaS, it needs to be a The alternative is to add arguments for the settings required in the |
Yes @jt-nti the peer cli could well struggle, and is out of it's depth already (eg. doesn't package typescript in the most efficient manner) I wonder if this is the chance to "re-light" the Fabric Admin CLI, or something much like it ( if I might suggest https://github.com/hyperledgendary/weftility as one source of ids... have added packaging updates to that push coming soon). And/or provide the ability for the dev tools in the language of choice to produce the package from their pipelines. Generic github action or a gradle/maven plugin. Sorry @davidkhala should have posted that sooner! |
@mbwhite re-light is what I love ❤️ one year ago, Jay also discussed with me that if we can split out the roles peer binary is handling, "as a service" and "as a tool", these are contradicting especially some command options do not need any property value in core.yaml but still mandate an empty core.yaml over there to bypass san-check. |
yes you're correct - requirement of Thinking more about this - suggestion for a plan 'tactical/immediate' solution be to extend the It takes as arguments (list from memory so might worth checking)
And be very 'simple' it what it does - only basic are the files there... no language checks etc. i.e. just a very simple package whatever it's told |
+1 Agree |
During learning and comparing external chaincode
bin/peer lifecycle chaincode package --label=diagnose --lang=external --path=...chaincode/golang/diagnose ccPackage.tar.gz
I see the failure
Is there any chance we can add external chaincode as allowed chaincodeType for this command?
The text was updated successfully, but these errors were encountered: