Skip to content

refactor(be): iam 공개 이벤트 계약을 단일 경로로 수렴합니다 #716

@keIIy-kim

Description

@keIIy-kim

Summary

현재 iam 공개 이벤트 계약은 두 경로에 나뉘어 있다.

  • backend/iam/src/main/kotlin/io/deck/iam/api/UserPublicEvents.kt
  • backend/iam/src/main/kotlin/io/deck/iam/api/OAuthIdentityLinkedEvent.kt
  • backend/iam/src/main/kotlin/io/deck/iam/api/event/*

동일 개념 계약이 root apiapi.event에 중복되어 있어 SSOT가 깨져 있다.

Goal

iam 공개 이벤트 계약을 단일 경로로 수렴해, 이벤트 contract의 단일 원천을 api.event 아래로 정리한다.

Scope

  • UserPublicEvents.kt 역할 정리 또는 제거
  • root OAuthIdentityLinkedEvent.ktapi.event/OAuthIdentityLinkedEvent.kt 중복 제거
  • 소비처 import와 naming을 정리하되 runtime behavior는 유지

Acceptance Criteria

  • 같은 iam 공개 이벤트가 api root와 api.event에 중복되지 않는다.
  • 이벤트 공개 계약 경로가 일관되고 import가 단순해진다.
  • 관련 backend tests와 strict api-only guard가 유지된다.

Related

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions