Skip to content
This repository has been archived by the owner on Jul 25, 2018. It is now read-only.

feat(couchdb): support for linked documents in couchdb #596

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lepokle
Copy link
Contributor

@lepokle lepokle commented Sep 27, 2017

This commit adds a method to the database connector which allows the retrieval of linked documents
from couchdb as described in http://docs.couchdb.org/en/2.1.0/ddocs/views/joins.html.

Read the documentation for the annotations LinkedDocument and LinkedDocuments as well as the
test cases in LinkedDocumentLoadingTest for more information about how it works.

Another source might be https://github.com/sw360/sw360portal/wiki/External-documents-with-CouchDB

This commit adds a method to the database connector which allows the retrieval of linked documents
from couchdb as described in http://docs.couchdb.org/en/2.1.0/ddocs/views/joins.html.

Read the documentation for the annotations LinkedDocument and LinkedDocuments as well as the
test cases in LinkedDocumentLoadingTest for more information about how it works.

Another source might be https://github.com/sw360/sw360portal/wiki/External-documents-with-CouchDB
Signed-off-by: Maximilian Huber <external.maximilian.huber2@bosch-si.com>
@maxhbr
Copy link
Member

maxhbr commented Nov 24, 2017

This POC sadly fails if the list of linkedReleaseIds is empty (see the committed test).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants