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
b54dfc65
Commit
b54dfc65
authored
Apr 24, 2017
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added host domina etc
parent
23ab925b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
DeployService.java
.../main/java/nl/uva/sne/drip/api/service/DeployService.java
+6
-0
BenchmarkResult.java
...va/sne/drip/data/v1/external/ansible/BenchmarkResult.java
+7
-7
No files found.
drip-api/src/main/java/nl/uva/sne/drip/api/service/DeployService.java
View file @
b54dfc65
...
@@ -332,6 +332,12 @@ public class DeployService {
...
@@ -332,6 +332,12 @@ public class DeployService {
b
.
setMaxExecutionTimePerRequest
(
maxExecutionTimePerRequest
);
b
.
setMaxExecutionTimePerRequest
(
maxExecutionTimePerRequest
);
b
=
(
SysbenchCPUBenchmark
)
benchmarkResultService
.
save
(
b
);
b
=
(
SysbenchCPUBenchmark
)
benchmarkResultService
.
save
(
b
);
b
.
setAnsibleOutputID
(
ansOut
.
getId
());
b
.
setAnsibleOutputID
(
ansOut
.
getId
());
b
.
setCloudDeploymentDomain
(
ansOut
.
getCloudDeploymentDomain
());
b
.
setDelta
(
ansOut
.
getAnsibleResult
().
getDelta
());
b
.
setStart
(
ansOut
.
getAnsibleResult
().
getStart
());
b
.
setEnd
(
ansOut
.
getAnsibleResult
().
getEnd
());
b
.
setHost
(
ansOut
.
getHost
());
return
b
;
return
b
;
default
:
default
:
...
...
drip-api/src/main/java/nl/uva/sne/drip/data/v1/external/ansible/BenchmarkResult.java
View file @
b54dfc65
...
@@ -30,7 +30,7 @@ public class BenchmarkResult extends OwnedObject {
...
@@ -30,7 +30,7 @@ public class BenchmarkResult extends OwnedObject {
private
String
host
;
private
String
host
;
private
String
cloud
Provider
;
private
String
cloud
DeploymentDomain
;
@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"
)
...
@@ -59,17 +59,17 @@ public class BenchmarkResult extends OwnedObject {
...
@@ -59,17 +59,17 @@ public class BenchmarkResult extends OwnedObject {
}
}
/**
/**
* @return the cloud
Provider
* @return the cloud
DeploymentDomain
*/
*/
public
String
getCloud
Provider
()
{
public
String
getCloud
DeploymentDomain
()
{
return
cloud
Provider
;
return
cloud
DeploymentDomain
;
}
}
/**
/**
* @param cloud
Provider the cloudProvider
to set
* @param cloud
DeploymentDomain the cloudDeploymentDomain
to set
*/
*/
public
void
setCloud
Provider
(
String
cloudProvider
)
{
public
void
setCloud
DeploymentDomain
(
String
cloudDeploymentDomain
)
{
this
.
cloud
Provider
=
cloudProvider
;
this
.
cloud
DeploymentDomain
=
cloudDeploymentDomain
;
}
}
/**
/**
...
...
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