Commit b54dfc65 authored by Spiros Koulouzis's avatar Spiros Koulouzis

added host domina etc

parent 23ab925b
......@@ -332,6 +332,12 @@ public class DeployService {
b.setMaxExecutionTimePerRequest(maxExecutionTimePerRequest);
b = (SysbenchCPUBenchmark) benchmarkResultService.save(b);
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;
default:
......
......@@ -30,7 +30,7 @@ public class BenchmarkResult extends OwnedObject {
private String host;
private String cloudProvider;
private String cloudDeploymentDomain;
@JsonProperty("end")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss.SSSSSS")
......@@ -59,17 +59,17 @@ public class BenchmarkResult extends OwnedObject {
}
/**
* @return the cloudProvider
* @return the cloudDeploymentDomain
*/
public String getCloudProvider() {
return cloudProvider;
public String getCloudDeploymentDomain() {
return cloudDeploymentDomain;
}
/**
* @param cloudProvider the cloudProvider to set
* @param cloudDeploymentDomain the cloudDeploymentDomain to set
*/
public void setCloudProvider(String cloudProvider) {
this.cloudProvider = cloudProvider;
public void setCloudDeploymentDomain(String cloudDeploymentDomain) {
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