-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MODTLR-118: Resolve central tenant ID dynamically (#91)
* MODTLR-112 Loan event listener * MODTLR-112 Loan event handler * MODTLR-112 Add loan schema * MODTLR-112 Only attempt allowed transaction status changes * MODTLR-112 Only attempt allowed transaction status changes * MODTLR-112 Test for transaction status update * MODTLR-112 Loan event handler tests * MODTLR-118 Remove hardcoded central tenant ID * MODTLR-118 Get central tenant ID from consortia configuration * MODTLR-118 Add logging * MODTLR-118 Find ECS TLR by itemId only * MODTLR-118 Fix compilation * MODTLR-118 Remove unused import * MODTLR-118 Fix code smells * MODTLR-118 Fix incorrect method declaration * MODTLR-118 Post-merge fixes
- Loading branch information
1 parent
0f4ff4d
commit a120e80
Showing
20 changed files
with
164 additions
and
96 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
src/main/java/org/folio/client/feign/ConsortiaConfigurationClient.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,13 @@ | ||
package org.folio.client.feign; | ||
|
||
import org.folio.domain.dto.ConsortiaConfiguration; | ||
import org.folio.spring.config.FeignClientConfiguration; | ||
import org.springframework.cloud.openfeign.FeignClient; | ||
import org.springframework.web.bind.annotation.GetMapping; | ||
|
||
@FeignClient(name = "consortia-configuration", url = "consortia-configuration", configuration = FeignClientConfiguration.class) | ||
public interface ConsortiaConfigurationClient { | ||
|
||
@GetMapping | ||
ConsortiaConfiguration getConfiguration(); | ||
} |
This file was deleted.
Oops, something went wrong.
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
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
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
9 changes: 9 additions & 0 deletions
9
src/main/resources/swagger.api/schemas/consortia/consortiaConfiguration.yaml
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,9 @@ | ||
ConsortiaConfiguration: | ||
type: "object" | ||
description: "Consortia Configuration" | ||
properties: | ||
id: | ||
type: "string" | ||
format: "uuid" | ||
centralTenantId: | ||
type: "string" |
File renamed without changes.
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
Oops, something went wrong.