/naga-http

Logic server for the Naga rule engine

Primary LanguageClojure

Naga-http exposes the Naga rule engine as a web service.

See Naga for the rule engine itself.

Usage

Run the server using Leiningen:

  lein ring server

Then, submit a logic program to the service:

  curl -s -H "Content-Type: application/json" -d @../naga/pabu/family.lg http://localhost:3000/eval/pabu | jq .

License

Copyright © 2017 Cisco Systems

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.