From 4567889be798f0ac1798c7e489d6cf4f9951d2a6 Mon Sep 17 00:00:00 2001 From: vasraz Date: Fri, 16 Jun 2023 20:09:40 +0100 Subject: Support additional metadata in external assets api Signed-off-by: Vasyl Razinkov Change-Id: Ibae9ae54f0c5e4751a9ada8ee93f169da3a017ee Issue-ID: SDC-4520 --- .../openecomp/sdc/be/datatypes/enums/FilterKeyEnum.java | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'common-be/src/main/java') diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/FilterKeyEnum.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/FilterKeyEnum.java index 3ba4ca62cd..522e4e6259 100644 --- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/FilterKeyEnum.java +++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/FilterKeyEnum.java @@ -17,6 +17,7 @@ package org.openecomp.sdc.be.datatypes.enums; import java.util.Arrays; import java.util.Collections; import java.util.List; + import lombok.AllArgsConstructor; import lombok.Getter; @@ -28,19 +29,21 @@ public enum FilterKeyEnum { CATEGORY("category"), VERSION("version"), METADATA("metadata"), + INCLUDE("include"), DISTRIBUTION_STATUS("distributionStatus"), NAME_FRAGMENT("nameFragment"); private final String name; private static final List RESOURCES_FILTERED = Arrays.asList( - RESOURCE_TYPE.getName(), - SUB_CATEGORY.getName(), - CATEGORY.getName()); + RESOURCE_TYPE.getName(), + SUB_CATEGORY.getName(), + CATEGORY.getName()); private static final List SERVICES_FILTERED = Arrays.asList( - CATEGORY.getName(), - DISTRIBUTION_STATUS.getName(), - VERSION.getName(), - METADATA.getName()); + CATEGORY.getName(), + DISTRIBUTION_STATUS.getName(), + VERSION.getName(), + INCLUDE.getName(), + METADATA.getName()); public static List getValidFiltersByAssetType(ComponentTypeEnum assetType) { if (assetType == null) { -- cgit 1.2.3-korg