Skip to content

Comments

[KW-668] feat: acapy connection id 저장 로직#55

Merged
midday2612 merged 5 commits intodevelopfrom
KW-668/feat/pass-service-connection-id
Jun 16, 2025
Merged

[KW-668] feat: acapy connection id 저장 로직#55
midday2612 merged 5 commits intodevelopfrom
KW-668/feat/pass-service-connection-id

Conversation

@midday2612
Copy link
Contributor

@midday2612 midday2612 commented Jun 12, 2025

🔷 Jira Ticket ID

KW-668


📌 작업 내용 및 특이사항

  • acapy connection id 저장 로직
  • acapy로 tenant id, member id를 보내고 connection id를 받아와서 저장합니다.

📚 참고사항

@github-actions github-actions bot changed the title KW-668/feat: acapy connection id 저장 로직 [KW-668] feat: acapy connection id 저장 로직 Jun 12, 2025
@midday2612 midday2612 force-pushed the KW-668/feat/pass-service-connection-id branch from da4afe4 to b20344c Compare June 12, 2025 08:08
@midday2612 midday2612 force-pushed the KW-668/feat/pass-service-connection-id branch from 04449b5 to 5d22411 Compare June 13, 2025 06:23
@midday2612 midday2612 force-pushed the KW-668/feat/pass-service-connection-id branch from 5d22411 to 7ce5c02 Compare June 13, 2025 07:07
Copy link
Contributor

@willjsw willjsw left a comment

Choose a reason for hiding this comment

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

고생하셨습니다! 다만 PassGrpcServiceImpl 이 너무 많은 책임을 지고 있는 것 같습니다. 가능하다면 logging 과 fcm 알람 처리는 분리하는게 좋아보입니다.

log.warn("환자 멤버가 존재하지 않아 알림을 생략합니다.");
}

UpdateConnectionStatusResponse response;
Copy link
Contributor

Choose a reason for hiding this comment

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

P4: try 문 안에 넣어서 선언과 정의를 동시에 하면 코드가 더 보기 좋을 것 같습니다: )


pass.updateDidConnectionId(connectionId);
pass.updateStatus(IssuanceStatus.ISSUED);
passRepository.save(pass);
Copy link
Contributor

Choose a reason for hiding this comment

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

P4: 객체 자체에서 생성자를 통한 수정이 일어나는 경우, jpa가 변경점을 자동 감지해 반영하기 때문에, save를 명시하지 않아도 저장이 됩니다!

Copy link
Contributor

@willjsw willjsw left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

@midday2612 midday2612 merged commit fc6b24f into develop Jun 16, 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