summaryrefslogtreecommitdiffstats
path: root/catalog-ui
diff options
context:
space:
mode:
authorTomasz Golabek <tomasz.golabek@nokia.com>2020-02-19 16:46:44 +0100
committerOfir Sonsino <ofir.sonsino@intl.att.com>2020-02-24 15:22:57 +0000
commitc5ef980bb5c9af65e1f190c0352329134d6a7459 (patch)
tree400f6bdeed43f8d314b41d5f283122a4e853bca3 /catalog-ui
parent04653cfa1b16fa61fb6cf4685978a646eac3a79a (diff)
PM_Dictionary Support in GAB
Generic Artifact Browser is visible for PM_DICTIONARY artifacts Two agreed formats of the artifact are supported (examples in tests) Small fix for searchable fields and introduced new once for PM_DICTIONARY: measType measDescription measObjClass measFamily measInfoId Change-Id: I2cb609bab6405b55e8099da023ae035205dcd1ab Issue-ID: SDC-2095 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
Diffstat (limited to 'catalog-ui')
-rw-r--r--catalog-ui/src/app/models/artifacts.ts2
-rw-r--r--catalog-ui/src/app/utils/constants.ts1
2 files changed, 2 insertions, 1 deletions
diff --git a/catalog-ui/src/app/models/artifacts.ts b/catalog-ui/src/app/models/artifacts.ts
index 7b93470de3..e290dc624e 100644
--- a/catalog-ui/src/app/models/artifacts.ts
+++ b/catalog-ui/src/app/models/artifacts.ts
@@ -116,7 +116,7 @@ export class ArtifactModel {
};
public isGenericBrowseable = ():boolean => {
- return this.artifactType == ArtifactType.VES_EVENTS;
+ return this.artifactType === ArtifactType.VES_EVENTS || this.artifactType === ArtifactType.PM_DICTIONARY;
};
public toJSON = ():any => {
diff --git a/catalog-ui/src/app/utils/constants.ts b/catalog-ui/src/app/utils/constants.ts
index e82322e0de..8ad8db2b69 100644
--- a/catalog-ui/src/app/utils/constants.ts
+++ b/catalog-ui/src/app/utils/constants.ts
@@ -106,6 +106,7 @@ export class ArtifactType {
static HEAT_VOL = "HEAT_VOL";
static HEAT_NET = "HEAT_NET";
static VF_LICENSE = "VF_LICENSE";
+ static PM_DICTIONARY = "PM_DICTIONARY";
static VENDOR_LICENSE = "VENDOR_LICENSE";
static THIRD_PARTY_RESERVED_TYPES = {
WORKFLOW: "WORKFLOW",