-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment Concept
The Corda Adapter generates a whole IntelliJ project for each choreography based on BPMN. The three components of a Corda smart contracts are defined in the three files: GeneratedchoreoContract, choreo.kt and GeneratedchoreoState.kt. The workflow is implemented in the ExampleFlow. The RPC Server are splitted in three files: MainController.kt, NodeRPCConnector.kt and Server.kt.
The deployment is handled by Node.js server, which implements the defined REST API. It uses pre-built jars to determine information (like requestable actions). It also generates and deploys choreographies. Therefore, it translates the REST API requests into Corda acceptable requests and distributing them to the right node. You will find under Deployment and Development the instruction to build and run the project.
