Skip to content

Releases: mbari-org/vampire-squid

vampire-squid 1.0.0

15 Feb 23:56
e49c58e
Compare
Choose a tag to compare

This is a major update to vampire-squid, the VARS video-asset manager 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.5.2. A few notable changes:

  • The default routes no longer include vam as part of the context path. So now instead of http://localhost:8080/vam/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 all track changes
  • Previously many POST/PUT routes only accepted application/x-www-form-urlencoded content. Most will now accept application/json as well. Please make sure you set Content-Type headers in your requests appropriately.

Docker

What's Changed

New Contributors

Full Changelog: 0.5.2...1.0.0

vampire-squid 0.5.2

08 Sep 00:44
4f74fb1
Compare
Choose a tag to compare

This release addresses issue #5

There's a new api endpoint at PUT /vam/v1/media/move/{videoReferenceUuid}. This endpoint moves a video reference to a different video without changing any video references that share the parent video. This endpoint takes a form body with the params:

  • start_timestamp - an ISO8601 string with the new timestamp for the video reference
  • video_name - The new name of the video
  • duration_millis - The duration of the video in milliseconds

Full Changelog: 0.5.1...0.5.2

vampire-squid 0.4.11

14 Jul 19:56
5574089
Compare
Choose a tag to compare

This addresses issue #4. There are no API changes in this release.

Full Changelog: 0.4.10...0.4.11

vampire-squid 0.4.10

14 Apr 16:09
2af296a
Compare
Choose a tag to compare

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.4.5...0.4.10

vampire-squid 0.4.5

15 Dec 16:20
1e65f55
Compare
Choose a tag to compare

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": "vampire-squid",
  "version": "0.4.5",
  "description": "Video Asset Manager"
}

Full Changelog: 0.4.4...0.4.5

vampire-squid 0.4.4

03 Dec 19:26
bdfd0e5
Compare
Choose a tag to compare

Code cleanup and Raziel integration

Full Changelog: 0.4.2...0.4.4

vampire-squid 0.4.2

01 Dec 00:09
7f54adf
Compare
Choose a tag to compare

This release upgrades Java from 11 to 17 (the latest long-term release)

There is a also a new endpoint for checking health of the server:

/health

Demo setup

docker run -p 8080:8080 -e BASICJWT_CLIENT_SECRET=foo -e BASICJWT_SIGNING_SECRET=bar mbari/vampire-squid

Request

GET http://localhost:8080/v1/health

Response

HTTP/1.1 200 OK
Connection: close
Date: Tue, 30 Nov 2021 23:53:21 GMT
Content-Type: text/plain;charset=utf-8

{
  "jdkVersion": "17.0.1+12-39",
  "availableProcessors": 6,
  "freeMemory": 25321824,
  "maxMemory": 4294967296,
  "totalMemory": 69206016,
  "application": "vampire-squid"
}

Full Changelog: 0.4.1...0.4.2

vampire-squid 0.4.1

14 Jun 17:11
dd1bd58
Compare
Choose a tag to compare

This is a minor update. The media API's for updates (e.g. PUT) no longer require that a media has a checksum. This change was made to support MBARI's tape to video migration. (Our tapes do not have checksums)

vampire-squid 0.4.0

16 Apr 19:08
5d9bef1
Compare
Choose a tag to compare

Added a method to find a the video object by a video-reference-uuid of one of the it's contained videos. In vampire-squid a video is essentially a collection of the same video represented in a few different formats. Each different format is called a video-reference. An example of why this method is useful: A video annotation in M3 is tied to it's exact video reference, which might be a ProRes video. We might want to play that video in a web app, except you can't play ProRes in a browsers. With this method, we can look for alternative, web-friendly formats of the same video.

Usage

GET vam/v1/videos/videoreference/:videoReferenceUuid

Example

Reguest

GET http://myserver.com/vam/v1/videos/videoreference/6fd9cfca-6c04-4e65-92f1-757cfd727b42

Response

{
  "name": "Ventana 4222 20191014T181919Z",
  "start_timestamp": "2019-10-14T18:19:19Z",
  "duration_millis": 900070,
  "video_references": [
    {
      "uri": "http://m3.shore.mbari.org/videos/M3/aux_master/Ventana/2019/10/4222/V4222_20191014T181919Z_aux_prores.mov",
      "container": "video/quicktime",
      "width": 1920,
      "height": 1080,
      "frame_rate": 0.0,
      "size_bytes": 21075617873,
      "sha512": "A1B92C135D7315BC1C5D604772AD506FE8D5004E9CC45946A30C89C0ADB26E83434633D233E949A7ACF031E35011E3A1FFA242687730763F2D6E70BAC3B32A56",
      "last_updated_time": "2019-10-17T10:29:13Z",
      "uuid": "38a03c2d-7a7e-458f-b3ec-4b8437fca886"
    },
    {
      "uri": "http://m3.shore.mbari.org/videos/M3/aux_mezzanine/Ventana/2019/10/4222/V4222_20191014T181919Z_aux_h264.mp4",
      "container": "video/mp4",
      "width": 1920,
      "height": 1080,
      "frame_rate": 0.0,
      "size_bytes": 2504422329,
      "sha512": "190A2E4A541D1D9B82445E62087AB08F87AC391B5D1BD10DE1274105BEA20C7D978D176417E1A9E9E7B5FC672042037A59EF641B0ECDD750EE1C8D45F06BDACA",
      "last_updated_time": "2019-10-16T10:28:02Z",
      "uuid": "6fd9cfca-6c04-4e65-92f1-757cfd727b42"
    }
  ],
  "last_updated_time": "2019-10-16T10:28:02Z",
  "uuid": "2c4ab04e-2e37-4a02-959b-c2751c6aed3f"
}

vampire-squid 0.3.2

27 Jun 00:05
148d619
Compare
Choose a tag to compare

Fixes a bug when calling an update endpoint on the Media api. The API was returning an empty json array instead of the updated Media data.