sparqlGraphIngestionService/src/main/java/com/ge/research/semtk/services/ingestion/IngestionRestController.java
@CrossOrigin
	@RequestMapping(value="/fromCsvFileWithNewConnectionPrecheckOnly", method= RequestMethod.POST)
	public JSONObject fromCsvFilePrecheckOnly(
			@RequestParam("template") MultipartFile templateFile, 
			@RequestParam("data") MultipartFile dataFile,
			@RequestParam("connectionOverride") MultipartFile connection, 
			@RequestHeader HttpHeaders headers) {
		HeadersManager.setHeaders(headers);
		try {
			return this.fromAnyCsv(templateFile, dataFile, connection, true, true, true, false, null);
		    
		} finally {
	    	HeadersManager.clearHeaders();
	    }
	}
/**
	 * Perform precheck only (no ingest) using a CSV file against the given connection
	 */
Perform precheck only (no ingest) using a CSV file against the given connection
Perform precheck only ( no ingest ) using a CSV file against the given connection
@CrossOrigin
	@RequestMapping(value="/fromCsvFileWithNewConnectionPrecheckOnly", method= RequestMethod.POST)
	public JSONObject fromCsvFilePrecheckOnly(
			@RequestParam("template") MultipartFile templateFile, 
			@RequestParam("data") MultipartFile dataFile,
			@RequestParam("connectionOverride") MultipartFile connection, 
			@RequestHeader HttpHeaders headers) {
		HeadersManager.setHeaders(headers);
		try {
			return this.fromAnyCsv(templateFile, dataFile, connection, true, true, true, false, null);
		} finally {
	    	HeadersManager.clearHeaders();
	    }
	}
@ CrossOrigin @ RequestMapping ( value = "/fromCsvFileWithNewConnectionPrecheckOnly" , method = RequestMethod . POST ) public JSONObject fromCsvFilePrecheckOnly ( @ RequestParam ( "template" ) MultipartFile templateFile , @ RequestParam ( "data" ) MultipartFile dataFile , @ RequestParam ( "connectionOverride" ) MultipartFile connection , @ RequestHeader HttpHeaders headers ) { HeadersManager . setHeaders ( headers ) ; try { return this . fromAnyCsv ( templateFile , dataFile , connection , true , true , true , false , null ) ; } finally { HeadersManager . clearHeaders ( ) ; } }
Perform precheck only (no ingest) using a CSV file against the given connection
Perform precheck only ( no ingest ) using a CSV file against the given connection