package de.braintags.netrelay.controller;
/*
 * #%L
 * netrelay
 * %%
 * Copyright (C) 2015 Braintags GmbH
 * %%
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * #L%
 */


import java.util.List;
import java.util.Properties;

import io.vertx.core.AsyncResult;
import io.vertx.core.Future;
import io.vertx.core.Handler;
import io.vertx.ext.web.RoutingContext;

public class CaptureTestController extends AbstractCaptureController {
  public static final String MAPPER_KEY = "mapper";
  public static final String ID_KEY = "ID";
  public static final String ACTION_KEY = "action";

  public static List<CaptureMap> resolvedCaptureCollections;
  public static String cleanedPath;

  /*
   * (non-Javadoc)
   * 
   * @see de.braintags.netrelay.controller.AbstractCaptureController#handle(io.vertx.ext.web.RoutingContext,
   * java.util.List)
   */
  @Override
  protected void handle(RoutingContext context, List<CaptureMap> resolvedCaptureCollections,
      Handler<AsyncResult<Void>> handler) {
    CaptureTestController.resolvedCaptureCollections = resolvedCaptureCollections;
    handler.handle(Future.succeededFuture());
    ;
  }

  /*
   * (non-Javadoc)/*
 * #%L
 * netrelay
 * %%
 * Copyright (C) 2015 Braintags GmbH
 * %%
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * #L%
 */
package de.braintags.netrelay.controller;

import java.util.List;
import java.util.Properties;

import io.vertx.core.AsyncResult;
import io.vertx.core.Future;
import io.vertx.core.Handler;
import io.vertx.ext.web.RoutingContext;

public class CaptureTestController extends AbstractCaptureController {
  public static final String MAPPER_KEY = "mapper";
  public static final String ID_KEY = "ID";
  public static final String ACTION_KEY = "action";

  public static List<CaptureMap> resolvedCaptureCollections;
  public static String cleanedPath;

  /*
   * (non-Javadoc)
   * 
   * @see de.braintags.netrelay.controller.AbstractCaptureController#handle(io.vertx.ext.web.RoutingContext,
   * java.util.List)
   */
  @Override
  protected void handle(RoutingContext context, List<CaptureMap> resolvedCaptureCollections,
      Handler<AsyncResult<Void>> handler) {
    CaptureTestController.resolvedCaptureCollections = resolvedCaptureCollections;
    handler.handle(Future.succeededFuture());
    ;
  }

  /*
   * (non-Javadoc)
   * 
   * @see de.braintags.netrelay.controller.AbstractCaptureController#internalInitProperties(java.util.Properties)
   */
  @Override
  protected void internalInitProperties(Properties properties) {
  }

  /*
   * (non-Javadoc)
   * 
   * @see de.braintags.netrelay.controller.AbstractCaptureController#cleanPath(io.vertx.ext.web.RoutingContext,
   * java.util.List)
   */
  @Override
  protected String cleanPath(RoutingContext context, List<CaptureMap> resolvedCaptureCollections) {
    cleanedPath = super.cleanPath(context, resolvedCaptureCollections);
    return cleanedPath;
  }

}
   * 
   * @see de.braintags.netrelay.controller.AbstractCaptureController#internalInitProperties(java.util.Properties)
   */
  @Override
  protected void internalInitProperties(Properties properties) {
  }

  /*
   * (non-Javadoc)
   * 
   * @see de.braintags.netrelay.controller.AbstractCaptureController#cleanPath(io.vertx.ext.web.RoutingContext,
   * java.util.List)
   */
  @Override
  protected String cleanPath(RoutingContext context, List<CaptureMap> resolvedCaptureCollections) {
    cleanedPath = super.cleanPath(context, resolvedCaptureCollections);
    return cleanedPath;
  }

}
@@ -1,1359 +1,4 @@
-package de.braintags.netrelay.controller;%0A/*%0A * #%25L%0A * netrelay%0A * %25%25%0A * Copyright (C) 2015 Braintags GmbH%0A * %25%25%0A * All rights reserved. This program and the accompanying materials%0A * are made available under the terms of the Eclipse Public License v1.0%0A * which accompanies this distribution, and is available at%0A * http://www.eclipse.org/legal/epl-v10.html%0A * #L%25%0A */%0A%0A%0Aimport java.util.List;%0Aimport java.util.Properties;%0A%0Aimport io.vertx.core.AsyncResult;%0Aimport io.vertx.core.Future;%0Aimport io.vertx.core.Handler;%0Aimport io.vertx.ext.web.RoutingContext;%0A%0Apublic class CaptureTestController extends AbstractCaptureController %7B%0A  public static final String MAPPER_KEY = %22mapper%22;%0A  public static final String ID_KEY = %22ID%22;%0A  public static final String ACTION_KEY = %22action%22;%0A%0A  public static List%3CCaptureMap%3E resolvedCaptureCollections;%0A  public static String cleanedPath;%0A%0A  /*%0A   * (non-Javadoc)%0A   * %0A   * @see de.braintags.netrelay.controller.AbstractCaptureController#handle(io.vertx.ext.web.RoutingContext,%0A   * java.util.List)%0A   */%0A  @Override%0A  protected void handle(RoutingContext context, List%3CCaptureMap%3E resolvedCaptureCollections,%0A      Handler%3CAsyncResult%3CVoid%3E%3E handler) %7B%0A    CaptureTestController.resolvedCaptureCollections = resolvedCaptureCollections;%0A    handler.handle(Future.succeededFuture());%0A    ;%0A  %7D%0A%0A  /*%0A   * (non-Javadoc)
 /*%0A 
@@ -1943,596 +1943,4 @@
 %7D%0A%0A%7D
-%0A   * %0A   * @see de.braintags.netrelay.controller.AbstractCaptureController#internalInitProperties(java.util.Properties)%0A   */%0A  @Override%0A  protected void internalInitProperties(Properties properties) %7B%0A  %7D%0A%0A  /*%0A   * (non-Javadoc)%0A   * %0A   * @see de.braintags.netrelay.controller.AbstractCaptureController#cleanPath(io.vertx.ext.web.RoutingContext,%0A   * java.util.List)%0A   */%0A  @Override%0A  protected String cleanPath(RoutingContext context, List%3CCaptureMap%3E resolvedCaptureCollections) %7B%0A    cleanedPath = super.cleanPath(context, resolvedCaptureCollections);%0A    return cleanedPath;%0A  %7D%0A%0A%7D

update commonTest