Skip to content

Conversation

@S0okJu
Copy link
Collaborator

@S0okJu S0okJu commented Aug 17, 2025

Overview

  • Domain 관련 Create, Delete, Update 도구 제작
  • get_domain 도구 필드 수정

Key Changes

  • get_domain 도구의 필드를 id -> name으로 변경
  • create, delete, update domain 도구 제작
  • 관련 테스트 코드 추가 및 수정

domain 생성 요청할 경우
image

domain 업데이트 요청할 경우
image

Related Issues

Additional context

Domain에서 id는 16진수로 이뤄진 랜덤의 문자열로 구성되어 있습니다.

  • 사용자가 쉽게 검색할 수 있도록 get_domain은 id 대신에 name으로 필드를 수정하고, delete_domain 수행 시 name을 입력 받도록 구현했습니다.
  • update_domain의 경우 name 필드가 변경되는 것을 감안하여 id를 입력받도록 구현했습니다.

S0okJu added 7 commits August 12, 2025 20:59
- Change response/keystone.py -> response/identity
- Add get-domain, get-domains tool
- Add create_domain tool
- Tests are updated and passing
- Add create, delete, update domain tool
- Test codes are updated and passing
- Add id field in update_domain tool
- Tests are updated and passing
- Add id field in update_domain tool
- Tests are updated and passing
- Resolve conlfict
@S0okJu S0okJu added the feature Request for new feature or functionality enhancement label Aug 17, 2025
@S0okJu S0okJu requested review from jja6312 and platanus-kr August 17, 2025 05:03
Copy link
Collaborator

@halucinor halucinor left a comment

Choose a reason for hiding this comment

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

dostring에 required, optional을 명시할 필요는 없어보입니다. 이미 args 주석을 통해 명시된 내용이라서요

def create_domain(
self,
name: str,
description: str = "",
Copy link
Collaborator

Choose a reason for hiding this comment

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

docstring에서 명시된 optional 이랑 실제 인자정보가 다른것 같습니다

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

주석이랑 함께 수정하겠습니다!

@S0okJu S0okJu requested a review from halucinor August 18, 2025 12:09
Copy link
Collaborator

@halucinor halucinor left a comment

Choose a reason for hiding this comment

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

LGTM

@halucinor halucinor merged commit e2c1dd2 into develop Aug 18, 2025
6 checks passed
platanus-kr pushed a commit that referenced this pull request Aug 19, 2025
* feat(identity): Add get-domain, get-domains(#31)

- Change response/keystone.py -> response/identity
- Add get-domain, get-domains tool

* feat(identity): Register tool(#31)

* feat(identity): Add create domain tool(#31)

- Add create_domain tool
- Tests are updated and passing

* feat(identity): Add create, delete, update domain(#31)

- Add create, delete, update domain tool
- Test codes are updated and passing

* feat(identity): Add id field in update domain tool(#31)

- Add id field in update_domain tool
- Tests are updated and passing

* feat(identity): Add id field in update domain tool(#31)

* fix(identity): Fix linter problem(#31)
halucinor pushed a commit that referenced this pull request Aug 24, 2025
* feat(identity): Add get-domain, get-domains(#31)

- Change response/keystone.py -> response/identity
- Add get-domain, get-domains tool

* feat(identity): Register tool(#31)

* feat(identity): Add create domain tool(#31)

- Add create_domain tool
- Tests are updated and passing

* feat(identity): Add create, delete, update domain(#31)

- Add create, delete, update domain tool
- Test codes are updated and passing

* feat(identity): Add id field in update domain tool(#31)

- Add id field in update_domain tool
- Tests are updated and passing

* feat(identity): Add id field in update domain tool(#31)

* fix(identity): Fix linter problem(#31)
@halucinor halucinor deleted the feat/identity-domain branch August 24, 2025 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Request for new feature or functionality enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] Add domain tools to mcp server

5 participants