@@ -0,0 +1,1617 @@
+/*%0A * Copyright 2016 EPAM Systems%0A * %0A * %0A * This file is part of EPAM Report Portal.%0A * https://github.com/reportportal/commons-dao%0A * %0A * Report Portal is free software: you can redistribute it and/or modify%0A * it under the terms of the GNU General Public License as published by%0A * the Free Software Foundation, either version 3 of the License, or%0A * (at your option) any later version.%0A * %0A * Report Portal is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A * GNU General Public License for more details.%0A * %0A * You should have received a copy of the GNU General Public License%0A * along with Report Portal.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A */ %0A%0Apackage com.epam.ta.reportportal.database.dao;%0A%0Aimport com.epam.ta.reportportal.database.entity.item.FailReferenceResource;%0Aimport org.springframework.data.mongodb.repository.Query;%0Aimport org.springframework.data.repository.CrudRepository;%0A%0Aimport java.util.List;%0A%0A/**%0A * Repository interface for %7B@link FailReferenceResource%7D instances. Provides basic CRUD operations%0A * due to the extension of %7B@link CrudRepository%7D%0A * %0A * @author Andrei_Ramanchuk%0A *%0A */%0Apublic interface FailReferenceResourceRepository extends ReportPortalRepository%3CFailReferenceResource, String%3E %7B%0A%0A%09String FIND_BY_LAUNCH_REF = %22%7B'launchRef' : ?0 %7D%22;%0A%0A%09@Query(FIND_BY_LAUNCH_REF)%0A%09List%3CFailReferenceResource%3E findAllLaunchIssues(String launchId);%0A%0A%09@Query(value = FIND_BY_LAUNCH_REF, delete = true)%0A%09void deleteAllIssuesForLaunch(String launchId);%0A%7D

Revert "remove fail reference collection"