commit | 92440167221fa48713fb111d93cf5b0a8452c5b1 | [log] [tgz] |
---|---|---|
author | Chengyu Fan <chengy.fan@gmail.com> | Thu Jul 09 14:43:31 2015 -0600 |
committer | Chengyu Fan <chengy.fan@gmail.com> | Mon Aug 10 21:31:28 2015 -0600 |
tree | 4d370dcfb569cda8dbd19d261919d7a2a06e5fa7 | |
parent | ab822fe3e1a95f981804714a43079fe2bc2a895a [diff] |
catalog: support autocompletion query * use seaprate functions to for autocompletion query and component-based query * add json-paramters as a name component in the query-results content * set freshness for ACK data * fix bug that catalog throws run-time error when malformed Json::value is used * query-results data conforms the schema Change-Id: I942c26888fa79c206f2fa27f6f0a92fc4a8bef79 refs: #3024, #2797, #3035, #3047
####If you have trouble running it, subscribe to ndn-sci mailing list and send an email.
This software is designed to support ongoing climate model research at Colorado State University, Berkeley and other institutes. Future plan includes porting this tool to suite other scientific community such as High Energy Particle Physics.
Currently, this software provides an API to publish, query and retrieve scientific datasets using NDN.
The ndn-atmos is built based on several libraries
Dependency for tools and translator library
The ndn-cxx and ChronoSync need some other prerequisites.
Follow the steps below to compile and install ndn-atmos:
ldconfig
*For example, if the libndn-cxx.so is installed in /usr/local/lib64, you need to include this path in a "ndn-cxx.conf" file in /etc/ld.so.conf.d directory, and then run "ldconfig".
NFD is the NDN forwarding daemon.
*For example, if the libndn-cxx.so is installed in /usr/local/lib64, you need to include this path in a "ndn-cxx.conf" file in /etc/ld.so.conf.d directory, and then run "ldconfig".
Make sure database is initialized and running
Create catalog configuration file
Edit the configuration file /usr/local/etc/ndn-atmos/catalog.conf. Modify the database parameters in both the queryAdapter and publishAdapter sections.
Note that the database parameters in these two sections may be different to provide different privileges.
Run ndn-atmos
Open the client folder in ndn-atmos
Checkout the ndn-js in the client folder. Use the link blow: