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(api-v2): Add support for text file upload (DSP-44) #1664
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
de9a2cc
feat(api-v2): Add support for text file upload.
03b92d6
Merge branch 'develop' into wip/DSP-44-text-files
ab92d7c
Merge branch 'develop' into wip/DSP-44-text-files
930e20d
Merge branch 'develop' into wip/DSP-44-text-files
1c3af76
Merge branch 'develop' into wip/DSP-44-text-files
cda1d84
Merge branch 'develop' into wip/DSP-44-text-files
fa8cd0b
feat(api-v2): Support text file values.
be3fb37
test: Fix compile error.
32841f1
test: Fix compile error.
bef7f4d
docs(api-v2): Document support for new file types.
6f63692
test(api-v2): Add XML file tests.
2425eb5
test: Ignore failing test.
910e661
fix(sipi): Make workaround safer.
c900563
Merge branch 'develop' into wip/DSP-44-text-files
6b3439c
test: Add newline to end of file.
ce834a6
Merge branch 'develop' into wip/DSP-44-text-files
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Egg,Bacon,Sausage,Spam | ||
Spam,Bacon,Sausage,Spam | ||
Spam,Spam,Spam,Spam |
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 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<menu> | ||
<food> | ||
<name>egg and bacon</name> | ||
</food> | ||
<food> | ||
<name>egg sausage and bacon</name> | ||
</food> | ||
<food> | ||
<name>egg and spam</name> | ||
</food> | ||
<food> | ||
<name>egg bacon and spam</name> | ||
</food> | ||
<food> | ||
<name>egg bacon sausage and spam</name> | ||
</food> | ||
</menu> |
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 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<menu> | ||
<food> | ||
<name>spam bacon sausage and spam</name> | ||
</food> | ||
<food> | ||
<name>spam egg spam spam bacon and spam</name> | ||
</food> | ||
<food> | ||
<name>spam sausage spam spam bacon spam tomato and spam</name> | ||
</food> | ||
<food> | ||
<name>spam spam spam egg and spam</name> | ||
</food> | ||
<food> | ||
<name>spam spam spam spam spam spam baked beans spam spam spam</name> | ||
</food> | ||
</menu> |
278 changes: 258 additions & 20 deletions
278
webapi/src/it/scala/org/knora/webapi/e2e/v2/KnoraSipiIntegrationV2ITSpec.scala
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.
@benjamingeer it seems like Lukas has already fixed the issue of DSP-711, see his response should this workaround be removed in this PR or later?