@RestController @ConditionalOnBean(value={ElasticsearchConfiguration.class,ServicesConfiguration.Extraction.class}) public class ExtractionRoute extends Object
Constructor and Description |
---|
ExtractionRoute(ExtractionService service) |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<org.thales.punch.settings.api.ISettingsMap> |
extractionUsingSparkRuntime(String tenant,
ExtractionRequest extractionData,
javax.servlet.http.HttpServletRequest request) |
org.springframework.http.ResponseEntity<org.thales.punch.settings.api.ISettingsMap> |
extractionUsingStormRuntime(String tenant,
ExtractionRequest extractionData,
javax.servlet.http.HttpServletRequest request) |
public ExtractionRoute(ExtractionService service)
@PostMapping(value="/v1/{tenant}/extraction/spark", produces="application/json", consumes="application/json") public org.springframework.http.ResponseEntity<org.thales.punch.settings.api.ISettingsMap> extractionUsingSparkRuntime(@PathVariable(value="tenant") String tenant, @RequestBody ExtractionRequest extractionData, javax.servlet.http.HttpServletRequest request) throws IOException, org.thales.punch.libraries.template.exceptions.TemplateNotFoundException, org.thales.punch.exceptions.ConfigurationException
IOException
org.thales.punch.libraries.template.exceptions.TemplateNotFoundException
org.thales.punch.exceptions.ConfigurationException
@PostMapping(value="/v1/{tenant}/extraction", produces="application/json", consumes="application/json") public org.springframework.http.ResponseEntity<org.thales.punch.settings.api.ISettingsMap> extractionUsingStormRuntime(@PathVariable(value="tenant") String tenant, @RequestBody ExtractionRequest extractionData, javax.servlet.http.HttpServletRequest request) throws IOException, org.thales.punch.libraries.template.exceptions.TemplateNotFoundException, org.thales.punch.exceptions.ConfigurationException
IOException
org.thales.punch.libraries.template.exceptions.TemplateNotFoundException
org.thales.punch.exceptions.ConfigurationException
Copyright © 2023. All rights reserved.