feat: add manga-matcher endpoint configuration for RapidFuzz client
This commit is contained in:
parent
6b90a09661
commit
bd59f3e925
1
.env
1
.env
@ -7,6 +7,7 @@ MINIO_USER=admin
|
||||
MINIO_PASS=!E9v4i0v3
|
||||
|
||||
WEBSCRAPPER_ENDPOINT=http://localhost:8090/url
|
||||
MANGAMATCHER_ENDPOINT=http://127.0.0.1:8000/match-title
|
||||
|
||||
MANGADEX_USER=rocverde
|
||||
MANGADEX_PASS=!A3u8e4s0
|
||||
|
||||
@ -5,7 +5,7 @@ import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
@FeignClient(name = "rapidFuzz", url = "http://127.0.0.1:8000/match-title")
|
||||
@FeignClient(name = "rapidFuzz", url = "${manga-matcher.endpoint}")
|
||||
public interface RapidFuzzClient {
|
||||
@PostMapping
|
||||
Response mangaSearch(@RequestBody Request dto);
|
||||
|
||||
@ -42,3 +42,6 @@ manga-dex:
|
||||
password: ${MANGADEX_PASS}
|
||||
client-id: ${MANGADEX_CLIENT_ID}
|
||||
client-secret: ${MANGADEX_CLIENT_SECRET}
|
||||
|
||||
manga-matcher:
|
||||
endpoint: ${MANGAMATCHER_ENDPOINT}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user