An open API service indexing awesome lists of open source software.

https://github.com/tibcosoftware/dovetail-java-lib


https://github.com/tibcosoftware/dovetail-java-lib

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

---
title: dovetail-java-lib
weight: 4603
---

[![Documentation Status](https://travis-ci.org/TIBCOSoftware/dovetail-java-lib.svg?branch=master)](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.