Releases: mbari-org/annosaurus
annosaurus 1.0.0
This is a major update to annosaurus, the VARS annotation micro service. If you are running an existing VARS installation, you will need to upgrade your database schema to work with this release. If you need the upgraded Schema, please create and issue and we will work with you provide that for your database. Otherwise you can continue using version 0.16.0. A few notable changes:
- The default routes no longer include
anno
as part of the context path. So now instead of http://localhost:8080/anno/v1, the base route is http://localhost:8080/v1 - Swagger docs are included at
/docs
(e.g. http://localhost:8080/docs) - We have added auditing tables to track changes to annotations and associations
- Previously many POST/PUT routes only accepted
application/x-www-form-urlencoded
content. Most will now acceptapplication/json
as well. Please make sure you setContent-Type
headers in your requests appropriately.
Docker
What's Changed
- Feature/hibernate by @hohonuuli in #41
New Contributors
- @hohonuuli made their first contribution in #41
Full Changelog: 0.16.0...1.0.0
annosaurus 0.16.0
- mbari-org/vars-feedback#82
- Upgraded from Scalatra 2 to 3
- Upgraded from Jetty 9 to 11
- Switch from javax to jakarta packages
Full Changelog: 0.15.0...0.16.0
annosaurus 0.14.4
This release addresses a bug where calls to /fast/images/videoreference
would return an image for every observation. This results in duplicate values in the returned JSON. This was fixed as part of development for our new image annotation application, mondrian currently in private development.
0.14.3
Added API to get count of ALL images in by video reference. The URL will be like: http://yourserver.org/anno/v1/fast/images/count/videoreference/{video_reference_uuid}
and will return data like:
{
"count": 16
}
Full Changelog: 0.14.1...0.14.3
annosaurus 0.14.1
Working on Improving support for imaging annotation applications. There's a new endpoint for returning the count of imagedmoments with images for a given video. Example: http://yourserver.org/anno/v1/imagedmoments/count/images/{video_reference_uuid}
. It returns something like:
{
"count": 8
}
Full Changelog: 0.13.1...0.14.1
annosaurus 0.13.1
This release addresses issues with postgresql UUID handling (#15). There are no API changes. Simple integration tests for both MS SQL Server and PostgreSQL were added and can be run in sbt
using IntegrationTest / test
.
Full Changelog: 0.13.0...0.13.1
annosaurus 0.13.0
New endpoints added:
/v1/imagedmoments/count/all
returns a count of all imaged moments/v1/imagedmoments/count/images
returns a count of imaged moments with at least one valid (non-null URL) image reference/v1/imagedmoments/find/images
returns the imaged moments. Acceptslimit
andoffset
query params.
4./v1/imagedmoments/count/linkname/:linkname
returns a count of imaged moments with at least one association with the given link name/v1/imagedmoments/find/linkname/:linkname
returns the imaged moments that have an association with a linkName that matches the given:linkname
param value. Acceptslimit
andoffset
query params.
annosaurus 0.12.12
Added postgresql support.
Full Changelog: 0.12.11...0.12.12
annosaurus 0.12.11
This release adds alpha-level support for PostgreSQL. The postgres JDBC drivers handle UUID's a bit differently than other JDBC drivers so 🤞
Full Changelog: 0.12.4...0.12.11
annosaurus 0.12.4
Changed output of health endpoint
Request
GET http://localhost:8080/v1/health
Response
HTTP/1.1 200 OK
Date: Tue, 30 Nov 2021 21:55:07 GMT
Content-Type: text/plain;charset=utf-8
Transfer-Encoding: chunked
Connection: close
Content-Encoding: gzip
{
"jdkVersion": "17.0.1+12-39",
"availableProcessors": 2,
"freeMemory": 31568768,
"maxMemory": 4294967296,
"totalMemory": 62914560,
"application": "annosaurus",
"version": "0.12.4",
"description": "Annotation Service"
}
Full Changelog: 0.12.3...0.12.4