A reference implementation of Invokable services implemented in Clojure.
Koi-clj is a reference implementation of the DEP-6 implemented in Clojure. It provides
Example of execution of an operation:
This operation accepts an Asset (of type CSV), and returns a new Asset that removes empty rows.
Example:
The JSON sample below is the payload sent to the /invoke
endpoint of the Service provider.
{"dataset":{"did":"asset_did_of_dataset_to_filter"}}
The response sent by the endpoint on successful completion of the operation
{"filtered-dataset":{"did":"asset_did_of_filtered_dataset"}}
Steps:
git clone https://github.com/DEX-Company/koi-clj/
cd koi-clj
lein ring server
Navigate to localhost:8191
Running Koi-clj requires an Agent configuration to be specified. An example config can be found at config.edn.
The doc includes documentation on
lein test
runs the unit testsCopyright 2018-2019 DEX Pte. Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Can you improve this documentation? These fine people already did:
Kiran Karkera & shark8meEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close