Hi Jeff, Thank you for picking up this baton and helping to move it further. I have been pondering a while ago about this and would consider it a benefit for the feature set of the OFBiz product if such a plugin would be available. Unfortunately, I didn't have the time to move it further beyond pondering about it, nor will I have such time soon.
What I looked at back then, amongst others, was: - https://developer.ibm.com/technologies/blockchain/tutorials/hyperledger-fabric-java-sdk-for-tls-enabled-fabric-network/ - https://github.com/hyperledger/fabric-sdk-java Nevertheless, here were some of my thoughts regarding the subject to get it started (for me): - Have a new plugin that would enable OFBiz to act as a front-end for the HyperLedger (Fabric) implementation, throguh using publicly available code, like libraries from mavencentral or by using e.g. https://github.com/hyperledger/fabric-sdk-java (didn't investigate what to use further); - Store configuration details of the plugin (for the HyperLedger Fabric configuration) where possible as SystemProperty records for the component - Use data from the OFBiz entities (through service and entity engines) to get the HyperLedger configured and running, for/to: - enroll the HyperLedger admin; - set the user context; - set the user enrollment (for the HyperLedger admin) in the user context - register and enroll appropriate OFBiz parties as the HyperLedger users - Use the OFBiz plugin to invoke (etc.) the chaincode Maybe I am wrong in points, but that is as far as I got. I would be happy though to explore this further. If you're going to take this further, I am looking forward to seeing your plugin appear as a repository in Github and help you mature it. Met vriendelijke groet, Pierre Smits *Proud* *contributor** of* Apache OFBiz <https://ofbiz.apache.org/> since 2008 (without privileges) *Apache Trafodion <https://trafodion.apache.org>, Vice President* *Apache Directory <https://directory.apache.org>, PMC Member* Apache Incubator <https://incubator.apache.org>, committer Apache Steve <https://steve.apache.org>, committer On Fri, Jun 26, 2020 at 12:22 PM Jeff Prickett <[email protected]> wrote: > Hello Everyone > > The subject says it all. I have an interest in blockchain and thought that > there could be integration of blockchain into Ofbiz. > > Would there be interest in creating a persistence layer for Apache Open For > Business that is blockchain based on Hyperledger Fabric. Instead of pulling > data from the SQL back end it would pull from the data from a Hyperledger > blockchain. > > I am asking as someone who would be interested in picking up the mantle to > make it happen. > > Thanks in avance > Jeff Prickett >
