Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aws sns 서비스를 사용하기위해 notification layer 를 추가하라 (#49)
aws sns 서비스를 사용하기위해 notification layer 를 추가하라
- Loading branch information
Showing
6 changed files
with
38 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
bootJar.enabled = false | ||
jar.enabled = true | ||
|
||
dependencies { | ||
implementation project(':common') | ||
implementation project(':test-support') | ||
implementation 'software.amazon.awssdk:sns' | ||
} |
5 changes: 5 additions & 0 deletions
5
adapters/notification/adapter-aws-sns/src/main/java/com/caregiver/package-info.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,5 @@ | ||
/** | ||
* AWS SNS 서비스 root package. | ||
*/ | ||
|
||
package com.caregiver; |
7 changes: 7 additions & 0 deletions
7
adapters/notification/adapter-aws-sns/src/main/resources/application-private.yml.sample
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,7 @@ | ||
|
||
caregiver: | ||
aws: | ||
access-key: ${caregiver.aws.secret-key} | ||
secret-key: ${caregiver.aws.access-key} | ||
sns: | ||
arn: ${caregiver.aws.sns.arn} |
14 changes: 14 additions & 0 deletions
14
adapters/notification/adapter-aws-sns/src/main/resources/application.yml
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,14 @@ | ||
spring: | ||
profiles: | ||
include: private | ||
|
||
caregiver: | ||
aws: | ||
#service-endpoint: | ||
signing-region: ap-northeast-2 | ||
access-key: ${caregiver.aws.secret-key} | ||
secret-key: ${caregiver.aws.access-key} | ||
sns: | ||
arn: ${caregiver.aws.sns.arn} | ||
|
||
|
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