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
fd497934
Commit
fd497934
authored
Apr 24, 2017
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added vm type
parent
f32344cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
DeployService.java
.../main/java/nl/uva/sne/drip/api/service/DeployService.java
+1
-0
BenchmarkResult.java
...va/sne/drip/data/v1/external/ansible/BenchmarkResult.java
+18
-0
No files found.
drip-api/src/main/java/nl/uva/sne/drip/api/service/DeployService.java
View file @
fd497934
...
...
@@ -343,6 +343,7 @@ public class DeployService {
b
.
setStart
(
ansOut
.
getAnsibleResult
().
getStart
());
b
.
setEnd
(
ansOut
.
getAnsibleResult
().
getEnd
());
b
.
setHost
(
ansOut
.
getHost
());
b
.
setVmType
(
ansOut
.
getVmType
());
b
=
(
SysbenchCPUBenchmark
)
benchmarkResultService
.
save
(
b
);
return
b
;
...
...
drip-api/src/main/java/nl/uva/sne/drip/data/v1/external/ansible/BenchmarkResult.java
View file @
fd497934
...
...
@@ -33,6 +33,10 @@ public class BenchmarkResult extends OwnedObject {
private
String
host
;
@Indexed
private
String
cloudDeploymentDomain
;
@Indexed
@JsonProperty
(
"vmType"
)
private
String
vmType
;
@Indexed
@JsonProperty
(
"end"
)
...
...
@@ -119,4 +123,18 @@ public class BenchmarkResult extends OwnedObject {
this
.
delta
=
delta
;
}
/**
* @return the vmType
*/
public
String
getVmType
()
{
return
vmType
;
}
/**
* @param vmType the vmType to set
*/
public
void
setVmType
(
String
vmType
)
{
this
.
vmType
=
vmType
;
}
}
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