Compare commits
40 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3d87de64de | |||
| 678f9c27d5 | |||
| a06d1eeeca | |||
| 7d35aef39d | |||
| 50cf45e3ef | |||
| ab5f8ac978 | |||
| 908c9ebc9a | |||
| 2fb1a3bf18 | |||
| 736addef70 | |||
| 98470ad184 | |||
| 430fb9d089 | |||
| 81e8c85280 | |||
| 0d81ace5da | |||
| d12dee3278 | |||
| 996f614a4e | |||
| 7f59305f56 | |||
| 5a27b43dff | |||
| a0e2697a9b | |||
| 2f60fbf655 | |||
| f68fb10bac | |||
| c1b7d29eb8 | |||
| ce3505cd33 | |||
| e97397ddbf | |||
| 6ed3de2749 | |||
| 3e7120c041 | |||
| 784f4bdbfb | |||
| 28e1a8775f | |||
| fe8ff44d3f | |||
| d5d630a816 | |||
| 60022ed214 | |||
| 90bbb1860d | |||
| 3e4d545e01 | |||
| e4290ef3c6 | |||
| 4de9339163 | |||
| bdb9262f4e | |||
| 8bd678c7c7 | |||
| 24c1cce542 | |||
| 1255e67765 | |||
| a02543981e | |||
| fdfd50bdca |
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(grep *)",
|
||||
"Bash(git status *)",
|
||||
"Bash(git log *)",
|
||||
"Bash(git diff *)",
|
||||
"Bash(git show *)",
|
||||
"Bash(git branch *)",
|
||||
"Bash(git ls-remote *)",
|
||||
"Bash(git remote *)",
|
||||
"Bash(dotnet restore)",
|
||||
"Bash(dotnet build *)",
|
||||
"Bash(dotnet test *)",
|
||||
"Bash(curl -s *)",
|
||||
"PowerShell(Get-Process *)",
|
||||
"PowerShell(dotnet build *)",
|
||||
"PowerShell(dotnet test *)",
|
||||
"PowerShell(dotnet run *)"
|
||||
]
|
||||
}
|
||||
}
|
||||
+177
-160
@@ -2,193 +2,210 @@ name: Deploy to Production
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: deploy-prod-main
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
DEPLOY_HOST: 172.17.0.1
|
||||
DEPLOY_HOST: 178.104.200.7
|
||||
DEPLOY_USER: kjh2064
|
||||
DEPLOY_PATH: /home/kjh2064/quantengine_active
|
||||
SERVICE_NAME: quantengine
|
||||
DOTNET_VERSION: '10.0.x'
|
||||
TELEGRAM_BOT_TOKEN_DEFAULT: "8734507814:AAFyacLMai8GB4K-hQ_Nd3t3D01A-h1ZdV0"
|
||||
QUANTENGINE_DB_NAME: quantenginedb
|
||||
QUANTENGINE_DB_USER: quantengine_app
|
||||
TELEGRAM_BOT_TOKEN_DEFAULT: "8734507814:AAFyacLMai8GB4K-hQ_Nd3t3D01A-H1ZdV0"
|
||||
TELEGRAM_CHAT_ID_DEFAULT: "-5460205872"
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
name: Build & Deploy to Production
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: ${{ env.DOTNET_VERSION }}
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: ${{ env.DOTNET_VERSION }}
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.10'
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.10'
|
||||
|
||||
- name: Install Python Dependencies
|
||||
run: pip install pyyaml openpyxl requests
|
||||
- name: Install Python Dependencies
|
||||
run: pip install pyyaml openpyxl requests
|
||||
|
||||
- name: "[GATE] Run Core Validations"
|
||||
run: |
|
||||
echo "🔐 Running critical CI validations..."
|
||||
python3 tools/validate_no_direct_api_trading_v1.py || exit 1
|
||||
python3 tools/validate_specs.py || exit 1
|
||||
echo "✅ All critical validations passed"
|
||||
- name: "[GATE] Run Core Validations"
|
||||
run: |
|
||||
echo "🔐 Running critical CI validations..."
|
||||
python3 tools/validate_no_direct_api_trading_v1.py || exit 1
|
||||
python3 tools/validate_specs.py || exit 1
|
||||
echo "✅ All critical validations passed"
|
||||
|
||||
- name: Ensure Temp Directory and Mock Packet
|
||||
run: |
|
||||
mkdir -p Temp
|
||||
# 빈 패킷 객체를 생성하여 dotnet test/run 시 IO Exception 방어
|
||||
if [ ! -f Temp/final_decision_packet_active.json ]; then
|
||||
echo '{"active_decision": "PASS", "details": "CI dummy packet"}' > Temp/final_decision_packet_active.json
|
||||
fi
|
||||
- name: Ensure Temp Directory and Mock Packet
|
||||
run: |
|
||||
mkdir -p Temp
|
||||
if [ ! -f Temp/final_decision_packet_active.json ]; then
|
||||
echo '{"active_decision": "PASS", "details": "CI dummy packet"}' > Temp/final_decision_packet_active.json
|
||||
fi
|
||||
|
||||
- name: Restore Dependencies
|
||||
run: dotnet restore src/dotnet/QuantEngine.Web/QuantEngine.Web.csproj
|
||||
- name: Restore Dependencies
|
||||
run: dotnet restore src/dotnet/QuantEngine.Web/QuantEngine.Web.csproj
|
||||
|
||||
- name: Build Release
|
||||
run: |
|
||||
dotnet build src/dotnet/QuantEngine.Web/QuantEngine.Web.csproj \
|
||||
-c Release \
|
||||
--no-restore \
|
||||
-p:Version=1.0.${{ github.run_number }}
|
||||
- name: Build Release
|
||||
run: |
|
||||
dotnet build src/dotnet/QuantEngine.Web/QuantEngine.Web.csproj \
|
||||
-c Release \
|
||||
--no-restore
|
||||
|
||||
- name: Run Unit Tests
|
||||
run: |
|
||||
if [ -d tests/unit ]; then
|
||||
dotnet test tests/unit \
|
||||
- name: Run Unit Tests
|
||||
run: |
|
||||
dotnet test src/dotnet/QuantEngine.Core.Tests/QuantEngine.Core.Tests.csproj \
|
||||
-c Release \
|
||||
--no-build
|
||||
|
||||
- name: Publish Release Package
|
||||
run: |
|
||||
dotnet publish src/dotnet/QuantEngine.Web/QuantEngine.Web.csproj \
|
||||
-c Release \
|
||||
--no-build \
|
||||
|| echo "⚠️ Some tests failed (non-blocking for web service)"
|
||||
fi
|
||||
-o ./publish
|
||||
|
||||
- name: Publish Release Package
|
||||
run: |
|
||||
dotnet publish src/dotnet/QuantEngine.Web/QuantEngine.Web.csproj \
|
||||
-c Release \
|
||||
--no-build \
|
||||
-o ./publish-output
|
||||
- name: Generate Build Info
|
||||
run: |
|
||||
COMMIT_HASH=$(git rev-parse --short HEAD)
|
||||
BUILD_TIME=$(date -d "+9 hours" +'%Y-%m-%d %H:%M:%S KST')
|
||||
mkdir -p ./publish/wwwroot
|
||||
printf '{\n "version": "1.0.%s-%s",\n "built": "%s"\n}\n' "${{ github.run_number }}" "$COMMIT_HASH" "$BUILD_TIME" > ./publish/wwwroot/version.json
|
||||
echo "✓ Generated version info: 1.0.${{ github.run_number }}-$COMMIT_HASH @ $BUILD_TIME"
|
||||
|
||||
- name: Generate Build Info
|
||||
run: |
|
||||
COMMIT_HASH=$(git rev-parse --short HEAD)
|
||||
BUILD_TIME=$(date -d "+9 hours" +'%Y-%m-%d %H:%M:%S KST')
|
||||
mkdir -p ./publish-output/wwwroot
|
||||
printf '{\n "version": "1.0.%s-%s",\n "built": "%s"\n}\n' "${{ github.run_number }}" "$COMMIT_HASH" "$BUILD_TIME" > ./publish-output/wwwroot/version.json
|
||||
echo "✓ Generated version info: 1.0.${{ github.run_number }}-$COMMIT_HASH @ $BUILD_TIME"
|
||||
|
||||
|
||||
- name: Setup SSH
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
chmod 700 ~/.ssh
|
||||
# SSH_PRIVATE_KEY가 평문 PEM이든 base64든 유연하게 처리
|
||||
if echo "${{ secrets.SSH_PRIVATE_KEY }}" | grep -q "BEGIN"; then
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
||||
else
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" | base64 -d > ~/.ssh/id_ed25519 || echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
||||
fi
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
ssh-keyscan -H ${{ env.DEPLOY_HOST }} >> ~/.ssh/known_hosts 2>/dev/null || true
|
||||
|
||||
- name: Package Artifact
|
||||
run: |
|
||||
tar -czf quant_engine_deploy.tgz -C ./publish-output .
|
||||
echo "✓ Package size: $(du -sh quant_engine_deploy.tgz | cut -f1)"
|
||||
|
||||
- name: Deploy & Verify on Server
|
||||
run: |
|
||||
set -e
|
||||
TIMESTAMP=$(date +%Y%m%d_%H%M%S)
|
||||
COMMIT=$(git rev-parse --short HEAD)
|
||||
DEPLOY_HOST="${{ env.DEPLOY_HOST }}"
|
||||
DEPLOY_USER="${{ env.DEPLOY_USER }}"
|
||||
|
||||
# 텔레그램 설정 바인딩 (Secret에 없을 경우 기본값 백업 사용)
|
||||
TELEGRAM_BOT_TOKEN="${{ secrets.TELEGRAM_BOT_TOKEN }}"
|
||||
[ -z "$TELEGRAM_BOT_TOKEN" ] && TELEGRAM_BOT_TOKEN="${{ env.TELEGRAM_BOT_TOKEN_DEFAULT }}"
|
||||
TELEGRAM_CHAT_ID="${{ secrets.TELEGRAM_CHAT_ID }}"
|
||||
[ -z "$TELEGRAM_CHAT_ID" ] && TELEGRAM_CHAT_ID="${{ env.TELEGRAM_CHAT_ID_DEFAULT }}"
|
||||
|
||||
send_telegram() {
|
||||
local text="$1"
|
||||
curl -fsS -X POST "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage" \
|
||||
-d "chat_id=${TELEGRAM_CHAT_ID}" \
|
||||
--data-urlencode "text=${text}" \
|
||||
-d "parse_mode=HTML" >/dev/null || true
|
||||
}
|
||||
|
||||
notify_failure() {
|
||||
local exit_code=$?
|
||||
send_telegram "❌ <b>QuantEngine 배포 실패</b>
|
||||
|
||||
커밋: <code>${COMMIT}</code>
|
||||
시간: <code>${TIMESTAMP}</code>
|
||||
단계: deploy-to-prod (SSH Execution)"
|
||||
exit "$exit_code"
|
||||
}
|
||||
|
||||
trap notify_failure ERR
|
||||
|
||||
echo "=== Deploying QuantEngine $COMMIT ($TIMESTAMP) ==="
|
||||
|
||||
# 1. 아티팩트 복사
|
||||
scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ed25519 \
|
||||
quant_engine_deploy.tgz "$DEPLOY_USER@$DEPLOY_HOST:/tmp/quantengine_${TIMESTAMP}.tgz"
|
||||
|
||||
# 2. 원격 배포 명령어 통합 (SSH 1회 연결)
|
||||
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ed25519 \
|
||||
-o ServerAliveInterval=10 \
|
||||
"$DEPLOY_USER@$DEPLOY_HOST" bash << REMOTE
|
||||
set -e
|
||||
DEPLOY_HOME="/home/kjh2064"
|
||||
DEPLOY_DIR="\$DEPLOY_HOME/deployments/quantengine_${TIMESTAMP}"
|
||||
|
||||
echo "--- [1/4] 압축 해제 ---"
|
||||
mkdir -p "\$DEPLOY_DIR"
|
||||
tar -xzf "/tmp/quantengine_${TIMESTAMP}.tgz" -C "\$DEPLOY_DIR"
|
||||
rm -f "/tmp/quantengine_${TIMESTAMP}.tgz"
|
||||
|
||||
echo "--- [2/4] 심볼릭 링크 전환 ---"
|
||||
ln -sfn "\$DEPLOY_DIR" "${{ env.DEPLOY_PATH }}"
|
||||
|
||||
echo "--- [3/4] 서비스 재시작 ---"
|
||||
sudo /usr/bin/systemctl restart ${{ env.SERVICE_NAME }}
|
||||
|
||||
echo "--- [4/4] 헬스 체크 ---"
|
||||
ATTEMPTS=20
|
||||
for i in \$(seq 1 \$ATTEMPTS); do
|
||||
STATUS=\$(curl -sf -o /dev/null -w '%{http_code}' http://127.0.0.1:5000/ 2>/dev/null || echo "000")
|
||||
if [ "\$STATUS" = "200" ]; then
|
||||
echo "✓ 헬스체크 성공 (시도 \$i/\$ATTEMPTS, HTTP 200)"
|
||||
# 구 배포 폴더 정리 (최근 5개만 보존)
|
||||
ls -1dt \$DEPLOY_HOME/deployments/quantengine_* 2>/dev/null | tail -n +6 | xargs rm -rf 2>/dev/null || true
|
||||
exit 0
|
||||
- name: Setup SSH
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
chmod 700 ~/.ssh
|
||||
if echo "${{ secrets.SSH_PRIVATE_KEY }}" | grep -q "BEGIN"; then
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
||||
else
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" | base64 -d > ~/.ssh/id_ed25519 || echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
||||
fi
|
||||
if [ "\$i" -eq "\$ATTEMPTS" ]; then
|
||||
echo "=== FATAL: 서비스가 헬스체크 응답을 하지 않음 ===" >&2
|
||||
systemctl is-active ${{ env.SERVICE_NAME }} >&2 || true
|
||||
journalctl -u ${{ env.SERVICE_NAME }} --no-pager -n 50 >&2
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
ssh-keyscan -H ${{ env.DEPLOY_HOST }} >> ~/.ssh/known_hosts 2>/dev/null || true
|
||||
|
||||
- name: Prepare QuantEngine DB Env
|
||||
run: |
|
||||
mkdir -p ./deploy
|
||||
cat > ./deploy/quantengine.env <<EOF
|
||||
ConnectionStrings__DefaultConnection=Host=127.0.0.1;Database=${QUANTENGINE_DB_NAME};Username=${QUANTENGINE_DB_USER};Password=${{ secrets.QUANTENGINE_DB_PASSWORD }};Search Path=quantengine;
|
||||
EOF
|
||||
chmod 600 ./deploy/quantengine.env
|
||||
|
||||
- name: Package Artifact
|
||||
run: |
|
||||
tar -czf quantengine.tar.gz -C ./publish .
|
||||
echo "✓ Package size: $(du -sh quantengine.tar.gz | cut -f1)"
|
||||
|
||||
- name: Deploy & Verify on Server
|
||||
run: |
|
||||
set -e
|
||||
TIMESTAMP=$(date +%Y%m%d_%H%M%S)
|
||||
COMMIT=$(git rev-parse --short HEAD)
|
||||
DEPLOY_HOST="${{ env.DEPLOY_HOST }}"
|
||||
DEPLOY_USER="${{ env.DEPLOY_USER }}"
|
||||
|
||||
TELEGRAM_BOT_TOKEN="${{ secrets.TELEGRAM_BOT_TOKEN }}"
|
||||
[ -z "$TELEGRAM_BOT_TOKEN" ] && TELEGRAM_BOT_TOKEN="${{ env.TELEGRAM_BOT_TOKEN_DEFAULT }}"
|
||||
TELEGRAM_CHAT_ID="${{ secrets.TELEGRAM_CHAT_ID }}"
|
||||
[ -z "$TELEGRAM_CHAT_ID" ] && TELEGRAM_CHAT_ID="${{ env.TELEGRAM_CHAT_ID_DEFAULT }}"
|
||||
|
||||
send_telegram() {
|
||||
local text="$1"
|
||||
curl -fsS -X POST "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage" \
|
||||
-d "chat_id=${TELEGRAM_CHAT_ID}" \
|
||||
--data-urlencode "text=${text}" \
|
||||
-d "parse_mode=HTML" >/dev/null || true
|
||||
}
|
||||
|
||||
notify_failure() {
|
||||
local exit_code=$?
|
||||
send_telegram "❌ <b>QuantEngine 배포 실패</b>
|
||||
|
||||
커밋: <code>${COMMIT}</code>
|
||||
시간: <code>${TIMESTAMP}</code>
|
||||
단계: deploy-to-prod (SSH Execution)"
|
||||
exit "$exit_code"
|
||||
}
|
||||
|
||||
trap notify_failure ERR
|
||||
|
||||
echo "=== Deploying QuantEngine $COMMIT ($TIMESTAMP) ==="
|
||||
|
||||
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ed25519 \
|
||||
"$DEPLOY_USER@$DEPLOY_HOST" "mkdir -p /home/kjh2064/tmp"
|
||||
scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ed25519 \
|
||||
quantengine.tar.gz "$DEPLOY_USER@$DEPLOY_HOST:/home/kjh2064/tmp/quantengine.tar.gz"
|
||||
scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ed25519 \
|
||||
tools/deploy_quantengine.sh "$DEPLOY_USER@$DEPLOY_HOST:/home/kjh2064/tmp/deploy.sh"
|
||||
scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ed25519 \
|
||||
deploy/quantengine.env "$DEPLOY_USER@$DEPLOY_HOST:/home/kjh2064/tmp/quantengine.env"
|
||||
|
||||
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ed25519 \
|
||||
"$DEPLOY_USER@$DEPLOY_HOST" "chmod +x /home/kjh2064/tmp/deploy.sh && CI_DEPLOY=1 /home/kjh2064/tmp/deploy.sh"
|
||||
|
||||
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ed25519 \
|
||||
"$DEPLOY_USER@$DEPLOY_HOST" "mkdir -p /home/kjh2064/.config && install -m 600 /home/kjh2064/tmp/quantengine.env /home/kjh2064/.config/quantengine.env && rm -f /home/kjh2064/tmp/quantengine.env"
|
||||
|
||||
echo "=== Verifying Loopback Health ==="
|
||||
loopback_headers=$(ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ed25519 "$DEPLOY_USER@$DEPLOY_HOST" "curl -s -D - -o /dev/null http://127.0.0.1:5000/")
|
||||
echo "$loopback_headers"
|
||||
if ! printf '%s' "$loopback_headers" | grep -qE '^HTTP/1\.[01] 30[12] '; then
|
||||
echo "Loopback health check failed for quantengine" >&2
|
||||
exit 1
|
||||
fi
|
||||
if ! printf '%s' "$loopback_headers" | grep -qiE '^Location: /login'; then
|
||||
echo "Loopback redirect target is unexpected" >&2
|
||||
exit 1
|
||||
fi
|
||||
echo " 대기 중... (\$i/\$ATTEMPTS, HTTP \$STATUS)"
|
||||
sleep 3
|
||||
done
|
||||
REMOTE
|
||||
|
||||
echo "✓ 배포 완료: quantengine_${TIMESTAMP} @ $DEPLOY_HOST"
|
||||
send_telegram "✅ <b>QuantEngine 배포 완료</b>
|
||||
|
||||
커밋: <code>${COMMIT}</code>
|
||||
시간: <code>${TIMESTAMP}</code>
|
||||
대상: <code>${DEPLOY_HOST}</code>"
|
||||
echo "=== Verifying Favicon Assets ==="
|
||||
favicon_svg_code=$(curl -s -o /dev/null -w "%{http_code}" "https://quant.taxbaik.com/favicon.svg")
|
||||
favicon_png_code=$(curl -s -o /dev/null -w "%{http_code}" "https://quant.taxbaik.com/favicon.png")
|
||||
echo "/favicon.svg -> ${favicon_svg_code}"
|
||||
echo "/favicon.png -> ${favicon_png_code}"
|
||||
if [ "$favicon_svg_code" != "200" ] && [ "$favicon_png_code" != "200" ]; then
|
||||
echo "Favicon assets are not reachable after deploy" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "=== Verifying Public Routes ==="
|
||||
public_root_headers=$(curl -s -D - -o /dev/null "https://quant.taxbaik.com/")
|
||||
login_headers=$(curl -s -D - -o /dev/null "https://quant.taxbaik.com/login")
|
||||
|
||||
public_root_code=$(printf '%s' "$public_root_headers" | awk 'NR==1 {print $2}')
|
||||
login_code=$(printf '%s' "$login_headers" | awk 'NR==1 {print $2}')
|
||||
|
||||
echo "https://quant.taxbaik.com/ -> ${public_root_code}"
|
||||
echo "https://quant.taxbaik.com/login -> ${login_code}"
|
||||
|
||||
if [ "$public_root_code" != "302" ] && [ "$public_root_code" != "200" ]; then
|
||||
echo "Deployment content check failed for public root" >&2
|
||||
exit 1
|
||||
fi
|
||||
if [ "$login_code" != "200" ]; then
|
||||
echo "Deployment content check failed for login page" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "✓ 배포 완료: quantengine_${TIMESTAMP} @ $DEPLOY_HOST"
|
||||
send_telegram "✅ <b>QuantEngine 배포 완료</b>
|
||||
|
||||
커밋: <code>${COMMIT}</code>
|
||||
시간: <code>${TIMESTAMP}</code>
|
||||
대상: <code>${DEPLOY_HOST}</code>"
|
||||
|
||||
@@ -1,131 +0,0 @@
|
||||
name: Snapshot Admin Deployment
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: snapshot-admin-deploy-main
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
DEPLOY_HOST: 178.104.200.7
|
||||
DEPLOY_USER: kjh2064
|
||||
TELEGRAM_BOT_TOKEN_DEFAULT: "8734507814:AAFyacLMai8GB4K-hQ_Nd3t3D01A-h1ZdV0"
|
||||
TELEGRAM_CHAT_ID_DEFAULT: "-5460205872"
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup .NET SDK
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: '10.0.x'
|
||||
|
||||
- name: Publish Blazor Web App
|
||||
run: |
|
||||
echo "[deploy] publishing .NET 10 Blazor app"
|
||||
dotnet publish src/dotnet/QuantEngine.Web/QuantEngine.Web.csproj -c Release -o ./publish
|
||||
|
||||
- name: Generate Build Info
|
||||
run: |
|
||||
COMMIT_HASH=$(git rev-parse --short HEAD)
|
||||
BUILD_TIME=$(date -d "+9 hours" +'%Y-%m-%d %H:%M:%S KST')
|
||||
mkdir -p ./publish/wwwroot
|
||||
printf '{\n "version": "1.0.%s-%s",\n "built": "%s"\n}\n' "${{ github.run_number }}" "$COMMIT_HASH" "$BUILD_TIME" > ./publish/wwwroot/version.json
|
||||
echo "✓ Generated version info: 1.0.${{ github.run_number }}-$COMMIT_HASH @ $BUILD_TIME"
|
||||
|
||||
|
||||
- name: Compress Artifact
|
||||
run: |
|
||||
echo "[deploy] compressing publish output"
|
||||
tar -czf quantengine.tar.gz -C ./publish .
|
||||
|
||||
- name: Setup SSH
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
chmod 700 ~/.ssh
|
||||
if echo "${{ secrets.SSH_PRIVATE_KEY }}" | grep -q "BEGIN"; then
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
||||
else
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" | base64 -d > ~/.ssh/id_ed25519 || echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
||||
fi
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
ssh-keyscan -H ${{ env.DEPLOY_HOST }} >> ~/.ssh/known_hosts 2>/dev/null || true
|
||||
|
||||
- name: Deploy & Verify on Server
|
||||
run: |
|
||||
set -e
|
||||
TIMESTAMP=$(date +%Y%m%d_%H%M%S)
|
||||
COMMIT=$(git rev-parse --short HEAD)
|
||||
DEPLOY_HOST="${{ env.DEPLOY_HOST }}"
|
||||
DEPLOY_USER="${{ env.DEPLOY_USER }}"
|
||||
|
||||
TELEGRAM_BOT_TOKEN="${{ secrets.TELEGRAM_BOT_TOKEN }}"
|
||||
[ -z "$TELEGRAM_BOT_TOKEN" ] && TELEGRAM_BOT_TOKEN="${{ env.TELEGRAM_BOT_TOKEN_DEFAULT }}"
|
||||
TELEGRAM_CHAT_ID="${{ secrets.TELEGRAM_CHAT_ID }}"
|
||||
[ -z "$TELEGRAM_CHAT_ID" ] && TELEGRAM_CHAT_ID="${{ env.TELEGRAM_CHAT_ID_DEFAULT }}"
|
||||
|
||||
send_telegram() {
|
||||
local text="$1"
|
||||
curl -fsS -X POST "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage" \
|
||||
-d "chat_id=${TELEGRAM_CHAT_ID}" \
|
||||
--data-urlencode "text=${text}" \
|
||||
-d "parse_mode=HTML" >/dev/null || true
|
||||
}
|
||||
|
||||
notify_failure() {
|
||||
local exit_code=$?
|
||||
send_telegram "❌ <b>Snapshot Admin 배포 실패</b>
|
||||
|
||||
커밋: <code>${COMMIT}</code>
|
||||
시간: <code>${TIMESTAMP}</code>
|
||||
단계: snapshot_admin_deploy (Deploy Execution)"
|
||||
exit "$exit_code"
|
||||
}
|
||||
|
||||
trap notify_failure ERR
|
||||
|
||||
echo "=== Deploying Snapshot Admin $COMMIT ($TIMESTAMP) ==="
|
||||
|
||||
# 1. 원격지 임시 폴더 생성 및 업로드
|
||||
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ed25519 "$DEPLOY_USER@$DEPLOY_HOST" "mkdir -p /home/kjh2064/tmp"
|
||||
scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ed25519 quantengine.tar.gz "$DEPLOY_USER@$DEPLOY_HOST:/home/kjh2064/tmp/quantengine.tar.gz"
|
||||
scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ed25519 tools/deploy_quantengine.sh "$DEPLOY_USER@$DEPLOY_HOST:/home/kjh2064/tmp/deploy.sh"
|
||||
|
||||
# 2. 배포 스크립트 실행
|
||||
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ed25519 "$DEPLOY_USER@$DEPLOY_HOST" "chmod +x /home/kjh2064/tmp/deploy.sh && /home/kjh2064/tmp/deploy.sh"
|
||||
|
||||
# 3. 배포 성공 검증
|
||||
echo "=== Verifying Public Routes ==="
|
||||
root_html=$(curl -sf "http://${DEPLOY_HOST}/quant/" 2>/dev/null || echo "")
|
||||
ops_html=$(curl -sf "http://${DEPLOY_HOST}/quant/operations" 2>/dev/null || echo "")
|
||||
|
||||
root_code=$(printf '%s' "$root_html" | grep -q "Quant Engine" && echo 200 || echo 500)
|
||||
ops_code=$(printf '%s' "$ops_html" | grep -q "Operational Report" && echo 200 || echo 500)
|
||||
|
||||
echo "/quant/ -> ${root_code}"
|
||||
echo "/quant/operations -> ${ops_code}"
|
||||
|
||||
if [ "$root_code" != "200" ]; then
|
||||
echo "Deployment content check failed for /quant/" >&2
|
||||
exit 1
|
||||
fi
|
||||
if [ "$ops_code" != "200" ]; then
|
||||
echo "Deployment content check failed for /quant/operations" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "✓ 배포 완료: quantengine_${TIMESTAMP} @ $DEPLOY_HOST"
|
||||
send_telegram "✅ <b>Snapshot Admin 배포 완료</b>
|
||||
|
||||
커밋: <code>${COMMIT}</code>
|
||||
시간: <code>${TIMESTAMP}</code>
|
||||
대상: <code>${DEPLOY_HOST}</code>"
|
||||
@@ -10,6 +10,13 @@ Temp/
|
||||
dist/
|
||||
outputs/
|
||||
|
||||
# .NET 빌드 산출물
|
||||
**/bin/
|
||||
**/obj/
|
||||
publish-output/
|
||||
*.user
|
||||
*.suo
|
||||
|
||||
# 런타임 감사 로그 (append-only, 매 DAG 실행마다 증가)
|
||||
runtime/lineage_events.jsonl
|
||||
|
||||
|
||||
@@ -110,6 +110,8 @@
|
||||
- D+2 영업일 기준 현금을 즉시방어 자산으로 간주하고, 목표 예산 5억 원을 기준으로 포지션 사이징 및 리스크 버킷을 제어한다.
|
||||
- 매주 주말 리밸런싱(rebalance_required=true) 및 매월 1일/11일/21일 중간점검(mid_check_required=true) 운영 cadence를 준수한다.
|
||||
- 커밋, 푸쉬, PR 작업 시 반드시 로컬의 .gs 파일을 Google Apps Script 원격 프로젝트에 업로드(python tools/deploy_gas.py 실행)하고, 사용자에게 스프레드시트 상의 스크립트 실행(예: runDataFeed)을 통한 검증을 유도 및 가이드해야 한다.
|
||||
- QuantEngine 배포는 CI 전용이다. 로컬에서 서버로 산출물을 직접 업로드하거나 `scp`/`rsync`로 수동 반영하지 않는다. 실배포는 `.gitea/workflows/deploy-prod.yml`만 사용하며, 로컬 스크립트는 CI 환경에서만 실행 가능해야 한다.
|
||||
- 원격 서버 확인이 필요하면 `ssh kjh2064@178.104.200.7` 접속을 먼저 시도하고, 사용자에게 매번 접속 확인을 요구하지 말고 직접 상태/로그/헬스체크를 수집한 뒤 결과만 보고한다.
|
||||
|
||||
## 4. 보고 규칙
|
||||
- 모든 숫자에는 반드시 provenance(출처)를 남기며, 출처가 유효하지 않거나 없는 숫자는 보고서 표기를 전면 배제(DATA_MISSING 처리)한다.
|
||||
|
||||
@@ -144,7 +144,7 @@ npm run prepare-upload-zip
|
||||
## CI / 배포 분리
|
||||
|
||||
- `.gitea/workflows/ci.yml`은 검증 전용이다.
|
||||
- `.gitea/workflows/snapshot_admin_deploy.yml`은 실배포 전용이다.
|
||||
- `.gitea/workflows/deploy-prod.yml`은 실배포 전용이다.
|
||||
- 공개 URL `http://178.104.200.7/quant/` 갱신은 deploy workflow 성공 여부로 판단한다.
|
||||
|
||||
## 운영 리포트 계약
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
# HTTP 80 ➜ HTTPS 443 Redirect
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name taxbaik.com www.taxbaik.com gitea.taxbaik.com quant.taxbaik.com;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
# TaxBaik 홈페이지 (통합 앱)
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
server_name taxbaik.com www.taxbaik.com;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/taxbaik.com/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/taxbaik.com/privkey.pem;
|
||||
|
||||
client_max_body_size 512M;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:5001/taxbaik/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
|
||||
# Gitea (코드 저장소)
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
server_name gitea.taxbaik.com;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/taxbaik.com/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/taxbaik.com/privkey.pem;
|
||||
|
||||
client_max_body_size 512M;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:3000;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_read_timeout 300;
|
||||
proxy_connect_timeout 300;
|
||||
proxy_send_timeout 300;
|
||||
}
|
||||
}
|
||||
|
||||
# QuantEngine (Blazor Admin)
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
server_name quant.taxbaik.com;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/taxbaik.com/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/taxbaik.com/privkey.pem;
|
||||
|
||||
client_max_body_size 512M;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:5000/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
+62
-68
@@ -16,8 +16,8 @@
|
||||
| 3.2 | [Python 가상 환경](#32-python-가상-환경) | `~/.venv`, `python3` 사용 규칙 |
|
||||
| 3.3 | [주요 Python 패키지](#33-주요-python-패키지-시스템) | 시스템/venv 패키지 구분 |
|
||||
| 4 | [서비스 아키텍처](#4-서비스-아키텍처) | 포트 맵, Nginx 리버스 프록시 |
|
||||
| 4.1 | [포트 맵](#41-포트-맵) | 22, 80, 2222, 3000, 5000, 5432 |
|
||||
| 4.2 | [Nginx 리버스 프록시](#42-nginx-리버스-프록시) | `/` → Gitea, `/quant/` → Blazor |
|
||||
| 4.1 | [포트 맵](#41-포트-맵) | 22, 80, 443, 2222, 3000, 5000, 5001, 5432 |
|
||||
| 4.2 | [Nginx 리버스 프록시](#42-nginx-리버스-프록시) | 도메인 가상 호스트 기반 분기 |
|
||||
| 5 | [Gitea](#5-gitea) | Docker Compose 설정, 시크릿, 데이터 경로 |
|
||||
| 5.1 | [Docker Compose](#51-docker-compose) | `gitea:1.26.4`, PG 연동 |
|
||||
| 5.2 | [시크릿 관리](#52-시크릿-관리) | `/opt/stacks/gitea/.env` |
|
||||
@@ -117,55 +117,30 @@ boto3, cryptography, Jinja2, jsonschema, fail2ban 등 시스템 레벨로 설치
|
||||
| 포트 | 서비스 | 바인드 | 비고 |
|
||||
|---|---|---|---|
|
||||
| **22** | SSH | `0.0.0.0` | 공개키 전용 |
|
||||
| **80** | Nginx (리버스 프록시) | `0.0.0.0` | 외부 진입점 |
|
||||
| **80** | Nginx (HTTP) | `0.0.0.0` | 443 HTTPS로 리다이렉트 |
|
||||
| **443** | Nginx (HTTPS) | `0.0.0.0` | SSL 가상 호스트 진입점 |
|
||||
| **2222** | Gitea SSH | `0.0.0.0` | Git SSH 접속 |
|
||||
| **3000** | Gitea Web | `127.0.0.1` | Nginx 프록시 경유 |
|
||||
| **5000** | QuantEngine Blazor | `127.0.0.1` | Nginx `/quant/` 경유 |
|
||||
| **3000** | Gitea Web | `127.0.0.1` | Nginx 프록시 경유 (`gitea.taxbaik.com`) |
|
||||
| **5000** | QuantEngine Blazor | `127.0.0.1` | Nginx 프록시 경유 (`quant.taxbaik.com`) |
|
||||
| **5001** | TaxBaik 홈페이지 | `127.0.0.1` | Nginx 프록시 경유 (`taxbaik.com` / `www.taxbaik.com`) |
|
||||
| **5432** | PostgreSQL | `127.0.0.1` + `172.17.0.1` | 로컬 + Docker 네트워크 |
|
||||
|
||||
### 4.2. Nginx 리버스 프록시
|
||||
|
||||
```nginx
|
||||
# /etc/nginx/sites-enabled/gitea-ip.conf
|
||||
도메인 기반 가상 호스트(Virtual Host) 방식을 사용하여 각 도메인 요청을 내부 서비스로 연결하고, SSL(HTTPS)을 필수로 적용합니다. HTTP(80) 포트 요청은 자동으로 HTTPS(443)로 리다이렉트됩니다.
|
||||
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
server_name _;
|
||||
client_max_body_size 512M;
|
||||
상세 Nginx 설정 백업은 `deploy/nginx-taxbaik-domains.conf`에 위치합니다.
|
||||
|
||||
# QuantEngine Blazor Web App
|
||||
location /quant/ {
|
||||
proxy_pass http://127.0.0.1:5000/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
# Gitea (기본)
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:3000;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_read_timeout 300;
|
||||
proxy_connect_timeout 300;
|
||||
proxy_send_timeout 300;
|
||||
}
|
||||
}
|
||||
```
|
||||
#### 가상 호스트 설정 개요
|
||||
- **TaxBaik 홈페이지** (`https://taxbaik.com`, `https://www.taxbaik.com`) ➜ `http://127.0.0.1:5001/taxbaik/`
|
||||
- **Gitea (코드 저장소)** (`https://gitea.taxbaik.com`) ➜ `http://127.0.0.1:3000`
|
||||
- **QuantEngine (Blazor Admin)** (`https://quant.taxbaik.com`) ➜ `http://127.0.0.1:5000/`
|
||||
|
||||
**라우팅 요약**:
|
||||
- `http://178.104.200.7/` → Gitea Web UI
|
||||
- `http://178.104.200.7/quant/` → QuantEngine Blazor Admin
|
||||
- `ssh://178.104.200.7:2222` → Gitea Git SSH
|
||||
- `https://taxbaik.com` & `https://www.taxbaik.com` ➜ TaxBaik 홈페이지 (통합 앱)
|
||||
- `https://gitea.taxbaik.com` ➜ Gitea Web UI
|
||||
- `https://quant.taxbaik.com` ➜ QuantEngine Blazor Admin
|
||||
- `ssh://git@gitea.taxbaik.com:2222` ➜ Gitea Git SSH
|
||||
|
||||
## 5. Gitea
|
||||
|
||||
@@ -231,8 +206,9 @@ services:
|
||||
### 6.4. CI / 배포 분리
|
||||
|
||||
- `.gitea/workflows/ci.yml`: 검증 전용. 스펙/공식/리포트/아티팩트 생성까지만 수행한다.
|
||||
- `.gitea/workflows/snapshot_admin_deploy.yml`: 실배포 전용. `dotnet publish` 후 `tools/deploy_quantengine.sh`를 이용해 `/home/kjh2064/quantengine_active`로 반영한다.
|
||||
- 공개 URL `/quant/` 갱신은 `snapshot_admin_deploy.yml`의 성공 여부를 기준으로 판단한다.
|
||||
- `.gitea/workflows/deploy-prod.yml`: 실배포 전용. `dotnet publish` 후 `tools/deploy_quantengine.sh`를 이용해 `/home/kjh2064/quantengine_active`로 반영한다.
|
||||
- 수동 배포 금지: 로컬에서 `scp`/`rsync`로 `quantengine_active`를 갱신하지 않는다. 배포는 CI가 원격에서만 수행하고, 로컬 스크립트는 `CI_DEPLOY=1` 없이 실행되면 실패해야 한다.
|
||||
- 공개 URL 갱신은 `deploy-prod.yml`의 성공 여부를 기준으로 판단한다.
|
||||
|
||||
### 6.2. 러너 설정
|
||||
|
||||
@@ -335,8 +311,8 @@ ClientAliveCountMax 2
|
||||
|
||||
- **상태**: `ENABLED=yes` (`/etc/ufw/ufw.conf`)
|
||||
- **로그 레벨**: `low`
|
||||
- **외부 개방 포트**: 22 (SSH), 80 (HTTP/Nginx), 2222 (Gitea SSH)
|
||||
- **내부 전용**: 3000 (Gitea Web), 5000 (QuantEngine), 5432 (PostgreSQL)
|
||||
- **외부 개방 포트**: 22 (SSH), 80 (HTTP), 443 (HTTPS), 2222 (Gitea SSH)
|
||||
- **내부 전용**: 3000 (Gitea Web), 5000 (QuantEngine), 5001 (TaxBaik Web), 5432 (PostgreSQL)
|
||||
|
||||
> 상세 규칙 확인: `sudo ufw status numbered` (TTY + sudo 비밀번호 필요)
|
||||
|
||||
@@ -349,8 +325,9 @@ ClientAliveCountMax 2
|
||||
|
||||
- Gitea Web: `127.0.0.1:3000` (로컬 전용)
|
||||
- QuantEngine: `127.0.0.1:5000` (로컬 전용)
|
||||
- TaxBaik Web: `127.0.0.1:5001` (로컬 전용)
|
||||
- PostgreSQL: `127.0.0.1` + Docker bridge (`172.17.0.1`)
|
||||
- 외부 노출: SSH(22), HTTP(80), Gitea SSH(2222)만 개방
|
||||
- 외부 노출: SSH(22), HTTP(80), HTTPS(443), Gitea SSH(2222)만 개방
|
||||
|
||||
## 10. 디렉토리 맵
|
||||
|
||||
@@ -390,7 +367,7 @@ ClientAliveCountMax 2
|
||||
| **CI Runner** | Synology Act Runner | 6× `act_runner:latest` (Docker) |
|
||||
| **DB** | SQLite (파일 기반) | PostgreSQL 18 + SQLite (하이브리드) |
|
||||
| **웹 Admin** | 없음 | QuantEngine Blazor (.NET 10, MudBlazor) |
|
||||
| **리버스 프록시** | Synology 내장 | Nginx (`/` → Gitea, `/quant/` → Blazor) |
|
||||
| **리버스 프록시** | Synology 내장 | Nginx 도메인 가상 호스트 및 SSL (HTTPS) 적용 (`deploy/nginx-taxbaik-domains.conf`) |
|
||||
| **보안** | DSM 방화벽 | fail2ban + SSH 공개키 + 서비스 로컬바인드 |
|
||||
| **시크릿 관리** | `.secrets/kis_real.env` | `/opt/stacks/gitea/.env` |
|
||||
| **OS** | Synology DSM 7.x | Ubuntu 26.04 LTS |
|
||||
@@ -425,19 +402,9 @@ docker ps -a
|
||||
### QuantEngine 배포
|
||||
|
||||
```bash
|
||||
# 1. 새 배포 디렉토리 생성
|
||||
DEPLOY_DIR=~/deployments/quantengine_$(date +%Y%m%d_%H%M%S)
|
||||
mkdir -p "$DEPLOY_DIR"
|
||||
|
||||
# 2. 빌드 산출물 복사 (로컬에서 scp 또는 CI에서)
|
||||
scp -r publish/* kjh2064@178.104.200.7:"$DEPLOY_DIR"/
|
||||
|
||||
# 3. symlink 교체
|
||||
ln -sfn "$DEPLOY_DIR" ~/quantengine_active
|
||||
|
||||
# 4. 서비스 재시작
|
||||
sudo systemctl restart quantengine
|
||||
sudo systemctl status quantengine
|
||||
# CI에서만 배포
|
||||
# 로컬에서 scp/rsync로 quantengine_active를 갱신하지 않는다.
|
||||
# 배포는 .gitea/workflows/deploy-prod.yml 실행 결과로만 반영한다.
|
||||
```
|
||||
|
||||
### Gitea Act Runner 등록
|
||||
@@ -452,14 +419,20 @@ docker run -d \
|
||||
gitea/act_runner:latest
|
||||
```
|
||||
|
||||
### SSH 접속
|
||||
### SSH 접속 및 Git 원격 설정
|
||||
|
||||
```bash
|
||||
# Windows 로컬에서
|
||||
# Windows 로컬에서 서버 SSH 접속
|
||||
ssh kjh2064@178.104.200.7
|
||||
|
||||
# Gitea Git 접속
|
||||
git remote set-url origin ssh://git@178.104.200.7:2222/kjh2064/QuantEngineByItz.git
|
||||
# 로컬 프로젝트의 Git Remote URL 변경 (Gitea 도메인 기반 HTTPS 적용)
|
||||
# 1) 현재 설정된 remote url 확인
|
||||
git remote -v
|
||||
# 2) 새로운 도메인 주소로 원격 URL 변경
|
||||
git remote set-url origin https://gitea.taxbaik.com/kjh2064/QuantEngineByItz.git
|
||||
|
||||
# Gitea Git SSH 접속 (기존 2222 포트 유지)
|
||||
git remote set-url origin ssh://git@gitea.taxbaik.com:2222/kjh2064/QuantEngineByItz.git
|
||||
```
|
||||
|
||||
## 13. 검증 하네스
|
||||
@@ -514,6 +487,27 @@ ssh -T -p 2222 git@178.104.200.7 2>&1 | head -1
|
||||
|
||||
---
|
||||
|
||||
> **수집 일시**: 2026-06-26 09:55 KST
|
||||
> **수집 방법**: `ssh kjh2064@178.104.200.7` 라이브 명령 실행
|
||||
> **provenance**: 모든 값은 서버 실시간 명령 출력에서 추출. 임의 값 없음.
|
||||
## 14. 트러블슈팅 (Troubleshooting)
|
||||
|
||||
### 14.1. Certbot / APT 패키지 설치 시 Microsoft 리포지토리 404 오류
|
||||
- **증상**: `sudo apt-get update` 실행 시 Microsoft 패키지 저장소에서 `404 Not Found` 에러가 발생하며 패키지 목록 갱신이 중단되고, 이로 인해 `certbot` 설치가 `sudo: certbot: command not found` 에러로 실패하는 현상.
|
||||
- **원인**: Ubuntu 26.04 (Resolute) 환경에서 Microsoft의 잘못된 리포지토리(26.04 경로에 focal/20.04 릴리스가 설정된 상태)를 참조하여 발생.
|
||||
- **해결 방안**:
|
||||
1. 문제가 되는 Microsoft apt 소스 설정 파일을 삭제하거나 비활성화합니다.
|
||||
```bash
|
||||
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
|
||||
```
|
||||
2. APT 패키지 목록을 다시 업데이트하고 Certbot 및 Nginx 플러그인을 설치합니다.
|
||||
```bash
|
||||
sudo apt-get update && sudo apt-get install -y certbot python3-certbot-nginx
|
||||
```
|
||||
3. 인증서 발급 및 설정을 적용합니다.
|
||||
```bash
|
||||
sudo certbot --nginx -d taxbaik.com -d www.taxbaik.com -d gitea.taxbaik.com -d quant.taxbaik.com --register-unsafely-without-email --agree-tos --non-interactive
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
> **수집 일시**: 2026-06-26 09:55 KST (추가 업데이트: 2026-07-01)
|
||||
> **수집 방법**: `ssh kjh2064@178.104.200.7` 라이브 명령 및 트러블슈팅 사례 수집
|
||||
> **provenance**: 모든 값은 서버 실시간 명령 출력 및 실제 오류 대처 조치 로그에서 추출. 임의 값 없음.
|
||||
|
||||
@@ -0,0 +1,955 @@
|
||||
# KIS Data Collection Python→.NET Migration WBS
|
||||
|
||||
**프로젝트**: Python `kis_data_collection_v1.py` → C# `QuantEngine.Application` 포팅 + 코드 품질 개선
|
||||
**시작**: 2026-07-05
|
||||
**목표**: 완전한 기능 호환성 + SOLID + 정규화 + 테스트 커버리지
|
||||
**성공 기준**: Python 테스트와 동등 검증 + 코드 리뷰 승인
|
||||
|
||||
---
|
||||
|
||||
## 📋 전체 작업 분해 (WBS)
|
||||
|
||||
### **Phase 0: 기초 설계 & 분석** ✅ (현재 진행 중)
|
||||
- [x] 0.1: Python 코드 분석 (`kis_data_collection_v1.py` 436줄 읽음)
|
||||
- [x] 0.2: .NET 현황 분석 (`DataCollectionService.cs` 부분 구현)
|
||||
- [x] 0.3: DB 스키마 분석 (`DbMigrator.cs` 11개 테이블)
|
||||
- [x] 0.4: Python 테스트 분석 (`test_kis_data_collection_v1.py` 데이터 규칙)
|
||||
- [x] 0.5: 마이그레이션 전략 수립 (과유불급 SOLID)
|
||||
- [ ] 0.6: **이 WBS 문서 작성 및 검증** ← 현재
|
||||
|
||||
---
|
||||
|
||||
### **Phase 1: 데이터 모델 정의** (4 tasks)
|
||||
|
||||
#### 1.1: Core Entity Models 작성
|
||||
**책임**: `QuantEngine.Core/Models/` 에 도메인 모델 정의
|
||||
**입출력**:
|
||||
- **입력**: Python `kis_data_collection_v1.py` 라인 330-359 (`_collect_one` 반환값)
|
||||
- **출력**: C# 타입 정의 완료
|
||||
- **파일**:
|
||||
- `CollectionSnapshot.cs` (정규화된 스냅샷)
|
||||
- `PriceCollectionResult.cs` (수집 결과)
|
||||
- `CollectionStatusEnum.cs` (OK, PARTIAL, ERROR)
|
||||
|
||||
**성공 규칙 (데이터 증빙)**:
|
||||
```
|
||||
✅ 체크리스트:
|
||||
1. CollectionSnapshot에 Python _collect_one() 반환값의 모든 필드 포함
|
||||
- ticker, name, sector, current_price, open, high, low, volume
|
||||
- price_status, orderbook_status, short_sale_status
|
||||
- collection_as_of (ISO 8601 KST)
|
||||
2. 타입 안전성
|
||||
- nullable fields는 `?` 명시 (price: double?, status: string)
|
||||
3. Serialization 지원
|
||||
- [JsonPropertyName] attribute로 Python 필드명 맵핑
|
||||
4. 테스트 가능성
|
||||
- 기본 생성자, 공개 속성
|
||||
```
|
||||
|
||||
**완료 기준**:
|
||||
```csharp
|
||||
// 컴파일 성공, 타입 일관성, 스키마와 1:1 매핑
|
||||
[Theory]
|
||||
[InlineData("005930", "삼성전자", "반도체")]
|
||||
public void CollectionSnapshot_SerializeDeserialize_RoundTrips(string ticker, string name, string sector)
|
||||
{
|
||||
var snapshot = new CollectionSnapshot
|
||||
{
|
||||
Ticker = ticker,
|
||||
Name = name,
|
||||
Sector = sector,
|
||||
CurrentPrice = 70000.5,
|
||||
PriceStatus = "OK"
|
||||
};
|
||||
var json = JsonSerializer.Serialize(snapshot);
|
||||
var deserialized = JsonSerializer.Deserialize<CollectionSnapshot>(json);
|
||||
Assert.Equal(ticker, deserialized.Ticker);
|
||||
Assert.Equal(70000.5, deserialized.CurrentPrice);
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### 1.2: Price Source Result Model
|
||||
**책임**: 모든 price source의 통일된 응답 표현
|
||||
**입출력**:
|
||||
- **입력**: Python 라인 128-179 (`_normalize_kis_fields` 반환값)
|
||||
- **출력**: C# PriceSourceResult 클래스
|
||||
|
||||
**성공 규칙**:
|
||||
```
|
||||
✅ 체크리스트:
|
||||
1. KIS API 응답 필드 포함
|
||||
- current_price, open, high, low, volume
|
||||
- ask_1, bid_1, microstructure_pressure
|
||||
- short_turnover_share
|
||||
2. Status 추적
|
||||
- PriceStatus (OK, ERROR)
|
||||
- OrderbookStatus (OK, ERROR)
|
||||
- ShortSaleStatus (OK, ERROR)
|
||||
3. Raw 데이터 보존
|
||||
- current_price_raw, orderbook_raw, short_sale_raw (Dictionary)
|
||||
4. 소스 식별
|
||||
- source: enum (KIS, Naver, JSON)
|
||||
```
|
||||
|
||||
**완료 기준**:
|
||||
```csharp
|
||||
// Python _normalize_kis_fields() 결과와 동등한 C# 객체
|
||||
var pythonResult = {
|
||||
"status": "OK",
|
||||
"current_price": 70000,
|
||||
"ask_1": 70100,
|
||||
"bid_1": 69900
|
||||
};
|
||||
var csharpResult = new PriceSourceResult
|
||||
{
|
||||
Status = "OK",
|
||||
CurrentPrice = 70000,
|
||||
Ask1 = 70100,
|
||||
Bid1 = 69900
|
||||
};
|
||||
// JSON 직렬화 동일
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### 1.3: Collection Error Model
|
||||
**책임**: 에러 추적 구조화
|
||||
**파일**: `CollectionErrorRecord.cs` (이미 Infrastructure에 있음 — 검증만)
|
||||
|
||||
**성공 규칙**:
|
||||
```
|
||||
✅ 체크리스트:
|
||||
1. Python test_kis_data_collection_v1.py 라인 75-83 검증
|
||||
- ticker, error 필드
|
||||
2. 데이터베이스 스키마 (DbMigrator.cs 라인 94-106) 매핑
|
||||
- run_id, ticker, source_name, error_kind, error_message
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### 1.4: Collection Run Summary Model
|
||||
**책임**: 수집 실행 종합 결과
|
||||
**파일**: `CollectionRunResult.cs` (DataCollectionService.cs 라인 24-101 기존 코드)
|
||||
|
||||
**성공 규칙**:
|
||||
```
|
||||
✅ 체크리스트:
|
||||
1. Python kis_data_collection_v1.py 라인 387-396 summary 구조 맵핑
|
||||
2. JSON 직렬화 (Temp/kis_data_collection_v1.json 출력)
|
||||
- formula_id, run_id, started_at, finished_at
|
||||
- row_count, source_counts, errors, rows
|
||||
3. 타입 안전성
|
||||
- source_counts: Dictionary<string, int> 또는 SortedDictionary
|
||||
```
|
||||
|
||||
**완료 기준**:
|
||||
```json
|
||||
{
|
||||
"formula_id": "KIS_DATA_COLLECTION_V1",
|
||||
"run_id": "abc123def456",
|
||||
"started_at": "2026-07-05T14:18:00+09:00",
|
||||
"finished_at": "2026-07-05T14:19:00+09:00",
|
||||
"row_count": 100,
|
||||
"source_counts": { "kis_open_api": 95, "gathertradingdata_json": 5 },
|
||||
"errors": [],
|
||||
"rows": [
|
||||
{
|
||||
"ticker": "005930",
|
||||
"name": "삼성전자",
|
||||
"sector": "반도체",
|
||||
"source_priority": "kis_open_api",
|
||||
"current_price": 70000
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### **Phase 2: Price Source 추상화 (SOLID I, S)** (3 tasks)
|
||||
|
||||
#### 2.1: IPriceSource 인터페이스 정의
|
||||
**책임**: 모든 price source의 계약 정의
|
||||
**파일**: `QuantEngine.Core/Interfaces/IPriceSource.cs`
|
||||
|
||||
**성공 규칙**:
|
||||
```
|
||||
✅ 체크리스트:
|
||||
1. 메서드 서명
|
||||
Task<PriceSourceResult> GetPriceDataAsync(string ticker, string account);
|
||||
- ticker: 6자리 숫자
|
||||
- account: "real" | "mock"
|
||||
- 반환: PriceSourceResult (status OK/ERROR 포함)
|
||||
2. Liskov Substitution
|
||||
- 모든 구현이 같은 계약 준수
|
||||
3. 에러 처리
|
||||
- 네트워크 에러, 타임아웃, 데이터 파싱 에러를 처리하고 status="ERROR" 반환
|
||||
```
|
||||
|
||||
**완료 기준**:
|
||||
```csharp
|
||||
public interface IPriceSource
|
||||
{
|
||||
string SourceName { get; }
|
||||
Task<PriceSourceResult> GetPriceDataAsync(string ticker, string account);
|
||||
}
|
||||
|
||||
// 모든 구현이 이 계약을 따름
|
||||
public class KisApiPriceSource : IPriceSource
|
||||
{
|
||||
public string SourceName => "kis_open_api";
|
||||
public async Task<PriceSourceResult> GetPriceDataAsync(string ticker, string account)
|
||||
{
|
||||
try { /* ... */ }
|
||||
catch (Exception ex)
|
||||
{
|
||||
return new PriceSourceResult { Status = "ERROR", Error = ex.Message };
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### 2.2: KisApiPriceSource 구현
|
||||
**책임**: Python `_normalize_kis_fields()` (라인 128-179) 포팅
|
||||
**파일**: `QuantEngine.Application/Services/KisApiPriceSource.cs`
|
||||
|
||||
**입출력**:
|
||||
- **입력**:
|
||||
- Python `_normalize_kis_fields(code, account)` 함수
|
||||
- IKisApiClient (이미 있음)
|
||||
- **출력**:
|
||||
- C# KisApiPriceSource 클래스 (≈120줄)
|
||||
|
||||
**성공 규칙 (데이터 증빙)**:
|
||||
```
|
||||
✅ 체크리스트:
|
||||
1. 기능 동등성
|
||||
- Python 라인 137-147: 가격 조회 → C# GetCurrentPriceAsync()
|
||||
- Python 라인 151-163: 호가 조회 → C# GetAskingPrice10LevelAsync()
|
||||
- Python 라인 165-177: 공매도 조회 → C# GetDailyShortSaleAsync()
|
||||
2. 데이터 정규화
|
||||
- CoerceFloat() 유틸로 문자열→float 변환
|
||||
- FindFirstValue() 유틸로 필드 탐색 (다중 경로 fallback)
|
||||
3. 에러 처리
|
||||
- 각 API 호출 별도 try-catch
|
||||
- status: "OK", "ERROR" 반환
|
||||
4. 타입 안전성
|
||||
- Dictionary<string, object> 대신 PriceSourceResult 반환
|
||||
5. 테스트 동등성
|
||||
- Python test_kis_data_collection_v1.py 라인 44-62 테스트와 동등
|
||||
```
|
||||
|
||||
**완료 기준**:
|
||||
```csharp
|
||||
[Fact]
|
||||
public async Task GetPriceDataAsync_WithValidKisCredentials_ReturnsPriceSourceResult()
|
||||
{
|
||||
// Python 테스트와 동등: _normalize_kis_fields() 반환값 검증
|
||||
var result = await _kisSource.GetPriceDataAsync("005930", "mock");
|
||||
|
||||
Assert.Equal("OK", result.Status);
|
||||
Assert.NotNull(result.CurrentPrice);
|
||||
Assert.NotNull(result.Ask1);
|
||||
Assert.NotNull(result.Bid1);
|
||||
|
||||
// JSON 직렬화 가능 (역정규화)
|
||||
var json = JsonSerializer.Serialize(result);
|
||||
Assert.NotEmpty(json);
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### 2.3: NaverApiPriceSource 구현 (선택사항)
|
||||
**책임**: Python `_normalize_naver_price_history()` (라인 102-125) 포팅 (선택)
|
||||
**우선순위**: 낮음 (KIS만으로 충분 → 필요시 추가)
|
||||
|
||||
**체크**: 일단 스킵, 필요시 Phase 4에 추가
|
||||
|
||||
---
|
||||
|
||||
### **Phase 3: 데이터 정규화 레이어** (3 tasks)
|
||||
|
||||
#### 3.1: DataNormalizationHelper 추출
|
||||
**책임**: Python 유틸 함수 (라인 76-99) → C# 정적 메서드로 추출
|
||||
**파일**: `QuantEngine.Application/Services/DataNormalizationHelper.cs`
|
||||
|
||||
**성공 규칙**:
|
||||
```
|
||||
✅ 체크리스트:
|
||||
1. CoerceFloat() — Python 라인 76-84
|
||||
- null, "" → null 반환
|
||||
- "1,234.56%" → 1234.56 변환
|
||||
- 예외 → null 반환
|
||||
2. FindFirstValue() — Python 라인 87-99
|
||||
- 재귀적 탐색 (dict/list 모두 지원)
|
||||
- 첫 non-null 값 반환
|
||||
3. 테스트 데이터
|
||||
- Python test 라인 111 (CoerceFloat("1,234.5") == 1234.5)
|
||||
```
|
||||
|
||||
**완료 기준**:
|
||||
```csharp
|
||||
[Theory]
|
||||
[InlineData("1,234.56", 1234.56)]
|
||||
[InlineData("1,234.56%", 1234.56)]
|
||||
[InlineData(null, null)]
|
||||
[InlineData("", null)]
|
||||
public void CoerceFloat_WithVariousFormats_ParsesCorrectly(string? input, double? expected)
|
||||
{
|
||||
var result = DataNormalizationHelper.CoerceFloat(input);
|
||||
Assert.Equal(expected, result);
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### 3.2: PriceDataNormalizer 구현
|
||||
**책임**: Python `_collect_one()` (라인 330-359) 로직 → C# 메서드
|
||||
**파일**: `QuantEngine.Application/Services/PriceDataNormalizer.cs`
|
||||
|
||||
**성공 규칙**:
|
||||
```
|
||||
✅ 체크리스트:
|
||||
1. 입력 (Python 라인 331-340)
|
||||
- row: 시드 데이터 한 행 (Ticker, Name, Sector)
|
||||
- kis: KIS API 결과 (또는 null)
|
||||
- naver: Naver API 결과 (또는 null)
|
||||
2. 출력
|
||||
- normalized: 정규화된 Dictionary
|
||||
- provenance: 소스 추적 정보
|
||||
3. 소스 우선순위 (Python 라인 342-354)
|
||||
- KIS status=="OK" 있으면 kis_open_api 1순위
|
||||
- Naver 있으면 naver_finance 추가
|
||||
- 기본은 gathertradingdata_json
|
||||
4. 데이터 폴백 (Python 라인 355)
|
||||
- 소스에서 누락된 필드는 row 데이터로 폴백
|
||||
```
|
||||
|
||||
**완료 기준**:
|
||||
```csharp
|
||||
[Fact]
|
||||
public async Task NormalizeCollectionRow_WithKisAndNaver_ReturnsNormalizedData()
|
||||
{
|
||||
// Python test 라인 44-62 동등
|
||||
var row = new { Ticker = "005930", Name = "삼성전자", Sector = "반도체" };
|
||||
var kis = new PriceSourceResult { Status = "OK", CurrentPrice = 70000 };
|
||||
var naver = new PriceSourceResult { Status = "OK", CurrentPrice = 65000 };
|
||||
|
||||
var (normalized, provenance) = _normalizer.NormalizeCollectionRow(row, kis, naver);
|
||||
|
||||
Assert.Equal(70000, normalized["current_price"]); // KIS 우선
|
||||
Assert.Equal(new[] { "kis_open_api", "naver_finance" }, provenance["source_priority"]);
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### 3.3: SourcePriorityResolver 구현
|
||||
**책임**: 소스별 우선순위 결정 (Python 라인 208-229 `_resolve_price_source`)
|
||||
**파일**: `QuantEngine.Application/Services/SourcePriorityResolver.cs`
|
||||
|
||||
**성공 규칙**:
|
||||
```
|
||||
✅ 체크리스트:
|
||||
1. 입력
|
||||
- ticker: 식별자
|
||||
- kis, naver: 각 소스 결과
|
||||
- includeLiveKis, includeNaver: 플래그
|
||||
2. 출력
|
||||
- source_priority: List<string> (정렬된)
|
||||
3. 로직 (Python 라인 219-227)
|
||||
- KIS status=="OK" → kis_open_api 1순위
|
||||
- Naver status=="OK" or "DATA_MISSING" → naver_finance 추가
|
||||
4. 테스트 동등성
|
||||
- Python test 라인 44-62
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### **Phase 4: 컬렉션 오케스트레이터 (SOLID O, D)** (2 tasks)
|
||||
|
||||
#### 4.1: ICollectionOrchestrator 인터페이스
|
||||
**책임**: 메인 파이프라인의 계약
|
||||
**파일**: `QuantEngine.Core/Interfaces/ICollectionOrchestrator.cs`
|
||||
|
||||
**성공 규칙**:
|
||||
```
|
||||
✅ 체크리스트:
|
||||
1. 메서드
|
||||
Task<CollectionRunResult> RunCollectionAsync(
|
||||
string runId,
|
||||
string account,
|
||||
List<string> tickers)
|
||||
2. 의존성 주입 가능 (테스트 목 용이)
|
||||
3. 에러 처리
|
||||
- 개별 종목 에러 → 계속 진행 (robust)
|
||||
- 치명적 에러 → 실패 상태로 마무리
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### 4.2: KisDataCollectionOrchestrator 구현
|
||||
**책임**: Python `collect_to_sqlite()` (라인 361-436) 포팅
|
||||
**파일**: `QuantEngine.Application/Services/KisDataCollectionOrchestrator.cs`
|
||||
|
||||
**입출력**:
|
||||
- **입력**:
|
||||
- runId, account, tickers
|
||||
- GatherTradingData.json (시드 데이터)
|
||||
- **출력**:
|
||||
- CollectionRunResult
|
||||
- Temp/kis_data_collection_v1.json (JSON 파일)
|
||||
- DB 저장 (kis_collection_runs, kis_collection_snapshots, kis_collection_errors)
|
||||
|
||||
**성공 규칙 (데이터 증빙)**:
|
||||
```
|
||||
✅ 체크리스트:
|
||||
1. 시드 데이터 로드 (Python 라인 182-199)
|
||||
- GatherTradingData.json 파싱
|
||||
- data.data_feed[] 배열
|
||||
- core_satellite merge
|
||||
2. 종목별 수집 루프 (Python 라인 399-435)
|
||||
- 각 종목마다 PriceSourceResult 수집
|
||||
- 정규화 및 저장
|
||||
- 에러 추적
|
||||
3. 결과 요약 (Python 라인 303-327)
|
||||
- started_at, finished_at (KST)
|
||||
- source_counts 집계
|
||||
- 상태: PASS / PASS_WITH_WARNINGS / FAIL
|
||||
4. JSON 출력 (Python 라인 309-312)
|
||||
- Temp/kis_data_collection_v1.json 생성
|
||||
- UTF-8, indent=2
|
||||
5. DB 저장 (Python 라인 313-326)
|
||||
- collection_runs 테이블
|
||||
- collection_snapshots 테이블
|
||||
- collection_source_errors 테이블
|
||||
6. 테스트 동등성
|
||||
- Python test_kis_data_collection_v1.py 라인 39-83 (모든 케이스)
|
||||
```
|
||||
|
||||
**완료 기준**:
|
||||
```csharp
|
||||
[Fact]
|
||||
public async Task RunCollectionAsync_WithValidSeedAndKisAccount_ReturnsSuccessAndCreatesJson()
|
||||
{
|
||||
// Python test 라인 39-83 동등
|
||||
var result = await _orchestrator.RunCollectionAsync(
|
||||
runId: "test-run-123",
|
||||
account: "mock",
|
||||
tickers: new[] { "005930", "000660" }.ToList()
|
||||
);
|
||||
|
||||
// 1. 결과 검증
|
||||
Assert.Equal("COMPLETED", result.Status);
|
||||
Assert.True(result.SuccessCount > 0);
|
||||
|
||||
// 2. JSON 파일 생성 확인
|
||||
var jsonPath = Path.Combine(Path.GetTempPath(), "kis_data_collection_v1.json");
|
||||
Assert.True(File.Exists(jsonPath));
|
||||
var json = JsonDocument.Parse(File.ReadAllText(jsonPath));
|
||||
Assert.Equal("KIS_DATA_COLLECTION_V1", json.RootElement.GetProperty("formula_id").GetString());
|
||||
|
||||
// 3. DB 저장 확인
|
||||
var runs = await _repository.GetRunsByIdAsync("test-run-123");
|
||||
Assert.Single(runs);
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### **Phase 5: 시드 데이터 파서** (1 task)
|
||||
|
||||
#### 5.1: GatherTradingDataParser 구현
|
||||
**책임**: Python `_build_seed_rows()` (라인 182-199) 포팅
|
||||
**파일**: `QuantEngine.Application/Services/GatherTradingDataParser.cs`
|
||||
|
||||
**성공 규칙**:
|
||||
```
|
||||
✅ 체크리스트:
|
||||
1. 입력 형식
|
||||
{
|
||||
"data": {
|
||||
"data_feed": [ { "Ticker": "005930", "Name": "삼성전자", ... } ],
|
||||
"core_satellite": [ { "Ticker": "005930", "Sector": "반도체" } ]
|
||||
}
|
||||
}
|
||||
2. 병합 로직 (Python 라인 185-197)
|
||||
- data_feed와 core_satellite를 Ticker로 병합
|
||||
- core_satellite 필드를 data_feed 행에 추가
|
||||
3. 검증
|
||||
- Ticker 필수 (비어있으면 스킵)
|
||||
- Name, Sector는 선택
|
||||
4. 테스트 동등성
|
||||
- Python test 라인 39-42 (_build_seed_rows)
|
||||
```
|
||||
|
||||
**완료 기준**:
|
||||
```csharp
|
||||
[Fact]
|
||||
public void ParseGatherTradingData_WithCoreAndSatellite_MergesCorrectly()
|
||||
{
|
||||
// Python test 라인 39-42 동등
|
||||
var json = JsonDocument.Parse(@"
|
||||
{
|
||||
""data"": {
|
||||
""data_feed"": [{ ""Ticker"": ""005930"", ""Name"": ""삼성전자"" }],
|
||||
""core_satellite"": [{ ""Ticker"": ""005930"", ""Sector"": ""반도체"" }]
|
||||
}
|
||||
}");
|
||||
|
||||
var rows = _parser.ParseGatherTradingData(json);
|
||||
|
||||
Assert.Single(rows);
|
||||
Assert.Equal("005930", rows[0]["Ticker"]);
|
||||
Assert.Equal("삼성전자", rows[0]["Name"]);
|
||||
Assert.Equal("반도체", rows[0]["Sector"]);
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### **Phase 6: 통합 & 엔드포인트** (2 tasks)
|
||||
|
||||
#### 6.1: DataCollectionService 통합 리팩토링
|
||||
**책임**: 기존 DataCollectionService.cs 개선 (라인 1-230)
|
||||
**파일**: `QuantEngine.Application/Services/DataCollectionService.cs`
|
||||
|
||||
**개선 사항**:
|
||||
```
|
||||
✅ 체크리스트:
|
||||
1. 의존성 주입
|
||||
- ICollectionOrchestrator 추가
|
||||
- IPriceSource[] 제거 (Orchestrator가 관리)
|
||||
2. 메서드 분리
|
||||
- RunCollectionAsync() → 직접 구현 X, Orchestrator 위임
|
||||
- CollectOneAsync() → 유틸만 (테스트용)
|
||||
3. 에러 처리 구조화
|
||||
- Generic Exception → PriceCollectionException, DataValidationException
|
||||
4. 로깅
|
||||
- ILogger<DataCollectionService> 주입
|
||||
```
|
||||
|
||||
**완료 기준**:
|
||||
```csharp
|
||||
public class DataCollectionService
|
||||
{
|
||||
private readonly ICollectionOrchestrator _orchestrator;
|
||||
private readonly ILogger<DataCollectionService> _logger;
|
||||
|
||||
public async Task<CollectionRunResult> RunCollectionAsync(
|
||||
string runId,
|
||||
string account,
|
||||
List<string> tickers)
|
||||
{
|
||||
_logger.LogInformation("Starting collection run {RunId}", runId);
|
||||
try
|
||||
{
|
||||
return await _orchestrator.RunCollectionAsync(runId, account, tickers);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError(ex, "Collection run {RunId} failed", runId);
|
||||
throw;
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### 6.2: API 엔드포인트 추가 (선택)
|
||||
**책임**: HTTP 엔드포인트 (POST /api/collection/run)
|
||||
**파일**: `QuantEngine.Web/Endpoints/CollectionEndpoints.cs` (이미 있음 — 확장)
|
||||
|
||||
**성공 규칙**:
|
||||
```
|
||||
✅ 체크리스트:
|
||||
1. 요청
|
||||
POST /api/collection/run
|
||||
{
|
||||
"account": "mock",
|
||||
"tickers": ["005930", "000660"]
|
||||
}
|
||||
2. 응답
|
||||
{
|
||||
"runId": "...",
|
||||
"status": "COMPLETED",
|
||||
"successCount": 2,
|
||||
"errorCount": 0,
|
||||
"startedAt": "2026-07-05T14:18:00+09:00"
|
||||
}
|
||||
3. 에러 처리
|
||||
- 400: 잘못된 account
|
||||
- 500: 내부 에러
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### **Phase 7: 테스트 & 검증** (3 tasks)
|
||||
|
||||
#### 7.1: Unit Tests (DataNormalizationHelper, Parsers)
|
||||
**파일**: `QuantEngine.Application.Tests/Services/DataNormalizationHelperTests.cs`
|
||||
**범위**: 300-400줄 (Python test 동등성)
|
||||
|
||||
**성공 규칙**:
|
||||
```
|
||||
✅ 체크리스트:
|
||||
1. DataNormalizationHelper
|
||||
- CoerceFloat (10 test cases)
|
||||
- FindFirstValue (8 test cases)
|
||||
2. GatherTradingDataParser
|
||||
- Basic parsing (3 cases)
|
||||
- Core-satellite merge (2 cases)
|
||||
- Invalid input (2 cases)
|
||||
3. SourcePriorityResolver
|
||||
- KIS only (1 case)
|
||||
- KIS + Naver (1 case)
|
||||
- Naver only (1 case)
|
||||
4. PriceDataNormalizer
|
||||
- With KIS (1 case)
|
||||
- With Naver (1 case)
|
||||
- Fallback to JSON (1 case)
|
||||
5. 커버리지
|
||||
- 목표: ≥85% 라인 커버리지
|
||||
- 신규 클래스: 100% 커버리지
|
||||
```
|
||||
|
||||
**완료 기준**:
|
||||
```bash
|
||||
dotnet test QuantEngine.Application.Tests --collect:"XPlat Code Coverage"
|
||||
# 결과: Lines: 85%+ ✅
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### 7.2: Integration Tests (KisDataCollectionOrchestrator)
|
||||
**파일**: `QuantEngine.Application.Tests/Integration/KisDataCollectionOrchestratorTests.cs`
|
||||
**범위**: 200-300줄
|
||||
|
||||
**성공 규칙 (데이터 증빙)**:
|
||||
```
|
||||
✅ 체크리스트:
|
||||
1. Happy Path
|
||||
- Mock KIS API + valid GatherTradingData.json
|
||||
- status = "COMPLETED", successCount > 0
|
||||
2. Partial Failure
|
||||
- 1개 종목 에러, 나머지 성공
|
||||
- status = "COMPLETED_WITH_ERRORS"
|
||||
3. JSON Output
|
||||
- Temp/kis_data_collection_v1.json 생성
|
||||
- 구조 검증 (formula_id, run_id, rows 배열)
|
||||
4. DB Persistence
|
||||
- kis_collection_runs 행 생성
|
||||
- kis_collection_snapshots 행 수 = successCount
|
||||
- kis_collection_source_errors 행 수 = errorCount
|
||||
5. Python 동등성
|
||||
- kis_data_collection_v1.py test와 동일 시나리오 재현
|
||||
```
|
||||
|
||||
**완료 기준**:
|
||||
```csharp
|
||||
[Fact]
|
||||
public async Task KisDataCollectionOrchestrator_RunCollection_ProducesIdenticalOutputToPython()
|
||||
{
|
||||
// Python test test_kis_data_collection_v1.py::test_persist_collection_row_and_failure_helpers
|
||||
// C# 동등 재현
|
||||
|
||||
var result = await _orchestrator.RunCollectionAsync("run-1", "mock", new { "005930" }.ToList());
|
||||
|
||||
// 1. 상태 확인
|
||||
Assert.NotNull(result.Status);
|
||||
Assert.True(result.SuccessCount >= 0);
|
||||
|
||||
// 2. JSON 파일 확인
|
||||
var json = JsonDocument.Parse(File.ReadAllText(...));
|
||||
Assert.NotNull(json.RootElement.GetProperty("run_id"));
|
||||
|
||||
// 3. DB 확인
|
||||
var run = await _repo.GetRunByIdAsync(result.RunId);
|
||||
Assert.NotNull(run);
|
||||
Assert.Equal("COMPLETED", run.Status);
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### 7.3: E2E Test (API → DB → UI)
|
||||
**파일**: `QuantEngine.Web.Tests/E2E/CollectionEndpointTests.cs`
|
||||
**범위**: 100-150줄
|
||||
|
||||
**성공 규칙**:
|
||||
```
|
||||
✅ 체크리스트:
|
||||
1. HTTP 요청
|
||||
POST /api/collection/run
|
||||
{ "account": "mock", "tickers": ["005930"] }
|
||||
2. HTTP 응답
|
||||
status 200, body.status == "COMPLETED"
|
||||
3. 부수 효과
|
||||
- Temp/kis_data_collection_v1.json 파일 생성
|
||||
- kis_collection_runs DB 행 생성
|
||||
- kis_collection_snapshots DB 행 생성
|
||||
4. 타이밍
|
||||
- 응답 시간 < 30초 (3개 API 호출)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### **Phase 8: 코드 리뷰 & 최종화** (2 tasks)
|
||||
|
||||
#### 8.1: Code Review & Refactoring
|
||||
**책임**: 스스로 코드 검토, SOLID 원칙 재확인
|
||||
**체크리스트**:
|
||||
```
|
||||
✅ 코드 품질 검사:
|
||||
1. SOLID 원칙
|
||||
- S: DataCollectionService 단일 책임 ✓
|
||||
- O: IPriceSource로 확장 가능 ✓
|
||||
- L: 모든 구현이 계약 준수 ✓
|
||||
- I: 필요한 메서드만 expose ✓
|
||||
- D: 인터페이스에 의존 ✓
|
||||
2. 중복 제거
|
||||
- 유틸 함수 (CoerceFloat, FindFirstValue) 1곳만
|
||||
- 에러 처리 패턴 일관성
|
||||
3. 타입 안전성
|
||||
- Dictionary<string, object> → Model classes로 변환
|
||||
- Nullable 필드 명시 (?)
|
||||
4. 성능
|
||||
- 불필요한 배열 copy 제거
|
||||
- 큰 JSON 파일 스트리밍 (필요시)
|
||||
5. 테스트 가능성
|
||||
- 모든 의존성 주입 가능
|
||||
- Mock 가능
|
||||
6. 문서화
|
||||
- XML doc comments 추가 (public API)
|
||||
```
|
||||
|
||||
**완료 기준**:
|
||||
```bash
|
||||
# 정적 분석
|
||||
dotnet build /p:TreatWarningsAsErrors=true
|
||||
# 0 errors, 0 warnings
|
||||
|
||||
# 테스트 커버리지
|
||||
dotnet test --collect:"XPlat Code Coverage"
|
||||
# Lines: ≥85%
|
||||
|
||||
# 코드 리뷰 체크리스트 통과
|
||||
# - 변수명 명확성 ✓
|
||||
# - 함수/메서드 크기 ≤50줄 ✓
|
||||
# - 복잡도 <= 10 ✓
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### 8.2: 최종 검증 & 문서화
|
||||
**책임**: 모든 성공 기준 재확인, 문서 작성
|
||||
**체크리스트**:
|
||||
```
|
||||
✅ 최종 검증:
|
||||
1. 기능 완성도
|
||||
- Python 336줄 → C# ≈450-550줄 (타입 추가로 인한 증가)
|
||||
- 모든 Python 기능 포팅 ✓
|
||||
2. 성능
|
||||
- 단일 종목 수집: < 2초
|
||||
- 100개 종목 수집: < 120초
|
||||
3. 호환성
|
||||
- GatherTradingData.json 읽음 ✓
|
||||
- kis_collection_runs/snapshots/errors 저장 ✓
|
||||
- Temp/kis_data_collection_v1.json 생성 ✓
|
||||
4. 안정성
|
||||
- 네트워크 에러 처리 ✓
|
||||
- NULL 값 처리 ✓
|
||||
- 부분 실패 시에도 진행 ✓
|
||||
5. 문서
|
||||
- README 작성 (아키텍처, 사용법, 확장 방법)
|
||||
- API 문서 (Swagger/OpenAPI)
|
||||
```
|
||||
|
||||
**출력물**:
|
||||
```
|
||||
- ✅ docs/KIS_DATA_COLLECTION_ARCHITECTURE.md
|
||||
- ✅ docs/KIS_DATA_COLLECTION_API.md
|
||||
- ✅ CODE_REVIEW_CHECKLIST.md
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📊 진행 상황 추적
|
||||
|
||||
| Phase | Task | 상태 | 완료 기한 | 담당 |
|
||||
|-------|------|------|---------|------|
|
||||
| 0 | 기초 설계 분석 | ✅ | 2026-07-05 | Claude |
|
||||
| 1.1 | Core Entity Models | ⬜ | 2026-07-05 | → |
|
||||
| 1.2 | PriceSourceResult | ⬜ | 2026-07-05 | → |
|
||||
| 1.3 | CollectionErrorRecord | ✅ | 2026-07-05 | ✓ |
|
||||
| 1.4 | CollectionRunResult | 🔄 | 2026-07-05 | Claude |
|
||||
| 2.1 | IPriceSource 인터페이스 | ⬜ | 2026-07-05 | → |
|
||||
| 2.2 | KisApiPriceSource | ⬜ | 2026-07-06 | → |
|
||||
| 2.3 | NaverApiPriceSource | ⏸️ | 2026-07-07 | (선택) |
|
||||
| 3.1 | DataNormalizationHelper | ⬜ | 2026-07-05 | → |
|
||||
| 3.2 | PriceDataNormalizer | ⬜ | 2026-07-06 | → |
|
||||
| 3.3 | SourcePriorityResolver | ⬜ | 2026-07-06 | → |
|
||||
| 4.1 | ICollectionOrchestrator | ⬜ | 2026-07-06 | → |
|
||||
| 4.2 | KisDataCollectionOrchestrator | ⬜ | 2026-07-07 | → |
|
||||
| 5.1 | GatherTradingDataParser | ⬜ | 2026-07-06 | → |
|
||||
| 6.1 | DataCollectionService 통합 | ⬜ | 2026-07-07 | → |
|
||||
| 6.2 | API 엔드포인트 (선택) | ⏸️ | 2026-07-08 | (선택) |
|
||||
| 7.1 | Unit Tests | ⬜ | 2026-07-07 | → |
|
||||
| 7.2 | Integration Tests | ⬜ | 2026-07-08 | → |
|
||||
| 7.3 | E2E Tests | ⬜ | 2026-07-08 | → |
|
||||
| 8.1 | Code Review & Refactoring | ⬜ | 2026-07-08 | → |
|
||||
| 8.2 | 최종 검증 & 문서화 | ⬜ | 2026-07-09 | → |
|
||||
|
||||
**범례**: ✅=완료, 🔄=진행중, ⬜=대기, ⏸️=선택사항
|
||||
|
||||
---
|
||||
|
||||
## 🎯 성공 기준 (데이터 증빙)
|
||||
|
||||
### 기능 동등성
|
||||
```
|
||||
✅ Python vs C# 동등 검증:
|
||||
1. 입출력 시그니처
|
||||
collect_to_sqlite(...) → RunCollectionAsync(...)
|
||||
같은 파라미터, 같은 반환값 구조
|
||||
|
||||
2. 데이터 흐름
|
||||
GatherTradingData.json (입력)
|
||||
→ 시드 데이터 파싱
|
||||
→ KIS API 호출 (3개 endpoint)
|
||||
→ 데이터 정규화
|
||||
→ DB 저장 (3개 테이블)
|
||||
→ JSON 출력 (Temp/kis_data_collection_v1.json)
|
||||
|
||||
3. 에러 처리
|
||||
Python test_kis_data_collection_v1.py 모든 케이스 통과
|
||||
```
|
||||
|
||||
### 코드 품질
|
||||
```
|
||||
✅ SOLID 원칙:
|
||||
1. Single Responsibility ✓
|
||||
- DataCollectionService: 오케스트레이션만
|
||||
- PriceDataNormalizer: 정규화만
|
||||
- GatherTradingDataParser: 파싱만
|
||||
|
||||
2. Open/Closed ✓
|
||||
- IPriceSource 추가 시 기존 코드 수정 X
|
||||
- NaverApiPriceSource 추가 가능
|
||||
|
||||
3. Liskov Substitution ✓
|
||||
- KisApiPriceSource, NaverApiPriceSource 모두 IPriceSource 준수
|
||||
|
||||
4. Interface Segregation ✓
|
||||
- IPriceSource: 3 메서드만 (GetPriceDataAsync)
|
||||
- ICollectionOrchestrator: 2 메서드 (RunCollectionAsync, ...)
|
||||
|
||||
5. Dependency Inversion ✓
|
||||
- 구체적 클래스 X, 인터페이스에 의존
|
||||
```
|
||||
|
||||
### 테스트 커버리지
|
||||
```
|
||||
✅ 목표: ≥85% 라인 커버리지
|
||||
1. Unit Tests: 20+ test cases
|
||||
- CoerceFloat (10)
|
||||
- FindFirstValue (8)
|
||||
- GatherTradingDataParser (5)
|
||||
- SourcePriorityResolver (3)
|
||||
- PriceDataNormalizer (3)
|
||||
|
||||
2. Integration Tests: 5+ scenarios
|
||||
- Happy path
|
||||
- Partial failure
|
||||
- All errors
|
||||
- JSON output
|
||||
- DB persistence
|
||||
|
||||
3. E2E Tests: 3+ flows
|
||||
- POST /api/collection/run
|
||||
- File creation
|
||||
- DB verification
|
||||
```
|
||||
|
||||
### 성능 기준
|
||||
```
|
||||
✅ 성능 목표:
|
||||
1. 단일 종목 수집
|
||||
- 목표: < 2초
|
||||
- KIS API 3개 호출 포함
|
||||
|
||||
2. 배치 수집 (100개 종목)
|
||||
- 목표: < 120초
|
||||
- 평균 1.2초/종목
|
||||
|
||||
3. JSON 파일 크기
|
||||
- 목표: < 10MB (100개 종목)
|
||||
```
|
||||
|
||||
### 호환성 검증
|
||||
```
|
||||
✅ Python 동등성:
|
||||
1. 입력 형식
|
||||
GatherTradingData.json 구조 100% 호환
|
||||
|
||||
2. 출력 형식
|
||||
Temp/kis_data_collection_v1.json 구조 100% 동일
|
||||
- JSON 필드명, 타입, 순서
|
||||
|
||||
3. DB 스키마
|
||||
kis_collection_runs, snapshots, errors 모두 호환
|
||||
|
||||
4. 에러 처리
|
||||
Python과 동일한 에러 메시지, status 코드
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📝 진행 방식
|
||||
|
||||
### 매 Phase마다
|
||||
1. **Task 시작 전**: 성공 기준 재확인
|
||||
2. **Task 진행 중**: WBS의 체크리스트 항목 하나씩 수행
|
||||
3. **Task 완료 후**:
|
||||
- 코드 자가 검토
|
||||
- 관련 테스트 작성 및 통과
|
||||
- WBS 문서에 완료 체크 표시
|
||||
4. **최종 검증**: 이 파일의 진행 상황 표 업데이트
|
||||
|
||||
### 커밋 규칙
|
||||
```
|
||||
Format: <Phase>.<Task>: <변경사항> — <성공기준 1개>
|
||||
|
||||
예시:
|
||||
1.1: Add CollectionSnapshot model — JSON serialization works ✅
|
||||
2.2: Implement KisApiPriceSource — Test passes vs Python ✅
|
||||
7.1: Add unit tests for DataNormalizationHelper — 85% coverage ✅
|
||||
```
|
||||
|
||||
### 블록 상황 처리
|
||||
```
|
||||
1. 구현 중 막히면?
|
||||
- WBS 해당 Task의 "성공 규칙" 다시 읽기
|
||||
- Python 원본 코드 라인 번호 재확인
|
||||
- 테스트 케이스로 구현하기 (TDD)
|
||||
|
||||
2. 테스트 실패?
|
||||
- Python test 다시 실행 (비교)
|
||||
- 데이터 타입/값 불일치 확인
|
||||
- 로깅 추가해서 디버그
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📎 참고
|
||||
|
||||
- **Python 원본**: `src/quant_engine/kis_data_collection_v1.py` (436줄)
|
||||
- **Python 테스트**: `tests/unit/test_kis_data_collection_v1.py` (87줄)
|
||||
- **DB 스키마**: `src/dotnet/QuantEngine.Infrastructure/Data/DbMigrator.cs` (라인 59-106)
|
||||
- **기존 .NET**: `src/dotnet/QuantEngine.Application/Services/DataCollectionService.cs`
|
||||
@@ -0,0 +1,409 @@
|
||||
# KIS Data Collection Migration — 진행 추적
|
||||
|
||||
**마지막 업데이트**: 2026-07-05 14:30 KST
|
||||
**전체 진행률**: 📊 [████░░░░░░] 5% (Phase 0/1 시작)
|
||||
|
||||
---
|
||||
|
||||
## 📋 Phase별 진행 상황
|
||||
|
||||
### ✅ Phase 0: 기초 설계 & 분석 (100%)
|
||||
|
||||
```
|
||||
Timeline: 2026-07-05 11:00 ~ 14:30 (3.5시간)
|
||||
```
|
||||
|
||||
| Task | 항목 | 상태 | 완료시각 | 검증 |
|
||||
|------|------|------|---------|------|
|
||||
| 0.1 | Python 코드 분석 | ✅ | 14:00 | kis_data_collection_v1.py 436줄 읽음 |
|
||||
| 0.2 | .NET 현황 분석 | ✅ | 14:05 | DataCollectionService.cs 부분 구현 확인 |
|
||||
| 0.3 | DB 스키마 분석 | ✅ | 14:10 | DbMigrator.cs 11개 테이블 확인 |
|
||||
| 0.4 | Python 테스트 분석 | ✅ | 14:15 | test_kis_data_collection_v1.py 데이터 규칙 파악 |
|
||||
| 0.5 | 마이그레이션 전략 | ✅ | 14:20 | SOLID 원칙, 과유불급 결정 |
|
||||
| 0.6 | WBS 문서 작성 | ✅ | 14:30 | KIS_DATA_COLLECTION_DOTNET_MIGRATION_WBS.md 생성 |
|
||||
|
||||
**Phase 0 산출물**:
|
||||
- ✅ WBS 문서 (22KB, 600+ 줄)
|
||||
- ✅ 성공 기준 정의 (22개 체크리스트)
|
||||
- ✅ 개별 Task별 테스트 케이스 명시
|
||||
|
||||
---
|
||||
|
||||
### 🔄 Phase 1: 데이터 모델 정의 (0%)
|
||||
|
||||
```
|
||||
Timeline: 2026-07-05 14:30 ~ (예상 2시간)
|
||||
계획 완료: 2026-07-05 17:00
|
||||
```
|
||||
|
||||
#### 1.1: Core Entity Models 작성
|
||||
**파일**: `src/dotnet/QuantEngine.Core/Models/`
|
||||
**추정 시간**: 30분
|
||||
|
||||
**상태**: ⬜ 대기
|
||||
|
||||
**체크리스트**:
|
||||
- [ ] CollectionSnapshot.cs 작성
|
||||
- [ ] Ticker (string) 필드
|
||||
- [ ] Name (string?) 필드
|
||||
- [ ] Sector (string?) 필드
|
||||
- [ ] CurrentPrice (double?) 필드
|
||||
- [ ] Open, High, Low, Volume (double?) 필드
|
||||
- [ ] PriceStatus, OrderbookStatus, ShortSaleStatus (string) 필드
|
||||
- [ ] CollectionAsOf (string, ISO 8601) 필드
|
||||
- [ ] [JsonPropertyName] attribute 맵핑
|
||||
- [ ] Unit test: Round-trip serialization ✅
|
||||
|
||||
- [ ] PriceCollectionResult.cs 작성
|
||||
- [ ] Status (string: OK, PARTIAL, ERROR) 필드
|
||||
- [ ] SuccessCount (int) 필드
|
||||
- [ ] ErrorCount (int) 필드
|
||||
- [ ] FinishedAt (string?) 필드
|
||||
- [ ] ErrorMessage (string?) 필드
|
||||
|
||||
- [ ] CollectionStatusEnum.cs
|
||||
- [ ] OK = 0
|
||||
- [ ] PARTIAL = 1
|
||||
- [ ] ERROR = 2
|
||||
|
||||
**검증 명령**:
|
||||
```bash
|
||||
cd src/dotnet
|
||||
dotnet build QuantEngine.Core
|
||||
# 0 errors, 0 warnings
|
||||
```
|
||||
|
||||
**테스트 명령**:
|
||||
```bash
|
||||
dotnet test QuantEngine.Core.Tests --filter "CollectionSnapshot*"
|
||||
# ✅ All tests passed
|
||||
```
|
||||
|
||||
**완료 기준**:
|
||||
- [ ] 컴파일 성공 (0 errors, 0 warnings)
|
||||
- [ ] Round-trip JSON serialization 테스트 통과
|
||||
- [ ] Python 테스트 라인 22-26과 동등한 구조
|
||||
|
||||
---
|
||||
|
||||
#### 1.2: Price Source Result Model
|
||||
**파일**: `src/dotnet/QuantEngine.Core/Models/PriceSourceResult.cs`
|
||||
**추정 시간**: 20분
|
||||
|
||||
**상태**: ⬜ 대기
|
||||
|
||||
**체크리스트**:
|
||||
- [ ] 기본 필드 (Python 라인 128-179 참조)
|
||||
- [ ] Status (string: OK, ERROR)
|
||||
- [ ] Error (string?)
|
||||
- [ ] CurrentPrice (double?)
|
||||
- [ ] Open, High, Low, Volume (double?)
|
||||
- [ ] Ask1, Bid1 (double?)
|
||||
- [ ] MicrostructurePressure (double?)
|
||||
- [ ] ShortTurnoverShare (double?)
|
||||
|
||||
- [ ] Raw 데이터 필드
|
||||
- [ ] CurrentPriceRaw (Dictionary?)
|
||||
- [ ] OrderbookRaw (Dictionary?)
|
||||
- [ ] ShortSaleRaw (Dictionary?)
|
||||
|
||||
- [ ] 소스 식별
|
||||
- [ ] Source (enum: KIS, Naver, JSON)
|
||||
|
||||
**테스트**:
|
||||
```csharp
|
||||
[Theory]
|
||||
[InlineData("OK")]
|
||||
[InlineData("ERROR")]
|
||||
public void PriceSourceResult_WithStatus_SerializesCorrectly(string status)
|
||||
{
|
||||
var result = new PriceSourceResult { Status = status, CurrentPrice = 70000 };
|
||||
var json = JsonSerializer.Serialize(result);
|
||||
var deserialized = JsonSerializer.Deserialize<PriceSourceResult>(json);
|
||||
Assert.Equal(status, deserialized.Status);
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### 1.3: Collection Error Model (검증)
|
||||
**파일**: `src/dotnet/QuantEngine.Infrastructure/Repositories/CollectionErrorRecord.cs` (이미 있음)
|
||||
**추정 시간**: 10분
|
||||
|
||||
**상태**: ✅ 검증 완료
|
||||
|
||||
**확인사항**:
|
||||
- [x] Python test 라인 75-83과 일치
|
||||
- [x] DB 스키마와 일치
|
||||
- [x] JSON 직렬화 가능
|
||||
|
||||
---
|
||||
|
||||
#### 1.4: Collection Run Summary Model (기존 검증)
|
||||
**파일**: `src/dotnet/QuantEngine.Application/Services/CollectionRunResult.cs`
|
||||
**추정 시간**: 10분
|
||||
|
||||
**상태**: 🔄 검증 진행 중
|
||||
|
||||
**확인사항**:
|
||||
- [ ] Python 라인 387-396 summary 구조 모두 포함 확인
|
||||
- [ ] JSON 직렬화 테스트
|
||||
- [ ] SourceCounts 필드 타입 확인 (Dictionary<string, int>)
|
||||
|
||||
---
|
||||
|
||||
### 🚫 Phase 2: Price Source 추상화 (대기)
|
||||
|
||||
```
|
||||
Timeline: 2026-07-06 09:00 ~ (예상 4시간)
|
||||
계획 완료: 2026-07-06 13:00
|
||||
```
|
||||
|
||||
**상태**: ⬜ 대기 (Phase 1 완료 후 시작)
|
||||
|
||||
| Task | 예상 시간 | 상태 |
|
||||
|------|----------|------|
|
||||
| 2.1: IPriceSource 인터페이스 | 20분 | ⬜ |
|
||||
| 2.2: KisApiPriceSource 구현 | 150분 | ⬜ |
|
||||
| 2.3: NaverApiPriceSource (선택) | 100분 | ⏸️ |
|
||||
|
||||
---
|
||||
|
||||
### 🚫 Phase 3: 데이터 정규화 레이어 (대기)
|
||||
|
||||
```
|
||||
Timeline: 2026-07-06 13:00 ~ (예상 3시간)
|
||||
계획 완료: 2026-07-06 17:00
|
||||
```
|
||||
|
||||
**상태**: ⬜ 대기
|
||||
|
||||
| Task | 예상 시간 | 상태 |
|
||||
|------|----------|------|
|
||||
| 3.1: DataNormalizationHelper | 40분 | ⬜ |
|
||||
| 3.2: PriceDataNormalizer | 100분 | ⬜ |
|
||||
| 3.3: SourcePriorityResolver | 40분 | ⬜ |
|
||||
|
||||
---
|
||||
|
||||
### 🚫 Phase 4: 컬렉션 오케스트레이터 (대기)
|
||||
|
||||
```
|
||||
Timeline: 2026-07-07 09:00 ~ (예상 4시간)
|
||||
계획 완료: 2026-07-07 14:00
|
||||
```
|
||||
|
||||
**상태**: ⬜ 대기
|
||||
|
||||
| Task | 예상 시간 | 상태 |
|
||||
|------|----------|------|
|
||||
| 4.1: ICollectionOrchestrator | 30분 | ⬜ |
|
||||
| 4.2: KisDataCollectionOrchestrator | 210분 | ⬜ |
|
||||
|
||||
---
|
||||
|
||||
### 🚫 Phase 5: 시드 데이터 파서 (대기)
|
||||
|
||||
```
|
||||
Timeline: 2026-07-06 18:00 ~ (예상 1시간)
|
||||
```
|
||||
|
||||
**상태**: ⬜ 대기
|
||||
|
||||
| Task | 예상 시간 | 상태 |
|
||||
|------|----------|------|
|
||||
| 5.1: GatherTradingDataParser | 60분 | ⬜ |
|
||||
|
||||
---
|
||||
|
||||
### 🚫 Phase 6: 통합 & 엔드포인트 (대기)
|
||||
|
||||
```
|
||||
Timeline: 2026-07-07 14:00 ~ (예상 2시간)
|
||||
```
|
||||
|
||||
**상태**: ⬜ 대기
|
||||
|
||||
| Task | 예상 시간 | 상태 |
|
||||
|------|----------|------|
|
||||
| 6.1: DataCollectionService 리팩토링 | 90분 | ⬜ |
|
||||
| 6.2: API 엔드포인트 (선택) | 60분 | ⏸️ |
|
||||
|
||||
---
|
||||
|
||||
### 🚫 Phase 7: 테스트 & 검증 (대기)
|
||||
|
||||
```
|
||||
Timeline: 2026-07-07 16:00 ~ (예상 4시간)
|
||||
```
|
||||
|
||||
**상태**: ⬜ 대기
|
||||
|
||||
| Task | 예상 시간 | 상태 |
|
||||
|------|----------|------|
|
||||
| 7.1: Unit Tests | 120분 | ⬜ |
|
||||
| 7.2: Integration Tests | 90분 | ⬜ |
|
||||
| 7.3: E2E Tests | 60분 | ⬜ |
|
||||
|
||||
---
|
||||
|
||||
### 🚫 Phase 8: 코드 리뷰 & 최종화 (대기)
|
||||
|
||||
```
|
||||
Timeline: 2026-07-08 09:00 ~ (예상 3시간)
|
||||
```
|
||||
|
||||
**상태**: ⬜ 대기
|
||||
|
||||
| Task | 예상 시간 | 상태 |
|
||||
|------|----------|------|
|
||||
| 8.1: Code Review & Refactoring | 120분 | ⬜ |
|
||||
| 8.2: 최종 검증 & 문서화 | 60분 | ⬜ |
|
||||
|
||||
---
|
||||
|
||||
## 📊 통계
|
||||
|
||||
### 시간 추정
|
||||
```
|
||||
총 예상 시간: ~24시간 (8일, 하루 3시간 기준)
|
||||
|
||||
Phase별:
|
||||
Phase 0: 3.5시간 ✅
|
||||
Phase 1: 1.3시간
|
||||
Phase 2: 4.3시간
|
||||
Phase 3: 3.2시간
|
||||
Phase 4: 4시간
|
||||
Phase 5: 1시간
|
||||
Phase 6: 2.5시간
|
||||
Phase 7: 4.3시간
|
||||
Phase 8: 3시간
|
||||
```
|
||||
|
||||
### 코드 라인 예상
|
||||
```
|
||||
Python 원본: 436줄
|
||||
C# 포팅 예상: 450-550줄 (타입 추가)
|
||||
- Models: 150줄
|
||||
- Interfaces: 50줄
|
||||
- Implementations: 250줄
|
||||
- Tests: 300줄
|
||||
```
|
||||
|
||||
### 테스트 커버리지 목표
|
||||
```
|
||||
목표: ≥85% 라인 커버리지
|
||||
|
||||
현재: 0% (신규 작성)
|
||||
최종: 85%+ (전체 신규 코드)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🔍 이슈 & 블록
|
||||
|
||||
### 현재 이슈: 없음
|
||||
|
||||
### 블록 사항: 없음
|
||||
|
||||
### 결정 대기: 없음
|
||||
|
||||
---
|
||||
|
||||
## 🎯 다음 단계
|
||||
|
||||
### 지금 해야 할 일 (2026-07-05 현재)
|
||||
|
||||
1. **Phase 1.1 시작** — CollectionSnapshot 모델 작성
|
||||
- [ ] 파일 생성: `QuantEngine.Core/Models/CollectionSnapshot.cs`
|
||||
- [ ] 필드 정의 (ticker, name, sector, prices, statuses)
|
||||
- [ ] JSON serialization 속성 추가
|
||||
- [ ] 기본 테스트 작성
|
||||
|
||||
2. **검증**
|
||||
- [ ] `dotnet build QuantEngine.Core` 성공
|
||||
- [ ] 기본 테스트 통과
|
||||
|
||||
3. **커밋**
|
||||
```bash
|
||||
git add src/dotnet/QuantEngine.Core/Models/CollectionSnapshot.cs
|
||||
git commit -m "1.1: Add CollectionSnapshot model — JSON round-trip ✅"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📝 커밋 히스토리
|
||||
|
||||
### 오늘 (2026-07-05)
|
||||
|
||||
```
|
||||
14:30 0.6: Create comprehensive WBS — 22 phases, 85+ test cases ✅
|
||||
```
|
||||
|
||||
### 예정 (2026-07-05~09)
|
||||
|
||||
```
|
||||
// Phase 1
|
||||
17:00 1.1: Add CollectionSnapshot model — Round-trip JSON ✅
|
||||
17:30 1.2: Add PriceSourceResult model — Serialization ✅
|
||||
18:00 1.4: Validate CollectionRunResult — Structure check ✅
|
||||
|
||||
// Phase 2
|
||||
13:00 2.1: Add IPriceSource interface — Contract ✅
|
||||
15:30 2.2: Implement KisApiPriceSource — Python parity ✅
|
||||
|
||||
// Phase 3
|
||||
18:00 3.1: Extract DataNormalizationHelper — Utilities ✅
|
||||
19:30 3.2: Implement PriceDataNormalizer — Field mapping ✅
|
||||
20:30 3.3: Implement SourcePriorityResolver — Source ranking ✅
|
||||
|
||||
// Phase 4
|
||||
14:00 4.1: Add ICollectionOrchestrator interface — Pipeline contract ✅
|
||||
16:30 4.2: Implement KisDataCollectionOrchestrator — Main pipeline ✅
|
||||
|
||||
// Phase 5
|
||||
19:00 5.1: Implement GatherTradingDataParser — JSON parsing ✅
|
||||
|
||||
// Phase 6
|
||||
14:00 6.1: Refactor DataCollectionService — Integration ✅
|
||||
|
||||
// Phase 7
|
||||
16:00 7.1: Add unit tests — 85% coverage ✅
|
||||
18:30 7.2: Add integration tests — E2E flow ✅
|
||||
20:00 7.3: Add E2E tests — HTTP verification ✅
|
||||
|
||||
// Phase 8
|
||||
12:00 8.1: Code review & refactoring — SOLID check ✅
|
||||
14:00 8.2: Final validation & docs — Documentation ✅
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📚 참고 문서
|
||||
|
||||
- **WBS**: `docs/KIS_DATA_COLLECTION_DOTNET_MIGRATION_WBS.md` (이 프로젝트의 마스터 로드맵)
|
||||
- **Python 원본**: `src/quant_engine/kis_data_collection_v1.py` (436줄)
|
||||
- **Python 테스트**: `tests/unit/test_kis_data_collection_v1.py` (87줄)
|
||||
- **.NET 기존**: `src/dotnet/QuantEngine.Application/Services/DataCollectionService.cs`
|
||||
|
||||
---
|
||||
|
||||
## 🔗 관련 파일 링크
|
||||
|
||||
```
|
||||
프로젝트 구조:
|
||||
├── src/dotnet/
|
||||
│ ├── QuantEngine.Core/
|
||||
│ │ ├── Models/ (← 신규 모델들 추가)
|
||||
│ │ └── Interfaces/ (← 신규 인터페이스 추가)
|
||||
│ ├── QuantEngine.Application/
|
||||
│ │ └── Services/ (← 신규 서비스 구현)
|
||||
│ ├── QuantEngine.Infrastructure/
|
||||
│ │ └── Repositories/ (← 기존 repository 활용)
|
||||
│ └── QuantEngine.Web/
|
||||
│ └── Endpoints/ (← 기존 엔드포인트 확장)
|
||||
├── tests/
|
||||
│ └── unit/ (← 신규 테스트 추가)
|
||||
└── docs/
|
||||
└── KIS_DATA_COLLECTION_DOTNET_MIGRATION_WBS.md
|
||||
```
|
||||
@@ -0,0 +1,476 @@
|
||||
# QuantEngine MudBlazor UI — 완성 로드맵
|
||||
|
||||
**프로젝트**: QuantEngine v0.1
|
||||
**시작일**: 2026-07-05
|
||||
**목표 완료**: 2026-07-20
|
||||
**상태**: 🚀 본격 실행
|
||||
|
||||
---
|
||||
|
||||
## 📊 현재 상태
|
||||
|
||||
| 항목 | 상태 | 진행률 |
|
||||
|------|------|--------|
|
||||
| **기본 구조** | ✅ 완료 | 100% |
|
||||
| **MudBlazor 통합** | ✅ 완료 | 100% |
|
||||
| **기본 페이지** | 🔄 진행 중 | 60% |
|
||||
| **관리자 UI** | ⬜ 대기 | 0% |
|
||||
| **사용자 UI** | ⬜ 대기 | 0% |
|
||||
| **기능 통합** | ⬜ 대기 | 0% |
|
||||
| **테스트 & 배포** | ⬜ 대기 | 0% |
|
||||
|
||||
**현존 페이지 (5개)**:
|
||||
- ✅ Login.razor (4.7KB)
|
||||
- ✅ Dashboard.razor (4.6KB)
|
||||
- ✅ Collection.razor (5.5KB)
|
||||
- ✅ Operations.razor (4.6KB)
|
||||
- ✅ NotFound.razor (126B)
|
||||
|
||||
---
|
||||
|
||||
## 🎯 Phase별 상세 WBS
|
||||
|
||||
### **Phase 1: 기본 UI 구조 강화** (2-3일)
|
||||
|
||||
#### 1.1: MainLayout 개선 (4시간)
|
||||
- 반응형 사이드바 추가 (모바일 햄버거 메뉴)
|
||||
- 탑 네비게이션 개선
|
||||
- 다크모드 토글 추가
|
||||
- 사용자 프로필 메뉴
|
||||
|
||||
**파일**:
|
||||
- `Layouts/MainLayout.razor`
|
||||
- `Components/Navigation/SideNav.razor` (신규)
|
||||
- `Components/Navigation/TopNav.razor` (신규)
|
||||
- `Components/Navigation/UserMenu.razor` (신규)
|
||||
|
||||
**기술**:
|
||||
- MudDrawer (반응형 사이드바)
|
||||
- MudAppBar + MudNavMenu
|
||||
- Dark mode: `@inject MudTheme`
|
||||
|
||||
---
|
||||
|
||||
#### 1.2: AuthLayout 개선 (3시간)
|
||||
- 로그인 페이지 리디자인
|
||||
- 회원가입 페이지 추가
|
||||
- 비밀번호 복구 페이지
|
||||
- 일관된 인증 UI 패턴
|
||||
|
||||
**파일**:
|
||||
- `Layouts/AuthLayout.razor` (수정)
|
||||
- `Pages/Auth/Register.razor` (신규)
|
||||
- `Pages/Auth/ForgotPassword.razor` (신규)
|
||||
|
||||
**컴포넌트**:
|
||||
- `Components/Auth/LoginForm.razor`
|
||||
- `Components/Auth/RegisterForm.razor`
|
||||
- `Components/Auth/PasswordRecoveryForm.razor`
|
||||
|
||||
---
|
||||
|
||||
#### 1.3: 테마 & 스타일링 (3시간)
|
||||
- MudTheme 색상 정의 (QuantEngine 브랜딩)
|
||||
- 글로벌 스타일시트 설정
|
||||
- 반응형 그리드 레이아웃
|
||||
- 로딩 상태 스타일 (MudSkeleton)
|
||||
|
||||
**파일**:
|
||||
- `wwwroot/css/quantengine-theme.css`
|
||||
- `Components/Common/ThemeProvider.razor`
|
||||
|
||||
---
|
||||
|
||||
### **Phase 2: 관리자 UI** (3-4일)
|
||||
|
||||
#### 2.1: 대시보드 고급화 (4시간)
|
||||
- 통계 카드 개선 (KPI 트렌드)
|
||||
- 차트 통합 (ApexCharts via MudBlazor)
|
||||
- 활동 로그 및 알림
|
||||
- 실시간 데이터 업데이트
|
||||
|
||||
**파일**:
|
||||
- `Pages/Admin/Dashboard.razor` (확장)
|
||||
- `Components/Dashboard/StatCard.razor`
|
||||
- `Components/Dashboard/ActivityFeed.razor`
|
||||
- `Components/Dashboard/AlertsPanel.razor`
|
||||
|
||||
**기술**:
|
||||
- MudDataGrid (활동 로그)
|
||||
- MudChart (차트)
|
||||
- SignalR (실시간 업데이트)
|
||||
|
||||
---
|
||||
|
||||
#### 2.2: 사용자 관리 (5시간)
|
||||
- 사용자 목록 페이지 (검색/필터/정렬)
|
||||
- 사용자 상세 정보 페이지
|
||||
- 사용자 추가/편집 모달
|
||||
- 역할 및 권한 관리
|
||||
|
||||
**페이지**:
|
||||
- `Pages/Admin/Users/List.razor` (신규)
|
||||
- `Pages/Admin/Users/Detail.razor` (신규)
|
||||
- `Pages/Admin/Users/Edit.razor` (신규)
|
||||
|
||||
**컴포넌트**:
|
||||
- `Components/User/UserTable.razor`
|
||||
- `Components/User/UserForm.razor`
|
||||
- `Components/User/RoleSelector.razor`
|
||||
|
||||
**기술**:
|
||||
- MudDataGrid (고급 테이블)
|
||||
- MudDialog (추가/편집)
|
||||
- MudChip (태그/역할)
|
||||
|
||||
---
|
||||
|
||||
#### 2.3: 데이터 수집 모니터링 (4시간)
|
||||
- Collection 대시보드 개선
|
||||
- 실시간 진행률 표시
|
||||
- 오류 로그 및 재시도
|
||||
- 내보내기 기능
|
||||
|
||||
**파일**:
|
||||
- `Pages/Admin/Collection/Dashboard.razor` (확장)
|
||||
- `Pages/Admin/Collection/Runs.razor` (신규)
|
||||
- `Pages/Admin/Collection/Errors.razor` (신규)
|
||||
|
||||
---
|
||||
|
||||
#### 2.4: 설정 페이지 (3시간)
|
||||
- 일반 설정 (회사명, 로고, 시간대)
|
||||
- 보안 설정 (2FA, API 키)
|
||||
- 알림 설정
|
||||
- 데이터 내보내기/삭제
|
||||
|
||||
**페이지**:
|
||||
- `Pages/Admin/Settings/General.razor` (신규)
|
||||
- `Pages/Admin/Settings/Security.razor` (신규)
|
||||
- `Pages/Admin/Settings/Notifications.razor` (신규)
|
||||
- `Pages/Admin/Settings/Data.razor` (신규)
|
||||
|
||||
---
|
||||
|
||||
### **Phase 3: 사용자 UI** (3-4일)
|
||||
|
||||
#### 3.1: 포트폴리오 대시보드 (4시간)
|
||||
- 자산 현황 (MudCard 그리드)
|
||||
- 성과 차트 (수익률, 변동률)
|
||||
- 포트폴리오 구성 (파이 차트)
|
||||
- 목표 추적
|
||||
|
||||
**페이지**:
|
||||
- `Pages/User/Portfolio/Dashboard.razor` (신규)
|
||||
- `Pages/User/Portfolio/Performance.razor` (신규)
|
||||
|
||||
**컴포넌트**:
|
||||
- `Components/Portfolio/AssetGrid.razor`
|
||||
- `Components/Portfolio/PerformanceChart.razor`
|
||||
|
||||
---
|
||||
|
||||
#### 3.2: 자산 상세 페이지 (3시간)
|
||||
- 종목별 상세 정보
|
||||
- 가격 히스토리 (차트)
|
||||
- 거래 내역
|
||||
- 목표 설정
|
||||
|
||||
**페이지**:
|
||||
- `Pages/User/Assets/Detail.razor` (신규)
|
||||
|
||||
---
|
||||
|
||||
#### 3.3: 보고서 페이지 (3시간)
|
||||
- 월간 보고서 생성
|
||||
- 세금 보고 자료
|
||||
- PDF 다운로드
|
||||
- 보고서 아카이브
|
||||
|
||||
**페이지**:
|
||||
- `Pages/User/Reports/List.razor` (신규)
|
||||
- `Pages/User/Reports/View.razor` (신규)
|
||||
|
||||
---
|
||||
|
||||
#### 3.4: 프로필 & 설정 (2시간)
|
||||
- 프로필 정보 수정
|
||||
- 비밀번호 변경
|
||||
- 알림 선호도
|
||||
- 계정 삭제
|
||||
|
||||
**페이지**:
|
||||
- `Pages/User/Profile/Edit.razor` (신규)
|
||||
- `Pages/User/Profile/Security.razor` (신규)
|
||||
|
||||
---
|
||||
|
||||
### **Phase 4: 공통 컴포넌트 & 유틸리티** (2-3일)
|
||||
|
||||
#### 4.1: 폼 컴포넌트 (2시간)
|
||||
- 재사용 가능한 폼 빌더
|
||||
- 입력 검증 (서버/클라이언트)
|
||||
- 에러 메시지 표시
|
||||
- 로딩 상태
|
||||
|
||||
**컴포넌트**:
|
||||
- `Components/Forms/FormField.razor`
|
||||
- `Components/Forms/FormSection.razor`
|
||||
- `Components/Forms/SubmitButton.razor`
|
||||
|
||||
---
|
||||
|
||||
#### 4.2: 테이블/데이터그리드 (2시간)
|
||||
- 고급 필터링
|
||||
- 페이지네이션
|
||||
- 내보내기 (CSV, Excel)
|
||||
- 일괄 작업
|
||||
|
||||
**컴포넌트**:
|
||||
- `Components/Tables/DataTableWithFilters.razor`
|
||||
- `Components/Tables/ExportMenu.razor`
|
||||
|
||||
---
|
||||
|
||||
#### 4.3: 모달/다이얼로그 (1시간)
|
||||
- 확인 다이얼로그
|
||||
- 알림 모달
|
||||
- 에러 디스플레이
|
||||
- 로딩 오버레이
|
||||
|
||||
**컴포넌트**:
|
||||
- `Components/Dialogs/ConfirmDialog.razor`
|
||||
- `Components/Dialogs/AlertDialog.razor`
|
||||
- `Components/Dialogs/LoadingOverlay.razor`
|
||||
|
||||
---
|
||||
|
||||
#### 4.4: 푸터 & 법적 페이지 (1시간)
|
||||
- 글로벌 푸터
|
||||
- 개인정보처리방침 페이지
|
||||
- 이용약관 페이지
|
||||
- 연락처/지원 페이지
|
||||
|
||||
**페이지**:
|
||||
- `Pages/Legal/PrivacyPolicy.razor` (신규)
|
||||
- `Pages/Legal/Terms.razor` (신규)
|
||||
- `Pages/Legal/Contact.razor` (신규)
|
||||
|
||||
---
|
||||
|
||||
### **Phase 5: 기능 통합 & API 연결** (3-4일)
|
||||
|
||||
#### 5.1: 인증 & 권한 (2시간)
|
||||
- JWT 토큰 관리
|
||||
- 역할 기반 접근 제어 (RBAC)
|
||||
- 페이지 권한 보호
|
||||
- 로그아웃 기능
|
||||
|
||||
**파일**:
|
||||
- `Services/AuthService.cs` (확장)
|
||||
- `Components/Security/AuthorizeView.razor` (커스텀)
|
||||
|
||||
---
|
||||
|
||||
#### 5.2: API 클라이언트 확장 (2시간)
|
||||
- 모든 엔드포인트 구현
|
||||
- 에러 처리 및 재시도 로직
|
||||
- 요청 취소 토큰
|
||||
- 요청 로깅
|
||||
|
||||
**파일**:
|
||||
- `Services/ApiClient.cs` (확장)
|
||||
|
||||
---
|
||||
|
||||
#### 5.3: 상태 관리 (2시간)
|
||||
- 전역 상태 관리 (세션, 사용자, 알림)
|
||||
- 페이지 상태 저장
|
||||
- 임시 데이터 캐싱
|
||||
|
||||
**파일**:
|
||||
- `Services/StateService.cs` (신규)
|
||||
|
||||
---
|
||||
|
||||
#### 5.4: 알림 & 토스트 (2시간)
|
||||
- 알림 메시지 (MudMessageBox)
|
||||
- 토스트 알림 (MudSnackbar)
|
||||
- 에러 메시지 표시
|
||||
- 성공/경고 메시지
|
||||
|
||||
**컴포넌트**:
|
||||
- `Components/Notifications/NotificationService.razor`
|
||||
|
||||
---
|
||||
|
||||
### **Phase 6: 테스트 & 최적화** (2-3일)
|
||||
|
||||
#### 6.1: 단위 테스트 (2시간)
|
||||
- 페이지 렌더링 테스트 (bUnit)
|
||||
- 컴포넌트 상호작용 테스트
|
||||
- API 클라이언트 테스트
|
||||
- 서비스 테스트
|
||||
|
||||
**테스트 파일**:
|
||||
- `tests/ui/Pages/*Tests.cs`
|
||||
- `tests/ui/Components/*Tests.cs`
|
||||
|
||||
---
|
||||
|
||||
#### 6.2: 통합 테스트 (2시간)
|
||||
- E2E 시나리오 (로그인 → 대시보드)
|
||||
- 사용자 워크플로우 테스트
|
||||
- 권한 접근 테스트
|
||||
|
||||
---
|
||||
|
||||
#### 6.3: 성능 최적화 (2시간)
|
||||
- 번들 사이즈 최적화
|
||||
- 로딩 시간 개선
|
||||
- 이미지 최적화
|
||||
- 캐싱 전략
|
||||
|
||||
---
|
||||
|
||||
#### 6.4: 접근성 (1시간)
|
||||
- WCAG 2.1 AA 준수
|
||||
- 키보드 네비게이션
|
||||
- 스크린 리더 테스트
|
||||
- 색상 대비 확인
|
||||
|
||||
---
|
||||
|
||||
### **Phase 7: 배포 & 문서화** (1-2일)
|
||||
|
||||
#### 7.1: 배포 준비 (1시간)
|
||||
- 빌드 최적화
|
||||
- CDN 설정
|
||||
- 환경 변수 설정
|
||||
|
||||
---
|
||||
|
||||
#### 7.2: 문서화 (2시간)
|
||||
- 컴포넌트 문서 (Storybook 또는 컴포넌트 갤러리)
|
||||
- 개발자 가이드
|
||||
- 배포 가이드
|
||||
- API 문서
|
||||
|
||||
---
|
||||
|
||||
#### 7.3: 배포 (1시간)
|
||||
- 개발 환경 배포
|
||||
- 스테이징 배포
|
||||
- 프로덕션 배포
|
||||
- 모니터링 설정
|
||||
|
||||
---
|
||||
|
||||
## 📅 타임라인
|
||||
|
||||
| Phase | 작업 | 예상 시간 | 기간 |
|
||||
|-------|------|----------|------|
|
||||
| 1 | 기본 UI 구조 | 10시간 | 2-3일 |
|
||||
| 2 | 관리자 UI | 16시간 | 3-4일 |
|
||||
| 3 | 사용자 UI | 12시간 | 3-4일 |
|
||||
| 4 | 공통 컴포넌트 | 6시간 | 1-2일 |
|
||||
| 5 | API 통합 | 8시간 | 2-3일 |
|
||||
| 6 | 테스트 & 최적화 | 7시간 | 2-3일 |
|
||||
| 7 | 배포 & 문서 | 4시간 | 1-2일 |
|
||||
| **Total** | | **63시간** | **15-21일** |
|
||||
|
||||
---
|
||||
|
||||
## 🎨 MudBlazor 컴포넌트 매핑
|
||||
|
||||
### UI 요소별 권장 MudBlazor 컴포넌트
|
||||
|
||||
| UI 요소 | MudBlazor 컴포넌트 | 용도 |
|
||||
|---------|-----------------|------|
|
||||
| **레이아웃** | MudAppBar, MudDrawer, MudLayout | 전체 구조 |
|
||||
| **네비게이션** | MudNavMenu, MudNavLink, MudBreadcrumbs | 페이지 네비게이션 |
|
||||
| **입력** | MudTextField, MudSelect, MudDatePicker | 폼 입력 |
|
||||
| **데이터** | MudDataGrid, MudTable | 데이터 표시 |
|
||||
| **정보** | MudCard, MudAlert, MudProgressLinear | 정보 표시 |
|
||||
| **상호작용** | MudButton, MudIconButton, MudChip | 사용자 동작 |
|
||||
| **피드백** | MudSnackbar, MudMessageBox, MudDialog | 메시지/다이얼로그 |
|
||||
| **로딩** | MudProgressCircular, MudSkeleton | 로딩 상태 |
|
||||
| **스타일** | MudText, MudPaper, MudStack, MudGrid | 기본 스타일 |
|
||||
|
||||
---
|
||||
|
||||
## ✅ 성공 기준
|
||||
|
||||
### Phase별 완료 체크리스트
|
||||
|
||||
- **Phase 1** ✅
|
||||
- [ ] 반응형 네비게이션 (모바일 테스트)
|
||||
- [ ] 다크모드 토글 (저장 및 로드)
|
||||
- [ ] 일관된 레이아웃 (모든 페이지)
|
||||
|
||||
- **Phase 2** ✅
|
||||
- [ ] 관리자 대시보드 (실시간 데이터)
|
||||
- [ ] 사용자 관리 (검색/필터 작동)
|
||||
- [ ] 데이터 수집 모니터링 (진행률 표시)
|
||||
- [ ] 설정 페이지 (저장 기능)
|
||||
|
||||
- **Phase 3** ✅
|
||||
- [ ] 포트폴리오 대시보드 (성과 차트)
|
||||
- [ ] 자산 상세 페이지 (가격 히스토리)
|
||||
- [ ] 보고서 생성 및 다운로드
|
||||
- [ ] 프로필 관리
|
||||
|
||||
- **Phase 4** ✅
|
||||
- [ ] 폼 컴포넌트 (검증 작동)
|
||||
- [ ] 테이블 (필터/정렬/내보내기)
|
||||
- [ ] 모달 및 다이얼로그
|
||||
- [ ] 법적 페이지
|
||||
|
||||
- **Phase 5** ✅
|
||||
- [ ] 인증 & 권한 (API 연결)
|
||||
- [ ] 모든 API 엔드포인트 작동
|
||||
- [ ] 상태 관리 시스템
|
||||
- [ ] 알림 시스템
|
||||
|
||||
- **Phase 6** ✅
|
||||
- [ ] 단위 테스트 (80% 커버리지)
|
||||
- [ ] 통합 테스트 (주요 워크플로우)
|
||||
- [ ] 성능 테스트 (번들 < 500KB)
|
||||
- [ ] 접근성 테스트 (WCAG AA)
|
||||
|
||||
- **Phase 7** ✅
|
||||
- [ ] 배포 스크립트 준비
|
||||
- [ ] 문서 완성
|
||||
- [ ] 모니터링 설정
|
||||
- [ ] 라이브 배포
|
||||
|
||||
---
|
||||
|
||||
## 📚 참고 자료
|
||||
|
||||
- [MudBlazor 공식 문서](https://mudblazor.com/)
|
||||
- [Blazor 공식 문서](https://learn.microsoft.com/en-us/aspnet/core/blazor/)
|
||||
- [CLAUDE.md - QuantEngine 표준](../CLAUDE.md)
|
||||
|
||||
---
|
||||
|
||||
## 🎯 우선순위
|
||||
|
||||
**1차 (필수)**:
|
||||
1. Phase 1: 기본 UI 구조 (모든 페이지의 기반)
|
||||
2. Phase 2.1-2.2: 관리자 대시보드 + 사용자 관리
|
||||
3. Phase 5: API 통합 (기능 연결)
|
||||
|
||||
**2차 (중요)**:
|
||||
4. Phase 3: 사용자 UI
|
||||
5. Phase 4: 공통 컴포넌트
|
||||
6. Phase 6: 테스트
|
||||
|
||||
**3차 (배포)**:
|
||||
7. Phase 7: 배포 & 문서
|
||||
|
||||
---
|
||||
|
||||
**생성일**: 2026-07-05
|
||||
**작성자**: Claude Code
|
||||
**상태**: 🎯 실행 중
|
||||
@@ -9,7 +9,7 @@ This document outlines the security configuration, role definitions, and access
|
||||
The Quant Investment Engine operates strictly within the `quantengine` schema to prevent namespace pollution and protect system catalog tables.
|
||||
|
||||
* **Schema**: `quantengine`
|
||||
* **Default Database**: `giteadb`
|
||||
* **Default Database**: `quantenginedb`
|
||||
|
||||
---
|
||||
|
||||
@@ -22,7 +22,7 @@ To ensure the principle of least privilege, we define three main database roles:
|
||||
* **Permissions**:
|
||||
```sql
|
||||
CREATE ROLE quantengine_owner WITH LOGIN PASSWORD 'OwnerPasswordSecure';
|
||||
GRANT ALL PRIVILEGES ON DATABASE giteadb TO quantengine_owner;
|
||||
GRANT ALL PRIVILEGES ON DATABASE quantenginedb TO quantengine_owner;
|
||||
GRANT ALL PRIVILEGES ON SCHEMA quantengine TO quantengine_owner;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA quantengine GRANT ALL ON TABLES TO quantengine_owner;
|
||||
```
|
||||
@@ -32,7 +32,7 @@ To ensure the principle of least privilege, we define three main database roles:
|
||||
* **Permissions**:
|
||||
```sql
|
||||
CREATE ROLE quantengine_app WITH LOGIN PASSWORD 'AppPasswordSecure';
|
||||
GRANT CONNECT ON DATABASE giteadb TO quantengine_app;
|
||||
GRANT CONNECT ON DATABASE quantenginedb TO quantengine_app;
|
||||
GRANT USAGE ON SCHEMA quantengine TO quantengine_app;
|
||||
|
||||
-- Grant CRUD permissions on tables & sequences
|
||||
@@ -48,7 +48,7 @@ To ensure the principle of least privilege, we define three main database roles:
|
||||
* **Permissions**:
|
||||
```sql
|
||||
CREATE ROLE quantengine_readonly WITH LOGIN PASSWORD 'ReadonlyPasswordSecure';
|
||||
GRANT CONNECT ON DATABASE giteadb TO quantengine_readonly;
|
||||
GRANT CONNECT ON DATABASE quantenginedb TO quantengine_readonly;
|
||||
GRANT USAGE ON SCHEMA quantengine TO quantengine_readonly;
|
||||
|
||||
GRANT SELECT ON ALL TABLES IN SCHEMA quantengine TO quantengine_readonly;
|
||||
@@ -63,7 +63,7 @@ To ensure the principle of least privilege, we define three main database roles:
|
||||
* Never store connection strings with plaintext passwords in version control.
|
||||
* `appsettings.json` must only contain placeholder configurations.
|
||||
* Inject the connection string at runtime using environment variables:
|
||||
`ConnectionStrings__DefaultConnection="Host=127.0.0.1;Database=giteadb;Username=quantengine_app;Password=YourSecurePassword;Search Path=quantengine;"`
|
||||
`ConnectionStrings__DefaultConnection="Host=127.0.0.1;Database=quantenginedb;Username=quantengine_app;Password=YourSecurePassword;Search Path=quantengine;"`
|
||||
|
||||
2. **Network Security**:
|
||||
* Bind PostgreSQL only to local interfaces (`127.0.0.1`) or secure private network interfaces.
|
||||
|
||||
+2
-2
@@ -925,7 +925,7 @@ python tools/validate_specs.py → PASS
|
||||
|------|------|
|
||||
| **작업** | `src/quant_engine/snapshot_admin_server_v1.py`(Python 어드민 웹 UI)를 Gitea CI/CD 배포 스텝을 통해 Synology NAS에서 상시 서비스로 운영할 수 있는지 검토 |
|
||||
| **현재 상태** | **기술적으로는 가능**. 기본 루프백 보호 + Basic Auth 게이트를 추가했고, Synology 외부 노출은 리버스 프록시 기반 POC로 가이드함. 실배포 검증은 아직 필요 |
|
||||
| **운영 분리** | `snapshot_admin.yml`은 `push`용 smoke 검증과 `workflow_dispatch`용 full 검증으로 분리하고, 배포는 별도 `snapshot_admin_deploy.yml` `workflow_dispatch`로 떼어냈다. `push`에서는 `Validate Snapshot Admin Workflow`까지만, full 검증에서는 `Validate Snapshot Admin Web UI`까지 수행한다. |
|
||||
| **운영 분리** | `snapshot_admin.yml`은 `push`용 smoke 검증과 `workflow_dispatch`용 full 검증으로 분리하고, 배포는 별도 `deploy-prod.yml` `workflow_dispatch`로 떼어냈다. `push`에서는 `Validate Snapshot Admin Workflow`까지만, full 검증에서는 `Validate Snapshot Admin Web UI`까지 수행한다. |
|
||||
| **runner 주의** | Gitea runner를 Docker mode로 두면 job 종료 시 `Cleaning up container` 로그가 남는다. host label로 재등록하면 job container 정리 로그를 피할 수 있다. |
|
||||
| **KIS 분리** | `kis_data_collection.yml`은 `workflow_dispatch`용 mock/config smoke와 `schedule`용 live collection으로 분리했다. 수동 디스패치는 실제 수집을 돌리지 않고, 실수집은 스케줄 전용이다. |
|
||||
| **담당 파일** | `.gitea/workflows/ci.yml`, `tools/run_snapshot_admin_server_v1.py`, `src/quant_engine/snapshot_admin_server_v1.py`, `docs/SYNOLOGY_SNAPSHOT_ADMIN_POC.md`, `docs/WBS_7_9_EVIDENCE_PACKET_FINAL.md` |
|
||||
@@ -1651,7 +1651,7 @@ WBS-10.1 (기반 결함 수정)
|
||||
| 10.10.2 | Dashboard 상태 페이지 — 데이터 비의존형 요약으로 단순화 | DB 실패 시에도 200 응답 (완료) |
|
||||
| 10.10.3 | Counter.razor / Weather.razor 기본 페이지 삭제, NavMenu 정비 | 불필요 페이지 0건, NavMenu에 Dashboard/Operations만 표시 (완료) |
|
||||
| 10.10.4 | 다크 모드 + 반응형 레이아웃 적용 | 브라우저 렌더링 정상 확인 (완료) |
|
||||
| 10.10.5 | 배포 동기화 | `snapshot_admin_deploy.yml`가 `/quant/`와 `/quant/operations` 공개 라우트를 배포 후 검증하도록 구성됨 (완료) |
|
||||
| 10.10.5 | 배포 동기화 | `deploy-prod.yml`가 공개 라우트를 배포 후 검증하도록 구성됨 (완료) |
|
||||
|
||||
**성공 하네스 (데이터 기준)**:
|
||||
```
|
||||
|
||||
@@ -0,0 +1,401 @@
|
||||
# QuantEngine - Testing & Deployment Guide
|
||||
|
||||
**Status**: Phase 6 (Testing) & Phase 8 (Deployment) - Configuration & Documentation
|
||||
|
||||
---
|
||||
|
||||
## Phase 6: Testing & Optimization
|
||||
|
||||
### 6.1 Unit Testing (bUnit)
|
||||
|
||||
#### Setup
|
||||
```bash
|
||||
cd src/dotnet
|
||||
dotnet add package bunit
|
||||
dotnet add package bunit.web
|
||||
```
|
||||
|
||||
#### Example Test: Dashboard Component
|
||||
```csharp
|
||||
// Tests/Pages/DashboardTests.cs
|
||||
[TestFixture]
|
||||
public class DashboardTests
|
||||
{
|
||||
[Test]
|
||||
public void Dashboard_Renders_KPICards()
|
||||
{
|
||||
// Arrange
|
||||
var cut = new TestContext().RenderComponent<Dashboard>();
|
||||
|
||||
// Act & Assert
|
||||
var kpiCards = cut.FindAll(".mud-card-kpi");
|
||||
kpiCards.Count.Should().Be(4);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public async Task Dashboard_LoadsAssets_OnInitialize()
|
||||
{
|
||||
// Arrange
|
||||
var httpClient = new HttpClientStub();
|
||||
var cut = new TestContext();
|
||||
cut.Services.AddScoped(sp => httpClient);
|
||||
var dashboard = cut.RenderComponent<Dashboard>();
|
||||
|
||||
// Act
|
||||
await Task.Delay(100); // Wait for async init
|
||||
|
||||
// Assert
|
||||
httpClient.Requests.Should().Contain(r => r.Url.Contains("/api/portfolio"));
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
#### Test Coverage Targets
|
||||
- Dashboard rendering (4 KPI cards)
|
||||
- Users list (search, filter, pagination)
|
||||
- Portfolio components (asset table, categories)
|
||||
- Form fields (all input types)
|
||||
- Dialogs (confirm/cancel actions)
|
||||
|
||||
#### Run Tests
|
||||
```bash
|
||||
dotnet test src/dotnet/QuantEngine.Web.Client.Tests
|
||||
dotnet test src/dotnet/QuantEngine.Web.Tests
|
||||
```
|
||||
|
||||
### 6.2 Integration Tests
|
||||
|
||||
#### Database Test Setup
|
||||
```csharp
|
||||
[TestFixture]
|
||||
public class RepositoryIntegrationTests
|
||||
{
|
||||
private IDbConnectionFactory _connectionFactory;
|
||||
private ICollectionRepository _repository;
|
||||
|
||||
[OneTimeSetUp]
|
||||
public void OneTimeSetUp()
|
||||
{
|
||||
_connectionFactory = new DbConnectionFactory(
|
||||
"Host=localhost;Database=quantengine_test;..."
|
||||
);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public async Task SaveCollectionRun_Persists_ToDatabase()
|
||||
{
|
||||
// Arrange
|
||||
var run = new CollectionRun { RunId = Guid.NewGuid().ToString(), ... };
|
||||
|
||||
// Act
|
||||
await _repository.SaveRunAsync(run);
|
||||
|
||||
// Assert
|
||||
var retrieved = await _repository.GetRunAsync(run.RunId);
|
||||
retrieved.Should().NotBeNull();
|
||||
retrieved.RunId.Should().Be(run.RunId);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### 6.3 Performance Optimization
|
||||
|
||||
#### Bundle Size Optimization
|
||||
```bash
|
||||
# Check bundle sizes
|
||||
dotnet publish -c Release --output ./publish
|
||||
du -sh publish/wwwroot/_framework/*
|
||||
```
|
||||
|
||||
**Targets**:
|
||||
- dotnet.wasm: < 2MB
|
||||
- app.js: < 500KB
|
||||
- Total: < 5MB
|
||||
|
||||
#### Loading Time Optimization
|
||||
```csharp
|
||||
// Use lazy loading for pages
|
||||
[lazy: Dashboard]
|
||||
@rendermode InteractiveWebAssembly
|
||||
|
||||
// Pre-load critical resources
|
||||
<link rel="prefetch" href="/_framework/QuantEngine.Web.Client.wasm" />
|
||||
```
|
||||
|
||||
### 6.4 Accessibility Testing (WCAG 2.1 AA)
|
||||
|
||||
#### Automated Checks
|
||||
```bash
|
||||
dotnet add package Deque.AxeCore.Selenium
|
||||
```
|
||||
|
||||
#### Manual Checklist
|
||||
- [ ] Keyboard navigation (Tab, Enter, Escape)
|
||||
- [ ] Screen reader support (NVDA, JAWS)
|
||||
- [ ] Color contrast (4.5:1 for text)
|
||||
- [ ] Form labels properly associated
|
||||
- [ ] Error messages clear and descriptive
|
||||
- [ ] Focus indicators visible
|
||||
- [ ] No automatic content changes
|
||||
|
||||
---
|
||||
|
||||
## Phase 8: Deployment & Operations
|
||||
|
||||
### 8.1 Production Build
|
||||
|
||||
#### Release Build Configuration
|
||||
```bash
|
||||
# Build Release configuration
|
||||
cd src/dotnet
|
||||
dotnet build -c Release
|
||||
|
||||
# Publish for deployment
|
||||
dotnet publish -c Release -o ./publish/quantengine
|
||||
|
||||
# Size check
|
||||
ls -lh publish/quantengine/
|
||||
```
|
||||
|
||||
#### Build Output
|
||||
- `publish/quantengine/` - Complete deployment package
|
||||
- `publish/quantengine/wwwroot/` - Static assets
|
||||
- `publish/quantengine/QuantEngine.Web.exe` - Server executable
|
||||
- `publish/quantengine/appsettings.production.json` - Configuration
|
||||
|
||||
### 8.2 Docker Deployment
|
||||
|
||||
#### Dockerfile
|
||||
```dockerfile
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
|
||||
WORKDIR /app
|
||||
EXPOSE 80 443
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
|
||||
WORKDIR /src
|
||||
COPY ["src/dotnet/QuantEngine.Web/QuantEngine.Web.csproj", "QuantEngine.Web/"]
|
||||
RUN dotnet restore "QuantEngine.Web/QuantEngine.Web.csproj"
|
||||
|
||||
COPY src/dotnet/ .
|
||||
RUN dotnet build "QuantEngine.Web/QuantEngine.Web.csproj" -c Release -o /app/build
|
||||
|
||||
FROM build AS publish
|
||||
RUN dotnet publish "QuantEngine.Web/QuantEngine.Web.csproj" -c Release -o /app/publish
|
||||
|
||||
FROM base AS final
|
||||
WORKDIR /app
|
||||
COPY --from=publish /app/publish .
|
||||
ENTRYPOINT ["dotnet", "QuantEngine.Web.dll"]
|
||||
```
|
||||
|
||||
#### Docker Build & Run
|
||||
```bash
|
||||
# Build image
|
||||
docker build -t quantengine:latest .
|
||||
|
||||
# Run container
|
||||
docker run -d \
|
||||
-p 5265:80 \
|
||||
-e ConnectionStrings__DefaultConnection="Host=db;Database=quantenginedb;..." \
|
||||
-e ASPNETCORE_ENVIRONMENT=Production \
|
||||
quantengine:latest
|
||||
|
||||
# Check logs
|
||||
docker logs -f <container_id>
|
||||
```
|
||||
|
||||
### 8.3 Nginx Reverse Proxy
|
||||
|
||||
#### Nginx Configuration
|
||||
```nginx
|
||||
upstream quantengine {
|
||||
server 127.0.0.1:5000;
|
||||
server 127.0.0.1:5001;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name quantengine.example.com;
|
||||
|
||||
# Redirect to HTTPS
|
||||
return 301 https://$server_name$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name quantengine.example.com;
|
||||
|
||||
ssl_certificate /etc/ssl/certs/cert.pem;
|
||||
ssl_certificate_key /etc/ssl/private/key.pem;
|
||||
|
||||
location / {
|
||||
proxy_pass http://quantengine;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
||||
# WebSocket support
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
|
||||
location ~* \.(js|css|wasm|svg|woff2)$ {
|
||||
expires 30d;
|
||||
add_header Cache-Control "public, immutable";
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### 8.4 Environment Configuration
|
||||
|
||||
#### appsettings.production.json
|
||||
```json
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"System": "Warning",
|
||||
"Microsoft": "Warning"
|
||||
}
|
||||
},
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": "Host=prod-db-host;Database=quantenginedb;Username=quantengine_app;Password=***;SslMode=Require;",
|
||||
"HangfireConnection": "Host=prod-db-host;Database=quantengine_hangfire;..."
|
||||
},
|
||||
"AdminSettings": {
|
||||
"Username": "admin",
|
||||
"Password": "***"
|
||||
},
|
||||
"Kestrel": {
|
||||
"Endpoints": {
|
||||
"Http": {
|
||||
"Url": "http://0.0.0.0:5000"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### 8.5 Deployment Checklist
|
||||
|
||||
#### Pre-Deployment
|
||||
- [ ] All tests pass (`dotnet test`)
|
||||
- [ ] Code reviewed and approved
|
||||
- [ ] Security vulnerabilities scanned (`dotnet package-search`)
|
||||
- [ ] Database migrations tested
|
||||
- [ ] Hangfire schedules configured
|
||||
- [ ] Secrets properly managed (not in code)
|
||||
- [ ] Environment variables documented
|
||||
|
||||
#### Deployment Steps
|
||||
```bash
|
||||
# 1. Create backup
|
||||
pg_dump -h prod-db-host -U quantengine_app quantenginedb > backup-$(date +%Y%m%d).sql
|
||||
|
||||
# 2. Deploy application
|
||||
docker pull quantengine:latest
|
||||
docker stop quantengine
|
||||
docker run -d --name quantengine -p 5000:80 quantengine:latest
|
||||
|
||||
# 3. Health check
|
||||
curl https://quantengine.example.com/health
|
||||
|
||||
# 4. Monitor logs
|
||||
docker logs -f quantengine
|
||||
|
||||
# 5. Verify features
|
||||
- [ ] Login works
|
||||
- [ ] Dashboard loads
|
||||
- [ ] Data collection runs
|
||||
- [ ] Hangfire jobs scheduled
|
||||
```
|
||||
|
||||
#### Post-Deployment
|
||||
- [ ] Monitor error logs (Serilog, Telegram alerts)
|
||||
- [ ] Check Hangfire dashboard
|
||||
- [ ] Verify scheduled jobs running
|
||||
- [ ] Monitor database performance
|
||||
- [ ] Check API response times (< 200ms)
|
||||
|
||||
### 8.6 Monitoring & Observability
|
||||
|
||||
#### Health Checks
|
||||
```csharp
|
||||
app.MapHealthChecks("/health", new HealthCheckOptions
|
||||
{
|
||||
Predicate = _ => true,
|
||||
ResponseWriter = WriteResponse
|
||||
});
|
||||
|
||||
// Add health checks
|
||||
builder.Services.AddHealthChecks()
|
||||
.AddDbContextCheck<QuantEngineDbContext>()
|
||||
.AddCheck("Database", () => HealthCheckResult.Healthy())
|
||||
.AddCheck("KIS API", () => CheckKisApiAsync());
|
||||
```
|
||||
|
||||
#### Logging (Serilog)
|
||||
```csharp
|
||||
Log.Information("Collection run completed: {RunId}, {Count} items", runId, itemCount);
|
||||
Log.Warning("API rate limit warning: {Remaining}", remaining);
|
||||
Log.Error(ex, "Collection failed: {RunId}", runId);
|
||||
```
|
||||
|
||||
#### Monitoring Metrics
|
||||
- Request rate (requests/sec)
|
||||
- Error rate (errors/requests)
|
||||
- Database query time (p50, p95, p99)
|
||||
- Hangfire job success rate
|
||||
- API response time by endpoint
|
||||
|
||||
### 8.7 Rollback Plan
|
||||
|
||||
#### If Deployment Fails
|
||||
```bash
|
||||
# 1. Stop current deployment
|
||||
docker stop quantengine
|
||||
|
||||
# 2. Restore previous version
|
||||
docker run -d --name quantengine -p 5000:80 quantengine:v1.0.0
|
||||
|
||||
# 3. Restore database from backup
|
||||
psql -h prod-db-host -U quantengine_app -d quantenginedb < backup-20260705.sql
|
||||
|
||||
# 4. Verify health
|
||||
curl https://quantengine.example.com/health
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Deployment Timeline
|
||||
|
||||
| Milestone | Target Date | Status |
|
||||
|-----------|-------------|--------|
|
||||
| Phase 6: Tests | 2026-07-06 | 📋 |
|
||||
| Phase 7: Hangfire | 2026-07-05 | ✅ |
|
||||
| Phase 8: Deploy | 2026-07-07 | 📋 |
|
||||
| Production Release | 2026-07-10 | 📅 |
|
||||
|
||||
---
|
||||
|
||||
## Success Criteria
|
||||
|
||||
**Phase 6**:
|
||||
- [ ] 80%+ test coverage
|
||||
- [ ] All component tests passing
|
||||
- [ ] WCAG AA compliance verified
|
||||
- [ ] Bundle size < 5MB
|
||||
|
||||
**Phase 8**:
|
||||
- [ ] Docker image builds successfully
|
||||
- [ ] Production config validated
|
||||
- [ ] Database backups automated
|
||||
- [ ] Rollback plan documented
|
||||
- [ ] Monitoring alerts configured
|
||||
- [ ] 99.5% uptime target established
|
||||
|
||||
---
|
||||
|
||||
**Next**: Execute deployment pipeline and monitor production metrics.
|
||||
@@ -0,0 +1,646 @@
|
||||
# SmartAdmin Bootstrap 5 — Style Guide
|
||||
|
||||
**Version**: 5.5.0
|
||||
**Last Updated**: 2026-07-05
|
||||
**Status**: ✅ Complete
|
||||
|
||||
---
|
||||
|
||||
## 📖 Overview
|
||||
|
||||
This document provides comprehensive guidelines for using SmartAdmin Bootstrap 5 components and utilities. All styles are organized in modular CSS files for better maintainability and performance.
|
||||
|
||||
---
|
||||
|
||||
## 🎨 Color System
|
||||
|
||||
### Primary Palette
|
||||
|
||||
| Color | Hex Value | Usage |
|
||||
|-------|-----------|-------|
|
||||
| **Primary** | `#2196f3` | Main actions, links, highlights |
|
||||
| **Secondary** | `#757575` | Neutral, less prominent elements |
|
||||
| **Success** | `#4caf50` | Positive actions, confirmations |
|
||||
| **Danger** | `#f44336` | Destructive actions, errors |
|
||||
| **Warning** | `#ff9800` | Caution, warnings |
|
||||
| **Info** | `#00bcd4` | Information, notifications |
|
||||
|
||||
### Neutral Palette
|
||||
|
||||
| Color | Hex Value | Usage |
|
||||
|-------|-----------|-------|
|
||||
| **Light** | `#f5f5f5` | Light backgrounds |
|
||||
| **Dark** | `#212121` | Dark backgrounds, text |
|
||||
| **White** | `#ffffff` | Main background |
|
||||
| **Transparent** | `rgba(0,0,0,0)` | No background |
|
||||
|
||||
### Gray Scale
|
||||
|
||||
```
|
||||
Gray 100: #f8f9fa (Lightest)
|
||||
Gray 200: #e9ecef
|
||||
Gray 300: #dee2e6
|
||||
Gray 400: #ced4da
|
||||
Gray 500: #adb5bd (Medium)
|
||||
Gray 600: #6c757d
|
||||
Gray 700: #495057
|
||||
Gray 800: #343a40
|
||||
Gray 900: #212529 (Darkest)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🔘 Buttons
|
||||
|
||||
### Variants
|
||||
|
||||
**Primary Button**
|
||||
```html
|
||||
<button class="btn btn-primary">Primary</button>
|
||||
```
|
||||
|
||||
**Success Button**
|
||||
```html
|
||||
<button class="btn btn-success">Success</button>
|
||||
```
|
||||
|
||||
**Danger Button**
|
||||
```html
|
||||
<button class="btn btn-danger">Delete</button>
|
||||
```
|
||||
|
||||
**Warning Button**
|
||||
```html
|
||||
<button class="btn btn-warning">Warning</button>
|
||||
```
|
||||
|
||||
### Sizes
|
||||
|
||||
```html
|
||||
<button class="btn btn-primary btn-xs">Extra Small</button>
|
||||
<button class="btn btn-primary btn-sm">Small</button>
|
||||
<button class="btn btn-primary">Default</button>
|
||||
<button class="btn btn-primary btn-lg">Large</button>
|
||||
```
|
||||
|
||||
### States
|
||||
|
||||
```html
|
||||
<!-- Disabled -->
|
||||
<button class="btn btn-primary" disabled>Disabled</button>
|
||||
|
||||
<!-- Loading -->
|
||||
<button class="btn btn-primary" disabled>
|
||||
<span class="spinner-border spinner-border-sm me-2"></span>
|
||||
Loading...
|
||||
</button>
|
||||
|
||||
<!-- With Icon -->
|
||||
<button class="btn btn-primary">
|
||||
<i class="fa-solid fa-save me-2"></i>Save
|
||||
</button>
|
||||
```
|
||||
|
||||
### Button Groups
|
||||
|
||||
```html
|
||||
<div class="btn-group" role="group">
|
||||
<button type="button" class="btn btn-primary">Left</button>
|
||||
<button type="button" class="btn btn-primary">Middle</button>
|
||||
<button type="button" class="btn btn-primary">Right</button>
|
||||
</div>
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📇 Cards
|
||||
|
||||
### Basic Card
|
||||
|
||||
```html
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
Header
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Title</h5>
|
||||
<p class="card-text">Content goes here...</p>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
Footer
|
||||
</div>
|
||||
</div>
|
||||
```
|
||||
|
||||
### Card Variants
|
||||
|
||||
```html
|
||||
<!-- Card with Badge -->
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<span class="badge badge-primary">New</span>
|
||||
<h5 class="card-title">Card Title</h5>
|
||||
<p class="card-text">Content here...</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Hoverable Card -->
|
||||
<div class="card" style="cursor: pointer;">
|
||||
<!-- Content -->
|
||||
</div>
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🏷️ Badges
|
||||
|
||||
### Variants
|
||||
|
||||
```html
|
||||
<span class="badge badge-primary">Primary</span>
|
||||
<span class="badge badge-success">Success</span>
|
||||
<span class="badge badge-danger">Danger</span>
|
||||
<span class="badge badge-warning">Warning</span>
|
||||
<span class="badge badge-info">Info</span>
|
||||
```
|
||||
|
||||
### Pill Badges
|
||||
|
||||
```html
|
||||
<span class="badge badge-primary badge-pill">Primary</span>
|
||||
<span class="badge badge-success badge-pill">Success</span>
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## ⚠️ Alerts
|
||||
|
||||
### Variants
|
||||
|
||||
```html
|
||||
<!-- Info Alert -->
|
||||
<div class="alert alert-primary">
|
||||
<i class="fa-solid fa-info-circle me-2"></i>
|
||||
<strong>Info:</strong> Informational message
|
||||
</div>
|
||||
|
||||
<!-- Success Alert -->
|
||||
<div class="alert alert-success">
|
||||
<strong>Success!</strong> Operation completed
|
||||
</div>
|
||||
|
||||
<!-- Warning Alert -->
|
||||
<div class="alert alert-warning">
|
||||
<strong>Warning!</strong> Please be careful
|
||||
</div>
|
||||
|
||||
<!-- Danger Alert -->
|
||||
<div class="alert alert-danger">
|
||||
<strong>Error!</strong> Something went wrong
|
||||
</div>
|
||||
```
|
||||
|
||||
### Dismissible Alert
|
||||
|
||||
```html
|
||||
<div class="alert alert-primary alert-dismissible">
|
||||
<strong>Info:</strong> Message goes here
|
||||
<button type="button" class="btn-close" data-dismiss="alert"></button>
|
||||
</div>
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📝 Forms
|
||||
|
||||
### Input Fields
|
||||
|
||||
```html
|
||||
<div class="form-group">
|
||||
<label class="form-label">Email Address</label>
|
||||
<input type="email" class="form-control" placeholder="user@example.com">
|
||||
</div>
|
||||
```
|
||||
|
||||
### Input Sizes
|
||||
|
||||
```html
|
||||
<input type="text" class="form-control form-control-sm" placeholder="Small input">
|
||||
<input type="text" class="form-control" placeholder="Default input">
|
||||
<input type="text" class="form-control form-control-lg" placeholder="Large input">
|
||||
```
|
||||
|
||||
### Select
|
||||
|
||||
```html
|
||||
<div class="form-group">
|
||||
<label class="form-label">Choose Option</label>
|
||||
<select class="form-select">
|
||||
<option>Select...</option>
|
||||
<option value="1">Option 1</option>
|
||||
<option value="2">Option 2</option>
|
||||
</select>
|
||||
</div>
|
||||
```
|
||||
|
||||
### Textarea
|
||||
|
||||
```html
|
||||
<div class="form-group">
|
||||
<label class="form-label">Message</label>
|
||||
<textarea class="form-control" rows="4"></textarea>
|
||||
</div>
|
||||
```
|
||||
|
||||
### Checkboxes
|
||||
|
||||
```html
|
||||
<div class="form-check">
|
||||
<input type="checkbox" class="form-check-input" id="check1">
|
||||
<label class="form-check-label" for="check1">
|
||||
Check this option
|
||||
</label>
|
||||
</div>
|
||||
```
|
||||
|
||||
### Radio Buttons
|
||||
|
||||
```html
|
||||
<div class="form-check">
|
||||
<input type="radio" class="form-check-input" name="options" id="radio1">
|
||||
<label class="form-check-label" for="radio1">
|
||||
Option 1
|
||||
</label>
|
||||
</div>
|
||||
```
|
||||
|
||||
### Form Validation
|
||||
|
||||
```html
|
||||
<!-- Valid -->
|
||||
<input type="text" class="form-control is-valid">
|
||||
<div class="valid-feedback">Looks good!</div>
|
||||
|
||||
<!-- Invalid -->
|
||||
<input type="text" class="form-control is-invalid">
|
||||
<div class="invalid-feedback">Please correct this</div>
|
||||
```
|
||||
|
||||
### Input Groups
|
||||
|
||||
```html
|
||||
<div class="input-group">
|
||||
<span class="input-group-text">$</span>
|
||||
<input type="number" class="form-control">
|
||||
</div>
|
||||
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" placeholder="Search...">
|
||||
<button class="btn btn-primary">
|
||||
<i class="fa-solid fa-search"></i>
|
||||
</button>
|
||||
</div>
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📊 Tables
|
||||
|
||||
### Basic Table
|
||||
|
||||
```html
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Name</th>
|
||||
<th>Email</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>#001</td>
|
||||
<td>John Doe</td>
|
||||
<td>john@example.com</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
```
|
||||
|
||||
### Table Variants
|
||||
|
||||
```html
|
||||
<!-- Striped -->
|
||||
<table class="table table-striped">...</table>
|
||||
|
||||
<!-- Hover -->
|
||||
<table class="table table-hover">...</table>
|
||||
|
||||
<!-- Bordered -->
|
||||
<table class="table table-bordered">...</table>
|
||||
|
||||
<!-- Striped + Hover -->
|
||||
<table class="table table-striped table-hover">...</table>
|
||||
```
|
||||
|
||||
### Responsive Table
|
||||
|
||||
```html
|
||||
<div class="table-responsive">
|
||||
<table class="table">...</table>
|
||||
</div>
|
||||
```
|
||||
|
||||
### Table Pagination
|
||||
|
||||
```html
|
||||
<div class="table-pagination">
|
||||
<span>Showing 1-10 of 100</span>
|
||||
<ul class="pagination">
|
||||
<li class="page-item"><a class="page-link" href="#">Previous</a></li>
|
||||
<li class="page-item active"><a class="page-link" href="#">1</a></li>
|
||||
<li class="page-item"><a class="page-link" href="#">2</a></li>
|
||||
<li class="page-item"><a class="page-link" href="#">Next</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🎭 Modals
|
||||
|
||||
### Basic Modal
|
||||
|
||||
```html
|
||||
<div class="modal" id="exampleModal">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Modal Title</h5>
|
||||
<button class="btn-close" data-dismiss="modal"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
Modal content goes here...
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||
<button class="btn btn-primary">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
```
|
||||
|
||||
### Modal Sizes
|
||||
|
||||
```html
|
||||
<!-- Small -->
|
||||
<div class="modal-dialog modal-sm">...</div>
|
||||
|
||||
<!-- Default -->
|
||||
<div class="modal-dialog">...</div>
|
||||
|
||||
<!-- Large -->
|
||||
<div class="modal-dialog modal-lg">...</div>
|
||||
|
||||
<!-- Extra Large -->
|
||||
<div class="modal-dialog modal-xl">...</div>
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🌈 Utilities
|
||||
|
||||
### Spacing
|
||||
|
||||
```html
|
||||
<!-- Margin -->
|
||||
<div class="m-1">Margin 1</div>
|
||||
<div class="m-2">Margin 2</div>
|
||||
<div class="m-3">Margin 3</div>
|
||||
|
||||
<!-- Padding -->
|
||||
<div class="p-1">Padding 1</div>
|
||||
<div class="p-2">Padding 2</div>
|
||||
<div class="p-3">Padding 3</div>
|
||||
|
||||
<!-- Specific Sides -->
|
||||
<div class="mt-3">Margin Top</div>
|
||||
<div class="mb-3">Margin Bottom</div>
|
||||
<div class="ms-3">Margin Start</div>
|
||||
<div class="me-3">Margin End</div>
|
||||
```
|
||||
|
||||
### Display
|
||||
|
||||
```html
|
||||
<div class="d-none">Hidden</div>
|
||||
<div class="d-block">Block</div>
|
||||
<div class="d-flex">Flex</div>
|
||||
<div class="d-grid">Grid</div>
|
||||
|
||||
<!-- Responsive -->
|
||||
<div class="d-none d-sm-block">Hidden on mobile, visible on tablet+</div>
|
||||
<div class="d-sm-none">Visible on mobile, hidden on tablet+</div>
|
||||
```
|
||||
|
||||
### Flexbox
|
||||
|
||||
```html
|
||||
<div class="d-flex">
|
||||
<div class="flex-fill">Fill available space</div>
|
||||
<div class="flex-shrink-0">Don't shrink</div>
|
||||
</div>
|
||||
|
||||
<div class="d-flex justify-content-between">
|
||||
<div>Left</div>
|
||||
<div>Right</div>
|
||||
</div>
|
||||
|
||||
<div class="d-flex align-items-center gap-2">
|
||||
<i class="fa-solid fa-check"></i>
|
||||
<span>Centered vertically</span>
|
||||
</div>
|
||||
```
|
||||
|
||||
### Text Utilities
|
||||
|
||||
```html
|
||||
<!-- Alignment -->
|
||||
<p class="text-start">Left</p>
|
||||
<p class="text-center">Center</p>
|
||||
<p class="text-end">Right</p>
|
||||
|
||||
<!-- Transform -->
|
||||
<p class="text-uppercase">UPPERCASE</p>
|
||||
<p class="text-lowercase">lowercase</p>
|
||||
<p class="text-capitalize">Capitalize</p>
|
||||
|
||||
<!-- Weight -->
|
||||
<p class="text-bold">Bold</p>
|
||||
<p class="text-semi-bold">Semi-bold</p>
|
||||
<p class="text-normal">Normal</p>
|
||||
|
||||
<!-- Color -->
|
||||
<p class="text-primary">Primary text</p>
|
||||
<p class="text-success">Success text</p>
|
||||
<p class="text-danger">Danger text</p>
|
||||
<p class="text-muted">Muted text</p>
|
||||
```
|
||||
|
||||
### Background Colors
|
||||
|
||||
```html
|
||||
<div class="bg-primary text-white">Primary Background</div>
|
||||
<div class="bg-success text-white">Success Background</div>
|
||||
<div class="bg-danger text-white">Danger Background</div>
|
||||
<div class="bg-warning text-white">Warning Background</div>
|
||||
<div class="bg-light">Light Background</div>
|
||||
```
|
||||
|
||||
### Borders
|
||||
|
||||
```html
|
||||
<div class="border">All borders</div>
|
||||
<div class="border-top">Top border only</div>
|
||||
<div class="border-0">No border</div>
|
||||
<div class="border border-primary">Primary border</div>
|
||||
|
||||
<!-- Rounded -->
|
||||
<div class="rounded">Rounded corners</div>
|
||||
<div class="rounded-circle">Circle</div>
|
||||
<div class="rounded-pill">Pill shape</div>
|
||||
```
|
||||
|
||||
### Shadows
|
||||
|
||||
```html
|
||||
<div class="shadow">Small shadow</div>
|
||||
<div class="shadow-lg">Large shadow</div>
|
||||
<div class="shadow-none">No shadow</div>
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🌙 Dark Mode
|
||||
|
||||
SmartAdmin supports dark mode through the `data-bs-theme` attribute:
|
||||
|
||||
```html
|
||||
<!-- Light Mode (default) -->
|
||||
<html data-bs-theme="light">
|
||||
|
||||
<!-- Dark Mode -->
|
||||
<html data-bs-theme="dark">
|
||||
```
|
||||
|
||||
### Toggle Dark Mode with JavaScript
|
||||
|
||||
```javascript
|
||||
const html = document.documentElement;
|
||||
const currentTheme = html.getAttribute('data-bs-theme');
|
||||
const newTheme = currentTheme === 'light' ? 'dark' : 'light';
|
||||
html.setAttribute('data-bs-theme', newTheme);
|
||||
|
||||
// Save preference
|
||||
localStorage.setItem('theme', newTheme);
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📱 Responsive Breakpoints
|
||||
|
||||
| Breakpoint | Viewport | Class Prefix |
|
||||
|------------|----------|--------------|
|
||||
| **Mobile** | < 576px | None |
|
||||
| **Tablet (sm)** | ≥ 576px | `-sm-` |
|
||||
| **Tablet (md)** | ≥ 768px | `-md-` |
|
||||
| **Desktop (lg)** | ≥ 992px | `-lg-` |
|
||||
| **Desktop (xl)** | ≥ 1200px | `-xl-` |
|
||||
| **Desktop (xxl)** | ≥ 1400px | `-xxl-` |
|
||||
|
||||
### Examples
|
||||
|
||||
```html
|
||||
<!-- Hide on mobile, show on tablet+ -->
|
||||
<div class="d-none d-sm-block">...</div>
|
||||
|
||||
<!-- Different columns on different screens -->
|
||||
<div class="col-12 col-sm-6 col-md-4 col-lg-3">
|
||||
Responsive column
|
||||
</div>
|
||||
|
||||
<!-- Different padding on different screens -->
|
||||
<div class="p-2 p-md-3 p-lg-4">
|
||||
Responsive padding
|
||||
</div>
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## ✅ Best Practices
|
||||
|
||||
1. **Use Semantic HTML**: Always use appropriate HTML elements
|
||||
2. **Accessibility First**: Include ARIA labels and keyboard navigation
|
||||
3. **Mobile First**: Design for mobile first, then enhance for larger screens
|
||||
4. **Consistent Spacing**: Use spacing scale (1, 2, 3, 4, 5) consistently
|
||||
5. **Color Contrast**: Ensure text has sufficient contrast (WCAG AA minimum)
|
||||
6. **Component Reuse**: Use existing components instead of creating new ones
|
||||
7. **Document Changes**: Update this guide when adding new components
|
||||
8. **Test on Real Devices**: Don't rely only on browser DevTools
|
||||
|
||||
---
|
||||
|
||||
## 📚 Component Library
|
||||
|
||||
Visit **`components-showcase.html`** to see all components in action with interactive examples.
|
||||
|
||||
### Quick Links
|
||||
|
||||
- [Live Component Demo](./components-showcase.html)
|
||||
- [Bootstrap 5 Official Docs](https://getbootstrap.com/docs/5.0/)
|
||||
- [Icon Library (FontAwesome)](https://fontawesome.com/)
|
||||
|
||||
---
|
||||
|
||||
## 🔄 CSS File Structure
|
||||
|
||||
```
|
||||
css/
|
||||
├── base.css (Foundation, resets, typography)
|
||||
├── components.css (Buttons, cards, badges, alerts)
|
||||
├── forms.css (Input fields, validation)
|
||||
├── tables.css (Table styles, responsive)
|
||||
├── layout.css (Header, sidebar, grid)
|
||||
├── darkmode.css (Dark theme overrides)
|
||||
├── responsive.css (Mobile-first media queries)
|
||||
├── utilities.css (Spacing, colors, helpers)
|
||||
└── smartapp.min.css (Legacy, for compatibility)
|
||||
```
|
||||
|
||||
**Load Order (HTML <head>):**
|
||||
1. base.css
|
||||
2. components.css
|
||||
3. forms.css
|
||||
4. tables.css
|
||||
5. layout.css
|
||||
6. darkmode.css
|
||||
7. responsive.css
|
||||
8. utilities.css
|
||||
9. smartapp.min.css (fallback)
|
||||
|
||||
---
|
||||
|
||||
## 📞 Support
|
||||
|
||||
For issues or questions:
|
||||
1. Check the component library first
|
||||
2. Review this style guide
|
||||
3. Check Bootstrap 5 official documentation
|
||||
4. Create an issue in the repository
|
||||
|
||||
---
|
||||
|
||||
**Last Updated:** 2026-07-05
|
||||
**Version:** 5.5.0
|
||||
**Status:** ✅ Complete & Ready for Use
|
||||
@@ -0,0 +1,250 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="light">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Login | SmartAdmin</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
||||
<link rel="icon" href="img/favicon-32x32.png" type="image/png">
|
||||
|
||||
<link rel="stylesheet" media="screen, print" href="css/base.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/components.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/forms.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/layout.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/darkmode.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/responsive.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/utilities.css">
|
||||
|
||||
<link rel="stylesheet" media="screen, print" href="plugins/waves/waves.min.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/smartapp.min.css">
|
||||
<link rel="stylesheet" media="screen, print" href="webfonts/fontawesome/fontawesome.css">
|
||||
|
||||
<style>
|
||||
html, body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
margin: 0;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] body {
|
||||
background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
|
||||
}
|
||||
|
||||
.login-container {
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
.login-card {
|
||||
background-color: var(--bs-body-bg);
|
||||
border-radius: var(--bs-border-radius-xl);
|
||||
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
|
||||
padding: 2.5rem;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.login-header {
|
||||
text-align: center;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.login-header h1 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.login-header p {
|
||||
color: var(--bs-gray-600);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.form-label {
|
||||
font-weight: 600;
|
||||
margin-bottom: 0.5rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.login-footer {
|
||||
text-align: center;
|
||||
font-size: 0.9rem;
|
||||
color: var(--bs-gray-600);
|
||||
}
|
||||
|
||||
.login-footer a {
|
||||
color: #667eea;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.login-footer a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.divider {
|
||||
position: relative;
|
||||
margin: 1.5rem 0;
|
||||
text-align: center;
|
||||
color: var(--bs-gray-600);
|
||||
}
|
||||
|
||||
.divider::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background-color: var(--bs-gray-300);
|
||||
}
|
||||
|
||||
.divider span {
|
||||
background-color: var(--bs-body-bg);
|
||||
padding: 0 1rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.social-login {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 1rem;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
.social-btn {
|
||||
padding: 0.75rem;
|
||||
border: 1px solid var(--bs-gray-300);
|
||||
border-radius: var(--bs-border-radius);
|
||||
background-color: var(--bs-body-bg);
|
||||
color: var(--bs-body-color);
|
||||
text-decoration: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
transition: all 0.3s;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.social-btn:hover {
|
||||
border-color: #667eea;
|
||||
color: #667eea;
|
||||
background-color: rgba(102, 126, 234, 0.05);
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
position: fixed;
|
||||
top: 1rem;
|
||||
right: 1rem;
|
||||
background: none;
|
||||
border: none;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
font-size: 1.5rem;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] .theme-toggle {
|
||||
color: #fff;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<button class="theme-toggle" id="themeToggle" title="Toggle Dark Mode">
|
||||
<i class="fa-solid fa-moon"></i>
|
||||
</button>
|
||||
|
||||
<div class="login-container">
|
||||
<div class="login-card">
|
||||
<div class="login-header">
|
||||
<h1><i class="fa-solid fa-shield me-2"></i>SmartAdmin</h1>
|
||||
<p>Sign in to your account</p>
|
||||
</div>
|
||||
|
||||
<form id="loginForm">
|
||||
<div class="form-group">
|
||||
<label class="form-label">Email Address</label>
|
||||
<input type="email" class="form-control" placeholder="Enter your email" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label">Password</label>
|
||||
<input type="password" class="form-control" placeholder="Enter your password" required>
|
||||
</div>
|
||||
|
||||
<div class="form-check mb-3">
|
||||
<input type="checkbox" class="form-check-input" id="remember">
|
||||
<label class="form-check-label" for="remember">Remember me</label>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary w-100 py-2">
|
||||
<i class="fa-solid fa-sign-in-alt me-2"></i>Sign In
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<div class="divider"><span>or</span></div>
|
||||
|
||||
<div class="social-login">
|
||||
<a href="#" class="social-btn">
|
||||
<i class="fa-brands fa-google"></i>Google
|
||||
</a>
|
||||
<a href="#" class="social-btn">
|
||||
<i class="fa-brands fa-github"></i>GitHub
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="login-footer mt-4">
|
||||
<p>Don't have an account? <a href="#">Sign up here</a></p>
|
||||
<p><a href="#">Forgot your password?</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const themeToggle = document.getElementById('themeToggle');
|
||||
const html = document.documentElement;
|
||||
|
||||
const savedTheme = localStorage.getItem('theme') || 'light';
|
||||
html.setAttribute('data-bs-theme', savedTheme);
|
||||
updateThemeIcon();
|
||||
|
||||
themeToggle.addEventListener('click', () => {
|
||||
const currentTheme = html.getAttribute('data-bs-theme');
|
||||
const newTheme = currentTheme === 'light' ? 'dark' : 'light';
|
||||
html.setAttribute('data-bs-theme', newTheme);
|
||||
localStorage.setItem('theme', newTheme);
|
||||
updateThemeIcon();
|
||||
});
|
||||
|
||||
function updateThemeIcon() {
|
||||
const icon = themeToggle.querySelector('i');
|
||||
const currentTheme = html.getAttribute('data-bs-theme');
|
||||
if (currentTheme === 'dark') {
|
||||
icon.classList.remove('fa-moon');
|
||||
icon.classList.add('fa-sun');
|
||||
} else {
|
||||
icon.classList.add('fa-moon');
|
||||
icon.classList.remove('fa-sun');
|
||||
}
|
||||
}
|
||||
|
||||
document.getElementById('loginForm').addEventListener('submit', (e) => {
|
||||
e.preventDefault();
|
||||
alert('Login form submitted! This is a demo.');
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,553 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="light">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Component Library | SmartAdmin Bootstrap 5</title>
|
||||
<meta name="description" content="SmartAdmin Bootstrap 5 Component Library">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=5">
|
||||
|
||||
<link rel="icon" href="img/favicon-32x32.png" type="image/png" sizes="32x32">
|
||||
|
||||
<!-- SmartAdmin Bootstrap 5 - Modular CSS -->
|
||||
<link rel="stylesheet" media="screen, print" href="css/base.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/components.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/forms.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/tables.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/layout.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/darkmode.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/responsive.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/utilities.css">
|
||||
|
||||
<!-- Vendor CSS -->
|
||||
<link rel="stylesheet" media="screen, print" href="plugins/waves/waves.min.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/smartapp.min.css">
|
||||
|
||||
<!-- Icons -->
|
||||
<link rel="stylesheet" media="screen, print" href="webfonts/smartadmin/sa-icons.css">
|
||||
<link rel="stylesheet" media="screen, print" href="webfonts/fontawesome/fontawesome.css">
|
||||
|
||||
<style>
|
||||
body {
|
||||
padding: 2rem 0;
|
||||
}
|
||||
|
||||
.section {
|
||||
margin-bottom: 4rem;
|
||||
padding: 2rem;
|
||||
border-bottom: 2px solid var(--bs-gray-200);
|
||||
}
|
||||
|
||||
.section h2 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1.5rem;
|
||||
font-size: 1.75rem;
|
||||
font-weight: 700;
|
||||
color: var(--bs-primary);
|
||||
}
|
||||
|
||||
.section h3 {
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.component-group {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
gap: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.component-demo {
|
||||
padding: 1.5rem;
|
||||
background-color: var(--bs-gray-50);
|
||||
border-radius: var(--bs-border-radius-lg);
|
||||
border: 1px solid var(--bs-gray-200);
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] .component-demo {
|
||||
background-color: var(--bs-gray-800);
|
||||
border-color: var(--bs-gray-700);
|
||||
}
|
||||
|
||||
.component-demo > * + * {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.demo-label {
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
color: var(--bs-gray-600);
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.button-group {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.color-swatch {
|
||||
display: inline-block;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: var(--bs-border-radius);
|
||||
border: 1px solid var(--bs-gray-300);
|
||||
vertical-align: middle;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
.color-palette {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
||||
gap: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.color-item {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.color-item strong {
|
||||
display: block;
|
||||
font-size: 0.875rem;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1320px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
header {
|
||||
background: linear-gradient(135deg, var(--bs-primary) 0%, #1565c0 100%);
|
||||
color: white;
|
||||
padding: 3rem 2rem;
|
||||
margin-bottom: 3rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
margin: 0;
|
||||
font-size: 2.5rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
header p {
|
||||
margin: 0.5rem 0 0 0;
|
||||
font-size: 1.125rem;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
position: fixed;
|
||||
top: 2rem;
|
||||
right: 2rem;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.theme-toggle .btn {
|
||||
border-radius: 50%;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-shadow: var(--bs-box-shadow-lg);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.component-group {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
.section {
|
||||
padding: 1rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- Theme Toggle -->
|
||||
<div class="theme-toggle">
|
||||
<button class="btn btn-primary" id="themeToggle" title="Toggle Dark Mode">
|
||||
<i class="fa-solid fa-moon"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- Header -->
|
||||
<header>
|
||||
<h1>SmartAdmin Bootstrap 5</h1>
|
||||
<p>Component Library & Style Guide</p>
|
||||
</header>
|
||||
|
||||
<div class="container">
|
||||
<!-- Colors Section -->
|
||||
<section class="section">
|
||||
<h2>🎨 Color Palette</h2>
|
||||
|
||||
<h3>Primary Colors</h3>
|
||||
<div class="color-palette">
|
||||
<div class="color-item">
|
||||
<div class="color-swatch" style="background-color: var(--bs-primary);"></div>
|
||||
<strong>Primary</strong>
|
||||
<small>#2196f3</small>
|
||||
</div>
|
||||
<div class="color-item">
|
||||
<div class="color-swatch" style="background-color: var(--bs-secondary);"></div>
|
||||
<strong>Secondary</strong>
|
||||
<small>#757575</small>
|
||||
</div>
|
||||
<div class="color-item">
|
||||
<div class="color-swatch" style="background-color: var(--bs-success);"></div>
|
||||
<strong>Success</strong>
|
||||
<small>#4caf50</small>
|
||||
</div>
|
||||
<div class="color-item">
|
||||
<div class="color-swatch" style="background-color: var(--bs-danger);"></div>
|
||||
<strong>Danger</strong>
|
||||
<small>#f44336</small>
|
||||
</div>
|
||||
<div class="color-item">
|
||||
<div class="color-swatch" style="background-color: var(--bs-warning);"></div>
|
||||
<strong>Warning</strong>
|
||||
<small>#ff9800</small>
|
||||
</div>
|
||||
<div class="color-item">
|
||||
<div class="color-swatch" style="background-color: var(--bs-info);"></div>
|
||||
<strong>Info</strong>
|
||||
<small>#00bcd4</small>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Buttons Section -->
|
||||
<section class="section">
|
||||
<h2>🔘 Buttons</h2>
|
||||
|
||||
<h3>Button Variants</h3>
|
||||
<div class="component-group">
|
||||
<div class="component-demo">
|
||||
<div class="demo-label">Primary</div>
|
||||
<button class="btn btn-primary">Primary Button</button>
|
||||
<button class="btn btn-primary btn-sm">Small</button>
|
||||
<button class="btn btn-primary btn-lg">Large</button>
|
||||
</div>
|
||||
<div class="component-demo">
|
||||
<div class="demo-label">Success</div>
|
||||
<button class="btn btn-success">Success Button</button>
|
||||
<button class="btn btn-success btn-sm">Small</button>
|
||||
<button class="btn btn-success" disabled>Disabled</button>
|
||||
</div>
|
||||
<div class="component-demo">
|
||||
<div class="demo-label">Danger</div>
|
||||
<button class="btn btn-danger">Danger Button</button>
|
||||
<button class="btn btn-danger btn-sm">Small</button>
|
||||
<button class="btn btn-danger" disabled>Disabled</button>
|
||||
</div>
|
||||
<div class="component-demo">
|
||||
<div class="demo-label">Warning</div>
|
||||
<button class="btn btn-warning">Warning Button</button>
|
||||
<button class="btn btn-warning btn-sm">Small</button>
|
||||
<button class="btn btn-warning" disabled>Disabled</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3>Button Group</h3>
|
||||
<div class="component-demo">
|
||||
<div class="btn-group" role="group">
|
||||
<button type="button" class="btn btn-primary">Left</button>
|
||||
<button type="button" class="btn btn-primary">Middle</button>
|
||||
<button type="button" class="btn btn-primary">Right</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Cards Section -->
|
||||
<section class="section">
|
||||
<h2>📇 Cards</h2>
|
||||
<div class="component-group">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
Card Header
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Card Title</h5>
|
||||
<p class="card-text">This is a sample card body with some content.</p>
|
||||
<button class="btn btn-primary btn-sm">Learn More</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Simple Card</h5>
|
||||
<p class="card-text">Card without header or footer.</p>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
Card Footer
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Card with Badge</h5>
|
||||
<p class="card-text">
|
||||
<span class="badge badge-primary">Primary</span>
|
||||
<span class="badge badge-success">Success</span>
|
||||
<span class="badge badge-danger">Danger</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Badges Section -->
|
||||
<section class="section">
|
||||
<h2>🏷️ Badges</h2>
|
||||
<div class="component-group">
|
||||
<div class="component-demo">
|
||||
<div class="demo-label">Badge Variants</div>
|
||||
<span class="badge badge-primary me-2">Primary</span>
|
||||
<span class="badge badge-success me-2">Success</span>
|
||||
<span class="badge badge-danger me-2">Danger</span>
|
||||
<span class="badge badge-warning me-2">Warning</span>
|
||||
<span class="badge badge-info">Info</span>
|
||||
</div>
|
||||
<div class="component-demo">
|
||||
<div class="demo-label">Pill Badges</div>
|
||||
<span class="badge badge-primary badge-pill me-2">Primary</span>
|
||||
<span class="badge badge-success badge-pill me-2">Success</span>
|
||||
<span class="badge badge-danger badge-pill">Danger</span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Alerts Section -->
|
||||
<section class="section">
|
||||
<h2>⚠️ Alerts</h2>
|
||||
<div class="component-group" style="grid-template-columns: 1fr;">
|
||||
<div class="alert alert-primary">
|
||||
<i class="fa-solid fa-info-circle me-2"></i>
|
||||
<strong>Info Alert:</strong> This is an informational message.
|
||||
</div>
|
||||
<div class="alert alert-success">
|
||||
<i class="fa-solid fa-check-circle me-2"></i>
|
||||
<strong>Success Alert:</strong> Operation completed successfully!
|
||||
</div>
|
||||
<div class="alert alert-warning">
|
||||
<i class="fa-solid fa-exclamation-triangle me-2"></i>
|
||||
<strong>Warning Alert:</strong> Please be careful with this action.
|
||||
</div>
|
||||
<div class="alert alert-danger">
|
||||
<i class="fa-solid fa-exclamation-circle me-2"></i>
|
||||
<strong>Danger Alert:</strong> An error occurred, please try again.
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Forms Section -->
|
||||
<section class="section">
|
||||
<h2>📝 Forms</h2>
|
||||
|
||||
<h3>Input Fields</h3>
|
||||
<div class="component-demo" style="max-width: 400px;">
|
||||
<div class="form-group">
|
||||
<label class="form-label required">Text Input</label>
|
||||
<input type="text" class="form-control" placeholder="Enter text">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label">Email Input</label>
|
||||
<input type="email" class="form-control" placeholder="user@example.com">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label">Password Input</label>
|
||||
<input type="password" class="form-control" placeholder="••••••••">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label">Select</label>
|
||||
<select class="form-select">
|
||||
<option>Choose option</option>
|
||||
<option>Option 1</option>
|
||||
<option>Option 2</option>
|
||||
<option>Option 3</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label">Textarea</label>
|
||||
<textarea class="form-control" rows="3" placeholder="Enter your message..."></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3>Checkboxes & Radio</h3>
|
||||
<div class="component-demo" style="max-width: 300px;">
|
||||
<div class="form-check">
|
||||
<input type="checkbox" class="form-check-input" id="check1">
|
||||
<label class="form-check-label" for="check1">Checkbox 1</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input type="checkbox" class="form-check-input" id="check2" checked>
|
||||
<label class="form-check-label" for="check2">Checkbox 2 (Checked)</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input type="radio" class="form-check-input" name="radio" id="radio1" checked>
|
||||
<label class="form-check-label" for="radio1">Radio 1</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input type="radio" class="form-check-input" name="radio" id="radio2">
|
||||
<label class="form-check-label" for="radio2">Radio 2</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3>Form Validation</h3>
|
||||
<div class="component-demo" style="max-width: 400px;">
|
||||
<div class="form-group">
|
||||
<label class="form-label">Valid Input</label>
|
||||
<input type="text" class="form-control is-valid" value="Valid input">
|
||||
<div class="valid-feedback">Looks good!</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label">Invalid Input</label>
|
||||
<input type="text" class="form-control is-invalid" value="Invalid">
|
||||
<div class="invalid-feedback">This field is required.</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Tables Section -->
|
||||
<section class="section">
|
||||
<h2>📊 Tables</h2>
|
||||
<div class="component-demo">
|
||||
<table class="table table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Name</th>
|
||||
<th>Email</th>
|
||||
<th>Status</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>#001</td>
|
||||
<td>John Doe</td>
|
||||
<td>john@example.com</td>
|
||||
<td><span class="badge badge-success">Active</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>#002</td>
|
||||
<td>Jane Smith</td>
|
||||
<td>jane@example.com</td>
|
||||
<td><span class="badge badge-success">Active</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>#003</td>
|
||||
<td>Bob Johnson</td>
|
||||
<td>bob@example.com</td>
|
||||
<td><span class="badge badge-danger">Inactive</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Typography Section -->
|
||||
<section class="section">
|
||||
<h2>📝 Typography</h2>
|
||||
|
||||
<h3>Headings</h3>
|
||||
<div class="component-demo">
|
||||
<h1>Heading 1</h1>
|
||||
<h2>Heading 2</h2>
|
||||
<h3>Heading 3</h3>
|
||||
<h4>Heading 4</h4>
|
||||
<h5>Heading 5</h5>
|
||||
<h6>Heading 6</h6>
|
||||
</div>
|
||||
|
||||
<h3>Text Styles</h3>
|
||||
<div class="component-demo">
|
||||
<p><strong>Bold Text:</strong> Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
||||
<p><em>Italic Text:</em> Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
||||
<p><u>Underlined Text:</u> Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
||||
<p><del>Deleted Text:</del> Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
||||
<p><small>Small Text:</small> Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Utilities Section -->
|
||||
<section class="section">
|
||||
<h2>⚙️ Utilities</h2>
|
||||
|
||||
<h3>Text Alignment</h3>
|
||||
<div class="component-demo">
|
||||
<p class="text-start">Left aligned text</p>
|
||||
<p class="text-center">Center aligned text</p>
|
||||
<p class="text-end">Right aligned text</p>
|
||||
</div>
|
||||
|
||||
<h3>Text Colors</h3>
|
||||
<div class="component-demo">
|
||||
<p class="text-primary">Primary text</p>
|
||||
<p class="text-success">Success text</p>
|
||||
<p class="text-danger">Danger text</p>
|
||||
<p class="text-warning">Warning text</p>
|
||||
<p class="text-muted">Muted text</p>
|
||||
</div>
|
||||
|
||||
<h3>Background Colors</h3>
|
||||
<div class="component-demo">
|
||||
<div class="bg-primary text-white p-3 mb-2">Primary Background</div>
|
||||
<div class="bg-success text-white p-3 mb-2">Success Background</div>
|
||||
<div class="bg-danger text-white p-3 mb-2">Danger Background</div>
|
||||
<div class="bg-warning text-white p-3 mb-2">Warning Background</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// Theme Toggle
|
||||
const themeToggle = document.getElementById('themeToggle');
|
||||
const html = document.documentElement;
|
||||
|
||||
// Check saved preference
|
||||
const savedTheme = localStorage.getItem('theme') || 'light';
|
||||
html.setAttribute('data-bs-theme', savedTheme);
|
||||
updateThemeIcon();
|
||||
|
||||
themeToggle.addEventListener('click', () => {
|
||||
const currentTheme = html.getAttribute('data-bs-theme');
|
||||
const newTheme = currentTheme === 'light' ? 'dark' : 'light';
|
||||
html.setAttribute('data-bs-theme', newTheme);
|
||||
localStorage.setItem('theme', newTheme);
|
||||
updateThemeIcon();
|
||||
});
|
||||
|
||||
function updateThemeIcon() {
|
||||
const currentTheme = html.getAttribute('data-bs-theme');
|
||||
const icon = themeToggle.querySelector('i');
|
||||
if (currentTheme === 'dark') {
|
||||
icon.classList.remove('fa-moon');
|
||||
icon.classList.add('fa-sun');
|
||||
themeToggle.classList.remove('btn-primary');
|
||||
themeToggle.classList.add('btn-warning');
|
||||
} else {
|
||||
icon.classList.add('fa-moon');
|
||||
icon.classList.remove('fa-sun');
|
||||
themeToggle.classList.add('btn-primary');
|
||||
themeToggle.classList.remove('btn-warning');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,398 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="light">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Control Center Dashboard | SmartAdmin</title>
|
||||
<meta name="description" content="SmartAdmin Dashboard">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=5">
|
||||
|
||||
<link rel="icon" href="img/favicon-32x32.png" type="image/png" sizes="32x32">
|
||||
|
||||
<!-- SmartAdmin Bootstrap 5 - Modular CSS -->
|
||||
<link rel="stylesheet" media="screen, print" href="css/base.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/components.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/forms.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/tables.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/layout.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/darkmode.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/responsive.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/utilities.css">
|
||||
|
||||
<link rel="stylesheet" media="screen, print" href="plugins/waves/waves.min.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/smartapp.min.css">
|
||||
<link rel="stylesheet" media="screen, print" href="webfonts/smartadmin/sa-icons.css">
|
||||
<link rel="stylesheet" media="screen, print" href="webfonts/fontawesome/fontawesome.css">
|
||||
|
||||
<style>
|
||||
body {
|
||||
background-color: var(--bs-gray-50);
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] body {
|
||||
background-color: var(--bs-gray-900);
|
||||
}
|
||||
|
||||
.app-header {
|
||||
background-color: var(--bs-body-bg);
|
||||
border-bottom: 1px solid var(--bs-gray-200);
|
||||
padding: 1rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
box-shadow: var(--bs-box-shadow);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.app-logo {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: var(--bs-primary);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.breadcrumb {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.stat-card {
|
||||
background-color: var(--bs-body-bg);
|
||||
border: 1px solid var(--bs-gray-200);
|
||||
border-radius: var(--bs-border-radius-lg);
|
||||
padding: 1.5rem;
|
||||
text-align: center;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.stat-card:hover {
|
||||
box-shadow: var(--bs-box-shadow-lg);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 700;
|
||||
color: var(--bs-primary);
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.stat-label {
|
||||
color: var(--bs-gray-600);
|
||||
font-size: 0.9rem;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.chart-placeholder {
|
||||
background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(76, 175, 80, 0.1) 100%);
|
||||
border-radius: var(--bs-border-radius-lg);
|
||||
padding: 3rem;
|
||||
text-align: center;
|
||||
color: var(--bs-gray-600);
|
||||
border: 2px dashed var(--bs-gray-300);
|
||||
}
|
||||
|
||||
.recent-activity {
|
||||
background-color: var(--bs-body-bg);
|
||||
border-radius: var(--bs-border-radius-lg);
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
.activity-item {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
border-bottom: 1px solid var(--bs-gray-200);
|
||||
}
|
||||
|
||||
.activity-item:last-child {
|
||||
border-bottom: none;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.activity-icon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
background-color: var(--bs-gray-100);
|
||||
color: var(--bs-primary);
|
||||
}
|
||||
|
||||
.activity-content h6 {
|
||||
margin: 0 0 0.25rem 0;
|
||||
}
|
||||
|
||||
.activity-time {
|
||||
color: var(--bs-gray-600);
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.nav-top {
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
margin-left: auto;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.nav-top a {
|
||||
color: var(--bs-body-color);
|
||||
text-decoration: none;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.nav-top a:hover {
|
||||
color: var(--bs-primary);
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--bs-body-color);
|
||||
cursor: pointer;
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.page-title {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.nav-top {
|
||||
gap: 1rem;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- Header -->
|
||||
<header class="app-header">
|
||||
<a href="index-new.html" class="app-logo">
|
||||
<i class="fa-solid fa-chart-line me-2"></i>SmartAdmin
|
||||
</a>
|
||||
<nav>
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="index-new.html">Home</a></li>
|
||||
<li class="breadcrumb-item active">Dashboard</li>
|
||||
</ol>
|
||||
</nav>
|
||||
<ul class="nav-top">
|
||||
<li><a href="components-showcase.html">Components</a></li>
|
||||
<li><a href="auth-login-new.html">Login</a></li>
|
||||
</ul>
|
||||
<button class="theme-toggle" id="themeToggle" title="Toggle Dark Mode">
|
||||
<i class="fa-solid fa-moon"></i>
|
||||
</button>
|
||||
</header>
|
||||
|
||||
<!-- Main Content -->
|
||||
<main style="padding: 2rem;">
|
||||
<div class="container-xxl">
|
||||
<div class="page-title">Control Center Dashboard</div>
|
||||
|
||||
<!-- Statistics Cards -->
|
||||
<div class="row mb-4">
|
||||
<div class="col-12 col-sm-6 col-md-3 mb-3">
|
||||
<div class="stat-card">
|
||||
<div class="stat-value">$45,230</div>
|
||||
<div class="stat-label">Total Revenue</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-3 mb-3">
|
||||
<div class="stat-card">
|
||||
<div class="stat-value">1,234</div>
|
||||
<div class="stat-label">New Users</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-3 mb-3">
|
||||
<div class="stat-card">
|
||||
<div class="stat-value">89.2%</div>
|
||||
<div class="stat-label">Conversion Rate</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-3 mb-3">
|
||||
<div class="stat-card">
|
||||
<div class="stat-value">412</div>
|
||||
<div class="stat-label">Active Sessions</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Charts Row -->
|
||||
<div class="row mb-4">
|
||||
<div class="col-12 col-lg-8 mb-3">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fa-solid fa-chart-line me-2"></i>Revenue Trend
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="chart-placeholder">
|
||||
<i class="fa-solid fa-chart-area" style="font-size: 3rem; opacity: 0.3;"></i>
|
||||
<p style="margin-top: 1rem;">Chart visualization goes here</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-lg-4 mb-3">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fa-solid fa-chart-pie me-2"></i>Distribution
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="chart-placeholder">
|
||||
<i class="fa-solid fa-circle-notch" style="font-size: 3rem; opacity: 0.3;"></i>
|
||||
<p style="margin-top: 1rem;">Pie chart goes here</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Recent Activity -->
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-6 mb-3">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fa-solid fa-history me-2"></i>Recent Activity
|
||||
</div>
|
||||
<div class="recent-activity">
|
||||
<div class="activity-item">
|
||||
<div class="activity-icon">
|
||||
<i class="fa-solid fa-user-check"></i>
|
||||
</div>
|
||||
<div>
|
||||
<h6>New user registered</h6>
|
||||
<p>John Doe joined the platform</p>
|
||||
<span class="activity-time">2 minutes ago</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="activity-item">
|
||||
<div class="activity-icon" style="background-color: rgba(76, 175, 80, 0.1); color: var(--bs-success);">
|
||||
<i class="fa-solid fa-check-circle"></i>
|
||||
</div>
|
||||
<div>
|
||||
<h6>Payment processed</h6>
|
||||
<p>$2,450 transaction completed</p>
|
||||
<span class="activity-time">15 minutes ago</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="activity-item">
|
||||
<div class="activity-icon" style="background-color: rgba(244, 67, 54, 0.1); color: var(--bs-danger);">
|
||||
<i class="fa-solid fa-exclamation-circle"></i>
|
||||
</div>
|
||||
<div>
|
||||
<h6>High server load detected</h6>
|
||||
<p>CPU usage at 85%</p>
|
||||
<span class="activity-time">1 hour ago</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="activity-item">
|
||||
<div class="activity-icon" style="background-color: rgba(255, 152, 0, 0.1); color: var(--bs-warning);">
|
||||
<i class="fa-solid fa-bell"></i>
|
||||
</div>
|
||||
<div>
|
||||
<h6>System update available</h6>
|
||||
<p>Version 2.5.0 is ready to install</p>
|
||||
<span class="activity-time">3 hours ago</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-lg-6 mb-3">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fa-solid fa-list me-2"></i>Top Performing Pages
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
<table class="table table-hover mb-0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Page</th>
|
||||
<th>Views</th>
|
||||
<th>Status</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>/dashboard</td>
|
||||
<td>12,450</td>
|
||||
<td><span class="badge badge-success">Active</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>/products</td>
|
||||
<td>8,230</td>
|
||||
<td><span class="badge badge-success">Active</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>/analytics</td>
|
||||
<td>6,120</td>
|
||||
<td><span class="badge badge-success">Active</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>/settings</td>
|
||||
<td>3,450</td>
|
||||
<td><span class="badge badge-warning">Moderate</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>/help</td>
|
||||
<td>1,220</td>
|
||||
<td><span class="badge badge-info">Low</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<script>
|
||||
const themeToggle = document.getElementById('themeToggle');
|
||||
const html = document.documentElement;
|
||||
|
||||
const savedTheme = localStorage.getItem('theme') || 'light';
|
||||
html.setAttribute('data-bs-theme', savedTheme);
|
||||
updateThemeIcon();
|
||||
|
||||
themeToggle.addEventListener('click', () => {
|
||||
const currentTheme = html.getAttribute('data-bs-theme');
|
||||
const newTheme = currentTheme === 'light' ? 'dark' : 'light';
|
||||
html.setAttribute('data-bs-theme', newTheme);
|
||||
localStorage.setItem('theme', newTheme);
|
||||
updateThemeIcon();
|
||||
});
|
||||
|
||||
function updateThemeIcon() {
|
||||
const icon = themeToggle.querySelector('i');
|
||||
const currentTheme = html.getAttribute('data-bs-theme');
|
||||
if (currentTheme === 'dark') {
|
||||
icon.classList.remove('fa-moon');
|
||||
icon.classList.add('fa-sun');
|
||||
} else {
|
||||
icon.classList.add('fa-moon');
|
||||
icon.classList.remove('fa-sun');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,309 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="light">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Form Inputs | SmartAdmin</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
||||
<link rel="icon" href="img/favicon-32x32.png" type="image/png">
|
||||
|
||||
<link rel="stylesheet" media="screen, print" href="css/base.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/components.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/forms.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/layout.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/darkmode.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/responsive.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/utilities.css">
|
||||
|
||||
<link rel="stylesheet" media="screen, print" href="plugins/waves/waves.min.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/smartapp.min.css">
|
||||
<link rel="stylesheet" media="screen, print" href="webfonts/smartadmin/sa-icons.css">
|
||||
<link rel="stylesheet" media="screen, print" href="webfonts/fontawesome/fontawesome.css">
|
||||
|
||||
<style>
|
||||
body {
|
||||
background-color: var(--bs-gray-50);
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] body {
|
||||
background-color: var(--bs-gray-900);
|
||||
}
|
||||
|
||||
.app-header {
|
||||
background-color: var(--bs-body-bg);
|
||||
border-bottom: 1px solid var(--bs-gray-200);
|
||||
padding: 1rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
box-shadow: var(--bs-box-shadow);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.app-logo {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: var(--bs-primary);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
font-size: 1.75rem;
|
||||
font-weight: 700;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.form-section {
|
||||
background-color: var(--bs-body-bg);
|
||||
border-radius: var(--bs-border-radius-lg);
|
||||
border: 1px solid var(--bs-gray-200);
|
||||
padding: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.form-section h3 {
|
||||
margin-bottom: 1.5rem;
|
||||
padding-bottom: 1rem;
|
||||
border-bottom: 2px solid var(--bs-gray-200);
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--bs-body-color);
|
||||
cursor: pointer;
|
||||
font-size: 1.25rem;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.form-section {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- Header -->
|
||||
<header class="app-header">
|
||||
<a href="index-new.html" class="app-logo">
|
||||
<i class="fa-solid fa-chart-line me-2"></i>SmartAdmin
|
||||
</a>
|
||||
<button class="theme-toggle" id="themeToggle">
|
||||
<i class="fa-solid fa-moon"></i>
|
||||
</button>
|
||||
</header>
|
||||
|
||||
<!-- Main Content -->
|
||||
<main style="padding: 2rem;">
|
||||
<div class="container-lg">
|
||||
<h1 class="page-title">Form Inputs & Validation</h1>
|
||||
|
||||
<!-- Basic Inputs -->
|
||||
<div class="form-section">
|
||||
<h3>Basic Input Fields</h3>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="form-label required">First Name</label>
|
||||
<input type="text" class="form-control" placeholder="John">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="form-label required">Last Name</label>
|
||||
<input type="text" class="form-control" placeholder="Doe">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label required">Email Address</label>
|
||||
<input type="email" class="form-control" placeholder="john.doe@example.com">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label">Phone Number</label>
|
||||
<input type="tel" class="form-control" placeholder="+1 (555) 123-4567">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Select & Textarea -->
|
||||
<div class="form-section">
|
||||
<h3>Dropdowns & Textarea</h3>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="form-label">Country</label>
|
||||
<select class="form-select">
|
||||
<option>Select a country...</option>
|
||||
<option>United States</option>
|
||||
<option>Canada</option>
|
||||
<option>United Kingdom</option>
|
||||
<option>Australia</option>
|
||||
<option>Germany</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="form-label">Category</label>
|
||||
<select class="form-select">
|
||||
<option>Select...</option>
|
||||
<option>Business</option>
|
||||
<option>Personal</option>
|
||||
<option>Enterprise</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label">Message</label>
|
||||
<textarea class="form-control" rows="4" placeholder="Enter your message here..."></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Checkboxes & Radio -->
|
||||
<div class="form-section">
|
||||
<h3>Checkboxes & Radio Buttons</h3>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<h5>Checkboxes</h5>
|
||||
<div class="form-check">
|
||||
<input type="checkbox" class="form-check-input" id="check1">
|
||||
<label class="form-check-label" for="check1">Agree to terms and conditions</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input type="checkbox" class="form-check-input" id="check2" checked>
|
||||
<label class="form-check-label" for="check2">Subscribe to newsletter</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input type="checkbox" class="form-check-input" id="check3">
|
||||
<label class="form-check-label" for="check3">Receive notifications</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h5>Radio Buttons</h5>
|
||||
<div class="form-check">
|
||||
<input type="radio" class="form-check-input" name="plan" id="plan1">
|
||||
<label class="form-check-label" for="plan1">Basic Plan</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input type="radio" class="form-check-input" name="plan" id="plan2" checked>
|
||||
<label class="form-check-label" for="plan2">Pro Plan</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input type="radio" class="form-check-input" name="plan" id="plan3">
|
||||
<label class="form-check-label" for="plan3">Enterprise Plan</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Validation States -->
|
||||
<div class="form-section">
|
||||
<h3>Validation States</h3>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="form-label">Valid Input</label>
|
||||
<input type="text" class="form-control is-valid" value="Looks good!">
|
||||
<div class="valid-feedback" style="display: block;">
|
||||
<i class="fa-solid fa-check-circle me-2"></i>Validation passed
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="form-label">Invalid Input</label>
|
||||
<input type="text" class="form-control is-invalid" value="Invalid value">
|
||||
<div class="invalid-feedback" style="display: block;">
|
||||
<i class="fa-solid fa-exclamation-circle me-2"></i>Please correct this
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Input Sizes -->
|
||||
<div class="form-section">
|
||||
<h3>Input Sizes</h3>
|
||||
<div class="form-group">
|
||||
<label class="form-label">Small Input</label>
|
||||
<input type="text" class="form-control form-control-sm" placeholder="Small size">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label">Default Input</label>
|
||||
<input type="text" class="form-control" placeholder="Default size">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label">Large Input</label>
|
||||
<input type="text" class="form-control form-control-lg" placeholder="Large size">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Form Actions -->
|
||||
<div class="form-section">
|
||||
<h3>Form Actions</h3>
|
||||
<div class="d-flex gap-2" style="flex-wrap: wrap;">
|
||||
<button class="btn btn-primary">
|
||||
<i class="fa-solid fa-save me-2"></i>Save Changes
|
||||
</button>
|
||||
<button class="btn btn-success">
|
||||
<i class="fa-solid fa-check me-2"></i>Submit
|
||||
</button>
|
||||
<button class="btn btn-warning">
|
||||
<i class="fa-solid fa-redo me-2"></i>Reset
|
||||
</button>
|
||||
<button class="btn btn-danger">
|
||||
<i class="fa-solid fa-trash me-2"></i>Delete
|
||||
</button>
|
||||
<button class="btn btn-secondary">
|
||||
<i class="fa-solid fa-times me-2"></i>Cancel
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<script>
|
||||
const themeToggle = document.getElementById('themeToggle');
|
||||
const html = document.documentElement;
|
||||
|
||||
const savedTheme = localStorage.getItem('theme') || 'light';
|
||||
html.setAttribute('data-bs-theme', savedTheme);
|
||||
updateThemeIcon();
|
||||
|
||||
themeToggle.addEventListener('click', () => {
|
||||
const currentTheme = html.getAttribute('data-bs-theme');
|
||||
const newTheme = currentTheme === 'light' ? 'dark' : 'light';
|
||||
html.setAttribute('data-bs-theme', newTheme);
|
||||
localStorage.setItem('theme', newTheme);
|
||||
updateThemeIcon();
|
||||
});
|
||||
|
||||
function updateThemeIcon() {
|
||||
const icon = themeToggle.querySelector('i');
|
||||
const currentTheme = html.getAttribute('data-bs-theme');
|
||||
if (currentTheme === 'dark') {
|
||||
icon.classList.remove('fa-moon');
|
||||
icon.classList.add('fa-sun');
|
||||
} else {
|
||||
icon.classList.add('fa-moon');
|
||||
icon.classList.remove('fa-sun');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,330 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="light">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Home | SmartAdmin - Enterprise Admin Dashboard</title>
|
||||
<meta name="description" content="SmartAdmin Bootstrap 5 - Enterprise Admin Dashboard">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=5">
|
||||
|
||||
<link rel="icon" href="img/favicon-32x32.png" type="image/png" sizes="32x32">
|
||||
<link rel="apple-touch-icon" href="img/apple-touch-icon.png" sizes="180x180">
|
||||
|
||||
<!-- SmartAdmin Bootstrap 5 - Modular CSS -->
|
||||
<link rel="stylesheet" media="screen, print" href="css/base.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/components.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/forms.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/tables.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/layout.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/darkmode.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/responsive.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/utilities.css">
|
||||
|
||||
<!-- Vendor CSS -->
|
||||
<link rel="stylesheet" media="screen, print" href="plugins/waves/waves.min.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/smartapp.min.css">
|
||||
|
||||
<!-- Icons -->
|
||||
<link rel="stylesheet" media="screen, print" href="webfonts/smartadmin/sa-icons.css">
|
||||
<link rel="stylesheet" media="screen, print" href="webfonts/fontawesome/fontawesome.css">
|
||||
|
||||
<style>
|
||||
.app-wrap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.app-header {
|
||||
background-color: var(--bs-body-bg);
|
||||
border-bottom: 1px solid var(--bs-gray-200);
|
||||
padding: 1rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
box-shadow: var(--bs-box-shadow);
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.app-logo {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: var(--bs-primary);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nav-menu {
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
margin-left: auto;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.nav-menu a {
|
||||
color: var(--bs-body-color);
|
||||
text-decoration: none;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.nav-menu a:hover {
|
||||
color: var(--bs-primary);
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--bs-body-color);
|
||||
cursor: pointer;
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.hero-section {
|
||||
background: linear-gradient(135deg, var(--bs-primary) 0%, #1565c0 100%);
|
||||
color: white;
|
||||
padding: 6rem 2rem;
|
||||
text-align: center;
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.hero-section h1 {
|
||||
font-size: 3rem;
|
||||
font-weight: 700;
|
||||
margin-bottom: 1rem;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.hero-section p {
|
||||
font-size: 1.25rem;
|
||||
margin-bottom: 2rem;
|
||||
opacity: 0.95;
|
||||
}
|
||||
|
||||
.btn-group-center {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.features {
|
||||
padding: 4rem 2rem;
|
||||
background-color: var(--bs-gray-50);
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] .features {
|
||||
background-color: var(--bs-gray-900);
|
||||
}
|
||||
|
||||
.feature-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
gap: 2rem;
|
||||
max-width: 1320px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.feature-card {
|
||||
background-color: var(--bs-body-bg);
|
||||
padding: 2rem;
|
||||
border-radius: var(--bs-border-radius-lg);
|
||||
border: 1px solid var(--bs-gray-200);
|
||||
text-align: center;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.feature-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: var(--bs-box-shadow-lg);
|
||||
}
|
||||
|
||||
.feature-icon {
|
||||
font-size: 2.5rem;
|
||||
color: var(--bs-primary);
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.feature-card h3 {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.feature-card p {
|
||||
color: var(--bs-gray-600);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
footer {
|
||||
background-color: var(--bs-gray-100);
|
||||
border-top: 1px solid var(--bs-gray-200);
|
||||
padding: 2rem;
|
||||
text-align: center;
|
||||
color: var(--bs-gray-600);
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] footer {
|
||||
background-color: var(--bs-gray-800);
|
||||
border-top-color: var(--bs-gray-700);
|
||||
color: var(--bs-gray-400);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.hero-section h1 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.hero-section p {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.nav-menu {
|
||||
gap: 1rem;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.hero-section {
|
||||
padding: 4rem 1rem;
|
||||
}
|
||||
|
||||
.features {
|
||||
padding: 2rem 1rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="app-wrap">
|
||||
<!-- Header -->
|
||||
<header class="app-header">
|
||||
<a href="index-new.html" class="app-logo">
|
||||
<i class="fa-solid fa-chart-line me-2"></i>SmartAdmin
|
||||
</a>
|
||||
<ul class="nav-menu">
|
||||
<li><a href="components-showcase.html">Components</a></li>
|
||||
<li><a href="dashboard-control-center-new.html">Dashboard</a></li>
|
||||
<li><a href="auth-login-new.html">Login</a></li>
|
||||
<li><a href="STYLE_GUIDE.md">Guide</a></li>
|
||||
</ul>
|
||||
<button class="theme-toggle" id="themeToggle" title="Toggle Dark Mode">
|
||||
<i class="fa-solid fa-moon"></i>
|
||||
</button>
|
||||
</header>
|
||||
|
||||
<!-- Hero Section -->
|
||||
<section class="hero-section">
|
||||
<div>
|
||||
<h1>SmartAdmin Bootstrap 5</h1>
|
||||
<p>Enterprise Admin Dashboard Template</p>
|
||||
<p style="font-size: 1rem; opacity: 0.8;">Modern, Responsive, Feature-Rich</p>
|
||||
<div class="btn-group-center">
|
||||
<a href="dashboard-control-center-new.html" class="btn btn-light btn-lg">
|
||||
<i class="fa-solid fa-rocket me-2"></i>Launch Dashboard
|
||||
</a>
|
||||
<a href="components-showcase.html" class="btn btn-outline-light btn-lg">
|
||||
<i class="fa-solid fa-palette me-2"></i>View Components
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Features Section -->
|
||||
<section class="features">
|
||||
<div class="container-xxl">
|
||||
<div style="text-align: center; margin-bottom: 3rem;">
|
||||
<h2 style="color: var(--bs-body-color);">Key Features</h2>
|
||||
<p style="color: var(--bs-gray-600); font-size: 1.1rem;">Everything you need for a modern admin dashboard</p>
|
||||
</div>
|
||||
|
||||
<div class="feature-grid">
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon">
|
||||
<i class="fa-solid fa-palette"></i>
|
||||
</div>
|
||||
<h3>Modern Design</h3>
|
||||
<p>Beautiful, clean interface based on Bootstrap 5</p>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon">
|
||||
<i class="fa-solid fa-mobile"></i>
|
||||
</div>
|
||||
<h3>Fully Responsive</h3>
|
||||
<p>Perfect on mobile, tablet, and desktop screens</p>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon">
|
||||
<i class="fa-solid fa-moon"></i>
|
||||
</div>
|
||||
<h3>Dark Mode Support</h3>
|
||||
<p>Toggle between light and dark themes</p>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon">
|
||||
<i class="fa-solid fa-cube"></i>
|
||||
</div>
|
||||
<h3>Modular CSS</h3>
|
||||
<p>8 organized CSS modules for easy customization</p>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon">
|
||||
<i class="fa-solid fa-bolt"></i>
|
||||
</div>
|
||||
<h3>High Performance</h3>
|
||||
<p>Optimized for speed and user experience</p>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon">
|
||||
<i class="fa-solid fa-code"></i>
|
||||
</div>
|
||||
<h3>Well Documented</h3>
|
||||
<p>Complete style guide and component library</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer>
|
||||
<p>© 2026 SmartAdmin. All rights reserved.</p>
|
||||
<p style="font-size: 0.9rem;">Built with Bootstrap 5 & Modern Web Standards</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// Theme Toggle
|
||||
const themeToggle = document.getElementById('themeToggle');
|
||||
const html = document.documentElement;
|
||||
|
||||
// Load saved theme
|
||||
const savedTheme = localStorage.getItem('theme') || 'light';
|
||||
html.setAttribute('data-bs-theme', savedTheme);
|
||||
updateThemeIcon();
|
||||
|
||||
themeToggle.addEventListener('click', () => {
|
||||
const currentTheme = html.getAttribute('data-bs-theme');
|
||||
const newTheme = currentTheme === 'light' ? 'dark' : 'light';
|
||||
html.setAttribute('data-bs-theme', newTheme);
|
||||
localStorage.setItem('theme', newTheme);
|
||||
updateThemeIcon();
|
||||
});
|
||||
|
||||
function updateThemeIcon() {
|
||||
const icon = themeToggle.querySelector('i');
|
||||
const currentTheme = html.getAttribute('data-bs-theme');
|
||||
if (currentTheme === 'dark') {
|
||||
icon.classList.remove('fa-moon');
|
||||
icon.classList.add('fa-sun');
|
||||
} else {
|
||||
icon.classList.add('fa-moon');
|
||||
icon.classList.remove('fa-sun');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,372 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="light">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Basic Tables | SmartAdmin</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
||||
<link rel="icon" href="img/favicon-32x32.png" type="image/png">
|
||||
|
||||
<link rel="stylesheet" media="screen, print" href="css/base.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/components.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/forms.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/tables.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/layout.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/darkmode.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/responsive.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/utilities.css">
|
||||
|
||||
<link rel="stylesheet" media="screen, print" href="plugins/waves/waves.min.css">
|
||||
<link rel="stylesheet" media="screen, print" href="css/smartapp.min.css">
|
||||
<link rel="stylesheet" media="screen, print" href="webfonts/smartadmin/sa-icons.css">
|
||||
<link rel="stylesheet" media="screen, print" href="webfonts/fontawesome/fontawesome.css">
|
||||
|
||||
<style>
|
||||
body {
|
||||
background-color: var(--bs-gray-50);
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] body {
|
||||
background-color: var(--bs-gray-900);
|
||||
}
|
||||
|
||||
.app-header {
|
||||
background-color: var(--bs-body-bg);
|
||||
border-bottom: 1px solid var(--bs-gray-200);
|
||||
padding: 1rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
box-shadow: var(--bs-box-shadow);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.app-logo {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: var(--bs-primary);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
font-size: 1.75rem;
|
||||
font-weight: 700;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.table-card {
|
||||
background-color: var(--bs-body-bg);
|
||||
border-radius: var(--bs-border-radius-lg);
|
||||
border: 1px solid var(--bs-gray-200);
|
||||
margin-bottom: 2rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.table-card-header {
|
||||
background-color: var(--bs-gray-100);
|
||||
border-bottom: 1px solid var(--bs-gray-200);
|
||||
padding: 1.5rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] .table-card-header {
|
||||
background-color: var(--bs-gray-800);
|
||||
border-bottom-color: var(--bs-gray-700);
|
||||
}
|
||||
|
||||
.table-card-header h3 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.table-responsive {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.table {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--bs-body-color);
|
||||
cursor: pointer;
|
||||
font-size: 1.25rem;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.page-title {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.table-card-header {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 1rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- Header -->
|
||||
<header class="app-header">
|
||||
<a href="index-new.html" class="app-logo">
|
||||
<i class="fa-solid fa-chart-line me-2"></i>SmartAdmin
|
||||
</a>
|
||||
<button class="theme-toggle" id="themeToggle">
|
||||
<i class="fa-solid fa-moon"></i>
|
||||
</button>
|
||||
</header>
|
||||
|
||||
<!-- Main Content -->
|
||||
<main style="padding: 2rem;">
|
||||
<div class="container-lg">
|
||||
<h1 class="page-title">Basic Tables</h1>
|
||||
|
||||
<!-- Simple Table -->
|
||||
<div class="table-card">
|
||||
<div class="table-card-header">
|
||||
<h3><i class="fa-solid fa-table me-2"></i>Simple Table</h3>
|
||||
<button class="btn btn-sm btn-primary">
|
||||
<i class="fa-solid fa-download me-1"></i>Export
|
||||
</button>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Name</th>
|
||||
<th>Email</th>
|
||||
<th>Phone</th>
|
||||
<th>Status</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>#001</td>
|
||||
<td>John Doe</td>
|
||||
<td>john@example.com</td>
|
||||
<td>+1 (555) 123-4567</td>
|
||||
<td><span class="badge badge-success">Active</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>#002</td>
|
||||
<td>Jane Smith</td>
|
||||
<td>jane@example.com</td>
|
||||
<td>+1 (555) 234-5678</td>
|
||||
<td><span class="badge badge-success">Active</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>#003</td>
|
||||
<td>Bob Johnson</td>
|
||||
<td>bob@example.com</td>
|
||||
<td>+1 (555) 345-6789</td>
|
||||
<td><span class="badge badge-warning">Pending</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>#004</td>
|
||||
<td>Alice Williams</td>
|
||||
<td>alice@example.com</td>
|
||||
<td>+1 (555) 456-7890</td>
|
||||
<td><span class="badge badge-danger">Inactive</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Striped Table -->
|
||||
<div class="table-card">
|
||||
<div class="table-card-header">
|
||||
<h3><i class="fa-solid fa-bars me-2"></i>Striped Table</h3>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Product</th>
|
||||
<th>Category</th>
|
||||
<th>Price</th>
|
||||
<th>Stock</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Laptop Computer</td>
|
||||
<td>Electronics</td>
|
||||
<td>$1,299</td>
|
||||
<td>45</td>
|
||||
<td>
|
||||
<button class="btn btn-sm btn-primary">Edit</button>
|
||||
<button class="btn btn-sm btn-danger">Delete</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Wireless Mouse</td>
|
||||
<td>Accessories</td>
|
||||
<td>$29.99</td>
|
||||
<td>156</td>
|
||||
<td>
|
||||
<button class="btn btn-sm btn-primary">Edit</button>
|
||||
<button class="btn btn-sm btn-danger">Delete</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>USB-C Cable</td>
|
||||
<td>Accessories</td>
|
||||
<td>$12.99</td>
|
||||
<td>302</td>
|
||||
<td>
|
||||
<button class="btn btn-sm btn-primary">Edit</button>
|
||||
<button class="btn btn-sm btn-danger">Delete</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Hover Table -->
|
||||
<div class="table-card">
|
||||
<div class="table-card-header">
|
||||
<h3><i class="fa-solid fa-hand-pointer me-2"></i>Hover Table</h3>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Order ID</th>
|
||||
<th>Customer</th>
|
||||
<th>Date</th>
|
||||
<th>Amount</th>
|
||||
<th>Status</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr style="cursor: pointer;">
|
||||
<td>#ORD-1001</td>
|
||||
<td>Acme Corp</td>
|
||||
<td>2026-07-01</td>
|
||||
<td>$5,250</td>
|
||||
<td><span class="badge badge-success">Completed</span></td>
|
||||
</tr>
|
||||
<tr style="cursor: pointer;">
|
||||
<td>#ORD-1002</td>
|
||||
<td>TechStart Inc</td>
|
||||
<td>2026-07-02</td>
|
||||
<td>$3,100</td>
|
||||
<td><span class="badge badge-success">Completed</span></td>
|
||||
</tr>
|
||||
<tr style="cursor: pointer;">
|
||||
<td>#ORD-1003</td>
|
||||
<td>Global Solutions</td>
|
||||
<td>2026-07-03</td>
|
||||
<td>$7,450</td>
|
||||
<td><span class="badge badge-info">Processing</span></td>
|
||||
</tr>
|
||||
<tr style="cursor: pointer;">
|
||||
<td>#ORD-1004</td>
|
||||
<td>Smart Industries</td>
|
||||
<td>2026-07-04</td>
|
||||
<td>$2,800</td>
|
||||
<td><span class="badge badge-warning">Pending</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Bordered Table -->
|
||||
<div class="table-card">
|
||||
<div class="table-card-header">
|
||||
<h3><i class="fa-solid fa-border-all me-2"></i>Bordered Table</h3>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Feature</th>
|
||||
<th>Basic Plan</th>
|
||||
<th>Pro Plan</th>
|
||||
<th>Enterprise</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>Storage</strong></td>
|
||||
<td>10 GB</td>
|
||||
<td>100 GB</td>
|
||||
<td>Unlimited</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Users</strong></td>
|
||||
<td>1</td>
|
||||
<td>5</td>
|
||||
<td>Unlimited</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Support</strong></td>
|
||||
<td>Email</td>
|
||||
<td>Priority</td>
|
||||
<td>24/7 Phone</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>API Access</strong></td>
|
||||
<td><i class="fa-solid fa-times text-danger"></i></td>
|
||||
<td><i class="fa-solid fa-check text-success"></i></td>
|
||||
<td><i class="fa-solid fa-check text-success"></i></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Analytics</strong></td>
|
||||
<td><i class="fa-solid fa-times text-danger"></i></td>
|
||||
<td><i class="fa-solid fa-check text-success"></i></td>
|
||||
<td><i class="fa-solid fa-check text-success"></i></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<script>
|
||||
const themeToggle = document.getElementById('themeToggle');
|
||||
const html = document.documentElement;
|
||||
|
||||
const savedTheme = localStorage.getItem('theme') || 'light';
|
||||
html.setAttribute('data-bs-theme', savedTheme);
|
||||
updateThemeIcon();
|
||||
|
||||
themeToggle.addEventListener('click', () => {
|
||||
const currentTheme = html.getAttribute('data-bs-theme');
|
||||
const newTheme = currentTheme === 'light' ? 'dark' : 'light';
|
||||
html.setAttribute('data-bs-theme', newTheme);
|
||||
localStorage.setItem('theme', newTheme);
|
||||
updateThemeIcon();
|
||||
});
|
||||
|
||||
function updateThemeIcon() {
|
||||
const icon = themeToggle.querySelector('i');
|
||||
const currentTheme = html.getAttribute('data-bs-theme');
|
||||
if (currentTheme === 'dark') {
|
||||
icon.classList.remove('fa-moon');
|
||||
icon.classList.add('fa-sun');
|
||||
} else {
|
||||
icon.classList.add('fa-moon');
|
||||
icon.classList.remove('fa-sun');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Generated
+64
@@ -14,6 +14,7 @@
|
||||
"yahoo-finance2": "3.15.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.61.1",
|
||||
"xlsx": "^0.18.5"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
@@ -129,6 +130,22 @@
|
||||
"node": ">=14"
|
||||
}
|
||||
},
|
||||
"node_modules/@playwright/test": {
|
||||
"version": "1.61.1",
|
||||
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.61.1.tgz",
|
||||
"integrity": "sha512-8nKv6+0RJSL9FE4jYOEGXnPeM/Hg12qZpmqzZjRh3qM0Y7c3z1mrOTfFLids72RDQYVh9WpLEfR5WdpNX4fkig==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"playwright": "1.61.1"
|
||||
},
|
||||
"bin": {
|
||||
"playwright": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
}
|
||||
},
|
||||
"node_modules/accepts": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz",
|
||||
@@ -1109,6 +1126,21 @@
|
||||
"node": ">= 0.8"
|
||||
}
|
||||
},
|
||||
"node_modules/fsevents": {
|
||||
"version": "2.3.2",
|
||||
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
|
||||
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
|
||||
"dev": true,
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"darwin"
|
||||
],
|
||||
"engines": {
|
||||
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/function-bind": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
||||
@@ -1888,6 +1920,38 @@
|
||||
"node": ">=16.20.0"
|
||||
}
|
||||
},
|
||||
"node_modules/playwright": {
|
||||
"version": "1.61.1",
|
||||
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.61.1.tgz",
|
||||
"integrity": "sha512-DWnY5o3YbLWK4GovuAVwpqL+1VwGNdUGrRr++8j8PtQQzvAVZUIMjKQ90fY689sEJZJBbZVw1rXaOKSTitkzPQ==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"playwright-core": "1.61.1"
|
||||
},
|
||||
"bin": {
|
||||
"playwright": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"fsevents": "2.3.2"
|
||||
}
|
||||
},
|
||||
"node_modules/playwright-core": {
|
||||
"version": "1.61.1",
|
||||
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.61.1.tgz",
|
||||
"integrity": "sha512-h7Qlt6m4REp25qvIdvbDtVmD4LqVXfpRxhORv9L0jzETM05p4fuPJ3dKyuSXQxDSbXnmS79HAgi9589lGSpLkg==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
"playwright-core": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
}
|
||||
},
|
||||
"node_modules/proxy-addr": {
|
||||
"version": "2.0.7",
|
||||
"resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
|
||||
|
||||
@@ -65,6 +65,7 @@
|
||||
"fast-xml-parser": "5.8.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.61.1",
|
||||
"xlsx": "^0.18.5"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
using QuantEngine.Application.Services;
|
||||
|
||||
namespace QuantEngine.Application.Interfaces;
|
||||
|
||||
public interface ICollectionOrchestrator
|
||||
{
|
||||
Task<CollectionRunResult> RunCollectionAsync(
|
||||
string runId,
|
||||
string account,
|
||||
List<string> tickers);
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace QuantEngine.Application.Services;
|
||||
|
||||
/// <summary>
|
||||
/// 컬렉션 실행 결과 — Python collect_to_sqlite() 반환값 대응
|
||||
/// </summary>
|
||||
public class CollectionRunResult
|
||||
{
|
||||
[JsonPropertyName("run_id")]
|
||||
public string RunId { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("status")]
|
||||
public string Status { get; set; } = "RUNNING";
|
||||
|
||||
[JsonPropertyName("started_at")]
|
||||
public string? StartedAt { get; set; }
|
||||
|
||||
[JsonPropertyName("finished_at")]
|
||||
public string? FinishedAt { get; set; }
|
||||
|
||||
[JsonPropertyName("success_count")]
|
||||
public int SuccessCount { get; set; }
|
||||
|
||||
[JsonPropertyName("error_count")]
|
||||
public int ErrorCount { get; set; }
|
||||
|
||||
[JsonPropertyName("error_message")]
|
||||
public string? ErrorMessage { get; set; }
|
||||
|
||||
[JsonPropertyName("source_counts")]
|
||||
public Dictionary<string, int> SourceCounts { get; set; } = new();
|
||||
|
||||
[JsonPropertyName("rows")]
|
||||
public List<Dictionary<string, object>> Rows { get; set; } = new();
|
||||
|
||||
[JsonPropertyName("errors")]
|
||||
public List<Dictionary<string, object>> Errors { get; set; } = new();
|
||||
}
|
||||
@@ -1,60 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using QuantEngine.Core.Interfaces;
|
||||
using QuantEngine.Core.Models;
|
||||
|
||||
namespace QuantEngine.Application.Services
|
||||
{
|
||||
public class CollectionService
|
||||
{
|
||||
private readonly IPostgresqlHistoryStore _historyStore;
|
||||
|
||||
public CollectionService(IPostgresqlHistoryStore historyStore)
|
||||
{
|
||||
_historyStore = historyStore;
|
||||
}
|
||||
|
||||
public Task<int> AppendRunAsync(CollectionRun run)
|
||||
=> _historyStore.AppendAsync("collection_run_history", new Dictionary<string, object?>
|
||||
{
|
||||
["run_id"] = run.RunId,
|
||||
["collector_name"] = run.CollectorName,
|
||||
["started_at"] = run.StartedAt,
|
||||
["finished_at"] = run.FinishedAt,
|
||||
["status"] = run.Status,
|
||||
["input_source"] = run.InputSource,
|
||||
["output_json_path"] = run.OutputJsonPath,
|
||||
["output_db_path"] = run.OutputDbPath,
|
||||
["notes"] = run.Notes,
|
||||
["created_at"] = run.CreatedAt
|
||||
});
|
||||
|
||||
public Task<int> AppendSnapshotAsync(CollectionSnapshot snapshot)
|
||||
=> _historyStore.AppendAsync("collection_snapshot_history", new Dictionary<string, object?>
|
||||
{
|
||||
["run_id"] = snapshot.RunId,
|
||||
["dataset_name"] = snapshot.DatasetName,
|
||||
["ticker"] = snapshot.Ticker,
|
||||
["name"] = snapshot.Name,
|
||||
["sector"] = snapshot.Sector,
|
||||
["as_of_date"] = snapshot.AsOfDate,
|
||||
["source_priority"] = snapshot.SourcePriority,
|
||||
["source_status"] = snapshot.SourceStatus,
|
||||
["payload_json"] = snapshot.PayloadJson,
|
||||
["provenance_json"] = snapshot.ProvenanceJson,
|
||||
["created_at"] = snapshot.CreatedAt
|
||||
});
|
||||
|
||||
public Task<int> AppendSourceErrorAsync(CollectionSourceError error)
|
||||
=> _historyStore.AppendAsync("collection_source_error_history", new Dictionary<string, object?>
|
||||
{
|
||||
["run_id"] = error.RunId,
|
||||
["ticker"] = error.Ticker,
|
||||
["source_name"] = error.SourceName,
|
||||
["error_kind"] = error.ErrorKind,
|
||||
["error_message"] = error.ErrorMessage,
|
||||
["payload_json"] = error.PayloadJson,
|
||||
["created_at"] = error.CreatedAt
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.Text.Json;
|
||||
using QuantEngine.Core.Interfaces;
|
||||
using QuantEngine.Application.Interfaces;
|
||||
|
||||
namespace QuantEngine.Application.Services;
|
||||
|
||||
@@ -7,13 +8,16 @@ public class DataCollectionService
|
||||
{
|
||||
private readonly IKisApiClient _kisApiClient;
|
||||
private readonly ICollectionRepository _repository;
|
||||
private readonly ICollectionOrchestrator _orchestrator;
|
||||
|
||||
public DataCollectionService(
|
||||
IKisApiClient kisApiClient,
|
||||
ICollectionRepository repository)
|
||||
ICollectionRepository repository,
|
||||
ICollectionOrchestrator orchestrator)
|
||||
{
|
||||
_kisApiClient = kisApiClient;
|
||||
_repository = repository;
|
||||
_orchestrator = orchestrator;
|
||||
}
|
||||
|
||||
public async Task<CollectionRunResult> RunCollectionAsync(
|
||||
@@ -21,219 +25,6 @@ public class DataCollectionService
|
||||
string account,
|
||||
List<string> tickers)
|
||||
{
|
||||
var result = new CollectionRunResult
|
||||
{
|
||||
RunId = runId,
|
||||
StartedAt = KstNowIso(),
|
||||
Status = "RUNNING"
|
||||
};
|
||||
|
||||
try
|
||||
{
|
||||
await _repository.SaveRunAsync(new CollectionRunRecord(
|
||||
RunId: runId,
|
||||
Status: "RUNNING",
|
||||
StartedAt: result.StartedAt
|
||||
));
|
||||
|
||||
int successCount = 0;
|
||||
int errorCount = 0;
|
||||
|
||||
foreach (var ticker in tickers)
|
||||
{
|
||||
try
|
||||
{
|
||||
var normalized = await CollectOneAsync(ticker, account);
|
||||
var provenance = new Dictionary<string, object>
|
||||
{
|
||||
{ "ticker", ticker },
|
||||
{ "source", "kis_open_api" }
|
||||
};
|
||||
|
||||
await _repository.SaveSnapshotAsync(new CollectionSnapshotRecord(
|
||||
RunId: runId,
|
||||
DatasetName: "data_feed",
|
||||
Ticker: ticker,
|
||||
SourceName: "kis_open_api",
|
||||
PayloadJson: JsonSerializer.Serialize(normalized),
|
||||
CapturedAt: KstNowIso()
|
||||
));
|
||||
|
||||
successCount++;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
errorCount++;
|
||||
System.Diagnostics.Debug.WriteLine($"Error collecting {ticker}: {ex.Message}");
|
||||
|
||||
await _repository.SaveErrorAsync(new CollectionErrorRecord(
|
||||
RunId: runId,
|
||||
SourceName: "kis_collector",
|
||||
ErrorKind: ex.GetType().Name,
|
||||
ErrorMessage: ex.Message,
|
||||
Ticker: ticker
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
var finishedAt = KstNowIso();
|
||||
await _repository.UpdateRunStatusAsync(
|
||||
runId,
|
||||
errorCount == 0 ? "COMPLETED" : "COMPLETED_WITH_ERRORS",
|
||||
finishedAt,
|
||||
successCount,
|
||||
errorCount
|
||||
);
|
||||
|
||||
result.Status = errorCount == 0 ? "COMPLETED" : "COMPLETED_WITH_ERRORS";
|
||||
result.FinishedAt = finishedAt;
|
||||
result.SuccessCount = successCount;
|
||||
result.ErrorCount = errorCount;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
System.Diagnostics.Debug.WriteLine($"Fatal error in collection run {runId}: {ex}");
|
||||
await _repository.UpdateRunStatusAsync(runId, "FAILED", KstNowIso());
|
||||
result.Status = "FAILED";
|
||||
result.ErrorMessage = ex.Message;
|
||||
}
|
||||
|
||||
return result;
|
||||
return await _orchestrator.RunCollectionAsync(runId, account, tickers);
|
||||
}
|
||||
|
||||
private async Task<Dictionary<string, object>> CollectOneAsync(string ticker, string account)
|
||||
{
|
||||
var normalized = new Dictionary<string, object> { { "ticker", ticker } };
|
||||
|
||||
try
|
||||
{
|
||||
var price = await _kisApiClient.GetCurrentPriceAsync(ticker, account);
|
||||
normalized["current_price"] = CoerceFloat(FindFirstValue(price, "stck_prpr", "stck_clpr", "close"));
|
||||
normalized["open"] = CoerceFloat(FindFirstValue(price, "stck_oprc", "open"));
|
||||
normalized["high"] = CoerceFloat(FindFirstValue(price, "stck_hgpr", "high"));
|
||||
normalized["low"] = CoerceFloat(FindFirstValue(price, "stck_lwpr", "low"));
|
||||
normalized["prev_close"] = CoerceFloat(FindFirstValue(price, "prdy_vrss"));
|
||||
normalized["volume"] = CoerceFloat(FindFirstValue(price, "acml_vol", "volume"));
|
||||
normalized["change_pct"] = CoerceFloat(FindFirstValue(price, "prdy_ctrt"));
|
||||
normalized["price_status"] = "OK";
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
normalized["price_status"] = "ERROR";
|
||||
normalized["price_error"] = ex.Message;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
var orderbook = await _kisApiClient.GetAskingPrice10LevelAsync(ticker, account);
|
||||
var output1 = ExtractObject(orderbook, "output1");
|
||||
normalized["ask_1"] = CoerceFloat(FindFirstValue(output1, "askp1"));
|
||||
normalized["bid_1"] = CoerceFloat(FindFirstValue(output1, "bidp1"));
|
||||
normalized["orderbook_status"] = "OK";
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
normalized["orderbook_status"] = "ERROR";
|
||||
normalized["orderbook_error"] = ex.Message;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
var start = DateTime.Now.AddDays(-10).ToString("yyyyMMdd");
|
||||
var end = DateTime.Now.ToString("yyyyMMdd");
|
||||
var shortSale = await _kisApiClient.GetDailyShortSaleAsync(ticker, start, end, account);
|
||||
var rows = ExtractArray(shortSale, "output2");
|
||||
if (rows.Count > 0 && rows[0] is Dictionary<string, object> latest)
|
||||
{
|
||||
normalized["short_turnover_share"] = CoerceFloat(latest.GetValueOrDefault("ssts_vol_rlim"));
|
||||
}
|
||||
normalized["short_sale_status"] = "OK";
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
normalized["short_sale_status"] = "ERROR";
|
||||
normalized["short_sale_error"] = ex.Message;
|
||||
}
|
||||
|
||||
normalized["collection_as_of"] = KstNowIso();
|
||||
return normalized;
|
||||
}
|
||||
|
||||
private static object? FindFirstValue(Dictionary<string, object> payload, params string[] keys)
|
||||
{
|
||||
var stack = new Stack<object>();
|
||||
stack.Push(payload);
|
||||
|
||||
while (stack.Count > 0)
|
||||
{
|
||||
var item = stack.Pop();
|
||||
if (item is Dictionary<string, object> dict)
|
||||
{
|
||||
foreach (var key in keys)
|
||||
{
|
||||
if (dict.TryGetValue(key, out var value) && value != null && !string.IsNullOrEmpty(value.ToString()))
|
||||
return value;
|
||||
}
|
||||
foreach (var value in dict.Values)
|
||||
if (value != null) stack.Push(value);
|
||||
}
|
||||
else if (item is JsonElement elem && elem.ValueKind == System.Text.Json.JsonValueKind.Object)
|
||||
{
|
||||
foreach (var key in keys)
|
||||
{
|
||||
if (elem.TryGetProperty(key, out var prop) && prop.ValueKind != System.Text.Json.JsonValueKind.Null)
|
||||
return prop;
|
||||
}
|
||||
foreach (var prop in elem.EnumerateObject())
|
||||
stack.Push(prop.Value);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static double? CoerceFloat(object? value)
|
||||
{
|
||||
if (value == null || string.IsNullOrEmpty(value.ToString()))
|
||||
return null;
|
||||
try
|
||||
{
|
||||
var str = value.ToString()?.Replace(",", "").Replace("%", "") ?? "";
|
||||
return double.TryParse(str, out var d) ? d : null;
|
||||
}
|
||||
catch { return null; }
|
||||
}
|
||||
|
||||
private static Dictionary<string, object> ExtractObject(Dictionary<string, object> payload, string key)
|
||||
{
|
||||
if (payload.TryGetValue(key, out var value) && value is Dictionary<string, object> dict)
|
||||
return dict;
|
||||
if (value is JsonElement elem && elem.ValueKind == System.Text.Json.JsonValueKind.Object)
|
||||
return JsonSerializer.Deserialize<Dictionary<string, object>>(elem.GetRawText()) ?? new();
|
||||
return new();
|
||||
}
|
||||
|
||||
private static List<object> ExtractArray(Dictionary<string, object> payload, string key)
|
||||
{
|
||||
if (payload.TryGetValue(key, out var value))
|
||||
{
|
||||
if (value is List<object> list) return list;
|
||||
if (value is JsonElement elem && elem.ValueKind == System.Text.Json.JsonValueKind.Array)
|
||||
return JsonSerializer.Deserialize<List<object>>(elem.GetRawText()) ?? new();
|
||||
}
|
||||
return new();
|
||||
}
|
||||
|
||||
private static string KstNowIso() =>
|
||||
DateTime.Now.ToString("o");
|
||||
}
|
||||
|
||||
public class CollectionRunResult
|
||||
{
|
||||
public string RunId { get; set; } = "";
|
||||
public string Status { get; set; } = "";
|
||||
public string StartedAt { get; set; } = "";
|
||||
public string? FinishedAt { get; set; }
|
||||
public int SuccessCount { get; set; }
|
||||
public int ErrorCount { get; set; }
|
||||
public string? ErrorMessage { get; set; }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
namespace QuantEngine.Application.Services;
|
||||
|
||||
/// <summary>
|
||||
/// 데이터 정규화 유틸 — Python kis_data_collection_v1.py 라인 76-99 포팅
|
||||
/// </summary>
|
||||
public static class DataNormalizationHelper
|
||||
{
|
||||
/// <summary>
|
||||
/// 값을 double로 강제 변환 (Python _coerce_float 대응)
|
||||
/// null/"" → null, "1,234.56%" → 1234.56
|
||||
/// </summary>
|
||||
public static double? CoerceFloat(object? value)
|
||||
{
|
||||
if (value == null || string.IsNullOrEmpty(value.ToString()))
|
||||
return null;
|
||||
|
||||
try
|
||||
{
|
||||
var str = value.ToString()?.Replace(",", "").Replace("%", "").Trim() ?? "";
|
||||
if (string.IsNullOrEmpty(str))
|
||||
return null;
|
||||
return double.Parse(str);
|
||||
}
|
||||
catch
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 재귀적으로 첫 번째 non-null 값 찾기 (Python _find_first_value 대응)
|
||||
/// </summary>
|
||||
public static object? FindFirstValue(Dictionary<string, object>? payload, params string[] keys)
|
||||
{
|
||||
if (payload == null)
|
||||
return null;
|
||||
|
||||
var stack = new Stack<object>();
|
||||
stack.Push(payload);
|
||||
|
||||
while (stack.Count > 0)
|
||||
{
|
||||
var item = stack.Pop();
|
||||
|
||||
if (item is Dictionary<string, object> dict)
|
||||
{
|
||||
foreach (var key in keys)
|
||||
{
|
||||
if (dict.TryGetValue(key, out var value) && value != null && !string.IsNullOrEmpty(value.ToString()))
|
||||
return value;
|
||||
}
|
||||
foreach (var value in dict.Values)
|
||||
{
|
||||
if (value != null) stack.Push(value);
|
||||
}
|
||||
}
|
||||
else if (item is List<object> list)
|
||||
{
|
||||
foreach (var value in list)
|
||||
{
|
||||
if (value != null) stack.Push(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// KST 현재 시각을 ISO 8601 형식으로 반환
|
||||
/// </summary>
|
||||
public static string KstNowIso()
|
||||
{
|
||||
var kst = TimeZoneInfo.FindSystemTimeZoneById("Korea Standard Time");
|
||||
return TimeZoneInfo.ConvertTime(DateTime.Now, kst).ToString("o");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
using System.Text.Json;
|
||||
|
||||
namespace QuantEngine.Application.Services;
|
||||
|
||||
public class GatherTradingDataParser
|
||||
{
|
||||
public List<Dictionary<string, object>> ParseGatherTradingData(string jsonFilePath)
|
||||
{
|
||||
if (!File.Exists(jsonFilePath))
|
||||
return new();
|
||||
|
||||
var jsonText = File.ReadAllText(jsonFilePath);
|
||||
return ParseGatherTradingData(JsonDocument.Parse(jsonText));
|
||||
}
|
||||
|
||||
public List<Dictionary<string, object>> ParseGatherTradingData(JsonDocument json)
|
||||
{
|
||||
var rows = new List<Dictionary<string, object>>();
|
||||
var root = json.RootElement;
|
||||
|
||||
// Extract data_feed
|
||||
if (root.TryGetProperty("data", out var dataElem) && dataElem.TryGetProperty("data_feed", out var feedElem))
|
||||
{
|
||||
var feedDict = new Dictionary<string, Dictionary<string, object>>();
|
||||
|
||||
foreach (var item in feedElem.EnumerateArray())
|
||||
{
|
||||
if (item.TryGetProperty("Ticker", out var tickerElem))
|
||||
{
|
||||
var ticker = tickerElem.GetString();
|
||||
if (string.IsNullOrEmpty(ticker))
|
||||
continue;
|
||||
|
||||
var row = new Dictionary<string, object>();
|
||||
foreach (var prop in item.EnumerateObject())
|
||||
{
|
||||
row[prop.Name] = prop.Value.GetRawText();
|
||||
}
|
||||
feedDict[ticker] = row;
|
||||
}
|
||||
}
|
||||
|
||||
// Merge with core_satellite
|
||||
if (dataElem.TryGetProperty("core_satellite", out var satElem))
|
||||
{
|
||||
foreach (var item in satElem.EnumerateArray())
|
||||
{
|
||||
if (item.TryGetProperty("Ticker", out var tickerElem))
|
||||
{
|
||||
var ticker = tickerElem.GetString();
|
||||
if (!string.IsNullOrEmpty(ticker) && feedDict.TryGetValue(ticker, out var row))
|
||||
{
|
||||
foreach (var prop in item.EnumerateObject())
|
||||
{
|
||||
if (!row.ContainsKey(prop.Name))
|
||||
row[prop.Name] = prop.Value.GetRawText();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rows.AddRange(feedDict.Values);
|
||||
}
|
||||
|
||||
return rows;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,149 @@
|
||||
using System.Text.Json;
|
||||
using QuantEngine.Core.Interfaces;
|
||||
using QuantEngine.Core.Models;
|
||||
|
||||
namespace QuantEngine.Application.Services;
|
||||
|
||||
public class KisApiPriceSource : IPriceSource
|
||||
{
|
||||
private readonly IKisApiClient _kisApiClient;
|
||||
|
||||
public string SourceName => "kis_open_api";
|
||||
|
||||
public KisApiPriceSource(IKisApiClient kisApiClient)
|
||||
{
|
||||
_kisApiClient = kisApiClient;
|
||||
}
|
||||
|
||||
public async Task<PriceSourceResult> GetPriceDataAsync(string ticker, string account)
|
||||
{
|
||||
try
|
||||
{
|
||||
var result = new PriceSourceResult { Status = "OK", Source = "kis", Account = account };
|
||||
|
||||
// Get current price
|
||||
try
|
||||
{
|
||||
var price = await _kisApiClient.GetCurrentPriceAsync(ticker, account);
|
||||
result.CurrentPrice = CoerceFloat(FindFirstValue(price, "stck_prpr", "stck_clpr", "close"));
|
||||
result.Open = CoerceFloat(FindFirstValue(price, "stck_oprc", "open"));
|
||||
result.High = CoerceFloat(FindFirstValue(price, "stck_hgpr", "high"));
|
||||
result.Low = CoerceFloat(FindFirstValue(price, "stck_lwpr", "low"));
|
||||
result.PrevClose = CoerceFloat(FindFirstValue(price, "prdy_vrss"));
|
||||
result.Volume = CoerceFloat(FindFirstValue(price, "acml_vol", "volume"));
|
||||
result.ChangePct = CoerceFloat(FindFirstValue(price, "prdy_ctrt"));
|
||||
result.PriceStatus = "OK";
|
||||
result.CurrentPriceRaw = JsonSerializer.Deserialize<Dictionary<string, object>>(JsonSerializer.Serialize(price)) ?? new();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
result.PriceStatus = "ERROR";
|
||||
result.Error = ex.Message;
|
||||
}
|
||||
|
||||
// Get orderbook
|
||||
try
|
||||
{
|
||||
var orderbook = await _kisApiClient.GetAskingPrice10LevelAsync(ticker, account);
|
||||
var output1 = ExtractObject(orderbook, "output1");
|
||||
result.Ask1 = CoerceFloat(output1.GetValueOrDefault("askp1"));
|
||||
result.Bid1 = CoerceFloat(output1.GetValueOrDefault("bidp1"));
|
||||
result.OrderbookStatus = "OK";
|
||||
result.OrderbookRaw = output1;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
result.OrderbookStatus = "ERROR";
|
||||
}
|
||||
|
||||
// Get short sale
|
||||
try
|
||||
{
|
||||
var start = DateTime.Now.AddDays(-10).ToString("yyyyMMdd");
|
||||
var end = DateTime.Now.ToString("yyyyMMdd");
|
||||
var shortSale = await _kisApiClient.GetDailyShortSaleAsync(ticker, start, end, account);
|
||||
var rows = ExtractArray(shortSale, "output2");
|
||||
if (rows.Count > 0 && rows[0] is Dictionary<string, object> latest)
|
||||
{
|
||||
result.ShortTurnoverShare = CoerceFloat(latest.GetValueOrDefault("ssts_vol_rlim"));
|
||||
}
|
||||
result.ShortSaleStatus = "OK";
|
||||
result.ShortSaleRaw = (Dictionary<string, object>?)rows.FirstOrDefault() ?? new();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
result.ShortSaleStatus = "ERROR";
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return new PriceSourceResult { Status = "ERROR", Error = ex.Message, Source = "kis", Account = account };
|
||||
}
|
||||
}
|
||||
|
||||
private static object? FindFirstValue(Dictionary<string, object> payload, params string[] keys)
|
||||
{
|
||||
var stack = new Stack<object>();
|
||||
stack.Push(payload);
|
||||
|
||||
while (stack.Count > 0)
|
||||
{
|
||||
var item = stack.Pop();
|
||||
if (item is Dictionary<string, object> dict)
|
||||
{
|
||||
foreach (var key in keys)
|
||||
{
|
||||
if (dict.TryGetValue(key, out var value) && value != null && !string.IsNullOrEmpty(value.ToString()))
|
||||
return value;
|
||||
}
|
||||
foreach (var value in dict.Values)
|
||||
if (value != null) stack.Push(value);
|
||||
}
|
||||
else if (item is JsonElement elem && elem.ValueKind == JsonValueKind.Object)
|
||||
{
|
||||
foreach (var key in keys)
|
||||
{
|
||||
if (elem.TryGetProperty(key, out var prop) && prop.ValueKind != JsonValueKind.Null)
|
||||
return prop;
|
||||
}
|
||||
foreach (var prop in elem.EnumerateObject())
|
||||
stack.Push(prop.Value);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static double? CoerceFloat(object? value)
|
||||
{
|
||||
if (value == null || string.IsNullOrEmpty(value.ToString()))
|
||||
return null;
|
||||
try
|
||||
{
|
||||
var str = value.ToString()?.Replace(",", "").Replace("%", "") ?? "";
|
||||
return double.TryParse(str, out var d) ? d : null;
|
||||
}
|
||||
catch { return null; }
|
||||
}
|
||||
|
||||
private static Dictionary<string, object> ExtractObject(Dictionary<string, object> payload, string key)
|
||||
{
|
||||
if (payload.TryGetValue(key, out var value) && value is Dictionary<string, object> dict)
|
||||
return dict;
|
||||
if (value is JsonElement elem && elem.ValueKind == JsonValueKind.Object)
|
||||
return JsonSerializer.Deserialize<Dictionary<string, object>>(elem.GetRawText()) ?? new();
|
||||
return new();
|
||||
}
|
||||
|
||||
private static List<object> ExtractArray(Dictionary<string, object> payload, string key)
|
||||
{
|
||||
if (payload.TryGetValue(key, out var value))
|
||||
{
|
||||
if (value is List<object> list) return list;
|
||||
if (value is JsonElement elem && elem.ValueKind == JsonValueKind.Array)
|
||||
return JsonSerializer.Deserialize<List<object>>(elem.GetRawText()) ?? new();
|
||||
}
|
||||
return new();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,149 @@
|
||||
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
using QuantEngine.Core.Interfaces;
|
||||
using QuantEngine.Application.Interfaces;
|
||||
using QuantEngine.Application.Services;
|
||||
|
||||
namespace QuantEngine.Application.Services;
|
||||
|
||||
public class KisDataCollectionOrchestrator : ICollectionOrchestrator
|
||||
{
|
||||
private readonly IKisApiClient _kisApiClient;
|
||||
private readonly ICollectionRepository _repository;
|
||||
private readonly PriceDataNormalizer _normalizer;
|
||||
private readonly SourcePriorityResolver _priorityResolver;
|
||||
// Logging removed for simplicity
|
||||
|
||||
public KisDataCollectionOrchestrator(
|
||||
IKisApiClient kisApiClient,
|
||||
ICollectionRepository repository,
|
||||
PriceDataNormalizer normalizer,
|
||||
SourcePriorityResolver priorityResolver)
|
||||
{
|
||||
_kisApiClient = kisApiClient;
|
||||
_repository = repository;
|
||||
_normalizer = normalizer;
|
||||
_priorityResolver = priorityResolver;
|
||||
|
||||
}
|
||||
|
||||
public async Task<CollectionRunResult> RunCollectionAsync(string runId, string account, List<string> tickers)
|
||||
{
|
||||
var startedAt = DataNormalizationHelper.KstNowIso();
|
||||
var result = new CollectionRunResult
|
||||
{
|
||||
RunId = runId,
|
||||
Status = "RUNNING",
|
||||
StartedAt = startedAt,
|
||||
SuccessCount = 0,
|
||||
ErrorCount = 0
|
||||
};
|
||||
|
||||
try
|
||||
{
|
||||
// Log: skipped
|
||||
|
||||
var kisSource = new KisApiPriceSource(_kisApiClient);
|
||||
var rows = new List<Dictionary<string, object>>();
|
||||
var errors = new List<Dictionary<string, object>>();
|
||||
var sourceCounts = new Dictionary<string, int>();
|
||||
|
||||
foreach (var ticker in tickers)
|
||||
{
|
||||
try
|
||||
{
|
||||
// Log: skipped
|
||||
var kisResult = await kisSource.GetPriceDataAsync(ticker, account);
|
||||
|
||||
var seedRow = new Dictionary<string, object> { { "Ticker", ticker } };
|
||||
var (normalized, provenance) = _normalizer.NormalizeCollectionRow(seedRow, kisResult, null, false);
|
||||
|
||||
// Save to DB
|
||||
await _repository.SaveSnapshotAsync(new CollectionSnapshotRecord(
|
||||
RunId: runId,
|
||||
DatasetName: "data_feed",
|
||||
Ticker: ticker,
|
||||
SourceName: (string)(provenance.GetValueOrDefault("source") ?? "kis_open_api"),
|
||||
PayloadJson: JsonSerializer.Serialize(normalized),
|
||||
CapturedAt: DataNormalizationHelper.KstNowIso()
|
||||
));
|
||||
|
||||
// Track source
|
||||
var source = (string)(provenance.GetValueOrDefault("source") ?? "kis_open_api");
|
||||
if (!sourceCounts.ContainsKey(source))
|
||||
sourceCounts[source] = 0;
|
||||
sourceCounts[source]++;
|
||||
|
||||
rows.Add(normalized);
|
||||
result.SuccessCount++;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
// Log: skipped
|
||||
result.ErrorCount++;
|
||||
errors.Add(new Dictionary<string, object>
|
||||
{
|
||||
{ "ticker", ticker },
|
||||
{ "error", ex.Message },
|
||||
{ "error_kind", ex.GetType().Name }
|
||||
});
|
||||
|
||||
await _repository.SaveErrorAsync(new CollectionErrorRecord(
|
||||
RunId: runId,
|
||||
SourceName: "kis_collector",
|
||||
ErrorKind: ex.GetType().Name,
|
||||
ErrorMessage: ex.Message,
|
||||
Ticker: ticker
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
var finishedAt = DataNormalizationHelper.KstNowIso();
|
||||
result.Status = result.ErrorCount == 0 ? "COMPLETED" : "COMPLETED_WITH_ERRORS";
|
||||
result.FinishedAt = finishedAt;
|
||||
result.SourceCounts = sourceCounts;
|
||||
result.Rows = rows;
|
||||
result.Errors = errors;
|
||||
|
||||
// Save run record
|
||||
await _repository.SaveRunAsync(new CollectionRunRecord(
|
||||
RunId: runId,
|
||||
Status: result.Status,
|
||||
StartedAt: startedAt,
|
||||
FinishedAt: finishedAt,
|
||||
TotalSnapshots: result.SuccessCount,
|
||||
TotalErrors: result.ErrorCount
|
||||
));
|
||||
|
||||
// Output JSON file
|
||||
var outputPath = Path.Combine(Path.GetTempPath(), "kis_data_collection_v1.json");
|
||||
var outputData = new
|
||||
{
|
||||
formula_id = "KIS_DATA_COLLECTION_V1",
|
||||
run_id = runId,
|
||||
started_at = startedAt,
|
||||
finished_at = finishedAt,
|
||||
row_count = rows.Count,
|
||||
source_counts = sourceCounts,
|
||||
errors = errors,
|
||||
rows = rows
|
||||
};
|
||||
File.WriteAllText(outputPath, JsonSerializer.Serialize(outputData, new JsonSerializerOptions { WriteIndented = true }));
|
||||
// Log: skipped
|
||||
|
||||
return result;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
// Log: skipped
|
||||
result.Status = "FAILED";
|
||||
result.FinishedAt = DataNormalizationHelper.KstNowIso();
|
||||
result.ErrorMessage = ex.Message;
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,85 @@
|
||||
using QuantEngine.Core.Models;
|
||||
|
||||
namespace QuantEngine.Application.Services;
|
||||
|
||||
/// <summary>
|
||||
/// 가격 데이터 정규화 — Python _collect_one() 로직 대응
|
||||
/// </summary>
|
||||
public class PriceDataNormalizer
|
||||
{
|
||||
private readonly SourcePriorityResolver _priorityResolver;
|
||||
|
||||
public PriceDataNormalizer(SourcePriorityResolver priorityResolver)
|
||||
{
|
||||
_priorityResolver = priorityResolver;
|
||||
}
|
||||
|
||||
public (Dictionary<string, object> Normalized, Dictionary<string, object> Provenance) NormalizeCollectionRow(
|
||||
Dictionary<string, object> row,
|
||||
PriceSourceResult? kis,
|
||||
PriceSourceResult? naver,
|
||||
bool includeNaver = false)
|
||||
{
|
||||
var ticker = (row.GetValueOrDefault("Ticker") as string) ?? (row.GetValueOrDefault("ticker") as string) ?? "";
|
||||
var name = (row.GetValueOrDefault("Name") as string) ?? (row.GetValueOrDefault("name") as string) ?? "";
|
||||
var sector = (row.GetValueOrDefault("Sector") as string) ?? (row.GetValueOrDefault("sector") as string);
|
||||
|
||||
var normalized = new Dictionary<string, object>(row);
|
||||
|
||||
var (sourcePriority, provenance) = _priorityResolver.ResolveSourcePriority(
|
||||
ticker, kis, naver, includeNaver: includeNaver);
|
||||
|
||||
// KIS 데이터 병합
|
||||
if (kis?.Status == "OK")
|
||||
{
|
||||
MergeSourceFields(normalized, kis, new[] { "current_price", "open", "high", "low", "volume" });
|
||||
MergeSourceFields(normalized, kis, new[] { "relative_return_20d", "volume_ratio_5d", "microstructure_pressure", "short_turnover_share" });
|
||||
}
|
||||
|
||||
// Naver 폴백
|
||||
if (naver?.Status == "OK" || naver?.Status == "DATA_MISSING")
|
||||
{
|
||||
// Removed
|
||||
// Removed
|
||||
NormalizedSetDefault(normalized, "naver_price_status", naver?.Status);
|
||||
NormalizedSetDefault(normalized, "current_price", naver?.CurrentPrice);
|
||||
NormalizedSetDefault(normalized, "open", naver?.Open);
|
||||
NormalizedSetDefault(normalized, "high", naver?.High);
|
||||
NormalizedSetDefault(normalized, "low", naver?.Low);
|
||||
NormalizedSetDefault(normalized, "volume", naver?.Volume);
|
||||
}
|
||||
|
||||
// 최종 폴백 (기초 데이터)
|
||||
NormalizedSetDefault(normalized, "current_price", DataNormalizationHelper.CoerceFloat(row.GetValueOrDefault("current_price") ?? row.GetValueOrDefault("Current_Price") ?? row.GetValueOrDefault("close")));
|
||||
NormalizedSetDefault(normalized, "open", DataNormalizationHelper.CoerceFloat(row.GetValueOrDefault("open") ?? row.GetValueOrDefault("Open")));
|
||||
NormalizedSetDefault(normalized, "high", DataNormalizationHelper.CoerceFloat(row.GetValueOrDefault("high") ?? row.GetValueOrDefault("High")));
|
||||
NormalizedSetDefault(normalized, "low", DataNormalizationHelper.CoerceFloat(row.GetValueOrDefault("low") ?? row.GetValueOrDefault("Low")));
|
||||
NormalizedSetDefault(normalized, "volume", DataNormalizationHelper.CoerceFloat(row.GetValueOrDefault("volume") ?? row.GetValueOrDefault("Volume")));
|
||||
|
||||
normalized["collection_as_of"] = DataNormalizationHelper.KstNowIso();
|
||||
|
||||
return (normalized, provenance);
|
||||
}
|
||||
|
||||
private void MergeSourceFields(Dictionary<string, object> target, PriceSourceResult source, string[] keys)
|
||||
{
|
||||
foreach (var key in keys)
|
||||
{
|
||||
var value = source.GetType().GetProperty(ToPascalCase(key))?.GetValue(source);
|
||||
if (value != null && !string.IsNullOrEmpty(value.ToString()))
|
||||
target[key] = value;
|
||||
}
|
||||
}
|
||||
|
||||
private void NormalizedSetDefault(Dictionary<string, object> normalized, string key, object? value)
|
||||
{
|
||||
if (!normalized.ContainsKey(key) && value != null && !string.IsNullOrEmpty(value.ToString()))
|
||||
normalized[key] = value;
|
||||
}
|
||||
|
||||
private string ToPascalCase(string snake)
|
||||
{
|
||||
return System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(snake.Replace("_", " ")).Replace(" ", "");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
using QuantEngine.Core.Models;
|
||||
|
||||
namespace QuantEngine.Application.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Price Source 우선순위 결정 — Python _resolve_price_source 대응
|
||||
/// KIS (우선) → Naver → JSON
|
||||
/// </summary>
|
||||
public class SourcePriorityResolver
|
||||
{
|
||||
public (List<string> SourcePriority, Dictionary<string, object> Provenance) ResolveSourcePriority(
|
||||
string ticker,
|
||||
PriceSourceResult? kis,
|
||||
PriceSourceResult? naver,
|
||||
bool includeNaver = false,
|
||||
bool includeLiveKis = true)
|
||||
{
|
||||
var sourcePriority = new List<string> { "gathertradingdata_json" };
|
||||
var provenance = new Dictionary<string, object>
|
||||
{
|
||||
{ "ticker", ticker },
|
||||
{ "source_priority", new List<string>() }
|
||||
};
|
||||
|
||||
// KIS 우선 (status OK만)
|
||||
if (includeLiveKis && kis?.Status == "OK")
|
||||
{
|
||||
sourcePriority.Insert(0, "kis_open_api");
|
||||
provenance["kis"] = kis;
|
||||
}
|
||||
|
||||
// Naver 추가 (OK or DATA_MISSING)
|
||||
if (includeNaver && naver != null && (naver.Status == "OK" || naver.Status == "DATA_MISSING"))
|
||||
{
|
||||
sourcePriority.Add("naver_finance");
|
||||
provenance["naver"] = naver;
|
||||
}
|
||||
|
||||
provenance["source_priority"] = sourcePriority;
|
||||
return (sourcePriority, provenance);
|
||||
}
|
||||
}
|
||||
-39
@@ -1,39 +0,0 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v10.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v10.0": {
|
||||
"QuantEngine.Application/1.0.0": {
|
||||
"dependencies": {
|
||||
"QuantEngine.Core": "1.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"QuantEngine.Application.dll": {}
|
||||
}
|
||||
},
|
||||
"QuantEngine.Core/1.0.0": {
|
||||
"runtime": {
|
||||
"QuantEngine.Core.dll": {
|
||||
"assemblyVersion": "1.0.0.0",
|
||||
"fileVersion": "1.0.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"QuantEngine.Application/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"QuantEngine.Core/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-4
@@ -1,4 +0,0 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v10.0", FrameworkDisplayName = ".NET 10.0")]
|
||||
-22
@@ -1,22 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("QuantEngine.Application")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+4ef7a54ad55182e164ca78e8af21f2a5e214c98f")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("QuantEngine.Application")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("QuantEngine.Application")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
-1
@@ -1 +0,0 @@
|
||||
e3d73b83f89256e561af0334bd1c6aa38e9e47f25cf6ce5907009a31d56d309d
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net10.0
|
||||
build_property.TargetFrameworkIdentifier = .NETCoreApp
|
||||
build_property.TargetFrameworkVersion = v10.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property.EntryPointFilePath =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = QuantEngine.Application
|
||||
build_property.ProjectDir = C:\Temp\data_feed\src\dotnet\QuantEngine.Application\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.EffectiveAnalysisLevelStyle = 10.0
|
||||
build_property.EnableCodeStyleSeverity =
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
// <auto-generated/>
|
||||
global using System;
|
||||
global using System.Collections.Generic;
|
||||
global using System.IO;
|
||||
global using System.Linq;
|
||||
global using System.Net.Http;
|
||||
global using System.Threading;
|
||||
global using System.Threading.Tasks;
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
-1
@@ -1 +0,0 @@
|
||||
1cd28f757d75d5806e4bd6bf3abf482f2c2af1bc56a4c68de4ce9b6b6db56d41
|
||||
-15
@@ -1,15 +0,0 @@
|
||||
C:\Temp\data_feed\src\dotnet\QuantEngine.Application\bin\Debug\net10.0\QuantEngine.Application.deps.json
|
||||
C:\Temp\data_feed\src\dotnet\QuantEngine.Application\bin\Debug\net10.0\QuantEngine.Application.dll
|
||||
C:\Temp\data_feed\src\dotnet\QuantEngine.Application\bin\Debug\net10.0\QuantEngine.Application.pdb
|
||||
C:\Temp\data_feed\src\dotnet\QuantEngine.Application\bin\Debug\net10.0\QuantEngine.Core.dll
|
||||
C:\Temp\data_feed\src\dotnet\QuantEngine.Application\bin\Debug\net10.0\QuantEngine.Core.pdb
|
||||
C:\Temp\data_feed\src\dotnet\QuantEngine.Application\obj\Debug\net10.0\QuantEngine.Application.csproj.AssemblyReference.cache
|
||||
C:\Temp\data_feed\src\dotnet\QuantEngine.Application\obj\Debug\net10.0\QuantEngine.Application.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Temp\data_feed\src\dotnet\QuantEngine.Application\obj\Debug\net10.0\QuantEngine.Application.AssemblyInfoInputs.cache
|
||||
C:\Temp\data_feed\src\dotnet\QuantEngine.Application\obj\Debug\net10.0\QuantEngine.Application.AssemblyInfo.cs
|
||||
C:\Temp\data_feed\src\dotnet\QuantEngine.Application\obj\Debug\net10.0\QuantEngine.Application.csproj.CoreCompileInputs.cache
|
||||
C:\Temp\data_feed\src\dotnet\QuantEngine.Application\obj\Debug\net10.0\QuantEng.294596D8.Up2Date
|
||||
C:\Temp\data_feed\src\dotnet\QuantEngine.Application\obj\Debug\net10.0\QuantEngine.Application.dll
|
||||
C:\Temp\data_feed\src\dotnet\QuantEngine.Application\obj\Debug\net10.0\refint\QuantEngine.Application.dll
|
||||
C:\Temp\data_feed\src\dotnet\QuantEngine.Application\obj\Debug\net10.0\QuantEngine.Application.pdb
|
||||
C:\Temp\data_feed\src\dotnet\QuantEngine.Application\obj\Debug\net10.0\ref\QuantEngine.Application.dll
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
-698
@@ -1,698 +0,0 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\Temp\\data_feed\\src\\dotnet\\QuantEngine.Application\\QuantEngine.Application.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Temp\\data_feed\\src\\dotnet\\QuantEngine.Application\\QuantEngine.Application.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Temp\\data_feed\\src\\dotnet\\QuantEngine.Application\\QuantEngine.Application.csproj",
|
||||
"projectName": "QuantEngine.Application",
|
||||
"projectPath": "C:\\Temp\\data_feed\\src\\dotnet\\QuantEngine.Application\\QuantEngine.Application.csproj",
|
||||
"packagesPath": "D:\\DevCache\\nuget-packages",
|
||||
"outputPath": "C:\\Temp\\data_feed\\src\\dotnet\\QuantEngine.Application\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
|
||||
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\kjh20\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net10.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"framework": "net10.0",
|
||||
"targetAlias": "net10.0",
|
||||
"projectReferences": {
|
||||
"C:\\Temp\\data_feed\\src\\dotnet\\QuantEngine.Core\\QuantEngine.Core.csproj": {
|
||||
"projectPath": "C:\\Temp\\data_feed\\src\\dotnet\\QuantEngine.Core\\QuantEngine.Core.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "all"
|
||||
},
|
||||
"SdkAnalysisLevel": "10.0.300"
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"framework": "net10.0",
|
||||
"targetAlias": "net10.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.301/PortableRuntimeIdentifierGraph.json",
|
||||
"packagesToPrune": {
|
||||
"Microsoft.CSharp": "(,4.7.32767]",
|
||||
"Microsoft.VisualBasic": "(,10.4.32767]",
|
||||
"Microsoft.Win32.Primitives": "(,4.3.32767]",
|
||||
"Microsoft.Win32.Registry": "(,5.0.32767]",
|
||||
"runtime.any.System.Collections": "(,4.3.32767]",
|
||||
"runtime.any.System.Diagnostics.Tools": "(,4.3.32767]",
|
||||
"runtime.any.System.Diagnostics.Tracing": "(,4.3.32767]",
|
||||
"runtime.any.System.Globalization": "(,4.3.32767]",
|
||||
"runtime.any.System.Globalization.Calendars": "(,4.3.32767]",
|
||||
"runtime.any.System.IO": "(,4.3.32767]",
|
||||
"runtime.any.System.Reflection": "(,4.3.32767]",
|
||||
"runtime.any.System.Reflection.Extensions": "(,4.3.32767]",
|
||||
"runtime.any.System.Reflection.Primitives": "(,4.3.32767]",
|
||||
"runtime.any.System.Resources.ResourceManager": "(,4.3.32767]",
|
||||
"runtime.any.System.Runtime": "(,4.3.32767]",
|
||||
"runtime.any.System.Runtime.Handles": "(,4.3.32767]",
|
||||
"runtime.any.System.Runtime.InteropServices": "(,4.3.32767]",
|
||||
"runtime.any.System.Text.Encoding": "(,4.3.32767]",
|
||||
"runtime.any.System.Text.Encoding.Extensions": "(,4.3.32767]",
|
||||
"runtime.any.System.Threading.Tasks": "(,4.3.32767]",
|
||||
"runtime.any.System.Threading.Timer": "(,4.3.32767]",
|
||||
"runtime.aot.System.Collections": "(,4.3.32767]",
|
||||
"runtime.aot.System.Diagnostics.Tools": "(,4.3.32767]",
|
||||
"runtime.aot.System.Diagnostics.Tracing": "(,4.3.32767]",
|
||||
"runtime.aot.System.Globalization": "(,4.3.32767]",
|
||||
"runtime.aot.System.Globalization.Calendars": "(,4.3.32767]",
|
||||
"runtime.aot.System.IO": "(,4.3.32767]",
|
||||
"runtime.aot.System.Reflection": "(,4.3.32767]",
|
||||
"runtime.aot.System.Reflection.Extensions": "(,4.3.32767]",
|
||||
"runtime.aot.System.Reflection.Primitives": "(,4.3.32767]",
|
||||
"runtime.aot.System.Resources.ResourceManager": "(,4.3.32767]",
|
||||
"runtime.aot.System.Runtime": "(,4.3.32767]",
|
||||
"runtime.aot.System.Runtime.Handles": "(,4.3.32767]",
|
||||
"runtime.aot.System.Runtime.InteropServices": "(,4.3.32767]",
|
||||
"runtime.aot.System.Text.Encoding": "(,4.3.32767]",
|
||||
"runtime.aot.System.Text.Encoding.Extensions": "(,4.3.32767]",
|
||||
"runtime.aot.System.Threading.Tasks": "(,4.3.32767]",
|
||||
"runtime.aot.System.Threading.Timer": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.unix.Microsoft.Win32.Primitives": "(,4.3.32767]",
|
||||
"runtime.unix.System.Console": "(,4.3.32767]",
|
||||
"runtime.unix.System.Diagnostics.Debug": "(,4.3.32767]",
|
||||
"runtime.unix.System.IO.FileSystem": "(,4.3.32767]",
|
||||
"runtime.unix.System.Net.Primitives": "(,4.3.32767]",
|
||||
"runtime.unix.System.Net.Sockets": "(,4.3.32767]",
|
||||
"runtime.unix.System.Private.Uri": "(,4.3.32767]",
|
||||
"runtime.unix.System.Runtime.Extensions": "(,4.3.32767]",
|
||||
"runtime.win.Microsoft.Win32.Primitives": "(,4.3.32767]",
|
||||
"runtime.win.System.Console": "(,4.3.32767]",
|
||||
"runtime.win.System.Diagnostics.Debug": "(,4.3.32767]",
|
||||
"runtime.win.System.IO.FileSystem": "(,4.3.32767]",
|
||||
"runtime.win.System.Net.Primitives": "(,4.3.32767]",
|
||||
"runtime.win.System.Net.Sockets": "(,4.3.32767]",
|
||||
"runtime.win.System.Runtime.Extensions": "(,4.3.32767]",
|
||||
"runtime.win10-arm-aot.runtime.native.System.IO.Compression": "(,4.0.32767]",
|
||||
"runtime.win10-arm64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.win10-x64-aot.runtime.native.System.IO.Compression": "(,4.0.32767]",
|
||||
"runtime.win10-x86-aot.runtime.native.System.IO.Compression": "(,4.0.32767]",
|
||||
"runtime.win7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.win7-x86.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.win7.System.Private.Uri": "(,4.3.32767]",
|
||||
"runtime.win8-arm.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"System.AppContext": "(,4.3.32767]",
|
||||
"System.Buffers": "(,5.0.32767]",
|
||||
"System.Collections": "(,4.3.32767]",
|
||||
"System.Collections.Concurrent": "(,4.3.32767]",
|
||||
"System.Collections.Immutable": "(,10.0.32767]",
|
||||
"System.Collections.NonGeneric": "(,4.3.32767]",
|
||||
"System.Collections.Specialized": "(,4.3.32767]",
|
||||
"System.ComponentModel": "(,4.3.32767]",
|
||||
"System.ComponentModel.Annotations": "(,4.3.32767]",
|
||||
"System.ComponentModel.EventBasedAsync": "(,4.3.32767]",
|
||||
"System.ComponentModel.Primitives": "(,4.3.32767]",
|
||||
"System.ComponentModel.TypeConverter": "(,4.3.32767]",
|
||||
"System.Console": "(,4.3.32767]",
|
||||
"System.Data.Common": "(,4.3.32767]",
|
||||
"System.Data.DataSetExtensions": "(,4.4.32767]",
|
||||
"System.Diagnostics.Contracts": "(,4.3.32767]",
|
||||
"System.Diagnostics.Debug": "(,4.3.32767]",
|
||||
"System.Diagnostics.DiagnosticSource": "(,10.0.32767]",
|
||||
"System.Diagnostics.FileVersionInfo": "(,4.3.32767]",
|
||||
"System.Diagnostics.Process": "(,4.3.32767]",
|
||||
"System.Diagnostics.StackTrace": "(,4.3.32767]",
|
||||
"System.Diagnostics.TextWriterTraceListener": "(,4.3.32767]",
|
||||
"System.Diagnostics.Tools": "(,4.3.32767]",
|
||||
"System.Diagnostics.TraceSource": "(,4.3.32767]",
|
||||
"System.Diagnostics.Tracing": "(,4.3.32767]",
|
||||
"System.Drawing.Primitives": "(,4.3.32767]",
|
||||
"System.Dynamic.Runtime": "(,4.3.32767]",
|
||||
"System.Formats.Asn1": "(,10.0.32767]",
|
||||
"System.Formats.Tar": "(,10.0.32767]",
|
||||
"System.Globalization": "(,4.3.32767]",
|
||||
"System.Globalization.Calendars": "(,4.3.32767]",
|
||||
"System.Globalization.Extensions": "(,4.3.32767]",
|
||||
"System.IO": "(,4.3.32767]",
|
||||
"System.IO.Compression": "(,4.3.32767]",
|
||||
"System.IO.Compression.ZipFile": "(,4.3.32767]",
|
||||
"System.IO.FileSystem": "(,4.3.32767]",
|
||||
"System.IO.FileSystem.AccessControl": "(,4.4.32767]",
|
||||
"System.IO.FileSystem.DriveInfo": "(,4.3.32767]",
|
||||
"System.IO.FileSystem.Primitives": "(,4.3.32767]",
|
||||
"System.IO.FileSystem.Watcher": "(,4.3.32767]",
|
||||
"System.IO.IsolatedStorage": "(,4.3.32767]",
|
||||
"System.IO.MemoryMappedFiles": "(,4.3.32767]",
|
||||
"System.IO.Pipelines": "(,10.0.32767]",
|
||||
"System.IO.Pipes": "(,4.3.32767]",
|
||||
"System.IO.Pipes.AccessControl": "(,5.0.32767]",
|
||||
"System.IO.UnmanagedMemoryStream": "(,4.3.32767]",
|
||||
"System.Linq": "(,4.3.32767]",
|
||||
"System.Linq.AsyncEnumerable": "(,10.0.32767]",
|
||||
"System.Linq.Expressions": "(,4.3.32767]",
|
||||
"System.Linq.Parallel": "(,4.3.32767]",
|
||||
"System.Linq.Queryable": "(,4.3.32767]",
|
||||
"System.Memory": "(,5.0.32767]",
|
||||
"System.Net.Http": "(,4.3.32767]",
|
||||
"System.Net.Http.Json": "(,10.0.32767]",
|
||||
"System.Net.NameResolution": "(,4.3.32767]",
|
||||
"System.Net.NetworkInformation": "(,4.3.32767]",
|
||||
"System.Net.Ping": "(,4.3.32767]",
|
||||
"System.Net.Primitives": "(,4.3.32767]",
|
||||
"System.Net.Requests": "(,4.3.32767]",
|
||||
"System.Net.Security": "(,4.3.32767]",
|
||||
"System.Net.ServerSentEvents": "(,10.0.32767]",
|
||||
"System.Net.Sockets": "(,4.3.32767]",
|
||||
"System.Net.WebHeaderCollection": "(,4.3.32767]",
|
||||
"System.Net.WebSockets": "(,4.3.32767]",
|
||||
"System.Net.WebSockets.Client": "(,4.3.32767]",
|
||||
"System.Numerics.Vectors": "(,5.0.32767]",
|
||||
"System.ObjectModel": "(,4.3.32767]",
|
||||
"System.Private.DataContractSerialization": "(,4.3.32767]",
|
||||
"System.Private.Uri": "(,4.3.32767]",
|
||||
"System.Reflection": "(,4.3.32767]",
|
||||
"System.Reflection.DispatchProxy": "(,6.0.32767]",
|
||||
"System.Reflection.Emit": "(,4.7.32767]",
|
||||
"System.Reflection.Emit.ILGeneration": "(,4.7.32767]",
|
||||
"System.Reflection.Emit.Lightweight": "(,4.7.32767]",
|
||||
"System.Reflection.Extensions": "(,4.3.32767]",
|
||||
"System.Reflection.Metadata": "(,10.0.32767]",
|
||||
"System.Reflection.Primitives": "(,4.3.32767]",
|
||||
"System.Reflection.TypeExtensions": "(,4.3.32767]",
|
||||
"System.Resources.Reader": "(,4.3.32767]",
|
||||
"System.Resources.ResourceManager": "(,4.3.32767]",
|
||||
"System.Resources.Writer": "(,4.3.32767]",
|
||||
"System.Runtime": "(,4.3.32767]",
|
||||
"System.Runtime.CompilerServices.Unsafe": "(,7.0.32767]",
|
||||
"System.Runtime.CompilerServices.VisualC": "(,4.3.32767]",
|
||||
"System.Runtime.Extensions": "(,4.3.32767]",
|
||||
"System.Runtime.Handles": "(,4.3.32767]",
|
||||
"System.Runtime.InteropServices": "(,4.3.32767]",
|
||||
"System.Runtime.InteropServices.RuntimeInformation": "(,4.3.32767]",
|
||||
"System.Runtime.Loader": "(,4.3.32767]",
|
||||
"System.Runtime.Numerics": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Formatters": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Json": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Primitives": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Xml": "(,4.3.32767]",
|
||||
"System.Security.AccessControl": "(,6.0.32767]",
|
||||
"System.Security.Claims": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.Algorithms": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.Cng": "(,5.0.32767]",
|
||||
"System.Security.Cryptography.Csp": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.Encoding": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.OpenSsl": "(,5.0.32767]",
|
||||
"System.Security.Cryptography.Primitives": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.X509Certificates": "(,4.3.32767]",
|
||||
"System.Security.Principal": "(,4.3.32767]",
|
||||
"System.Security.Principal.Windows": "(,5.0.32767]",
|
||||
"System.Security.SecureString": "(,4.3.32767]",
|
||||
"System.Text.Encoding": "(,4.3.32767]",
|
||||
"System.Text.Encoding.CodePages": "(,10.0.32767]",
|
||||
"System.Text.Encoding.Extensions": "(,4.3.32767]",
|
||||
"System.Text.Encodings.Web": "(,10.0.32767]",
|
||||
"System.Text.Json": "(,10.0.32767]",
|
||||
"System.Text.RegularExpressions": "(,4.3.32767]",
|
||||
"System.Threading": "(,4.3.32767]",
|
||||
"System.Threading.AccessControl": "(,10.0.32767]",
|
||||
"System.Threading.Channels": "(,10.0.32767]",
|
||||
"System.Threading.Overlapped": "(,4.3.32767]",
|
||||
"System.Threading.Tasks": "(,4.3.32767]",
|
||||
"System.Threading.Tasks.Dataflow": "(,10.0.32767]",
|
||||
"System.Threading.Tasks.Extensions": "(,5.0.32767]",
|
||||
"System.Threading.Tasks.Parallel": "(,4.3.32767]",
|
||||
"System.Threading.Thread": "(,4.3.32767]",
|
||||
"System.Threading.ThreadPool": "(,4.3.32767]",
|
||||
"System.Threading.Timer": "(,4.3.32767]",
|
||||
"System.ValueTuple": "(,4.5.32767]",
|
||||
"System.Xml.ReaderWriter": "(,4.3.32767]",
|
||||
"System.Xml.XDocument": "(,4.3.32767]",
|
||||
"System.Xml.XmlDocument": "(,4.3.32767]",
|
||||
"System.Xml.XmlSerializer": "(,4.3.32767]",
|
||||
"System.Xml.XPath": "(,4.3.32767]",
|
||||
"System.Xml.XPath.XDocument": "(,5.0.32767]"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"C:\\Temp\\data_feed\\src\\dotnet\\QuantEngine.Core\\QuantEngine.Core.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Temp\\data_feed\\src\\dotnet\\QuantEngine.Core\\QuantEngine.Core.csproj",
|
||||
"projectName": "QuantEngine.Core",
|
||||
"projectPath": "C:\\Temp\\data_feed\\src\\dotnet\\QuantEngine.Core\\QuantEngine.Core.csproj",
|
||||
"packagesPath": "D:\\DevCache\\nuget-packages",
|
||||
"outputPath": "C:\\Temp\\data_feed\\src\\dotnet\\QuantEngine.Core\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
|
||||
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\kjh20\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net10.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"framework": "net10.0",
|
||||
"targetAlias": "net10.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "all"
|
||||
},
|
||||
"SdkAnalysisLevel": "10.0.300"
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"framework": "net10.0",
|
||||
"targetAlias": "net10.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.301/PortableRuntimeIdentifierGraph.json",
|
||||
"packagesToPrune": {
|
||||
"Microsoft.CSharp": "(,4.7.32767]",
|
||||
"Microsoft.VisualBasic": "(,10.4.32767]",
|
||||
"Microsoft.Win32.Primitives": "(,4.3.32767]",
|
||||
"Microsoft.Win32.Registry": "(,5.0.32767]",
|
||||
"runtime.any.System.Collections": "(,4.3.32767]",
|
||||
"runtime.any.System.Diagnostics.Tools": "(,4.3.32767]",
|
||||
"runtime.any.System.Diagnostics.Tracing": "(,4.3.32767]",
|
||||
"runtime.any.System.Globalization": "(,4.3.32767]",
|
||||
"runtime.any.System.Globalization.Calendars": "(,4.3.32767]",
|
||||
"runtime.any.System.IO": "(,4.3.32767]",
|
||||
"runtime.any.System.Reflection": "(,4.3.32767]",
|
||||
"runtime.any.System.Reflection.Extensions": "(,4.3.32767]",
|
||||
"runtime.any.System.Reflection.Primitives": "(,4.3.32767]",
|
||||
"runtime.any.System.Resources.ResourceManager": "(,4.3.32767]",
|
||||
"runtime.any.System.Runtime": "(,4.3.32767]",
|
||||
"runtime.any.System.Runtime.Handles": "(,4.3.32767]",
|
||||
"runtime.any.System.Runtime.InteropServices": "(,4.3.32767]",
|
||||
"runtime.any.System.Text.Encoding": "(,4.3.32767]",
|
||||
"runtime.any.System.Text.Encoding.Extensions": "(,4.3.32767]",
|
||||
"runtime.any.System.Threading.Tasks": "(,4.3.32767]",
|
||||
"runtime.any.System.Threading.Timer": "(,4.3.32767]",
|
||||
"runtime.aot.System.Collections": "(,4.3.32767]",
|
||||
"runtime.aot.System.Diagnostics.Tools": "(,4.3.32767]",
|
||||
"runtime.aot.System.Diagnostics.Tracing": "(,4.3.32767]",
|
||||
"runtime.aot.System.Globalization": "(,4.3.32767]",
|
||||
"runtime.aot.System.Globalization.Calendars": "(,4.3.32767]",
|
||||
"runtime.aot.System.IO": "(,4.3.32767]",
|
||||
"runtime.aot.System.Reflection": "(,4.3.32767]",
|
||||
"runtime.aot.System.Reflection.Extensions": "(,4.3.32767]",
|
||||
"runtime.aot.System.Reflection.Primitives": "(,4.3.32767]",
|
||||
"runtime.aot.System.Resources.ResourceManager": "(,4.3.32767]",
|
||||
"runtime.aot.System.Runtime": "(,4.3.32767]",
|
||||
"runtime.aot.System.Runtime.Handles": "(,4.3.32767]",
|
||||
"runtime.aot.System.Runtime.InteropServices": "(,4.3.32767]",
|
||||
"runtime.aot.System.Text.Encoding": "(,4.3.32767]",
|
||||
"runtime.aot.System.Text.Encoding.Extensions": "(,4.3.32767]",
|
||||
"runtime.aot.System.Threading.Tasks": "(,4.3.32767]",
|
||||
"runtime.aot.System.Threading.Timer": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.unix.Microsoft.Win32.Primitives": "(,4.3.32767]",
|
||||
"runtime.unix.System.Console": "(,4.3.32767]",
|
||||
"runtime.unix.System.Diagnostics.Debug": "(,4.3.32767]",
|
||||
"runtime.unix.System.IO.FileSystem": "(,4.3.32767]",
|
||||
"runtime.unix.System.Net.Primitives": "(,4.3.32767]",
|
||||
"runtime.unix.System.Net.Sockets": "(,4.3.32767]",
|
||||
"runtime.unix.System.Private.Uri": "(,4.3.32767]",
|
||||
"runtime.unix.System.Runtime.Extensions": "(,4.3.32767]",
|
||||
"runtime.win.Microsoft.Win32.Primitives": "(,4.3.32767]",
|
||||
"runtime.win.System.Console": "(,4.3.32767]",
|
||||
"runtime.win.System.Diagnostics.Debug": "(,4.3.32767]",
|
||||
"runtime.win.System.IO.FileSystem": "(,4.3.32767]",
|
||||
"runtime.win.System.Net.Primitives": "(,4.3.32767]",
|
||||
"runtime.win.System.Net.Sockets": "(,4.3.32767]",
|
||||
"runtime.win.System.Runtime.Extensions": "(,4.3.32767]",
|
||||
"runtime.win10-arm-aot.runtime.native.System.IO.Compression": "(,4.0.32767]",
|
||||
"runtime.win10-arm64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.win10-x64-aot.runtime.native.System.IO.Compression": "(,4.0.32767]",
|
||||
"runtime.win10-x86-aot.runtime.native.System.IO.Compression": "(,4.0.32767]",
|
||||
"runtime.win7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.win7-x86.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.win7.System.Private.Uri": "(,4.3.32767]",
|
||||
"runtime.win8-arm.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"System.AppContext": "(,4.3.32767]",
|
||||
"System.Buffers": "(,5.0.32767]",
|
||||
"System.Collections": "(,4.3.32767]",
|
||||
"System.Collections.Concurrent": "(,4.3.32767]",
|
||||
"System.Collections.Immutable": "(,10.0.32767]",
|
||||
"System.Collections.NonGeneric": "(,4.3.32767]",
|
||||
"System.Collections.Specialized": "(,4.3.32767]",
|
||||
"System.ComponentModel": "(,4.3.32767]",
|
||||
"System.ComponentModel.Annotations": "(,4.3.32767]",
|
||||
"System.ComponentModel.EventBasedAsync": "(,4.3.32767]",
|
||||
"System.ComponentModel.Primitives": "(,4.3.32767]",
|
||||
"System.ComponentModel.TypeConverter": "(,4.3.32767]",
|
||||
"System.Console": "(,4.3.32767]",
|
||||
"System.Data.Common": "(,4.3.32767]",
|
||||
"System.Data.DataSetExtensions": "(,4.4.32767]",
|
||||
"System.Diagnostics.Contracts": "(,4.3.32767]",
|
||||
"System.Diagnostics.Debug": "(,4.3.32767]",
|
||||
"System.Diagnostics.DiagnosticSource": "(,10.0.32767]",
|
||||
"System.Diagnostics.FileVersionInfo": "(,4.3.32767]",
|
||||
"System.Diagnostics.Process": "(,4.3.32767]",
|
||||
"System.Diagnostics.StackTrace": "(,4.3.32767]",
|
||||
"System.Diagnostics.TextWriterTraceListener": "(,4.3.32767]",
|
||||
"System.Diagnostics.Tools": "(,4.3.32767]",
|
||||
"System.Diagnostics.TraceSource": "(,4.3.32767]",
|
||||
"System.Diagnostics.Tracing": "(,4.3.32767]",
|
||||
"System.Drawing.Primitives": "(,4.3.32767]",
|
||||
"System.Dynamic.Runtime": "(,4.3.32767]",
|
||||
"System.Formats.Asn1": "(,10.0.32767]",
|
||||
"System.Formats.Tar": "(,10.0.32767]",
|
||||
"System.Globalization": "(,4.3.32767]",
|
||||
"System.Globalization.Calendars": "(,4.3.32767]",
|
||||
"System.Globalization.Extensions": "(,4.3.32767]",
|
||||
"System.IO": "(,4.3.32767]",
|
||||
"System.IO.Compression": "(,4.3.32767]",
|
||||
"System.IO.Compression.ZipFile": "(,4.3.32767]",
|
||||
"System.IO.FileSystem": "(,4.3.32767]",
|
||||
"System.IO.FileSystem.AccessControl": "(,4.4.32767]",
|
||||
"System.IO.FileSystem.DriveInfo": "(,4.3.32767]",
|
||||
"System.IO.FileSystem.Primitives": "(,4.3.32767]",
|
||||
"System.IO.FileSystem.Watcher": "(,4.3.32767]",
|
||||
"System.IO.IsolatedStorage": "(,4.3.32767]",
|
||||
"System.IO.MemoryMappedFiles": "(,4.3.32767]",
|
||||
"System.IO.Pipelines": "(,10.0.32767]",
|
||||
"System.IO.Pipes": "(,4.3.32767]",
|
||||
"System.IO.Pipes.AccessControl": "(,5.0.32767]",
|
||||
"System.IO.UnmanagedMemoryStream": "(,4.3.32767]",
|
||||
"System.Linq": "(,4.3.32767]",
|
||||
"System.Linq.AsyncEnumerable": "(,10.0.32767]",
|
||||
"System.Linq.Expressions": "(,4.3.32767]",
|
||||
"System.Linq.Parallel": "(,4.3.32767]",
|
||||
"System.Linq.Queryable": "(,4.3.32767]",
|
||||
"System.Memory": "(,5.0.32767]",
|
||||
"System.Net.Http": "(,4.3.32767]",
|
||||
"System.Net.Http.Json": "(,10.0.32767]",
|
||||
"System.Net.NameResolution": "(,4.3.32767]",
|
||||
"System.Net.NetworkInformation": "(,4.3.32767]",
|
||||
"System.Net.Ping": "(,4.3.32767]",
|
||||
"System.Net.Primitives": "(,4.3.32767]",
|
||||
"System.Net.Requests": "(,4.3.32767]",
|
||||
"System.Net.Security": "(,4.3.32767]",
|
||||
"System.Net.ServerSentEvents": "(,10.0.32767]",
|
||||
"System.Net.Sockets": "(,4.3.32767]",
|
||||
"System.Net.WebHeaderCollection": "(,4.3.32767]",
|
||||
"System.Net.WebSockets": "(,4.3.32767]",
|
||||
"System.Net.WebSockets.Client": "(,4.3.32767]",
|
||||
"System.Numerics.Vectors": "(,5.0.32767]",
|
||||
"System.ObjectModel": "(,4.3.32767]",
|
||||
"System.Private.DataContractSerialization": "(,4.3.32767]",
|
||||
"System.Private.Uri": "(,4.3.32767]",
|
||||
"System.Reflection": "(,4.3.32767]",
|
||||
"System.Reflection.DispatchProxy": "(,6.0.32767]",
|
||||
"System.Reflection.Emit": "(,4.7.32767]",
|
||||
"System.Reflection.Emit.ILGeneration": "(,4.7.32767]",
|
||||
"System.Reflection.Emit.Lightweight": "(,4.7.32767]",
|
||||
"System.Reflection.Extensions": "(,4.3.32767]",
|
||||
"System.Reflection.Metadata": "(,10.0.32767]",
|
||||
"System.Reflection.Primitives": "(,4.3.32767]",
|
||||
"System.Reflection.TypeExtensions": "(,4.3.32767]",
|
||||
"System.Resources.Reader": "(,4.3.32767]",
|
||||
"System.Resources.ResourceManager": "(,4.3.32767]",
|
||||
"System.Resources.Writer": "(,4.3.32767]",
|
||||
"System.Runtime": "(,4.3.32767]",
|
||||
"System.Runtime.CompilerServices.Unsafe": "(,7.0.32767]",
|
||||
"System.Runtime.CompilerServices.VisualC": "(,4.3.32767]",
|
||||
"System.Runtime.Extensions": "(,4.3.32767]",
|
||||
"System.Runtime.Handles": "(,4.3.32767]",
|
||||
"System.Runtime.InteropServices": "(,4.3.32767]",
|
||||
"System.Runtime.InteropServices.RuntimeInformation": "(,4.3.32767]",
|
||||
"System.Runtime.Loader": "(,4.3.32767]",
|
||||
"System.Runtime.Numerics": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Formatters": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Json": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Primitives": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Xml": "(,4.3.32767]",
|
||||
"System.Security.AccessControl": "(,6.0.32767]",
|
||||
"System.Security.Claims": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.Algorithms": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.Cng": "(,5.0.32767]",
|
||||
"System.Security.Cryptography.Csp": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.Encoding": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.OpenSsl": "(,5.0.32767]",
|
||||
"System.Security.Cryptography.Primitives": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.X509Certificates": "(,4.3.32767]",
|
||||
"System.Security.Principal": "(,4.3.32767]",
|
||||
"System.Security.Principal.Windows": "(,5.0.32767]",
|
||||
"System.Security.SecureString": "(,4.3.32767]",
|
||||
"System.Text.Encoding": "(,4.3.32767]",
|
||||
"System.Text.Encoding.CodePages": "(,10.0.32767]",
|
||||
"System.Text.Encoding.Extensions": "(,4.3.32767]",
|
||||
"System.Text.Encodings.Web": "(,10.0.32767]",
|
||||
"System.Text.Json": "(,10.0.32767]",
|
||||
"System.Text.RegularExpressions": "(,4.3.32767]",
|
||||
"System.Threading": "(,4.3.32767]",
|
||||
"System.Threading.AccessControl": "(,10.0.32767]",
|
||||
"System.Threading.Channels": "(,10.0.32767]",
|
||||
"System.Threading.Overlapped": "(,4.3.32767]",
|
||||
"System.Threading.Tasks": "(,4.3.32767]",
|
||||
"System.Threading.Tasks.Dataflow": "(,10.0.32767]",
|
||||
"System.Threading.Tasks.Extensions": "(,5.0.32767]",
|
||||
"System.Threading.Tasks.Parallel": "(,4.3.32767]",
|
||||
"System.Threading.Thread": "(,4.3.32767]",
|
||||
"System.Threading.ThreadPool": "(,4.3.32767]",
|
||||
"System.Threading.Timer": "(,4.3.32767]",
|
||||
"System.ValueTuple": "(,4.5.32767]",
|
||||
"System.Xml.ReaderWriter": "(,4.3.32767]",
|
||||
"System.Xml.XDocument": "(,4.3.32767]",
|
||||
"System.Xml.XmlDocument": "(,4.3.32767]",
|
||||
"System.Xml.XmlSerializer": "(,4.3.32767]",
|
||||
"System.Xml.XPath": "(,4.3.32767]",
|
||||
"System.Xml.XPath.XDocument": "(,5.0.32767]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">D:\DevCache\nuget-packages</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">D:\DevCache\nuget-packages;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">7.0.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="D:\DevCache\nuget-packages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||
<SourceRoot Include="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
||||
@@ -1,381 +0,0 @@
|
||||
{
|
||||
"version": 4,
|
||||
"targets": {
|
||||
"net10.0": {
|
||||
"QuantEngine.Core/1.0.0": {
|
||||
"type": "project",
|
||||
"framework": ".NETCoreApp,Version=v10.0",
|
||||
"compile": {
|
||||
"bin/placeholder/QuantEngine.Core.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"bin/placeholder/QuantEngine.Core.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"QuantEngine.Core/1.0.0": {
|
||||
"type": "project",
|
||||
"path": "../QuantEngine.Core/QuantEngine.Core.csproj",
|
||||
"msbuildProject": "../QuantEngine.Core/QuantEngine.Core.csproj"
|
||||
}
|
||||
},
|
||||
"projectFileDependencyGroups": {
|
||||
"net10.0": [
|
||||
"QuantEngine.Core >= 1.0.0"
|
||||
]
|
||||
},
|
||||
"packageFolders": {
|
||||
"D:\\DevCache\\nuget-packages": {},
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {},
|
||||
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Temp\\data_feed\\src\\dotnet\\QuantEngine.Application\\QuantEngine.Application.csproj",
|
||||
"projectName": "QuantEngine.Application",
|
||||
"projectPath": "C:\\Temp\\data_feed\\src\\dotnet\\QuantEngine.Application\\QuantEngine.Application.csproj",
|
||||
"packagesPath": "D:\\DevCache\\nuget-packages",
|
||||
"outputPath": "C:\\Temp\\data_feed\\src\\dotnet\\QuantEngine.Application\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
|
||||
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\kjh20\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net10.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"framework": "net10.0",
|
||||
"targetAlias": "net10.0",
|
||||
"projectReferences": {
|
||||
"C:\\Temp\\data_feed\\src\\dotnet\\QuantEngine.Core\\QuantEngine.Core.csproj": {
|
||||
"projectPath": "C:\\Temp\\data_feed\\src\\dotnet\\QuantEngine.Core\\QuantEngine.Core.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "all"
|
||||
},
|
||||
"SdkAnalysisLevel": "10.0.300"
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"framework": "net10.0",
|
||||
"targetAlias": "net10.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.301/PortableRuntimeIdentifierGraph.json",
|
||||
"packagesToPrune": {
|
||||
"Microsoft.CSharp": "(,4.7.32767]",
|
||||
"Microsoft.VisualBasic": "(,10.4.32767]",
|
||||
"Microsoft.Win32.Primitives": "(,4.3.32767]",
|
||||
"Microsoft.Win32.Registry": "(,5.0.32767]",
|
||||
"runtime.any.System.Collections": "(,4.3.32767]",
|
||||
"runtime.any.System.Diagnostics.Tools": "(,4.3.32767]",
|
||||
"runtime.any.System.Diagnostics.Tracing": "(,4.3.32767]",
|
||||
"runtime.any.System.Globalization": "(,4.3.32767]",
|
||||
"runtime.any.System.Globalization.Calendars": "(,4.3.32767]",
|
||||
"runtime.any.System.IO": "(,4.3.32767]",
|
||||
"runtime.any.System.Reflection": "(,4.3.32767]",
|
||||
"runtime.any.System.Reflection.Extensions": "(,4.3.32767]",
|
||||
"runtime.any.System.Reflection.Primitives": "(,4.3.32767]",
|
||||
"runtime.any.System.Resources.ResourceManager": "(,4.3.32767]",
|
||||
"runtime.any.System.Runtime": "(,4.3.32767]",
|
||||
"runtime.any.System.Runtime.Handles": "(,4.3.32767]",
|
||||
"runtime.any.System.Runtime.InteropServices": "(,4.3.32767]",
|
||||
"runtime.any.System.Text.Encoding": "(,4.3.32767]",
|
||||
"runtime.any.System.Text.Encoding.Extensions": "(,4.3.32767]",
|
||||
"runtime.any.System.Threading.Tasks": "(,4.3.32767]",
|
||||
"runtime.any.System.Threading.Timer": "(,4.3.32767]",
|
||||
"runtime.aot.System.Collections": "(,4.3.32767]",
|
||||
"runtime.aot.System.Diagnostics.Tools": "(,4.3.32767]",
|
||||
"runtime.aot.System.Diagnostics.Tracing": "(,4.3.32767]",
|
||||
"runtime.aot.System.Globalization": "(,4.3.32767]",
|
||||
"runtime.aot.System.Globalization.Calendars": "(,4.3.32767]",
|
||||
"runtime.aot.System.IO": "(,4.3.32767]",
|
||||
"runtime.aot.System.Reflection": "(,4.3.32767]",
|
||||
"runtime.aot.System.Reflection.Extensions": "(,4.3.32767]",
|
||||
"runtime.aot.System.Reflection.Primitives": "(,4.3.32767]",
|
||||
"runtime.aot.System.Resources.ResourceManager": "(,4.3.32767]",
|
||||
"runtime.aot.System.Runtime": "(,4.3.32767]",
|
||||
"runtime.aot.System.Runtime.Handles": "(,4.3.32767]",
|
||||
"runtime.aot.System.Runtime.InteropServices": "(,4.3.32767]",
|
||||
"runtime.aot.System.Text.Encoding": "(,4.3.32767]",
|
||||
"runtime.aot.System.Text.Encoding.Extensions": "(,4.3.32767]",
|
||||
"runtime.aot.System.Threading.Tasks": "(,4.3.32767]",
|
||||
"runtime.aot.System.Threading.Timer": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.debian.9-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.27-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.fedora.28-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.opensuse.42.3-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "(,4.3.32767]",
|
||||
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
|
||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
|
||||
"runtime.ubuntu.18.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
|
||||
"runtime.unix.Microsoft.Win32.Primitives": "(,4.3.32767]",
|
||||
"runtime.unix.System.Console": "(,4.3.32767]",
|
||||
"runtime.unix.System.Diagnostics.Debug": "(,4.3.32767]",
|
||||
"runtime.unix.System.IO.FileSystem": "(,4.3.32767]",
|
||||
"runtime.unix.System.Net.Primitives": "(,4.3.32767]",
|
||||
"runtime.unix.System.Net.Sockets": "(,4.3.32767]",
|
||||
"runtime.unix.System.Private.Uri": "(,4.3.32767]",
|
||||
"runtime.unix.System.Runtime.Extensions": "(,4.3.32767]",
|
||||
"runtime.win.Microsoft.Win32.Primitives": "(,4.3.32767]",
|
||||
"runtime.win.System.Console": "(,4.3.32767]",
|
||||
"runtime.win.System.Diagnostics.Debug": "(,4.3.32767]",
|
||||
"runtime.win.System.IO.FileSystem": "(,4.3.32767]",
|
||||
"runtime.win.System.Net.Primitives": "(,4.3.32767]",
|
||||
"runtime.win.System.Net.Sockets": "(,4.3.32767]",
|
||||
"runtime.win.System.Runtime.Extensions": "(,4.3.32767]",
|
||||
"runtime.win10-arm-aot.runtime.native.System.IO.Compression": "(,4.0.32767]",
|
||||
"runtime.win10-arm64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.win10-x64-aot.runtime.native.System.IO.Compression": "(,4.0.32767]",
|
||||
"runtime.win10-x86-aot.runtime.native.System.IO.Compression": "(,4.0.32767]",
|
||||
"runtime.win7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.win7-x86.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"runtime.win7.System.Private.Uri": "(,4.3.32767]",
|
||||
"runtime.win8-arm.runtime.native.System.IO.Compression": "(,4.3.32767]",
|
||||
"System.AppContext": "(,4.3.32767]",
|
||||
"System.Buffers": "(,5.0.32767]",
|
||||
"System.Collections": "(,4.3.32767]",
|
||||
"System.Collections.Concurrent": "(,4.3.32767]",
|
||||
"System.Collections.Immutable": "(,10.0.32767]",
|
||||
"System.Collections.NonGeneric": "(,4.3.32767]",
|
||||
"System.Collections.Specialized": "(,4.3.32767]",
|
||||
"System.ComponentModel": "(,4.3.32767]",
|
||||
"System.ComponentModel.Annotations": "(,4.3.32767]",
|
||||
"System.ComponentModel.EventBasedAsync": "(,4.3.32767]",
|
||||
"System.ComponentModel.Primitives": "(,4.3.32767]",
|
||||
"System.ComponentModel.TypeConverter": "(,4.3.32767]",
|
||||
"System.Console": "(,4.3.32767]",
|
||||
"System.Data.Common": "(,4.3.32767]",
|
||||
"System.Data.DataSetExtensions": "(,4.4.32767]",
|
||||
"System.Diagnostics.Contracts": "(,4.3.32767]",
|
||||
"System.Diagnostics.Debug": "(,4.3.32767]",
|
||||
"System.Diagnostics.DiagnosticSource": "(,10.0.32767]",
|
||||
"System.Diagnostics.FileVersionInfo": "(,4.3.32767]",
|
||||
"System.Diagnostics.Process": "(,4.3.32767]",
|
||||
"System.Diagnostics.StackTrace": "(,4.3.32767]",
|
||||
"System.Diagnostics.TextWriterTraceListener": "(,4.3.32767]",
|
||||
"System.Diagnostics.Tools": "(,4.3.32767]",
|
||||
"System.Diagnostics.TraceSource": "(,4.3.32767]",
|
||||
"System.Diagnostics.Tracing": "(,4.3.32767]",
|
||||
"System.Drawing.Primitives": "(,4.3.32767]",
|
||||
"System.Dynamic.Runtime": "(,4.3.32767]",
|
||||
"System.Formats.Asn1": "(,10.0.32767]",
|
||||
"System.Formats.Tar": "(,10.0.32767]",
|
||||
"System.Globalization": "(,4.3.32767]",
|
||||
"System.Globalization.Calendars": "(,4.3.32767]",
|
||||
"System.Globalization.Extensions": "(,4.3.32767]",
|
||||
"System.IO": "(,4.3.32767]",
|
||||
"System.IO.Compression": "(,4.3.32767]",
|
||||
"System.IO.Compression.ZipFile": "(,4.3.32767]",
|
||||
"System.IO.FileSystem": "(,4.3.32767]",
|
||||
"System.IO.FileSystem.AccessControl": "(,4.4.32767]",
|
||||
"System.IO.FileSystem.DriveInfo": "(,4.3.32767]",
|
||||
"System.IO.FileSystem.Primitives": "(,4.3.32767]",
|
||||
"System.IO.FileSystem.Watcher": "(,4.3.32767]",
|
||||
"System.IO.IsolatedStorage": "(,4.3.32767]",
|
||||
"System.IO.MemoryMappedFiles": "(,4.3.32767]",
|
||||
"System.IO.Pipelines": "(,10.0.32767]",
|
||||
"System.IO.Pipes": "(,4.3.32767]",
|
||||
"System.IO.Pipes.AccessControl": "(,5.0.32767]",
|
||||
"System.IO.UnmanagedMemoryStream": "(,4.3.32767]",
|
||||
"System.Linq": "(,4.3.32767]",
|
||||
"System.Linq.AsyncEnumerable": "(,10.0.32767]",
|
||||
"System.Linq.Expressions": "(,4.3.32767]",
|
||||
"System.Linq.Parallel": "(,4.3.32767]",
|
||||
"System.Linq.Queryable": "(,4.3.32767]",
|
||||
"System.Memory": "(,5.0.32767]",
|
||||
"System.Net.Http": "(,4.3.32767]",
|
||||
"System.Net.Http.Json": "(,10.0.32767]",
|
||||
"System.Net.NameResolution": "(,4.3.32767]",
|
||||
"System.Net.NetworkInformation": "(,4.3.32767]",
|
||||
"System.Net.Ping": "(,4.3.32767]",
|
||||
"System.Net.Primitives": "(,4.3.32767]",
|
||||
"System.Net.Requests": "(,4.3.32767]",
|
||||
"System.Net.Security": "(,4.3.32767]",
|
||||
"System.Net.ServerSentEvents": "(,10.0.32767]",
|
||||
"System.Net.Sockets": "(,4.3.32767]",
|
||||
"System.Net.WebHeaderCollection": "(,4.3.32767]",
|
||||
"System.Net.WebSockets": "(,4.3.32767]",
|
||||
"System.Net.WebSockets.Client": "(,4.3.32767]",
|
||||
"System.Numerics.Vectors": "(,5.0.32767]",
|
||||
"System.ObjectModel": "(,4.3.32767]",
|
||||
"System.Private.DataContractSerialization": "(,4.3.32767]",
|
||||
"System.Private.Uri": "(,4.3.32767]",
|
||||
"System.Reflection": "(,4.3.32767]",
|
||||
"System.Reflection.DispatchProxy": "(,6.0.32767]",
|
||||
"System.Reflection.Emit": "(,4.7.32767]",
|
||||
"System.Reflection.Emit.ILGeneration": "(,4.7.32767]",
|
||||
"System.Reflection.Emit.Lightweight": "(,4.7.32767]",
|
||||
"System.Reflection.Extensions": "(,4.3.32767]",
|
||||
"System.Reflection.Metadata": "(,10.0.32767]",
|
||||
"System.Reflection.Primitives": "(,4.3.32767]",
|
||||
"System.Reflection.TypeExtensions": "(,4.3.32767]",
|
||||
"System.Resources.Reader": "(,4.3.32767]",
|
||||
"System.Resources.ResourceManager": "(,4.3.32767]",
|
||||
"System.Resources.Writer": "(,4.3.32767]",
|
||||
"System.Runtime": "(,4.3.32767]",
|
||||
"System.Runtime.CompilerServices.Unsafe": "(,7.0.32767]",
|
||||
"System.Runtime.CompilerServices.VisualC": "(,4.3.32767]",
|
||||
"System.Runtime.Extensions": "(,4.3.32767]",
|
||||
"System.Runtime.Handles": "(,4.3.32767]",
|
||||
"System.Runtime.InteropServices": "(,4.3.32767]",
|
||||
"System.Runtime.InteropServices.RuntimeInformation": "(,4.3.32767]",
|
||||
"System.Runtime.Loader": "(,4.3.32767]",
|
||||
"System.Runtime.Numerics": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Formatters": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Json": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Primitives": "(,4.3.32767]",
|
||||
"System.Runtime.Serialization.Xml": "(,4.3.32767]",
|
||||
"System.Security.AccessControl": "(,6.0.32767]",
|
||||
"System.Security.Claims": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.Algorithms": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.Cng": "(,5.0.32767]",
|
||||
"System.Security.Cryptography.Csp": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.Encoding": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.OpenSsl": "(,5.0.32767]",
|
||||
"System.Security.Cryptography.Primitives": "(,4.3.32767]",
|
||||
"System.Security.Cryptography.X509Certificates": "(,4.3.32767]",
|
||||
"System.Security.Principal": "(,4.3.32767]",
|
||||
"System.Security.Principal.Windows": "(,5.0.32767]",
|
||||
"System.Security.SecureString": "(,4.3.32767]",
|
||||
"System.Text.Encoding": "(,4.3.32767]",
|
||||
"System.Text.Encoding.CodePages": "(,10.0.32767]",
|
||||
"System.Text.Encoding.Extensions": "(,4.3.32767]",
|
||||
"System.Text.Encodings.Web": "(,10.0.32767]",
|
||||
"System.Text.Json": "(,10.0.32767]",
|
||||
"System.Text.RegularExpressions": "(,4.3.32767]",
|
||||
"System.Threading": "(,4.3.32767]",
|
||||
"System.Threading.AccessControl": "(,10.0.32767]",
|
||||
"System.Threading.Channels": "(,10.0.32767]",
|
||||
"System.Threading.Overlapped": "(,4.3.32767]",
|
||||
"System.Threading.Tasks": "(,4.3.32767]",
|
||||
"System.Threading.Tasks.Dataflow": "(,10.0.32767]",
|
||||
"System.Threading.Tasks.Extensions": "(,5.0.32767]",
|
||||
"System.Threading.Tasks.Parallel": "(,4.3.32767]",
|
||||
"System.Threading.Thread": "(,4.3.32767]",
|
||||
"System.Threading.ThreadPool": "(,4.3.32767]",
|
||||
"System.Threading.Timer": "(,4.3.32767]",
|
||||
"System.ValueTuple": "(,4.5.32767]",
|
||||
"System.Xml.ReaderWriter": "(,4.3.32767]",
|
||||
"System.Xml.XDocument": "(,4.3.32767]",
|
||||
"System.Xml.XmlDocument": "(,4.3.32767]",
|
||||
"System.Xml.XmlSerializer": "(,4.3.32767]",
|
||||
"System.Xml.XPath": "(,4.3.32767]",
|
||||
"System.Xml.XPath.XDocument": "(,5.0.32767]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "fHUX04f/fhA=",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Temp\\data_feed\\src\\dotnet\\QuantEngine.Application\\QuantEngine.Application.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
||||
@@ -1,159 +0,0 @@
|
||||
using QuantEngine.Application.Services;
|
||||
using QuantEngine.Core.Interfaces;
|
||||
using QuantEngine.Core.Models;
|
||||
|
||||
namespace QuantEngine.Core.Tests;
|
||||
|
||||
public class ApplicationServiceTests
|
||||
{
|
||||
[Fact]
|
||||
public async Task WorkspaceService_ForwardsSettingAndHistoryOperations()
|
||||
{
|
||||
var repo = new FakeWorkspaceRepository();
|
||||
var history = new FakeHistoryStore();
|
||||
var service = new WorkspaceService(repo, history);
|
||||
|
||||
var setting = new Setting { Ordinal = 1, Key = "risk_mode", ValueJson = "\"RISK_ON\"" };
|
||||
Assert.True(await service.UpsertSettingAsync(setting));
|
||||
Assert.Equal(setting, repo.LastSetting);
|
||||
|
||||
var payload = new Dictionary<string, object?> { ["foo"] = "bar" };
|
||||
Assert.Equal(1, await service.AppendHistoryAsync("decision_result_history", payload));
|
||||
Assert.Equal("decision_result_history", history.LastDomain);
|
||||
Assert.Equal("bar", history.LastPayload?["foo"]);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task ApprovalService_ForwardsApprovalAndLockOperations()
|
||||
{
|
||||
var repo = new FakeWorkspaceRepository();
|
||||
var service = new ApprovalService(repo);
|
||||
|
||||
var approval = new WorkspaceApproval { Domain = "settings", TargetRef = "portfolio", Status = "APPROVED" };
|
||||
Assert.True(await service.UpsertApprovalAsync(approval));
|
||||
Assert.Equal(approval, repo.LastApproval);
|
||||
|
||||
var lockRow = new WorkspaceLock { Domain = "settings", TargetRef = "portfolio", LockedBy = "qa", Reason = "review" };
|
||||
Assert.True(await service.AcquireLockAsync(lockRow));
|
||||
Assert.Equal(lockRow, repo.LastLock);
|
||||
Assert.True(await service.ReleaseLockAsync("settings", "portfolio"));
|
||||
Assert.Equal(("settings", "portfolio"), repo.LastReleasedLock);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task CollectionService_AppendsRunSnapshotAndErrorRecords()
|
||||
{
|
||||
var history = new FakeHistoryStore();
|
||||
var service = new CollectionService(history);
|
||||
|
||||
await service.AppendRunAsync(new CollectionRun
|
||||
{
|
||||
RunId = "run-1",
|
||||
CollectorName = "kis",
|
||||
StartedAt = "2026-06-26T09:00:00+09:00",
|
||||
Status = "PASS"
|
||||
});
|
||||
|
||||
Assert.Equal("collection_run_history", history.LastDomain);
|
||||
Assert.Equal("run-1", history.LastPayload?["run_id"]);
|
||||
|
||||
await service.AppendSnapshotAsync(new CollectionSnapshot
|
||||
{
|
||||
RunId = "run-1",
|
||||
DatasetName = "decision_result_history",
|
||||
Ticker = "005930",
|
||||
SourcePriority = "KIS",
|
||||
SourceStatus = "PASS",
|
||||
PayloadJson = "{}",
|
||||
ProvenanceJson = "{}"
|
||||
});
|
||||
|
||||
Assert.Equal("collection_snapshot_history", history.LastDomain);
|
||||
Assert.Equal("005930", history.LastPayload?["ticker"]);
|
||||
|
||||
await service.AppendSourceErrorAsync(new CollectionSourceError
|
||||
{
|
||||
RunId = "run-1",
|
||||
SourceName = "naver",
|
||||
ErrorKind = "TIMEOUT",
|
||||
ErrorMessage = "timeout"
|
||||
});
|
||||
|
||||
Assert.Equal("collection_source_error_history", history.LastDomain);
|
||||
Assert.Equal("TIMEOUT", history.LastPayload?["error_kind"]);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task FormulaService_ForwardsFormulaExecutionAndHistory()
|
||||
{
|
||||
var history = new FakeHistoryStore();
|
||||
var service = new FormulaService(history);
|
||||
|
||||
var timing = service.ComputeTimingDecision(new Dictionary<string, object>
|
||||
{
|
||||
["entryModeGate"] = "PASS",
|
||||
["entryMode"] = "BREAKOUT",
|
||||
["leaderGate"] = "PASS",
|
||||
["acGate"] = "CLEAR",
|
||||
["priceStatus"] = "PRICE_OK",
|
||||
["atr20"] = 1.0,
|
||||
["leaderTotal"] = 4,
|
||||
["flowCredit"] = 0.7,
|
||||
["avgTradeValue5D"] = 100,
|
||||
["spreadPct"] = 0.5
|
||||
});
|
||||
|
||||
Assert.NotEqual(string.Empty, timing.Action);
|
||||
|
||||
await service.AppendFormulaRunAsync("timing", new Dictionary<string, object?>
|
||||
{
|
||||
["action"] = timing.Action,
|
||||
["entry_score"] = timing.EntryScore
|
||||
});
|
||||
|
||||
Assert.Equal("formula_timing_history", history.LastDomain);
|
||||
Assert.Equal(timing.Action, history.LastPayload?["action"]);
|
||||
}
|
||||
|
||||
private sealed class FakeWorkspaceRepository : IWorkspaceRepository
|
||||
{
|
||||
public Setting? LastSetting { get; private set; }
|
||||
public WorkspaceApproval? LastApproval { get; private set; }
|
||||
public WorkspaceLock? LastLock { get; private set; }
|
||||
public (string Domain, string TargetRef)? LastReleasedLock { get; private set; }
|
||||
|
||||
public Task<IEnumerable<Setting>> GetSettingsAsync() => Task.FromResult(Enumerable.Empty<Setting>());
|
||||
public Task<Setting?> GetSettingByKeyAsync(string key) => Task.FromResult<Setting?>(null);
|
||||
public Task<bool> UpsertSettingAsync(Setting setting) { LastSetting = setting; return Task.FromResult(true); }
|
||||
public Task<bool> DeleteSettingAsync(string key) => Task.FromResult(true);
|
||||
|
||||
public Task<IEnumerable<AccountSnapshot>> GetAccountSnapshotsAsync() => Task.FromResult(Enumerable.Empty<AccountSnapshot>());
|
||||
public Task<bool> InsertAccountSnapshotsAsync(IEnumerable<AccountSnapshot> snapshots) => Task.FromResult(true);
|
||||
public Task<bool> ClearAccountSnapshotsAsync() => Task.FromResult(true);
|
||||
|
||||
public Task<IEnumerable<WorkspaceApproval>> GetApprovalsAsync() => Task.FromResult(Enumerable.Empty<WorkspaceApproval>());
|
||||
public Task<WorkspaceApproval?> GetApprovalAsync(string domain, string targetRef) => Task.FromResult<WorkspaceApproval?>(null);
|
||||
public Task<bool> UpsertApprovalAsync(WorkspaceApproval approval) { LastApproval = approval; return Task.FromResult(true); }
|
||||
|
||||
public Task<IEnumerable<WorkspaceLock>> GetLocksAsync() => Task.FromResult(Enumerable.Empty<WorkspaceLock>());
|
||||
public Task<WorkspaceLock?> GetLockAsync(string domain, string targetRef) => Task.FromResult<WorkspaceLock?>(null);
|
||||
public Task<bool> AcquireLockAsync(WorkspaceLock @lock) { LastLock = @lock; return Task.FromResult(true); }
|
||||
public Task<bool> ReleaseLockAsync(string domain, string targetRef) { LastReleasedLock = (domain, targetRef); return Task.FromResult(true); }
|
||||
}
|
||||
|
||||
private sealed class FakeHistoryStore : IPostgresqlHistoryStore
|
||||
{
|
||||
public string? LastDomain { get; private set; }
|
||||
public IDictionary<string, object?>? LastPayload { get; private set; }
|
||||
|
||||
public Task<int> AppendAsync(string domain, IDictionary<string, object?> payload)
|
||||
{
|
||||
LastDomain = domain;
|
||||
LastPayload = new Dictionary<string, object?>(payload);
|
||||
return Task.FromResult(1);
|
||||
}
|
||||
|
||||
public Task<IReadOnlyList<IDictionary<string, object?>>> SnapshotAsync(string domain, int limit = 500)
|
||||
=> Task.FromResult<IReadOnlyList<IDictionary<string, object?>>>(Array.Empty<IDictionary<string, object?>>());
|
||||
}
|
||||
}
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,536 +0,0 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v10.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v10.0": {
|
||||
"QuantEngine.Core.Tests/1.0.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NET.Test.Sdk": "17.14.1",
|
||||
"QuantEngine.Application": "1.0.0",
|
||||
"QuantEngine.Core": "1.0.0",
|
||||
"QuantEngine.Infrastructure": "1.0.0",
|
||||
"xunit": "2.9.3"
|
||||
},
|
||||
"runtime": {
|
||||
"QuantEngine.Core.Tests.dll": {}
|
||||
}
|
||||
},
|
||||
"Dapper/2.1.79": {
|
||||
"runtime": {
|
||||
"lib/net10.0/Dapper.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.1.79.29349"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.CodeCoverage/17.14.1": {
|
||||
"runtime": {
|
||||
"lib/net8.0/Microsoft.VisualStudio.CodeCoverage.Shim.dll": {
|
||||
"assemblyVersion": "15.0.0.0",
|
||||
"fileVersion": "17.1400.225.12603"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.Extensions.DependencyInjection.Abstractions/10.0.0": {
|
||||
"runtime": {
|
||||
"lib/net10.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
|
||||
"assemblyVersion": "10.0.0.0",
|
||||
"fileVersion": "10.0.25.52411"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.Extensions.Logging.Abstractions/10.0.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net10.0/Microsoft.Extensions.Logging.Abstractions.dll": {
|
||||
"assemblyVersion": "10.0.0.0",
|
||||
"fileVersion": "10.0.25.52411"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.NET.Test.Sdk/17.14.1": {
|
||||
"dependencies": {
|
||||
"Microsoft.CodeCoverage": "17.14.1",
|
||||
"Microsoft.TestPlatform.TestHost": "17.14.1"
|
||||
}
|
||||
},
|
||||
"Microsoft.TestPlatform.ObjectModel/17.14.1": {
|
||||
"runtime": {
|
||||
"lib/net8.0/Microsoft.TestPlatform.CoreUtilities.dll": {
|
||||
"assemblyVersion": "15.0.0.0",
|
||||
"fileVersion": "17.1400.125.30202"
|
||||
},
|
||||
"lib/net8.0/Microsoft.TestPlatform.PlatformAbstractions.dll": {
|
||||
"assemblyVersion": "15.0.0.0",
|
||||
"fileVersion": "17.1400.125.30202"
|
||||
},
|
||||
"lib/net8.0/Microsoft.VisualStudio.TestPlatform.ObjectModel.dll": {
|
||||
"assemblyVersion": "15.0.0.0",
|
||||
"fileVersion": "17.1400.125.30202"
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"lib/net8.0/cs/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "cs"
|
||||
},
|
||||
"lib/net8.0/cs/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "cs"
|
||||
},
|
||||
"lib/net8.0/de/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "de"
|
||||
},
|
||||
"lib/net8.0/de/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "de"
|
||||
},
|
||||
"lib/net8.0/es/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "es"
|
||||
},
|
||||
"lib/net8.0/es/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "es"
|
||||
},
|
||||
"lib/net8.0/fr/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "fr"
|
||||
},
|
||||
"lib/net8.0/fr/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "fr"
|
||||
},
|
||||
"lib/net8.0/it/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "it"
|
||||
},
|
||||
"lib/net8.0/it/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "it"
|
||||
},
|
||||
"lib/net8.0/ja/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "ja"
|
||||
},
|
||||
"lib/net8.0/ja/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "ja"
|
||||
},
|
||||
"lib/net8.0/ko/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "ko"
|
||||
},
|
||||
"lib/net8.0/ko/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "ko"
|
||||
},
|
||||
"lib/net8.0/pl/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "pl"
|
||||
},
|
||||
"lib/net8.0/pl/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "pl"
|
||||
},
|
||||
"lib/net8.0/pt-BR/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "pt-BR"
|
||||
},
|
||||
"lib/net8.0/pt-BR/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "pt-BR"
|
||||
},
|
||||
"lib/net8.0/ru/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "ru"
|
||||
},
|
||||
"lib/net8.0/ru/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "ru"
|
||||
},
|
||||
"lib/net8.0/tr/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "tr"
|
||||
},
|
||||
"lib/net8.0/tr/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "tr"
|
||||
},
|
||||
"lib/net8.0/zh-Hans/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "zh-Hans"
|
||||
},
|
||||
"lib/net8.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "zh-Hans"
|
||||
},
|
||||
"lib/net8.0/zh-Hant/Microsoft.TestPlatform.CoreUtilities.resources.dll": {
|
||||
"locale": "zh-Hant"
|
||||
},
|
||||
"lib/net8.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll": {
|
||||
"locale": "zh-Hant"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.TestPlatform.TestHost/17.14.1": {
|
||||
"dependencies": {
|
||||
"Microsoft.TestPlatform.ObjectModel": "17.14.1",
|
||||
"Newtonsoft.Json": "13.0.3"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net8.0/Microsoft.TestPlatform.CommunicationUtilities.dll": {
|
||||
"assemblyVersion": "15.0.0.0",
|
||||
"fileVersion": "17.1400.125.30202"
|
||||
},
|
||||
"lib/net8.0/Microsoft.TestPlatform.CrossPlatEngine.dll": {
|
||||
"assemblyVersion": "15.0.0.0",
|
||||
"fileVersion": "17.1400.125.30202"
|
||||
},
|
||||
"lib/net8.0/Microsoft.TestPlatform.Utilities.dll": {
|
||||
"assemblyVersion": "15.0.0.0",
|
||||
"fileVersion": "17.1400.125.30202"
|
||||
},
|
||||
"lib/net8.0/Microsoft.VisualStudio.TestPlatform.Common.dll": {
|
||||
"assemblyVersion": "15.0.0.0",
|
||||
"fileVersion": "17.1400.125.30202"
|
||||
},
|
||||
"lib/net8.0/testhost.dll": {
|
||||
"assemblyVersion": "15.0.0.0",
|
||||
"fileVersion": "17.1400.125.30202"
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"lib/net8.0/cs/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "cs"
|
||||
},
|
||||
"lib/net8.0/cs/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "cs"
|
||||
},
|
||||
"lib/net8.0/cs/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "cs"
|
||||
},
|
||||
"lib/net8.0/de/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "de"
|
||||
},
|
||||
"lib/net8.0/de/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "de"
|
||||
},
|
||||
"lib/net8.0/de/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "de"
|
||||
},
|
||||
"lib/net8.0/es/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "es"
|
||||
},
|
||||
"lib/net8.0/es/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "es"
|
||||
},
|
||||
"lib/net8.0/es/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "es"
|
||||
},
|
||||
"lib/net8.0/fr/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "fr"
|
||||
},
|
||||
"lib/net8.0/fr/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "fr"
|
||||
},
|
||||
"lib/net8.0/fr/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "fr"
|
||||
},
|
||||
"lib/net8.0/it/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "it"
|
||||
},
|
||||
"lib/net8.0/it/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "it"
|
||||
},
|
||||
"lib/net8.0/it/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "it"
|
||||
},
|
||||
"lib/net8.0/ja/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "ja"
|
||||
},
|
||||
"lib/net8.0/ja/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "ja"
|
||||
},
|
||||
"lib/net8.0/ja/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "ja"
|
||||
},
|
||||
"lib/net8.0/ko/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "ko"
|
||||
},
|
||||
"lib/net8.0/ko/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "ko"
|
||||
},
|
||||
"lib/net8.0/ko/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "ko"
|
||||
},
|
||||
"lib/net8.0/pl/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "pl"
|
||||
},
|
||||
"lib/net8.0/pl/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "pl"
|
||||
},
|
||||
"lib/net8.0/pl/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "pl"
|
||||
},
|
||||
"lib/net8.0/pt-BR/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "pt-BR"
|
||||
},
|
||||
"lib/net8.0/pt-BR/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "pt-BR"
|
||||
},
|
||||
"lib/net8.0/pt-BR/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "pt-BR"
|
||||
},
|
||||
"lib/net8.0/ru/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "ru"
|
||||
},
|
||||
"lib/net8.0/ru/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "ru"
|
||||
},
|
||||
"lib/net8.0/ru/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "ru"
|
||||
},
|
||||
"lib/net8.0/tr/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "tr"
|
||||
},
|
||||
"lib/net8.0/tr/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "tr"
|
||||
},
|
||||
"lib/net8.0/tr/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "tr"
|
||||
},
|
||||
"lib/net8.0/zh-Hans/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "zh-Hans"
|
||||
},
|
||||
"lib/net8.0/zh-Hans/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "zh-Hans"
|
||||
},
|
||||
"lib/net8.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "zh-Hans"
|
||||
},
|
||||
"lib/net8.0/zh-Hant/Microsoft.TestPlatform.CommunicationUtilities.resources.dll": {
|
||||
"locale": "zh-Hant"
|
||||
},
|
||||
"lib/net8.0/zh-Hant/Microsoft.TestPlatform.CrossPlatEngine.resources.dll": {
|
||||
"locale": "zh-Hant"
|
||||
},
|
||||
"lib/net8.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.Common.resources.dll": {
|
||||
"locale": "zh-Hant"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Newtonsoft.Json/13.0.3": {
|
||||
"runtime": {
|
||||
"lib/net6.0/Newtonsoft.Json.dll": {
|
||||
"assemblyVersion": "13.0.0.0",
|
||||
"fileVersion": "13.0.3.27908"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Npgsql/10.0.3": {
|
||||
"dependencies": {
|
||||
"Microsoft.Extensions.Logging.Abstractions": "10.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net10.0/Npgsql.dll": {
|
||||
"assemblyVersion": "10.0.3.0",
|
||||
"fileVersion": "10.0.3.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"xunit/2.9.3": {
|
||||
"dependencies": {
|
||||
"xunit.assert": "2.9.3",
|
||||
"xunit.core": "2.9.3"
|
||||
}
|
||||
},
|
||||
"xunit.abstractions/2.0.3": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/xunit.abstractions.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"xunit.assert/2.9.3": {
|
||||
"runtime": {
|
||||
"lib/net6.0/xunit.assert.dll": {
|
||||
"assemblyVersion": "2.9.3.0",
|
||||
"fileVersion": "2.9.3.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"xunit.core/2.9.3": {
|
||||
"dependencies": {
|
||||
"xunit.extensibility.core": "2.9.3",
|
||||
"xunit.extensibility.execution": "2.9.3"
|
||||
}
|
||||
},
|
||||
"xunit.extensibility.core/2.9.3": {
|
||||
"dependencies": {
|
||||
"xunit.abstractions": "2.0.3"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard1.1/xunit.core.dll": {
|
||||
"assemblyVersion": "2.9.3.0",
|
||||
"fileVersion": "2.9.3.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"xunit.extensibility.execution/2.9.3": {
|
||||
"dependencies": {
|
||||
"xunit.extensibility.core": "2.9.3"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard1.1/xunit.execution.dotnet.dll": {
|
||||
"assemblyVersion": "2.9.3.0",
|
||||
"fileVersion": "2.9.3.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"QuantEngine.Application/1.0.0": {
|
||||
"dependencies": {
|
||||
"QuantEngine.Core": "1.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"QuantEngine.Application.dll": {
|
||||
"assemblyVersion": "1.0.0.0",
|
||||
"fileVersion": "1.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"QuantEngine.Core/1.0.0": {
|
||||
"runtime": {
|
||||
"QuantEngine.Core.dll": {
|
||||
"assemblyVersion": "1.0.0.0",
|
||||
"fileVersion": "1.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"QuantEngine.Infrastructure/1.0.0": {
|
||||
"dependencies": {
|
||||
"Dapper": "2.1.79",
|
||||
"Npgsql": "10.0.3",
|
||||
"QuantEngine.Application": "1.0.0",
|
||||
"QuantEngine.Core": "1.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"QuantEngine.Infrastructure.dll": {
|
||||
"assemblyVersion": "1.0.0.0",
|
||||
"fileVersion": "1.0.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"QuantEngine.Core.Tests/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"Dapper/2.1.79": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-8YijbzgTfmqmQOnVNorYM6K++pxqnW3nJ4aC1sRHzxUA2CcuoJ9gsTem3kgBnPRMc38zZHl4Esb6hAezXIEEuw==",
|
||||
"path": "dapper/2.1.79",
|
||||
"hashPath": "dapper.2.1.79.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.CodeCoverage/17.14.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-pmTrhfFIoplzFVbhVwUquT+77CbGH+h4/3mBpdmIlYtBi9nAB+kKI6dN3A/nV4DFi3wLLx/BlHIPK+MkbQ6Tpg==",
|
||||
"path": "microsoft.codecoverage/17.14.1",
|
||||
"hashPath": "microsoft.codecoverage.17.14.1.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.Extensions.DependencyInjection.Abstractions/10.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-L3AdmZ1WOK4XXT5YFPEwyt0ep6l8lGIPs7F5OOBZc77Zqeo01Of7XXICy47628sdVl0v/owxYJTe86DTgFwKCA==",
|
||||
"path": "microsoft.extensions.dependencyinjection.abstractions/10.0.0",
|
||||
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.10.0.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.Extensions.Logging.Abstractions/10.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-FU/IfjDfwaMuKr414SSQNTIti/69bHEMb+QKrskRb26oVqpx3lNFXMjs/RC9ZUuhBhcwDM2BwOgoMw+PZ+beqQ==",
|
||||
"path": "microsoft.extensions.logging.abstractions/10.0.0",
|
||||
"hashPath": "microsoft.extensions.logging.abstractions.10.0.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.NET.Test.Sdk/17.14.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-HJKqKOE+vshXra2aEHpi2TlxYX7Z9VFYkr+E5rwEvHC8eIXiyO+K9kNm8vmNom3e2rA56WqxU+/N9NJlLGXsJQ==",
|
||||
"path": "microsoft.net.test.sdk/17.14.1",
|
||||
"hashPath": "microsoft.net.test.sdk.17.14.1.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.TestPlatform.ObjectModel/17.14.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-xTP1W6Mi6SWmuxd3a+jj9G9UoC850WGwZUps1Wah9r1ZxgXhdJfj1QqDLJkFjHDCvN42qDL2Ps5KjQYWUU0zcQ==",
|
||||
"path": "microsoft.testplatform.objectmodel/17.14.1",
|
||||
"hashPath": "microsoft.testplatform.objectmodel.17.14.1.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.TestPlatform.TestHost/17.14.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-d78LPzGKkJwsJXAQwsbJJ7LE7D1wB+rAyhHHAaODF+RDSQ0NgMjDFkSA1Djw18VrxO76GlKAjRUhl+H8NL8Z+Q==",
|
||||
"path": "microsoft.testplatform.testhost/17.14.1",
|
||||
"hashPath": "microsoft.testplatform.testhost.17.14.1.nupkg.sha512"
|
||||
},
|
||||
"Newtonsoft.Json/13.0.3": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==",
|
||||
"path": "newtonsoft.json/13.0.3",
|
||||
"hashPath": "newtonsoft.json.13.0.3.nupkg.sha512"
|
||||
},
|
||||
"Npgsql/10.0.3": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-7nb5YzXuvWWJxB0J8DiyL3we+X4FOctZrt0fIBnucOIaIevFEEwGQVZKtiu9olXdlNAK1eNgqSral6r/jlhI4w==",
|
||||
"path": "npgsql/10.0.3",
|
||||
"hashPath": "npgsql.10.0.3.nupkg.sha512"
|
||||
},
|
||||
"xunit/2.9.3": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-TlXQBinK35LpOPKHAqbLY4xlEen9TBafjs0V5KnA4wZsoQLQJiirCR4CbIXvOH8NzkW4YeJKP5P/Bnrodm0h9Q==",
|
||||
"path": "xunit/2.9.3",
|
||||
"hashPath": "xunit.2.9.3.nupkg.sha512"
|
||||
},
|
||||
"xunit.abstractions/2.0.3": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-pot1I4YOxlWjIb5jmwvvQNbTrZ3lJQ+jUGkGjWE3hEFM0l5gOnBWS+H3qsex68s5cO52g+44vpGzhAt+42vwKg==",
|
||||
"path": "xunit.abstractions/2.0.3",
|
||||
"hashPath": "xunit.abstractions.2.0.3.nupkg.sha512"
|
||||
},
|
||||
"xunit.assert/2.9.3": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-/Kq28fCE7MjOV42YLVRAJzRF0WmEqsmflm0cfpMjGtzQ2lR5mYVj1/i0Y8uDAOLczkL3/jArrwehfMD0YogMAA==",
|
||||
"path": "xunit.assert/2.9.3",
|
||||
"hashPath": "xunit.assert.2.9.3.nupkg.sha512"
|
||||
},
|
||||
"xunit.core/2.9.3": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-BiAEvqGvyme19wE0wTKdADH+NloYqikiU0mcnmiNyXaF9HyHmE6sr/3DC5vnBkgsWaE6yPyWszKSPSApWdRVeQ==",
|
||||
"path": "xunit.core/2.9.3",
|
||||
"hashPath": "xunit.core.2.9.3.nupkg.sha512"
|
||||
},
|
||||
"xunit.extensibility.core/2.9.3": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-kf3si0YTn2a8J8eZNb+zFpwfoyvIrQ7ivNk5ZYA5yuYk1bEtMe4DxJ2CF/qsRgmEnDr7MnW1mxylBaHTZ4qErA==",
|
||||
"path": "xunit.extensibility.core/2.9.3",
|
||||
"hashPath": "xunit.extensibility.core.2.9.3.nupkg.sha512"
|
||||
},
|
||||
"xunit.extensibility.execution/2.9.3": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-yMb6vMESlSrE3Wfj7V6cjQ3S4TXdXpRqYeNEI3zsX31uTsGMJjEw6oD5F5u1cHnMptjhEECnmZSsPxB6ChZHDQ==",
|
||||
"path": "xunit.extensibility.execution/2.9.3",
|
||||
"hashPath": "xunit.extensibility.execution.2.9.3.nupkg.sha512"
|
||||
},
|
||||
"QuantEngine.Application/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"QuantEngine.Core/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"QuantEngine.Infrastructure/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
-13
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net10.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "10.0.0"
|
||||
},
|
||||
"configProperties": {
|
||||
"MSTest.EnableParentProcessQuery": true,
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user