getappmap / getappmap/appmap-java
Normalized paths not present in AppMaps with shallow-recorded spring framework classes
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Java
- Star
- 88
- Fork
- 17
- Merge trung bình
- 2 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
For the same app & appmap.jar, the HTTP server request events are different:
without spring framework events:
"event": "call",
"http_server_request": {
"normalized_path_info": "/owners/:ownerId",
"path_info": "/owners/2",
"protocol": "HTTP/1.1",
"request_method": "GET"
},
with spring framework events:
"event": "call",
"http_server_request": {
"path_info": "/owners/2",
"protocol": "HTTP/1.1",
"request_method": "GET"
},
appmap.yml:
name: spring-petclinic
# Your project contains the directory src/main/java.
# AppMap has auto-detected the following Java packages in this directory:
packages:
- path: org.springframework.samples.petclinic
- path: org.springframework.web
shallow: true
exclude:
- org.springframework.web.filter.OncePerRequestFilter
FindOwnerDavis.appmap.json.zip
Spring_Find_Owner.appmap.json.zip
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với hai kho lưu trữ JSON AppMap đính kèm và cấu hình package appmap.yml. So sánh việc tạo các sự kiện request của HTTP server khi có và không có các lớp Spring shallow-recorded, tập trung vào lý do normalized_path_info bị bỏ qua. Hoàn tất khi các đường dẫn đã chuẩn hóa vẫn hiện diện trong các AppMap bị ảnh hưởng khi các lớp framework Spring được shallow-recorded.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java, spring
- Lĩnh vực
- api, backend
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 38/100