Skip to content

Commit

Permalink
- localstackのver上げ
Browse files Browse the repository at this point in the history
- READMEタイポ修正
- DELIVERY_OPERATION_NOTIFICATION_ENDPOINT修正
  • Loading branch information
nakagawa1022 committed Sep 20, 2024
1 parent 21cc010 commit 0426b59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions manager/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ make generate
make clean-testcache
# テスト
make test
make tests
# テスト対象を絞る場合
make test TEST_TARGET="--run DeliveryStartUsecase ./..."
make tests TEST_TARGET="--run DeliveryStartUsecase ./..."
# vscodeの場合、editorから個別にテストを起動できる (デバッグも)
make delete-all-table
Expand Down
4 changes: 2 additions & 2 deletions manager/localstack/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ DELIVERY_CONTROL_QUEUE = $(PROJECT_NAME_PREFIX)delivery-control

DELIVERY_OPERATION_TOPIC = $(PROJECT_NAME_PREFIX)delivery-operation-local
DELIVERY_OPERATION_TOPIC_ARN = arn:aws:sns:ap-northeast-1:000000000000:$(DELIVERY_OPERATION_TOPIC)
DELIVERY_OPERATION_NOTIFICATION_ENDPOINT = '$(SNS_ENDPOINT)/000000000000/$(DELIVERY_OPERATION_QUEUE)'
DELIVERY_OPERATION_NOTIFICATION_ENDPOINT = 'arn:aws:sqs:ap-northeast-1:000000000000:$(DELIVERY_OPERATION_QUEUE)'

DELIVERY_CONTROL_TOPIC = $(PROJECT_NAME_PREFIX)server-campaign-cache-local
DELIVERY_CONTROL_TOPIC_ARN = arn:aws:sns:ap-northeast-1:000000000000:$(DELIVERY_CONTROL_TOPIC)

start-localstack: ## build sqs mock (elasticmq)
docker run --name touchgift-job-localstack -d --rm -it -p 4566:4566 -p 4567-4582:4567-4582 -e "LOCALSTACK_SERVICES=sns,sqs,dynamodb" localstack/localstack:1.2.0
docker run --name touchgift-job-localstack -d --rm -it -p 4566:4566 -p 4567-4582:4567-4582 -e "LOCALSTACK_SERVICES=sns,sqs,dynamodb" localstack/localstack:3.7.1

stop-localstack: ## stop sqs mock (elasticmq)
docker stop touchgift-job-localstack
Expand Down

0 comments on commit 0426b59

Please sign in to comment.