Closed TobiasWooldridge closed 10 years ago
This API doesn't really have anything to do with meshms. We should probably move it to keyring_restful.c, change the URI & method names to match.
I've started moving identitylist to a file (temporarily named aardvark_restul while a name is determined for it)
The file I've created isn't being compiled and I'm getting this error message
LINK libserval.so
AR libmonitorclient.a
AR libserval.a
clangclang: : errorerror: : no such file or directory: 'objs_servald/aardvark_resful.o'
no such file or directory: 'objs_servald/aardvark_resful.o'
make: *** [servald] Error 1
make: *** Waiting for unfinished jobs....
make: *** [libserval.so] Error 1
How can I add aardvark_restful.c to the list of files to be compiled? Adding it to sourcefiles.mk and running 'make clean' followed by 'autoconf' or 'autoreconf -f i' has not worked
That's generally been enough for me.
On Wed, Aug 20, 2014 at 1:33 PM, Tobias Wooldridge <notifications@github.com
wrote:
I've started moving identitylist to a file (temporarily named aardvark_restul while a name is determined for it)
The file I've created isn't being compiled and I'm getting this error message
LINK libserval.so AR libmonitorclient.a AR libserval.a clangclang: : errorerror: : no such file or directory: 'objs_servald/aardvark_resful.o' no such file or directory: 'objs_servald/aardvark_resful.o' make: * [servald] Error 1 make: * Waiting for unfinished jobs.... make: *\ [libserval.so] Error 1
How can I add aardvark_restful.c to the list of files to be compiled? Adding it to sourcefiles.mk and running 'make clean' followed by 'autoconf' or 'autoreconf -f i' has not worked
— Reply to this email directly or view it on GitHub https://github.com/servalproject/serval-dna/pull/80#issuecomment-52731702 .
I've updated this pull request; the code has been moved to keyring_restful.c, tests to keyringrestful and the API call to /keyring/identities.json
Thanks
Cherry-picked as e79e74f
This changeset introduces an identitylist method for listing Serval identities via the MeshMS REST API.
I don't test for a large number of SIDs as SID generation for tests is quite slow (if IDENTITY_COUNT=100, the tests still pass, however SSID generation is simply slow to justify doing that every time the tests are run)