package nl.ekholabs.nlp.controller;

import java.io.IOException;

import nl.ekholabs.nlp.client.ElsieDeeSightFeignClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

import static org.springframework.http.MediaType.MULTIPART_FORM_DATA_VALUE;

@RestController
public class FaceClassifierController {

  private final ElsieDeeSightFeignClient elsieDeeSightFeignClient;

  @Autowired
  public FaceClassifierController(final ElsieDeeSightFeignClient elsieDeeSightFeignClient) {
    this.elsieDeeSightFeignClient = elsieDeeSightFeignClient;
  }

  @PostMapping(path = "/processImage", consumes = MULTIPART_FORM_DATA_VALUE)
  public ResponseEntity<byte[]> processImage(final @RequestParam(value = "image") MultipartFile image) throws IOException {
    return elsieDeeSightFeignClient.process(image);
  }
}

@@ -866,23 +866,24 @@
 ath = %22/
-process
+classify
 Image%22, 
@@ -952,23 +952,24 @@
 byte%5B%5D%3E 
-process
+classify
 Image(fi

Rename Face Classifier controller method.