NYPL-Simplified / server_core

Shared data model and utilities for Library Simplified server applications
7 stars 11 forks source link

Complete OPDS catalog entries must contain self links #1230

Closed vbessonov closed 3 years ago

vbessonov commented 3 years ago

Description

This PR adds an ability to override rel of application/atom+xml;type=entry;profile=opds-catalog links: depending on whether the OPDS entry is complete or incomplete rel will be set to self or alternate accordingly.

Motivation and Context

SIMPLY-3355

How Has This Been Tested?

Checklist:

leonardr commented 3 years ago

See my comment on https://jira.nypl.org/browse/SIMPLY-3355. I believe there's a simple way to resolve this problem while leaving the more difficult work for later.