-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SO1S-461 Nodes GET API 작성 #50
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다~
public ResponseEntity<String> findDeploymentYaml( | ||
@Valid @PathVariable("node_name") String nodeName) { | ||
Node node = nodesService.findNodeByName(nodeName); | ||
String yaml = kubernetesService.getWorkloadToYaml(node); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
예전에 YAML 전달 태스크를 처리할 때 고민했던게 있는데요 "yaml만 전달해주는 거면 DTO를 감싸줘야하는가?"라는 고민이 들었습니다. 제가 내렸던 최종적인 결론은 "혹시 모를 확장성을 위해 DTO를 만들고 전달을 하자"라는 결론이었는데 이 부분에 대해서는 어떻게 생각하시나요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넵 저도 동의합니다! DTO 기반으로 수정할게요~
Analysis Details20 IssuesCoverage and DuplicationsProject ID: So1S_backend_AYHrZkBbJVI_JANDYCcZ |
Nodes GET API 작성
Tasks
Discussion
Jira