// Path: src/main/java/org/cloudfoundry/community/servicebroker/datalifecycle/service/DataProviderService.java
// @Service
// public class DataProviderService {
// 
// 	private ScriptRepo scriptRepo;
// 
// 	@Autowired
// 	public DataProviderService(ScriptRepo scriptRepo) {
// 		this.scriptRepo = scriptRepo;
// 	}
// 
// 	public void saveScript(String script) {
// 		scriptRepo.save(new SanitizationScript(script));
// 	}
// 
// 	/**
// 	 * Retrieve the sanitization script from the repo
// 	 * 
// 	 * @return the script if one has been set, null otherwise.
// 	 */
// 	public String getScript() {
// 		SanitizationScript result = scriptRepo.findOne(SanitizationScript.ID);
// 
// 		return result == null ? null : result.getScript();
// 	}
// }


import net.minidev.json.JSONObject;
import org.cloudfoundry.community.servicebroker.datalifecycle.service.DataProviderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
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.RestController;
import org.springframework.web.util.UriComponents;
import org.springframework.web.util.UriComponentsBuilder;
import java.util.Map;
package org.cloudfoundry.community.servicebroker.datalifecycle.controller;




@RestController
class SanitizeController {

	@Autowired
// Path: src/main/java/org/cloudfoundry/community/servicebroker/datalifecycle/service/DataProviderService.java
// @Service
// public class DataProviderService {
// 
// 	private ScriptRepo scriptRepo;
// 
// 	@Autowired
// 	public DataProviderService(ScriptRepo scriptRepo) {
// 		this.scriptRepo = scriptRepo;
// 	}
// 
// 	public void saveScript(String script) {
// 		scriptRepo.save(new SanitizationScript(script));
// 	}
// 
// 	/**
// 	 * Retrieve the sanitization script from the repo
// 	 * 
// 	 * @return the script if one has been set, null otherwise.
// 	 */
// 	public String getScript() {
// 		SanitizationScript result = scriptRepo.findOne(SanitizationScript.ID);
// 
// 		return result == null ? null : result.getScript();
// 	}
// }


// Path: src/main/java/org/cloudfoundry/community/servicebroker/datalifecycle/controller/SanitizeController.java
import net.minidev.json.JSONObject;
import org.cloudfoundry.community.servicebroker.datalifecycle.service.DataProviderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
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.RestController;
import org.springframework.web.util.UriComponents;
import org.springframework.web.util.UriComponentsBuilder;
import java.util.Map;

package org.cloudfoundry.community.servicebroker.datalifecycle.controller;




@RestController
class SanitizeController {

	@Autowired
	private DataProviderService dataService;