[Feature][Plugin] Add a GLPI data source plugin
Maintainer thường phản hồi trong vòng 2 ngày
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go
- Lĩnh vực
- data-engineering
Hướng nghiên cứu
The issue specifies a GLPI REST API plugin, entity scopes, ticket collection, optional ticket data, and MySQL and PostgreSQL dashboards, but names no source files or tests. Start by reading the repository’s existing data source plugin implementations and their tests to find the plugin entry points and conventions. Done means collecting tickets for a GLPI entity with the described mappings and options, plus the config UI and dashboards.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Search before asking
- I had searched in the issues and found no similar feature requirement.
Use case
As an IT or engineering lead using GLPI, I want DevLake to collect tickets so I can see throughput and lead time alongside the rest of our delivery data. DevLake has no GLPI data source.
Description
Add a GLPI plugin for the GLPI REST API (apirest.php). A scope is one GLPI entity. Child entities are separate scopes.
Connection:
- Endpoint: the GLPI base URL, for example https://glpi.example.com
- Application token, from Setup → General → API
- User token, from My settings → Remote access keys
- Timezone, required, matching the GLPI server timezone. GLPI stores local times, and the plugin converts them to UTC
The plugin opens a session with App-Token and Authorization: user_token, then sends App-Token and Session-Token on later calls.
Domain mapping uses the ticket domain. Each entity becomes a board of type ITSM.
Tickets are always collected:
- Incident → INCIDENT, Request → TASK, any other type → TASK
- New → TODO
- Processing (assigned), Processing (planned), and Pending → IN_PROGRESS
- Solved and Closed → DONE
- Any other status → OTHER
- Priority, urgency, and impact use GLPI’s scale: Very Low, Low, Medium, High, Very High, Major
- The ITIL category is the issue component and an issue label
- The requester is the issue creator
- Due date is GLPI’s time to resolve
- Lead time comes from GLPI’s solve delay
- The issue URL points at front/ticket.form.php
Time range:
- A full sync lists tickets by opening date, newest first, and stops at the project time
- An incremental sync lists tickets by last modification, newest first, and stops at the previous watermark
Optional ticket data, chosen per scope. Assignees are on by default. The others are off:
- Assignees: assigned users and groups on the issue, and as issue assignees
- Follow-ups: public ITIL follow-ups as issue comments. Private follow-ups are skipped
- Tasks: ticket tasks with a recorded duration as issue worklogs
- Change logs: ticket history as issue changelogs
- Solutions: the latest solution text is appended to the issue description
- Ticket links: linked, duplicate, parent, and child links as issue relationships. A parent link also sets the parent issue
Referenced users and groups are stored as accounts. This is not a full user or group directory sync.
Plugin fields stay on the tool ticket as JSON. They are not written to the domain custom-field tables.
Config UI: beta plugin, connection form, entity scope picker, and the optional-collection checkboxes. Collected entity: TICKET.
Dashboards: MySQL (glpi-dashboard) and PostgreSQL (glpi-dashboard-pg). They show issue throughput, delivery rate, status distribution, and lead time.
This version collects tickets for a GLPI entity. It does not collect assets, computers, changes, problems, projects, or the knowledge base.
Related issues
No response
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
- Ngôn ngữ chính
- Go
- Star
- 3.2k
- Fork
- 830
- Merge trung bình
- 2 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 61
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không 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 apache/devlake
-
type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
Maintainer thường phản hồi trong vòng 2 ngày
-
type/bug
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 73/100
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug][dora] calculateChangeLeadTime loads the whole commits_diffs deployment join into memoryCó thể đã có người làm @mdelacruz-avantio đã nhận hôm nay. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 2 ngày
-
[Refactor][Build] Build the core and all plugins into a single binary by defaultCó thể đã có người làm @klesh đã nhận 1 ngày trước. Đang mởcomponent/plugins type/refactor
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của apache/devlake
Issue tương tự
-
🐛 tunnel diag: Docker log collection deadlocks when the container's stderr log exceeds 64 KiBĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
cloudflare/cloudflared#1783 ·
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 66/100
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 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
orchestration.migration.data.tasks.retry values are ignored by the 8.8 data migration jobCó thể đã có người làm @irisfield đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
camunda/camunda-platform-helm#7773 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add missing unit tests for IsAdmissionPolicyName and IsCertManagerResourceNameCó thể đã có người làm @a1h8 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
kubernetes-sigs/security-profiles-operator#3644 ·
Maintainer thường phản hồi trong vòng 1 ngày