-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix:testsCantons 2 tests in error because of wrong Type value and balises in wrong order * fix-testsCanton query correction * revert for expected Type and modify mock * Update ConstantForIntegration.java correction of error * Fix(projection) : update sparql request and modify CSVMapper * fix:testsCantons 2 tests in error because of wrong Type value and balises in wrong order * fix-testsCanton query correction * revert for expected Type and modify mock * Update ConstantForIntegration.java correction of error * feat(prop for baseHost) baseHost is an internal property of th release which shouldn't be override in insee production context * test(cantons) add tests for commmunes inside a canton : need business answers * merge reabse with main * tests(canton) fix and improve tests for CantonOuVilleApiTest and CantonAPITest * Fix(intituleComplet): update ftlh * Fix(CantonOuVilleApiTest): public to private --------- Co-authored-by: Jérôme Bourgeois <[email protected]> Co-authored-by: Fabrice Bibonne <[email protected]>
- Loading branch information
1 parent
b918aa9
commit b0dcf41
Showing
17 changed files
with
965 additions
and
1,240 deletions.
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
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,15 @@ | ||
package fr.insee.rmes.utils; | ||
|
||
import java.util.List; | ||
import java.util.function.BiFunction; | ||
import java.util.stream.Stream; | ||
|
||
public class JavaLangUtils { | ||
|
||
private JavaLangUtils(){} | ||
|
||
public static <S,T, R> Stream<R> merge(Stream<S> stream, List<T> list, BiFunction<S,T,R> merger) { | ||
return stream.flatMap(s->list.stream().map(t->merger.apply(s,t))); | ||
} | ||
|
||
} |
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.