Support filter on tag id in target endpoint
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Java
- Stelle
- 601
- Fork
- 228
- Merge medio
- 18h 20m
- PR unite (30g)
- 58
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di eclipse-hawkbit/hawkbit
-
hawkbit-dmf-server 1.1.0 does not start: NoClassDefFoundError jakarta/servlet/ServletResponseAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
eclipse-hawkbit/hawkbit#3429 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
eclipse-hawkbit/hawkbit#3266 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Configurable automatic retries for failed actions (policy, backoff, rollout and auto-assignment support)Forse di nuovo libera @strailov l’ha presa 75 giorni fa e non c’è nessuna pull request aperta. Apertafeature request
eclipse-hawkbit/hawkbit#3251 · 3 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
IN_SYNC and rollout success can be recorded while the device still runs the old imageForse di nuovo libera @denislavprinov l’ha presa 107 giorni fa e non c’è nessuna pull request aperta. Aperta
eclipse-hawkbit/hawkbit#3185 · 1 reazione · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
doumentation: openapi.json is not updated after recent Hawkbit releasesForse di nuovo libera @denislavprinov l’ha presa 72 giorni fa e non c’è nessuna pull request aperta. Aperta
eclipse-hawkbit/hawkbit#3035 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di eclipse-hawkbit/hawkbit
Issue simili
-
human-required sync-failed
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Azure/osdu-spi-file#63 ·
I maintainer di solito rispondono entro 1 giorno
-
frontend quick win
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
CodeForPhilly/benefit-decision-toolkit#571 ·
I maintainer di solito rispondono entro 1 giorno
-
approved
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
checkstyle/checkstyle#22129 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Add Hardcharger JDBC driverForse già presa @prmoore77 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno