adsabs / biblib-service

ADS library service
https://ui.adsabs.harvard.edu
MIT License
4 stars 8 forks source link

Feature/issue 33/return solr data #55

Closed jonnybazookatone closed 9 years ago

jonnybazookatone commented 9 years ago

Addresses and closes issue #33 that required the returning of solr like data from the libraryview/<> GET end point. This returns the solr-like data with the tag 'solr'.

Mock service included for the solr end point. Currently, it only returns data that is similar to that of the end point. However, if there are issues in the future, something more realistic will have to be incorporated, but for now it is nice to have the scaffolding.

Tests laid out that require a solr like output in the form of functional tests, unit tests in the webservices, and a unit test in the views.

The configuration file was updated to include the end point of the solr service. The 'api' scope is required to access this end point. Consul has been updated appropriately.