-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:created ledgers-deposit-account-rest-client
- Loading branch information
Showing
6 changed files
with
54 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...ient/src/main/java/de/adorsys/ledgers/deposit/rest/client/rest/AccountMgmtRestClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* Copyright (c) 2018-2023 adorsys GmbH and Co. KG | ||
* All rights are reserved. | ||
*/ | ||
|
||
package de.adorsys.ledgers.deposit.rest.client.rest; | ||
|
||
import de.adorsys.ledgers.deposit.api.resource.*; | ||
import org.springframework.cloud.openfeign.*; | ||
|
||
@FeignClient(value = "ledgersAccount", url = LedgersURL.LEDGERS_URL, path = AccountMgmResourceAPI.BASE_PATH) | ||
public interface AccountMgmtRestClient extends AccountMgmResourceAPI {} |
12 changes: 12 additions & 0 deletions
12
...t-client/src/main/java/de/adorsys/ledgers/deposit/rest/client/rest/AccountRestClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* Copyright (c) 2018-2023 adorsys GmbH and Co. KG | ||
* All rights are reserved. | ||
*/ | ||
|
||
package de.adorsys.ledgers.deposit.rest.client.rest; | ||
|
||
import de.adorsys.ledgers.deposit.api.resource.*; | ||
import org.springframework.cloud.openfeign.*; | ||
|
||
@FeignClient(value = "ledgersAccount", url = LedgersURL.LEDGERS_URL, path=AccountRestAPI.BASE_PATH) | ||
public interface AccountRestClient extends AccountRestAPI {} |
11 changes: 11 additions & 0 deletions
11
...unt-rest-client/src/main/java/de/adorsys/ledgers/deposit/rest/client/rest/LedgersURL.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
* Copyright (c) 2018-2023 adorsys GmbH and Co. KG | ||
* All rights are reserved. | ||
*/ | ||
|
||
package de.adorsys.ledgers.deposit.rest.client.rest; | ||
|
||
@SuppressWarnings("java:S1214") | ||
public interface LedgersURL { | ||
String LEDGERS_URL="${ledgers.url:http://localhost:${server.port}}"; | ||
} |