Merged
Conversation
## 主な変更内容 ### 新機能 - APKファイルのアップロード/ダウンロード機能を実装 - バージョン管理とアップデート確認機能 - Web UIによる管理画面 - REST API エンドポイント ### 実装詳細 #### バックエンド - ApkVersionEntity: APKバージョン情報を管理するエンティティ - ApkVersionRepository: データアクセス層 - ApkVersionService: ビジネスロジック層 - ApkApiController: REST APIコントローラー - ApkController: Web UIコントローラー #### フロントエンド - APK管理画面(/apk) - アップロードフォーム - バージョン一覧表示 #### セキュリティ - HTTPS対応(自己署名証明書) - ファイルサイズ制限(100MB) - APKファイル形式の検証 ### API エンドポイント - GET /api/apk/version/latest - 最新バージョン情報 - GET /api/apk/version/check - アップデート確認 - GET /api/apk/download/latest - 最新APKダウンロード - POST /api/apk/upload - APKアップロード ### 設定 - SSL設定を application.yaml に追加 - APKアップロード設定を追加 - 自己署名証明書生成スクリプトを追加
Contributor
🎨 Visual Regression Test Results❌ Visual regression tests failed Some pages have visual differences. Please review the artifacts: 📋 Actions to take:
📊 Test Coverage
|
- @value アノテーションをコンストラクタパラメータに移動 - @PostConstruct を使用して初期化処理を実装 - Flyway マイグレーションファイル追加 (V003__add_apk_versions_table.sql) - CI でのアプリケーション起動エラーを修正
Contributor
🎨 Visual Regression Test Results✅ All visual regression tests passed! All page screenshots match the expected baselines. 📊 Test Coverage
|
## 変更内容 ### テスト追加 - ApkVersionServiceTest: サービス層のユニットテスト - ApkApiControllerTest: コントローラー層のユニットテスト - mockito-kotlin依存関係を追加 ### UI改善 - layout-modern.htmlにAPK管理へのナビゲーションリンクを追加 - サイドバーに「APK管理」メニュー項目を追加 ### CI対応 - テストカバレッジの向上 - Visual Regression Testsへの対応準備 これによりCIが継続的に通るようになります。
Contributor
🎨 Visual Regression Test Results❌ Visual regression tests failed Some pages have visual differences. Please review the artifacts: 📋 Actions to take:
📊 Test Coverage
|
- テストファイルのフォーマットを修正 - 不要なインポートを削除 - コードスタイルを統一
Contributor
🎨 Visual Regression Test Results✅ All visual regression tests passed! All page screenshots match the expected baselines. 📊 Test Coverage
|
## 変更内容
### 販売API関連
- staffBarcodeフィールドをnullable化し、実装から削除
- 包括的な日本語エラーメッセージの実装
- CreateSaleRequestにデフォルト値を設定してAPI耐性を向上
- OpenAPI仕様書を実装に合わせて更新
### 店舗管理画面
- 店舗作成画面の実装(/stores/new)
- 店舗編集画面の実装(/stores/{id}/edit)
- Bootstrap 5によるモダンなUI/UXデザイン
- 削除機能に確認ダイアログを追加
### OpenAPI仕様の修正
- CreateSaleRequestスキーマを実装に合致するよう更新
- SaleResponseとSaleItemResponseスキーマを追加
- ErrorResponseスキーマを実際のエラー構造に合わせて更新
- APIレスポンスステータスコードを適切に設定
## 技術的詳細
- Spring Bootのベストプラクティスに準拠
- JPAエンティティとリポジトリの適切な実装
- キャッシュ機能を含むサービス層の実装
- トランザクション管理の適用
Contributor
🎨 Visual Regression Test Results❌ Visual regression tests failed Some pages have visual differences. Please review the artifacts: 📋 Actions to take:
📊 Test Coverage
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
APKダウンロード機能の追加と、販売APIのエラーハンドリング改善、店舗管理画面の実装を行いました。
主な変更点
1. APKダウンロード機能
2. 販売APIエラーハンドリングの改善
3. 店舗管理画面の実装
4. OpenAPI仕様の更新
テスト方法
APK機能のテスト
店舗管理のテスト
販売APIのテスト
チェックリスト
関連Issue
備考