// Path: environment.monitor.runner/src/main/java/org/yagel/monitor/exception/DiagnosticException.java
// public class DiagnosticException extends RuntimeException {
// 
// 
//   public DiagnosticException(Throwable cause) {
//     super(cause);
//   }
// }


import com.mongodb.MongoClient;
import com.mongodb.MongoClientURI;
import com.mongodb.client.MongoDatabase;
import org.apache.log4j.Logger;
import org.yagel.monitor.exception.DiagnosticException;
package org.yagel.monitor.mongo;


public class MongoConnector {

  private final static String MONITOR_DB = "monitor_tmp_newDomain";
  private final static Logger log = Logger.getLogger(MongoConnector.class);
  private static MongoConnector connector;

  private MongoDatabase db;
  private MongoClient client;


// Path: environment.monitor.runner/src/main/java/org/yagel/monitor/exception/DiagnosticException.java
// public class DiagnosticException extends RuntimeException {
// 
// 
//   public DiagnosticException(Throwable cause) {
//     super(cause);
//   }
// }


// Path: environment.monitor.runner/src/main/java/org/yagel/monitor/mongo/MongoConnector.java
import com.mongodb.MongoClient;
import com.mongodb.MongoClientURI;
import com.mongodb.client.MongoDatabase;
import org.apache.log4j.Logger;
import org.yagel.monitor.exception.DiagnosticException;

package org.yagel.monitor.mongo;


public class MongoConnector {

  private final static String MONITOR_DB = "monitor_tmp_newDomain";
  private final static Logger log = Logger.getLogger(MongoConnector.class);
  private static MongoConnector connector;

  private MongoDatabase db;
  private MongoClient client;


  private MongoConnector() throws DiagnosticException {