Analytics reporting jobs issues
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Start by tracing the report submission endpoint shown in the curl request and how it schedules refresh jobs for refresh_mrr_daily. Then inspect how notifications are inserted into analytics_notifications_history for AnalyticsService:reports-jobs; done means reports schedule correctly and updating a job does not create repeated notifications.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The first issue seems to be that after we post a new report, nothing happens (this may be an issue with the curl, which i don't have but both Pierre and I ran it, and jobs were not scheduled.
The second issue is that after i updated the job, the notification was correctly created, but then code keeps inserting notifications:
CURL to submit the job:
curl -v \
-X PUT \
-u 'superadmin:$uper@dmin13' \
-H 'X-Killbill-ApiKey:demoKey' \
-H 'X-Killbill-ApiSecret:demo$3cr3t' \
-H 'Content-Type: application/json' \
-d '{"reportPrettyName": "MRR",
"refreshProcedureName": "refresh_mrr_daily",
"refreshFrequency": "DAILY"}' \
"http://127.0.0.1:8080/plugins/killbill-analytics/reports/mrr_daily"
> select count(*) from analytics_notifications_history where queue_name = 'AnalyticsService:reports-jobs'\G
count(*): 238
1 row in set (0.03 sec)
The code inserted it 238 times (and the next one is in a few minutes)... all for the same storeproc refresh_mrr_daily.
- Ngôn ngữ chính
- Java
- Star
- 13
- Fork
- 33
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc 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.
Issue khác của killbill/killbill-analytics-plugin
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
-
Automation analysisĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
killbill/killbill-analytics-plugin#163 · 1 bình luận ·
Tất cả issue của killbill/killbill-analytics-plugin
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
hibernate/hibernate-reactive#4485 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
type: dependency-upgrade
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 61/100
spring-projects/spring-graphql#1556 ·
-
hermes-queue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
chrisalunlloyd2-sudo/mindpalace#373 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug priority: lowest
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
SkriptLang/Skript#8953 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày