2018-09-18 14:35:42 +02:00
|
|
|
# Changelog
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
|
2018-09-24 15:14:14 +02:00
|
|
|
## [0.1.0] - 2018-09-24
|
2018-09-23 22:04:01 +02:00
|
|
|
### Changed
|
|
|
|
- Rename project to "DSpace Statistics API"
|
2018-09-23 23:30:58 +02:00
|
|
|
- Use read-only database connection in API
|
|
|
|
- Update systemd units for CGSpace→DSpace rename
|
2018-09-24 13:31:05 +02:00
|
|
|
- Use UPSERT to simplify database schema and Python logic
|
2018-09-23 22:04:01 +02:00
|
|
|
|
2018-09-23 22:15:27 +02:00
|
|
|
### Added
|
|
|
|
- Example systemd service and timer unit for indexer service
|
2018-09-24 15:13:05 +02:00
|
|
|
- Add top-level route to expose all item statistics
|
2018-09-23 22:15:27 +02:00
|
|
|
|
2018-09-23 23:30:58 +02:00
|
|
|
### Removed
|
|
|
|
- Ability to customize SOLR_CORE variable
|
|
|
|
|
2018-09-23 15:49:25 +02:00
|
|
|
## [0.0.4] - 2018-09-23
|
2018-09-23 06:58:15 +02:00
|
|
|
### Added
|
|
|
|
- Added example systemd unit file for API
|
2018-09-23 15:48:39 +02:00
|
|
|
- Added indexer.py to ingest views and downloads from Solr to a SQLite database
|
2018-09-23 06:58:15 +02:00
|
|
|
|
2018-09-23 12:27:43 +02:00
|
|
|
### Changed
|
|
|
|
- Refactor Solr configuration and connection
|
2018-09-23 15:48:39 +02:00
|
|
|
- /item route now expects id as part of the URI instead of a query parameter: /item/id
|
|
|
|
- View and download stats are now fetched from a SQLite database
|
2018-09-23 12:27:43 +02:00
|
|
|
|
2018-09-20 16:41:47 +02:00
|
|
|
## [0.0.3] - 2018-09-20
|
2018-09-18 16:01:24 +02:00
|
|
|
### Changed
|
|
|
|
- Refactor environment variables into config module
|
2018-09-18 23:30:28 +02:00
|
|
|
- Simplify Solr query for "downloads"
|
2018-09-19 00:50:14 +02:00
|
|
|
- Optimize Solr query by using rows=0
|
2018-09-20 16:41:47 +02:00
|
|
|
- Fix Solr queries for item views
|
2018-09-18 16:01:24 +02:00
|
|
|
|
2018-09-18 14:36:56 +02:00
|
|
|
## [0.0.2] - 2018-09-18
|
2018-09-18 14:35:42 +02:00
|
|
|
### Added
|
|
|
|
- Ability to get Solr parameters from environment (`SOLR_SERVER` and `SOLR_CORE`)
|
|
|
|
|
|
|
|
## [0.0.1] - 2018-09-18
|
|
|
|
- Initial release
|