Skip to content

feat: provide different endpoints for public and non-public images

Feature

Summary

This MR provides

  • two different endpoints for public and non-public images:
    • /images/public/someuri
    • /images/restricted/someuri
  • the necessary adjustments of the item endpoint
  • added return types which have been missing and which I spotted accidentally

Compliance to “Definition of Done”

  • Unit tests passed
  • Code reviewed
  • Acceptance criteria met
  • Functional tests passed
  • Non-Functional requirements met
  • Product Owner accepts the User Story

Use Cases

Some of the images in the Ahiqar project are public domain while others have the restriction that they can only be shown on Göttingen campus. In order to have a proper IP restriction we provide two different endpoints.

Documentation

  • I provided my functions with appropriate documentation
  • I updated existing documentation

Tests

Are we able to test this new feature?

  • No, because the SessionID is currently not valid.

Changelog

  • I added a statement to the CHANGELOG.

Version number

  • I bumped the version number in build.properties.

Related Tickets

Closes

Closes #92 (closed)

/cc Mathias Göbel, Frank Schneider, Michelle Weidling

Edited by Michelle Weidling

Merge request reports