Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
maierthomas opened this issue Apr 26, 2018 · 3 comments
Closed

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

maierthomas opened this issue Apr 26, 2018 · 3 comments

Comments

@maierthomas
Copy link
Contributor

Issue by lepokle
Wednesday Sep 27, 2017 at 12:31 GMT
Originally opened as sw360/sw360portal#596


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


lepokle included the following code: https://github.com/sw360/sw360portal/pull/596/commits

@maierthomas
Copy link
Contributor Author

Comment by maxhbr
Friday Nov 24, 2017 at 16:11 GMT


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

@mcjaeger mcjaeger added this to the Backlog milestone Jul 2, 2018
@mcjaeger
Copy link
Contributor

mcjaeger commented Jul 2, 2018

note that we preserved state here:
sw360/sw360portal#596

@mcjaeger
Copy link
Contributor

I think we can solve this for now since this has not been discussed since a longer time

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

No branches or pull requests

2 participants