Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alfa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
app
alfa
Commits
648cd2b7
Commit
648cd2b7
authored
1 month ago
by
Tobias Bruns
Browse files
Options
Downloads
Patches
Plain Diff
OZG-7942 add timed for all vorgang list loading
parent
66575b36
Branches
Branches containing commit
Tags
release-admin-1.0.0
Tags containing commit
1 merge request
!28
Ozg 7942 fix performance issues
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
alfa-service/src/main/java/de/ozgcloud/alfa/vorgang/VorgangController.java
+7
-0
7 additions, 0 deletions
...main/java/de/ozgcloud/alfa/vorgang/VorgangController.java
with
7 additions
and
0 deletions
alfa-service/src/main/java/de/ozgcloud/alfa/vorgang/VorgangController.java
+
7
−
0
View file @
648cd2b7
...
@@ -80,6 +80,7 @@ public class VorgangController {
...
@@ -80,6 +80,7 @@ public class VorgangController {
return
handleGetAllRequest
(
requestCriteria
);
return
handleGetAllRequest
(
requestCriteria
);
}
}
@Timed
(
value
=
"http_vorgang_getAll"
,
extraTags
=
{
"byStatus"
})
@GetMapping
(
params
=
{
PARAM_PAGE
,
PARAM_LIMIT
,
PARAM_STATUS
})
@GetMapping
(
params
=
{
PARAM_PAGE
,
PARAM_LIMIT
,
PARAM_STATUS
})
public
RepresentationModel
<
EntityModel
<
EnhancedVorgang
>>
getAllByStatus
(
@RequestParam
int
page
,
@RequestParam
Integer
limit
,
public
RepresentationModel
<
EntityModel
<
EnhancedVorgang
>>
getAllByStatus
(
@RequestParam
int
page
,
@RequestParam
Integer
limit
,
@RequestParam
VorgangStatus
status
)
{
@RequestParam
VorgangStatus
status
)
{
...
@@ -89,6 +90,7 @@ public class VorgangController {
...
@@ -89,6 +90,7 @@ public class VorgangController {
return
handleGetAllRequest
(
requestCriteria
);
return
handleGetAllRequest
(
requestCriteria
);
}
}
@Timed
(
value
=
"http_vorgang_getAll"
,
extraTags
=
{
"search"
})
@GetMapping
(
params
=
{
PARAM_PAGE
,
PARAM_LIMIT
,
PARAM_SEARCH
})
@GetMapping
(
params
=
{
PARAM_PAGE
,
PARAM_LIMIT
,
PARAM_SEARCH
})
public
RepresentationModel
<
EntityModel
<
EnhancedVorgang
>>
getAllBySearchBy
(
@RequestParam
int
page
,
@RequestParam
Integer
limit
,
public
RepresentationModel
<
EntityModel
<
EnhancedVorgang
>>
getAllBySearchBy
(
@RequestParam
int
page
,
@RequestParam
Integer
limit
,
@RequestParam
String
searchBy
)
{
@RequestParam
String
searchBy
)
{
...
@@ -97,6 +99,7 @@ public class VorgangController {
...
@@ -97,6 +99,7 @@ public class VorgangController {
return
handleGetAllRequest
(
requestCriteria
);
return
handleGetAllRequest
(
requestCriteria
);
}
}
@Timed
(
value
=
"http_vorgang_getAll"
,
extraTags
=
{
"byAssignedTo"
})
@GetMapping
(
params
=
{
PARAM_PAGE
,
PARAM_LIMIT
,
PARAM_ASSIGNED_TO
})
@GetMapping
(
params
=
{
PARAM_PAGE
,
PARAM_LIMIT
,
PARAM_ASSIGNED_TO
})
public
RepresentationModel
<
EntityModel
<
EnhancedVorgang
>>
getAllByAssignedTo
(
@RequestParam
int
page
,
@RequestParam
Integer
limit
,
public
RepresentationModel
<
EntityModel
<
EnhancedVorgang
>>
getAllByAssignedTo
(
@RequestParam
int
page
,
@RequestParam
Integer
limit
,
@RequestParam
UserId
assignedTo
)
{
@RequestParam
UserId
assignedTo
)
{
...
@@ -106,6 +109,7 @@ public class VorgangController {
...
@@ -106,6 +109,7 @@ public class VorgangController {
return
handleGetAllRequest
(
requestCriteria
);
return
handleGetAllRequest
(
requestCriteria
);
}
}
@Timed
(
value
=
"http_vorgang_getAll"
,
extraTags
=
{
"byAssignedTo"
,
"search"
})
@GetMapping
(
params
=
{
PARAM_PAGE
,
PARAM_LIMIT
,
PARAM_ASSIGNED_TO
,
PARAM_SEARCH
})
@GetMapping
(
params
=
{
PARAM_PAGE
,
PARAM_LIMIT
,
PARAM_ASSIGNED_TO
,
PARAM_SEARCH
})
public
RepresentationModel
<
EntityModel
<
EnhancedVorgang
>>
getAllByAssignedToAndSearchBy
(
@RequestParam
int
page
,
@RequestParam
Integer
limit
,
public
RepresentationModel
<
EntityModel
<
EnhancedVorgang
>>
getAllByAssignedToAndSearchBy
(
@RequestParam
int
page
,
@RequestParam
Integer
limit
,
@RequestParam
UserId
assignedTo
,
@RequestParam
String
searchBy
)
{
@RequestParam
UserId
assignedTo
,
@RequestParam
String
searchBy
)
{
...
@@ -117,6 +121,7 @@ public class VorgangController {
...
@@ -117,6 +121,7 @@ public class VorgangController {
return
handleGetAllRequest
(
requestCriteria
);
return
handleGetAllRequest
(
requestCriteria
);
}
}
@Timed
(
value
=
"http_vorgang_getAll"
,
extraTags
=
{
"byAssignedTo"
,
"status"
})
@GetMapping
(
params
=
{
PARAM_PAGE
,
PARAM_LIMIT
,
PARAM_ASSIGNED_TO
,
PARAM_STATUS
})
@GetMapping
(
params
=
{
PARAM_PAGE
,
PARAM_LIMIT
,
PARAM_ASSIGNED_TO
,
PARAM_STATUS
})
public
RepresentationModel
<
EntityModel
<
EnhancedVorgang
>>
getAllByAssignedToAndStatus
(
@RequestParam
int
page
,
@RequestParam
Integer
limit
,
public
RepresentationModel
<
EntityModel
<
EnhancedVorgang
>>
getAllByAssignedToAndStatus
(
@RequestParam
int
page
,
@RequestParam
Integer
limit
,
@RequestParam
UserId
assignedTo
,
@RequestParam
VorgangStatus
status
)
{
@RequestParam
UserId
assignedTo
,
@RequestParam
VorgangStatus
status
)
{
...
@@ -129,6 +134,7 @@ public class VorgangController {
...
@@ -129,6 +134,7 @@ public class VorgangController {
return
handleGetAllRequest
(
requestCriteria
);
return
handleGetAllRequest
(
requestCriteria
);
}
}
@Timed
(
value
=
"http_vorgang_getAll"
,
extraTags
=
{
"wiedervorlageFrist"
})
@GetMapping
(
params
=
{
PARAM_PAGE
,
PARAM_LIMIT
,
PARAM_NEXT_WIEDERVORLAGE_FRIST
})
@GetMapping
(
params
=
{
PARAM_PAGE
,
PARAM_LIMIT
,
PARAM_NEXT_WIEDERVORLAGE_FRIST
})
public
RepresentationModel
<
EntityModel
<
EnhancedVorgang
>>
getAllByHasNextWiedervorlageFrist
(
@RequestParam
int
page
,
@RequestParam
Integer
limit
,
public
RepresentationModel
<
EntityModel
<
EnhancedVorgang
>>
getAllByHasNextWiedervorlageFrist
(
@RequestParam
int
page
,
@RequestParam
Integer
limit
,
@RequestParam
String
nextFrist
)
{
@RequestParam
String
nextFrist
)
{
...
@@ -140,6 +146,7 @@ public class VorgangController {
...
@@ -140,6 +146,7 @@ public class VorgangController {
return
handleGetAllRequest
(
requestCriteria
);
return
handleGetAllRequest
(
requestCriteria
);
}
}
@Timed
(
value
=
"http_vorgang_getAll"
,
extraTags
=
{
"byAssignedTo"
,
"hasWiedervorlageFrist"
})
@GetMapping
(
params
=
{
PARAM_PAGE
,
PARAM_LIMIT
,
PARAM_ASSIGNED_TO
,
PARAM_NEXT_WIEDERVORLAGE_FRIST
})
@GetMapping
(
params
=
{
PARAM_PAGE
,
PARAM_LIMIT
,
PARAM_ASSIGNED_TO
,
PARAM_NEXT_WIEDERVORLAGE_FRIST
})
public
RepresentationModel
<
EntityModel
<
EnhancedVorgang
>>
getAllByAssignedToAndHasNextWiedervorlageFrist
(
@RequestParam
int
page
,
public
RepresentationModel
<
EntityModel
<
EnhancedVorgang
>>
getAllByAssignedToAndHasNextWiedervorlageFrist
(
@RequestParam
int
page
,
@RequestParam
Integer
limit
,
@RequestParam
Integer
limit
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment