-
Notifications
You must be signed in to change notification settings - Fork 12
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
capsule result urls in api object #2905
Merged
Merged
Changes from 10 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
e138809
capsule result urls in api object
thoniTUB 5061e82
adds result provider to path so that an external provider would not c…
thoniTUB ac48e18
fix tests
thoniTUB 185f05b
generalize result name normalization
thoniTUB 7f6a9ba
adds NoSuchElementException->404 mapper
thoniTUB cbd8b21
fix ResultNameTest
thoniTUB 01cd6cc
adapt openapi.yaml
thoniTUB 1afd034
switch to labels, switch internal type, mock api
fabian-bizfactory 515b94b
fix icons
fabian-bizfactory 873404f
memorization and save selection to localstorage
fabian-bizfactory 6a3f907
fix format
fabian-bizfactory ddbfbb8
fix spelling to correct capitalization
fabian-bizfactory e729176
requested changes
fabian-bizfactory c21c831
Merge branch 'develop' into feature/result-assets-frontend
fabian-bizfactory bc0f6ef
capsule result urls in api object
thoniTUB 7253089
adds result provider to path so that an external provider would not c…
thoniTUB fe61b42
fix tests
thoniTUB d39f3f7
generalize result name normalization
thoniTUB 3b3404d
adds NoSuchElementException->404 mapper
thoniTUB b153a71
fix ResultNameTest
thoniTUB 23a7f8a
adapt openapi.yaml
thoniTUB 9ae4826
capsule result urls in api object
thoniTUB 610b421
switch to labels, switch internal type, mock api
fabian-bizfactory 5593c3b
fix icons
fabian-bizfactory 506c293
memorization and save selection to localstorage
fabian-bizfactory 83a6b7b
fix format
fabian-bizfactory ab7515b
fix spelling to correct capitalization
fabian-bizfactory 5707f15
requested changes
fabian-bizfactory 9f7fba2
remove fqn from method signatures
thoniTUB e508d54
Suggest adding popperOptions using padding instead of skidding
Kadrian 9edecc9
Merge pull request #2944 from ingef/feature/result-assets-frontend-al…
fabian-bizfactory 9fb55b6
Merge branch 'feature/result-assets-frontend' of https://github.com/b…
fabian-bizfactory aaba31b
adressed issues
fabian-bizfactory 190ba0e
fix format
fabian-bizfactory f7491c0
Merge branch 'develop' into feature/result-assets
thoniTUB 33d6ac7
changes from merge
thoniTUB d2647ad
Merge branch 'feature/result-assets' into feature/result-assets-frontend
fabian-bizfactory a33da0a
relax token leeway test timing constrain
thoniTUB 39c0465
add long result label to mock
thoniTUB 320f8fb
dice if a too long result label should appear
thoniTUB 878d34f
Merge pull request #2931 from ingef/feature/result-assets-frontend
thoniTUB 217a8ce
Merge branch 'develop' into feature/result-assets
thoniTUB cf45fe9
run prettier on src/js/api/types.ts
thoniTUB b56ade2
fix result assets
fabian-bizfactory 7e0836a
Use … Symbol instead of ... for truncation
fabian-bizfactory 53918a7
Merge pull request #2966 from ingef/bug/result-assets-fix-ending
fabian-bizfactory 8903b88
Merge branch 'develop' into feature/result-assets
thoniTUB File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nquery/apiv1/OverviewExecutionStatus.java → ...v1/execution/OverviewExecutionStatus.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
backend/src/main/java/com/bakdata/conquery/apiv1/execution/ResultAsset.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package com.bakdata.conquery.apiv1.execution; | ||
|
||
import java.net.URL; | ||
|
||
public record ResultAsset(String label, URL url) { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
backend/src/main/java/com/bakdata/conquery/io/jetty/NoSuchElementExceptionMapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.bakdata.conquery.io.jetty; | ||
|
||
import java.util.NoSuchElementException; | ||
|
||
import javax.ws.rs.core.MediaType; | ||
import javax.ws.rs.core.Response; | ||
import javax.ws.rs.ext.ExceptionMapper; | ||
|
||
import lombok.extern.slf4j.Slf4j; | ||
|
||
@Slf4j | ||
public class NoSuchElementExceptionMapper implements ExceptionMapper<NoSuchElementException> { | ||
@Override | ||
public Response toResponse(NoSuchElementException exception) { | ||
log.trace("Mapping exception:", exception); | ||
return Response.status(Response.Status.NOT_FOUND).type(MediaType.APPLICATION_JSON_TYPE).entity(exception.getMessage()).build(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bitte openapi spec anpassen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ist angepasst :)