Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nmaas Platform
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nmaas
nmaas Platform
Commits
ddc7dda2
Commit
ddc7dda2
authored
1 week ago
by
Lukasz Lopatowski
Browse files
Options
Downloads
Patches
Plain Diff
Trying to fix dashboard queries
parent
39601274
No related branches found
No related tags found
No related merge requests found
Pipeline
#94451
passed
1 week ago
Stage: test
Stage: sonar
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/net/geant/nmaas/portal/service/impl/DashboardServiceImpl.java
+2
-2
2 additions, 2 deletions
...geant/nmaas/portal/service/impl/DashboardServiceImpl.java
with
2 additions
and
2 deletions
src/main/java/net/geant/nmaas/portal/service/impl/DashboardServiceImpl.java
+
2
−
2
View file @
ddc7dda2
...
@@ -44,8 +44,8 @@ public class DashboardServiceImpl implements DashboardService {
...
@@ -44,8 +44,8 @@ public class DashboardServiceImpl implements DashboardService {
public
DashboardView
getSystemDashboard
(
OffsetDateTime
startDate
,
OffsetDateTime
endDate
)
{
public
DashboardView
getSystemDashboard
(
OffsetDateTime
startDate
,
OffsetDateTime
endDate
)
{
log
.
info
(
"Processing dashboard data request for period {} - {}"
,
startDate
,
endDate
);
log
.
info
(
"Processing dashboard data request for period {} - {}"
,
startDate
,
endDate
);
long
startTimeStamp
=
startDate
.
toEpochSecond
();
long
startTimeStamp
=
startDate
.
toEpochSecond
()
*
1000
;
long
endTimeStamp
=
endDate
.
toEpochSecond
();
long
endTimeStamp
=
endDate
.
toEpochSecond
()
*
1000
;
log
.
info
(
"Period in timestamps: {} - {}"
,
startTimeStamp
,
endTimeStamp
);
log
.
info
(
"Period in timestamps: {} - {}"
,
startTimeStamp
,
endTimeStamp
);
List
<
String
>
baseNames
=
applicationBaseRepository
.
findAllNames
();
List
<
String
>
baseNames
=
applicationBaseRepository
.
findAllNames
();
...
...
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