SUPPORT-8664: fix method
This commit is contained in:
parent
fe27cfa51d
commit
cb8b7d29b9
2 changed files with 2 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ public class ExtractController {
|
|||
this.replyingKafkaService = replyingKafkaService;
|
||||
}
|
||||
|
||||
@GetMapping(value = "/get-extract/{formatRegistry}")
|
||||
@GetMapping(value = "/extract/{formatRegistry}")
|
||||
public ResponseEntity<Resource> getExtract(@PathVariable String formatRegistry) {
|
||||
ExtractRequestDto request = new ExtractRequestDto(jwtTokenService.getErvuId(), formatRegistry);
|
||||
byte[] reply = replyingKafkaService.sendMessageAndGetReply(registryExtractRequestTopic,
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ export class ExtractLoadService extends Behavior {
|
|||
this.button = this.getScript(AbstractButton);
|
||||
this.httpClient = this.injector.get(HttpClient);
|
||||
this.onClickFunction = () => {
|
||||
this.httpClient.get('get-extract/' + this.formatRegistry, {
|
||||
this.httpClient.get('extract/' + this.formatRegistry, {
|
||||
responseType: 'blob',
|
||||
observe: 'response'
|
||||
}).toPromise()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue