Comments (7)
-
issue 번호 :
-
문제원인 파악 :
지금 현재 Dicom 서버에 업로드 파일은 문제 없이 올라갔지만 Response로 Body 를 포함하지 않고 있다.
업로드 방식으로는 DicomAPIController에서 호출 할 때, MultiPartForm에 Body값을 multipart file로 세팅해서 보내고 있음.
그런데 Dicom API 공식 Document에 기재된 바 Request로 Dicom File 이라고만 명시되어 있어 이에 의문을 가짐.
API Tester를 통해서 Request Form의 형식을 두가지로 구분해서 확인 해 보았음.
- Binary File Form
- Multipart Form / File
- 결론 :
우리가 지금까지 Talend API TESTER에서 확인한 Form 파일의 형식은 BinaryFile Form 이고, Dicom Server에서 요구하는 형식도 BinaryFile Form 이라 정상적인 Response가 왔던 것임.
그런데 현재 코드 상 MultiPart Form 으로 Requset를 요청하고 있어 적절한 Response가 오지 않았던 것임.
그런데 이상하게 MultiPart Form 으로 Requset를 요청해도 upload는 잘됨 그런데 Response가 이상하게옴. 이게 의문점이기는 하다..
- 해결 방안 :
현재 코드의 Request Form을 Multipart Form에서 BinaryFile Form으로 수정할 필요가 있다.
from web-dicom-management.
같은 동작을 했을때, Api 테스터로는 body에 정보가 포함되어 있지만 spring boot에서 정보가 담겨있지 않다는 말임?
from web-dicom-management.
ㅇㅇ body정보가 안받아진 채로 response가 옮.
정상적으로라면 response에서 body를 추출해서 return해주어야하는데 getBody시에 null값을 반환함
from web-dicom-management.
지금 저 코드 브랜치에 업데이트 되어 있음?
from web-dicom-management.
DSM-36에 올려놨음
from web-dicom-management.
업로드는 잘 된게 맞는데, response에 왜 body가 누락된지는 모르겠다.
GetMapping으로 호출했을 땐, response가 잘 오는건 확인했음
from web-dicom-management.
from web-dicom-management.
Related Issues (20)
- ML Classification 시각화
- 초음파 이미지 추론 모델 기능 구현
- 통계 뷰어 컴포넌트 작성하기 HOT 4
- 파일 업로드/다운로드 API 생성하기
- Fix : api/Storage 시 존재하지 않는 project directory 에 접근 시 발생하는 오류 수정
- Statistic View 일반화 HOT 6
- 추론을 적용할 머신러닝 모델 선택 기능 HOT 1
- 이미지 파일 업로드/다운로드 기능
- 머신러닝 모델 결과 시각화 일반화
- 테이블 편집 기능 HOT 1
- TorchServe 모델을 컨테이너화
- 메타 데이터 삽입시 멀티 스레딩 적용
- 메타데이터 row 삭제 시 연관 이미지 파일과의 약한 연결에 대한 정리 및 발생 가능 이슈
- Sprint7 기능 통합 HOT 1
- 서버 디렉토리 구조 변경
- Front : 메타데이터 필터링 기능 구현 HOT 1
- MongoDB + Pagination 기능을 통한 메타데이터 Read 최적화 HOT 2
- 파일 및 메타데이터 업로드 안정성 개선
- 메타데이터 테이블에서 개선해야 할 기능들 HOT 7
- Bug : 메타데이터 수정 후 저장 시 발생하는 에러
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-dicom-management.