Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TAM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Labrador
TAM
Merge requests
!348
Deploy fix
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Deploy fix
dev
into
master
Overview
0
Commits
21
Pipelines
5
Changes
16
Merged
Deploy fix
Ruben Backx
requested to merge
dev
into
master
Dec 1, 2023
Overview
0
Commits
21
Pipelines
5
Changes
16
0
0
Merge request reports
Compare
master
version 1
8d7ea2ca
Dec 1, 2023
master (base)
and
latest version
latest version
613e4389
21 commits,
Dec 1, 2023
version 1
8d7ea2ca
20 commits,
Dec 1, 2023
16 files
+
112
−
49
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
16
src/main/java/nl/tudelft/tam/controller/DeclarationController.java
+
2
−
2
View file @ 613e4389
Edit in single-file editor
Open in Web IDE
Show full file
@@ -230,12 +230,12 @@ public class DeclarationController {
*/
@GetMapping
(
"flex-delft-export"
)
@PreAuthorize
(
"@authorisationService.isCoordinatorOfAny()"
)
public
ResponseEntity
<
Resource
>
export
Applic
ationsForFlexDelft
(
@AuthenticatedPerson
Person
person
,
public
ResponseEntity
<
Resource
>
export
Declar
ationsForFlexDelft
(
@AuthenticatedPerson
Person
person
,
@RequestParam
(
required
=
false
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd'T'HH:mm:ss"
)
LocalDateTime
since
,
@RequestParam
Long
program
,
@RequestParam
Integer
batch
)
throws
IOException
{
List
<
Declaration
>
decList
=
declarationService
.
getCoordinatingDeclarations
(
person
.
getId
()).
stream
()
.
getCoordinatingDeclarations
ForProgram
(
person
.
getId
()
,
program
).
stream
()
.
filter
(
x
->
!
editionService
.
getOrThrow
(
x
.
getExtraWork
().
getEditionId
()).
getIsArchived
())
.
filter
(
x
->
x
.
getStatus
()
==
Status
.
ACCEPTED
)
.
collect
(
Collectors
.
toList
());
Loading