/*******************************************************************************
 * Copyright (c) 2015 Stichting Yona Foundation
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
 *******************************************************************************/
package nu.yona.server.analysis.rest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseStatus;

import nu.yona.server.analysis.service.AnalysisEngineService;
import nu.yona.server.analysis.service.PotentialConflictDTO;

@Controller
public class AnalysisEngineController {
	@Autowired
	private AnalysisEngineService analysisEngineService;

	@RequestMapping(value = "/analysisEngine", method = RequestMethod.POST)
	@ResponseStatus(value = HttpStatus.OK)
	public void analyze(@RequestBody PotentialConflictDTO potentialConflictPayload) {
		analysisEngineService.analyze(potentialConflictPayload);
	}
}

@@ -991,16 +991,60 @@
 troller%0A
+@RequestMapping(value = %22/analysisEngine/%22)%0A
 public c
@@ -1163,35 +1163,8 @@
 ing(
-value = %22/analysisEngine%22, 
 meth

Add a trailing slash to the analysis engine URL