// Path: src/main/java/com/orange/clara/cloud/servicedbdumper/repo/DbDumperServiceInstanceBindingRepo.java
// @Repository
// public interface DbDumperServiceInstanceBindingRepo extends PagingAndSortingRepository<DbDumperServiceInstanceBinding, String> {
//     Long deleteByDbDumperServiceInstance(DbDumperServiceInstance dbDumperServiceInstance);
// }


import com.google.common.collect.Lists;
import com.orange.clara.cloud.servicedbdumper.model.JobEvent;
import com.orange.clara.cloud.servicedbdumper.model.JobType;
import com.orange.clara.cloud.servicedbdumper.repo.DatabaseDumpFileRepo;
import com.orange.clara.cloud.servicedbdumper.repo.DbDumperServiceInstanceBindingRepo;
import com.orange.clara.cloud.servicedbdumper.repo.DbDumperServiceInstanceRepo;
import com.orange.clara.cloud.servicedbdumper.repo.JobRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.actuate.endpoint.PublicMetrics;
import org.springframework.boot.actuate.metrics.Metric;
import org.springframework.stereotype.Service;
import java.util.Collection;
import java.util.List;
package com.orange.clara.cloud.servicedbdumper.metric;



/**
 * Copyright (C) 2016 Orange
 * <p>
 * This software is distributed under the terms and conditions of the 'Apache-2.0'
 * license which can be found in the file 'LICENSE' in this package distribution
 * or at 'https://opensource.org/licenses/Apache-2.0'.
 * <p>
 * Author: Arthur Halet
 * Date: 21/09/2016
 */
@Service
public class DbDumperMetrics implements PublicMetrics {
    private final String namespace = "dbdumper";
    @Autowired
    private JobRepo jobRepo;

    @Autowired
    private DatabaseDumpFileRepo dumpFileRepo;

    @Autowired
    private DbDumperServiceInstanceRepo serviceInstanceRepo;

    @Autowired
// Path: src/main/java/com/orange/clara/cloud/servicedbdumper/repo/DbDumperServiceInstanceBindingRepo.java
// @Repository
// public interface DbDumperServiceInstanceBindingRepo extends PagingAndSortingRepository<DbDumperServiceInstanceBinding, String> {
//     Long deleteByDbDumperServiceInstance(DbDumperServiceInstance dbDumperServiceInstance);
// }


// Path: src/main/java/com/orange/clara/cloud/servicedbdumper/metric/DbDumperMetrics.java
import com.google.common.collect.Lists;
import com.orange.clara.cloud.servicedbdumper.model.JobEvent;
import com.orange.clara.cloud.servicedbdumper.model.JobType;
import com.orange.clara.cloud.servicedbdumper.repo.DatabaseDumpFileRepo;
import com.orange.clara.cloud.servicedbdumper.repo.DbDumperServiceInstanceBindingRepo;
import com.orange.clara.cloud.servicedbdumper.repo.DbDumperServiceInstanceRepo;
import com.orange.clara.cloud.servicedbdumper.repo.JobRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.actuate.endpoint.PublicMetrics;
import org.springframework.boot.actuate.metrics.Metric;
import org.springframework.stereotype.Service;
import java.util.Collection;
import java.util.List;

package com.orange.clara.cloud.servicedbdumper.metric;



/**
 * Copyright (C) 2016 Orange
 * <p>
 * This software is distributed under the terms and conditions of the 'Apache-2.0'
 * license which can be found in the file 'LICENSE' in this package distribution
 * or at 'https://opensource.org/licenses/Apache-2.0'.
 * <p>
 * Author: Arthur Halet
 * Date: 21/09/2016
 */
@Service
public class DbDumperMetrics implements PublicMetrics {
    private final String namespace = "dbdumper";
    @Autowired
    private JobRepo jobRepo;

    @Autowired
    private DatabaseDumpFileRepo dumpFileRepo;

    @Autowired
    private DbDumperServiceInstanceRepo serviceInstanceRepo;

    @Autowired
    private DbDumperServiceInstanceBindingRepo serviceInstanceBindingRepo;