private final SlcExecutionDao slcExecutionDao;\r
private final TreeTestResultCollectionDao treeTestResultCollectionDao;\r
\r
private final SlcExecutionDao slcExecutionDao;\r
private final TreeTestResultCollectionDao treeTestResultCollectionDao;\r
\r
public TestManagerServiceImpl(TreeTestResultDao treeTestResultDao,\r
TestRunDescriptorDao testRunDescriptorDao,\r
SlcExecutionDao slcExecutionDao,\r
public TestManagerServiceImpl(TreeTestResultDao treeTestResultDao,\r
TestRunDescriptorDao testRunDescriptorDao,\r
SlcExecutionDao slcExecutionDao,\r
.getSlcExecution(testRunDescriptor\r
.getSlcExecutionUuid());\r
if (slcExecution != null) {\r
.getSlcExecution(testRunDescriptor\r
.getSlcExecutionUuid());\r
if (slcExecution != null) {\r
- String collectionId = slcExecution.getUser() != null ? slcExecution\r
- .getUser()\r
- : "default";\r
+ // Use Host as collection ID if host is available\r
+ String collectionId = slcExecution.getHost() != null ? slcExecution\r
+ .getHost()\r
+ : defaultCollectionId;\r
if (log.isTraceEnabled())\r
log.trace("ResultUUID="\r
+ testRunDescriptor.getTestResultUuid());\r
if (log.isTraceEnabled())\r
log.trace("ResultUUID="\r
+ testRunDescriptor.getTestResultUuid());\r