0.2.46 • Published 8 years ago

cicero-server v0.2.46

Weekly downloads
44
License
Apache-2.0
Repository
github
Last release
8 years ago

Cicero Server

Exposes the Cicero Engine as a RESTful service, useful for testing. Templates are loaded from a the root CICERO_DIR. Clauses may be instantiated from JSON or TXT files loaded from CICERO_DIR.

Installation

npm install -g cicero-server --save

Run

export CICERO_DIR=<cicero-template-dir>
cicero-server
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' http://localhost:6001/execute/acceptance-of-delivery/sample.txt -d '{"$class" : "org.accordproject.acceptanceofdelivery.InspectDeliverable","deliverableReceivedAt" : "2017-12-03","inspectionPassed" : "false"}'
0.2.46

8 years ago

0.2.45

8 years ago

0.2.44

8 years ago

0.2.43

8 years ago

0.2.42

8 years ago

0.2.28

8 years ago

0.2.26

8 years ago

0.2.25

8 years ago

0.2.24

9 years ago

0.2.23

9 years ago

0.2.22

9 years ago

0.2.21

9 years ago

0.2.20

9 years ago

0.2.19

9 years ago

0.2.18

9 years ago

0.2.17

9 years ago

0.2.16

9 years ago

0.2.15

9 years ago

0.2.14

9 years ago