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

Update core.yaml #1024

Merged
merged 1 commit into from
Aug 7, 2018
Merged

Update core.yaml #1024

merged 1 commit into from
Aug 7, 2018

Conversation

kwk
Copy link
Contributor

@kwk kwk commented Aug 7, 2018

Provide join lock down (fabric8-services/fabric8-wit#2211)

This includes an extra-condition in the ON part of the table JOINS for areas, codebases and iterations to only join those tables filtered by their space ID.

See fabric8-services/fabric8-wit#2210.

commit fabric8-services/fabric8-wit@2661cf8
Author: Konrad Kleine <193408+kwk@users.noreply.github.com>
Date:   Tue Aug 7 15:40:55 2018 +0200

Provide join lock down  (fabric8-services/fabric8-wit#2211)
    
This includes an extra-condition in the `ON` part of the table `JOINS` for areas, codebases and iterations to only join those tables filtered by their space ID. I'm not sure though if this really fixes the problem (see fabric8-services/fabric8-wit#2210 (comment)).
    
## TODO
    
As of yesterday's (07.08.2018) discussion with @aslakknutsen we did experiments and found that in order to keep the rows in the search small, we have to establish a condition on the final SQL `WHERE` clause that limits the selection to work items from a particular space. At the moment, the current `/api/search` endpoint is so generic that it doesn't require a limitation by space on the root of the `WHERE` clause. That's why @aslakknutsen and I agreed to create a search endpoint under `/api/spaces/<SPACE-UUID>/search` in order to automatically add the space ID to the query condition. This will be implemented in another PR and is tracked in openshiftio/openshift.io#4124
    
See fabric8-services/fabric8-wit#2210.
@kwk kwk self-assigned this Aug 7, 2018
@kwk kwk requested a review from aslakknutsen August 7, 2018 15:22
@aslakknutsen aslakknutsen merged commit 35e1b1b into master Aug 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants