Skip to content
This repository has been archived by the owner on Oct 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #82 from lifemapper/api_response_mods
Browse files Browse the repository at this point in the history
Api response mods
  • Loading branch information
zzeppozz authored Sep 27, 2021
2 parents 1bad7cb + e799867 commit cba5104
Show file tree
Hide file tree
Showing 82 changed files with 4,861 additions and 2,035 deletions.
16 changes: 16 additions & 0 deletions docs/debugging.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Occurrence Broker results
-----------------------------

specify_cache
~~~~~~~~~~~~~~~~~~

* Implemented in solr, collection is specimen_records
* Schema is in lmysft/solr_cores/specimen_records/conf/schema.xml
* Go to development or production machine (currently Syftorium, notyeti-195 and joe-125) and query solr directly
::
curl http://localhost:8983/solr/specimen_records/select?q=identifier:2c1becd5-e641-4e83-b3f5-76a55206539a

Consider fields in S2nSchema

Consider fields in specify_cache and exported from Sp 6 and 7
28 changes: 28 additions & 0 deletions docs/todo.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@


Add providers
--------------
* https://api.obis.org/
* https://services.tropicos.org/
* https://globalnames.org/docs/home/

Synchronous API calls
----------------------

https://docs.aiohttp.org/en/stable/
pip install aiohttp[speedups]

Testing
----------
Check out Occurrence UUIDs sent by Theresa, not returning data from Specify (specify_cache)
in Syftorium solr indexes spcoco, some are in specimen_records
::
0102a5c9-9312-4b76-a821-1c72a24c958d
bffe655b-ea32-4838-8e80-a80e391d5b11
c41f63d0-fbd2-4305-8aa1-3d2d6b54763f
16c6b89f-56a9-40c0-b5f5-2448a3bc23d8
fc1bd6ac-5920-4b5c-9cba-b3c7db7f5497
d19c07a6-5a87-431c-84f4-e4ab6c142f0e
045711b7-2956-4397-91e2-63f913f640e6
e51ddace-4529-4c6e-82c3-9c8a582b6527
572 changes: 127 additions & 445 deletions lmtrex/common/lmconstants.py

Large diffs are not rendered by default.

Loading

0 comments on commit cba5104

Please sign in to comment.