Skip to content

[KW-660] chore: credo 설정 및 테스트#35

Merged
js4939 merged 6 commits intodevelopfrom
KW-660/chore/credo-setting
Jun 17, 2025
Merged

[KW-660] chore: credo 설정 및 테스트#35
js4939 merged 6 commits intodevelopfrom
KW-660/chore/credo-setting

Conversation

@js4939
Copy link
Contributor

@js4939 js4939 commented Jun 12, 2025

🔷 관련 Jira Ticket ID

KW-660


📌 작업 내용 및 특이사항

  • 도커로 ACA-PY 실행해서 credo 프로젝트에서 agent 생성 및 hospital 연결 테스트
  • 도커로 ACA-PY 실행해서 keywe 프로젝트 (keywe 앱)에서 agent 생성 및 hospital 연결 테스트
    • keywe 프로젝트에 credo 프로젝트 내용 옮긴 후, 빌드 및 실행 테스트
      1. credo 프로젝트의 package.json 내용을 keywe 프로젝트 package.json에 병합
      2. yarn install로 credo 관련 패키지 및 모듈 설치
      3. android/build.gradle에 kotlinVersion = "1.6.21" 구문 추가
      4. credoTestPage 생성해서, agent 초기화 및 hospital 연결 테스트 완료
    • keywe 프로젝트의 사용 흐름에 맞게 credo 적용 완료
      1. zustand로 agent 정보 관리
      2. src/credo/agentService.js 생성하여 로그인 성공 시, agent 초기화하도록 설정 완료
      3. src/credo/hospitalConnectService.js 생성하여 출입증 신청 완료 시, 해당 병원과의 연결 생성 완료
      4. 해당 병원과의 연결이 유효한지 명령어로 확인 완료
      5. 로그인 ⇒ agent 초기화 완료 ⇒ 출입증 신청 ⇒ hospital 연결 완료 ⇒ 연결 유효한지 확인 완료
      6. src/credo/walletService.js 생성하여 로그아웃 및 회원 탈퇴 시 agent 제거 및 wallet 삭제 구현
  • 기존 로그인 시 agent 초기화 => 출입증 신청 시 agent 초기화로 로직 변경
  • 출입증 신청 시, 병원 invitationUrl 받아서 연결 요청하도록 설정
  • 출입증 신청 시 agent 초기화 및 병원 연결 테스트 완료
  • QR 인식 테스트 완료

📚 참고사항

  • CredoTestPage.js 파일 삭제 완료
  • 마이 페이지 진입 시, 비밀번호 인증 모달 다시 활성화

@github-actions github-actions bot changed the title KW-660/chore: credo 설정 및 테스트 [KW-660] chore: credo 설정 및 테스트 Jun 12, 2025
Copy link
Contributor

@jiwon0226 jiwon0226 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

확인했습니다

@js4939 js4939 merged commit f37e167 into develop Jun 17, 2025
1 check passed
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.

2 participants