[#1509] Sync Target type with SW and DS types (targettype.key search) (#1515)

Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2023-12-13 16:29:56 +02:00
committed by GitHub
parent 767a7e6b11
commit 4ac42c80d7
3 changed files with 26 additions and 5 deletions

View File

@@ -91,7 +91,7 @@ public enum TargetFields implements FieldNameProvider {
/**
* The target type.
*/
TARGETTYPE("targetType", TargetTypeFields.NAME.getFieldName());
TARGETTYPE("targetType", TargetTypeFields.KEY.getFieldName(), TargetTypeFields.NAME.getFieldName());
private final String fieldName;
private List<String> subEntityAttribues;

View File

@@ -14,6 +14,10 @@ package org.eclipse.hawkbit.repository;
* the REST API
*/
public enum TargetTypeFields implements FieldNameProvider {
/**
* The name field.
*/
KEY("key"),
/**
* The name field.
*/