Skip to content

Feat/module5 lambda deployment - #3

Closed
hal-bot wants to merge 10 commits into
mainfrom
feat/module5_lambda-deployment
Closed

Feat/module5 lambda deployment#3
hal-bot wants to merge 10 commits into
mainfrom
feat/module5_lambda-deployment

Conversation

@hal-bot

@hal-bot hal-bot commented Mar 27, 2026

Copy link
Copy Markdown
Owner

No description provided.

hal-bot added 10 commits March 23, 2026 23:12
backend-ci.yml and frontend-ci.yml were the original single-job CI files
created before the consolidated multi-job ci-cd.yml pipeline was built.
Keeping them caused duplicate runs on every push/PR.
- Add JaCoCo plugin to backend pom.xml for Java code coverage
- Add @vitest/coverage-v8 and coverage config to frontend vite.config.ts
- Update generate-dashboard.sh with coverage parsers and HTML sections
- Add backend/frontend coverage summary cards and detail breakdowns
- Add frontend/coverage/ to .gitignore
- Add spring-security-crypto dependency for BCryptPasswordEncoder
- Register BCryptPasswordEncoder bean in ToyswapApplication
- Hash password on registration (createSwapper) and update (updateSwapper)
- Replace findByUsernameAndPassword with findByUsername + BCrypt matches
- Remove TODO comment from Swapper model
- Update controller and repository tests for BCrypt flow
- All 66 backend tests passing
- Add SwapLifecycleIntegrationTest (6 tests): BCrypt login round-trip,
  duplicate userId 409, create+fetch items by owner, filter by type,
  full swap lifecycle with ownership transfer, swap inactive item 409
- Add E2E: logout redirects to /login
- Add E2E: swap button shows error when user has no items
- Backend: 72 tests passing, E2E: 13 tests passing
- SwapController: remove setActive(false) so items stay active with swapped owners
- ItemCard: use item.imageUrl with Unsplash fallback instead of always using Unsplash
- Update SwapControllerTest to assert active:true after swap
- Update SwapLifecycleIntegrationTest: verify swapped items stay active under new owners, remove broken swapWithInactiveItem test
- Update frontend mock handlers to return active:true from swap endpoint
- Add E2E test: received toy appears on home page after swap, given toy does not
- Parse Surefire XML to separate unit vs integration tests (by package/class name)
- Add Integration summary card and detail section to dashboard
- Remove unused instruction files (initial-instructions.md, test-instructions.md)
@hal-bot hal-bot closed this Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant