Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Support filter on tag id in target endpoint

オープン
#2,979 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
java
領域
api

調査の方向性

Start by reading the target search endpoint and the existing RSQL support for tag.name; the issue identifies /rest/v1/targets and the q parameter. Check the related tests for target filtering. Done means tag.id==11 is accepted and returns targets assigned the tag with ID 11; the issue has had no comments for over six months, so there may be no timely guidance.

索引モデルが issue の本文から書いたものです。

説明

I'd like to be able to create a device filter based on tag ID, as the tag ID will be static while the tag name might not be.

As example, I want all devices using the tag with ID 11, which would be tag.id==11 as q:

curl -X 'GET' \
  'https://hawkbit-dev.example.com/rest/v1/targets?q=tag.id%3D%3D11&offset=0&limit=50' \
  -H 'accept: application/hal+json' \
  -H 'Authorization: Basic snip'

The following is returned:

{
  "exceptionClass": "org.eclipse.hawkbit.repository.exception.RSQLParameterUnsupportedFieldException",
  "errorCode": "hawkbit.server.error.rest.param.rsqlInvalidField",
  "message": "The given search field {tag.id} has unsupported sub-attributes. Supported sub-attributes are [name]"
}

I'm aware that there is an endpoint to retrieve all target assigned a specific tag (/rest/v1/targettags/{targetTagId}/assigned), but I need the filter support to be able to create a rollout from it.

主要言語
Java
スター
601
フォーク
228
平均マージ
18時間 20分
マージ済み PR(30日)
58

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eclipse-hawkbit/hawkbit のほかの issue

eclipse-hawkbit/hawkbit の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。