Skip to content

Commit

Permalink
BAEL-7521 - dynamically registering spring beans
Browse files Browse the repository at this point in the history
  • Loading branch information
abh1navv committed Mar 3, 2024
1 parent f99982e commit 05f652e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion spring-di-4/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
ambiguous-bean: 'A'
ambiguous-bean: 'A'
api:
clients:
- name: example
url: https://api.example.com
key: 12345
- name: anotherexample
url: https://api.anotherexample.com
key: 67890
10 changes: 9 additions & 1 deletion spring-di-4/src/test/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
ambiguous-bean: 'B'
ambiguous-bean: 'B'
api:
clients:
- name: example
url: https://api.example.com
apiKey: 12345
- name: anotherexample
url: https://api.anotherexample.com
apiKey: 67890

0 comments on commit 05f652e

Please sign in to comment.