Commit b54dfc65 authored by Spiros Koulouzis's avatar Spiros Koulouzis

added host domina etc

parent 23ab925b
...@@ -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:
......
...@@ -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 cloudProvider; private String cloudDeploymentDomain;
@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 cloudProvider * @return the cloudDeploymentDomain
*/ */
public String getCloudProvider() { public String getCloudDeploymentDomain() {
return cloudProvider; return cloudDeploymentDomain;
} }
/** /**
* @param cloudProvider the cloudProvider to set * @param cloudDeploymentDomain the cloudDeploymentDomain to set
*/ */
public void setCloudProvider(String cloudProvider) { public void setCloudDeploymentDomain(String cloudDeploymentDomain) {
this.cloudProvider = cloudProvider; this.cloudDeploymentDomain = cloudDeploymentDomain;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment