generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 23
chore: [DevOps] bump org.springframework:spring-framework-bom from 6.2.12 to 7.0.0 in the production-major group #1006
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
Closed
dependabot
wants to merge
12
commits into
main
from
dependabot/maven/main/production-major-a56f5d5719
Closed
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
170f22b
chore: [DevOps] bump org.springframework:spring-framework-bom
dependabot[bot] 0c5ee90
Remove Spring dependency from odata generators
newtork f11fa1a
Exclude banned dependency
newtork 7c9ae63
impsort
newtork e50bb92
Add multi jackson support
newtork 426f35c
Format
newtork 2560149
Fix runtime class path when using Spring6+Jackson2
newtork 783b109
Format
newtork acc3ae4
Use HttpHeaders#set instead of #remove + #add because #remove require…
newtork ff29c4f
Have sample project use Spring6+Jackson2 (legacy)
newtork cb74e29
Minor syntax
newtork ad3205b
Format
newtork 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
34 changes: 34 additions & 0 deletions
34
...or/src/test/java/com/sap/cloud/sdk/datamodel/odata/generator/ODataToVdmGeneratorTest.java
This file contains hidden or 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,34 @@ | ||
| package com.sap.cloud.sdk.datamodel.odata.generator; | ||
|
|
||
| import static com.sap.cloud.sdk.datamodel.odata.generator.ODataToVdmGenerator.excludePatternMatch; | ||
|
|
||
| import java.io.File; | ||
|
|
||
| import org.assertj.core.api.SoftAssertions; | ||
| import org.junit.jupiter.api.Test; | ||
|
|
||
| public class ODataToVdmGeneratorTest | ||
| { | ||
| @Test | ||
| void testExcludePatternMatch() | ||
| { | ||
| // Get file-name only, without path | ||
| final String fileName = new File("src/test/resources/sample/Spec.edmx").getName(); | ||
|
|
||
| final SoftAssertions softly = new SoftAssertions(); | ||
| for( final String pattern : new String[] { "*.edmx", "*.*", "sp*c.edmx", "*.EDMX" } ) | ||
| softly | ||
| .assertThat(excludePatternMatch(pattern, fileName)) | ||
| .describedAs("%s matches %s", pattern, fileName) | ||
| .isTrue(); | ||
|
|
||
| for( final String pattern : new String[] { "F", "*/*", "/resources/*/*.edmx", "/resources/*/*" } ) | ||
| softly | ||
| .assertThat(excludePatternMatch(pattern, fileName)) | ||
| .describedAs("%s not matches %s", pattern, fileName) | ||
| .isFalse(); | ||
|
|
||
| softly.assertThat(excludePatternMatch("A,B,spec.edmx", fileName)).describedAs("fallback").isTrue(); | ||
| softly.assertAll(); | ||
| } | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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.
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.
AntPathMatcherreferred to glob syntax seehttps://docs.oracle.com/javase/8/docs/api/java/nio/file/FileSystem.html#getPathMatcher-java.lang.String-