https://github.com/tibcosoftware/dovetail-java-lib
https://github.com/tibcosoftware/dovetail-java-lib
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tibcosoftware/dovetail-java-lib
- Owner: TIBCOSoftware
- License: bsd-3-clause
- Created: 2018-10-12T19:42:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-22T17:18:27.000Z (over 2 years ago)
- Last Synced: 2024-04-14T07:45:58.365Z (about 2 years ago)
- Language: Java
- Size: 421 KB
- Stars: 1
- Watchers: 8
- Forks: 3
- Open Issues: 46
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
---
title: dovetail-java-lib
weight: 4603
---
[](https://travis-ci.org/TIBCOSoftware/dovetail-java-lib)
# dovetail-java-lib
Project Dovetail™ Java library provides a runtime environment to interpret and execute smart contract flows developed using Project Dovetail™ Studio. It provides hooks to plugin any blockchain or distributed ledger platforms through a set of interfaces that must be implemented.
- **com.tibco.dovetail.runtime.services.IDataService**: provides read/write access to platform's ledgers
- **com.tibco.dovetail.runtime.services.IEventService**: provides capability for smart contract to pulish events to platform's eventing stream
- **com.tibco.dovetail.runtime.services.ILogService**: provides access to platform's logging mechanism
- **com.tibco.dovetail.runtime.services.IContainerService**: entry point to get get access to platform's data, eventing and logging services
- **com.tibco.dovetail.runtime.transaction.ITransactionService**: resolve transaction input and provides transaction level security service
Project Dovetail™ provides [SmartContract TXN Trigger](https://github.com/TIBCOSoftware/dovetail-contrib/tree/master/SmartContract/trigger/transaction) to dispatch smart contract invocation to the correct handler, if you have needs to create your own trigger, it must implement com.tibco.dovetail.runtime.trigger.ITrigger interface.
Project Dovetail™ Java runtime dynamically loads activities and triggers in the smart contract application json model file, the java package name of these activities and tiggers must follow this pattern [lowercase(category name)].activity.[activity name] and [lowercase(category name)].trigger.[trigger name] respectively.
Project Dovetail™ Java runtime supports JDK1.8+
### Note on third party dependencies
Once you install the java-lib the [following](./pom.xml) third party dependencies will be downloaded to your machine.
### Contributing
New contributions are welcome. If you would like to submit one, follow the instructions in the contributions section on the [documentation page](https://tibcosoftware.github.io/dovetail/contributing/contributing/)
## License
dovetail-java-lib is licensed under a BSD-type license. See [LICENSE](https://github.com/TIBCOSoftware/dovetail-java-lib/blob/master/LICENSE) for license text.
### Support
For Q&A you can contact us at tibcolabs@tibco.com.