feat: PWA FCM 클라이언트 실통합 + 어댑터 키 주입 런처
- firebase SDK 통합: initPush getToken 활성화(동적 import) + isSupported 가드 - public/firebase-messaging-sw.js 백그라운드 수신 SW(웹 config 쿼리스트링 전달) - run-api-with-adapters.sh: adapter.env.local 로드 후 ga-api bootRun - 키 파일(adapter.env.local / .env.local)은 git-ignored 템플릿으로 별도 제공 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# 외부연동 어댑터 키를 주입하여 ga-api 를 기동한다.
|
||||
# adapter.env.local 의 값을 환경변수로 로드한 뒤 bootRun.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
if [[ ! -f adapter.env.local ]]; then
|
||||
echo "adapter.env.local 이 없습니다. 키를 먼저 채우세요." >&2
|
||||
exit 1
|
||||
fi
|
||||
set -a; source adapter.env.local; set +a
|
||||
|
||||
echo "[adapters] bank=$ADAPTER_BANK message=$ADAPTER_MESSAGE push=$ADAPTER_PUSH"
|
||||
./gradlew :ga-api:bootRun --args='--spring.profiles.active=trading_ai'
|
||||
Reference in New Issue
Block a user