Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
f32344cf
Commit
f32344cf
authored
7 years ago
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added index
parent
129cba22
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
BenchmarkResult.java
...va/sne/drip/data/v1/external/ansible/BenchmarkResult.java
+6
-1
No files found.
drip-api/src/main/java/nl/uva/sne/drip/data/v1/external/ansible/BenchmarkResult.java
View file @
f32344cf
...
@@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonFormat;
...
@@ -19,6 +19,7 @@ import com.fasterxml.jackson.annotation.JsonFormat;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
java.util.Date
;
import
java.util.Date
;
import
nl.uva.sne.drip.data.v1.external.OwnedObject
;
import
nl.uva.sne.drip.data.v1.external.OwnedObject
;
import
org.springframework.data.mongodb.core.index.Indexed
;
import
org.springframework.data.mongodb.core.mapping.Document
;
import
org.springframework.data.mongodb.core.mapping.Document
;
/**
/**
...
@@ -28,18 +29,22 @@ import org.springframework.data.mongodb.core.mapping.Document;
...
@@ -28,18 +29,22 @@ import org.springframework.data.mongodb.core.mapping.Document;
@Document
@Document
public
class
BenchmarkResult
extends
OwnedObject
{
public
class
BenchmarkResult
extends
OwnedObject
{
@Indexed
private
String
host
;
private
String
host
;
@Indexed
private
String
cloudDeploymentDomain
;
private
String
cloudDeploymentDomain
;
@Indexed
@JsonProperty
(
"end"
)
@JsonProperty
(
"end"
)
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
,
pattern
=
"yyyy-MM-dd HH:mm:ss.SSSSSS"
)
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
,
pattern
=
"yyyy-MM-dd HH:mm:ss.SSSSSS"
)
private
Date
end
;
private
Date
end
;
@Indexed
@JsonProperty
(
"start"
)
@JsonProperty
(
"start"
)
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
,
pattern
=
"yyyy-MM-dd HH:mm:ss.SSSSSS"
)
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
,
pattern
=
"yyyy-MM-dd HH:mm:ss.SSSSSS"
)
private
Date
start
;
private
Date
start
;
@Indexed
@JsonProperty
(
"delta"
)
@JsonProperty
(
"delta"
)
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
,
pattern
=
"HH:mm:ss.SSSSSS"
)
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
,
pattern
=
"HH:mm:ss.SSSSSS"
)
private
Date
delta
;
private
Date
delta
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment