mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-06 06:16:21 +00:00
* Fix #21430 : Tier tag not updating in search filters * Fix #21430 : Tier tag not updating in search filters * add tests * test: add test for glossary term * test: add test coverage for all entities * fix tests * fix tests * fix: service entity tests --------- Co-authored-by: Pranita <pfulsundar8@gmail.com> Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
This commit is contained in:
parent
d87fd193db
commit
cc1e8f7b5b
@ -33,9 +33,11 @@ import org.openmetadata.schema.type.Include;
|
|||||||
import org.openmetadata.schema.type.LineageDetails;
|
import org.openmetadata.schema.type.LineageDetails;
|
||||||
import org.openmetadata.schema.type.Relationship;
|
import org.openmetadata.schema.type.Relationship;
|
||||||
import org.openmetadata.schema.type.TableConstraint;
|
import org.openmetadata.schema.type.TableConstraint;
|
||||||
|
import org.openmetadata.schema.type.TagLabel;
|
||||||
import org.openmetadata.service.Entity;
|
import org.openmetadata.service.Entity;
|
||||||
import org.openmetadata.service.exception.EntityNotFoundException;
|
import org.openmetadata.service.exception.EntityNotFoundException;
|
||||||
import org.openmetadata.service.jdbi3.CollectionDAO;
|
import org.openmetadata.service.jdbi3.CollectionDAO;
|
||||||
|
import org.openmetadata.service.search.ParseTags;
|
||||||
import org.openmetadata.service.search.SearchClient;
|
import org.openmetadata.service.search.SearchClient;
|
||||||
import org.openmetadata.service.search.SearchIndexUtils;
|
import org.openmetadata.service.search.SearchIndexUtils;
|
||||||
import org.openmetadata.service.search.models.IndexMapping;
|
import org.openmetadata.service.search.models.IndexMapping;
|
||||||
@ -108,7 +110,10 @@ public interface SearchIndex {
|
|||||||
map.put("descriptionStatus", getDescriptionStatus(entity));
|
map.put("descriptionStatus", getDescriptionStatus(entity));
|
||||||
map.put("fqnParts", getFQNParts(entity.getFullyQualifiedName()));
|
map.put("fqnParts", getFQNParts(entity.getFullyQualifiedName()));
|
||||||
map.put("deleted", entity.getDeleted() != null && entity.getDeleted());
|
map.put("deleted", entity.getDeleted() != null && entity.getDeleted());
|
||||||
|
TagLabel tierTag = new ParseTags(Entity.getEntityTags(entityType, entity)).getTierTag();
|
||||||
|
Optional.ofNullable(tierTag)
|
||||||
|
.filter(tier -> tier.getTagFQN() != null && !tier.getTagFQN().isEmpty())
|
||||||
|
.ifPresent(tier -> map.put("tier", tier));
|
||||||
Optional.ofNullable(entity.getCertification())
|
Optional.ofNullable(entity.getCertification())
|
||||||
.ifPresent(assetCertification -> map.put("certification", assetCertification));
|
.ifPresent(assetCertification -> map.put("certification", assetCertification));
|
||||||
return map;
|
return map;
|
||||||
|
@ -128,6 +128,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -172,6 +172,31 @@
|
|||||||
"followers": {
|
"followers": {
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -124,6 +124,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -96,6 +96,31 @@
|
|||||||
"analyzer": "om_analyzer",
|
"analyzer": "om_analyzer",
|
||||||
"similarity": "boolean"
|
"similarity": "boolean"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -393,6 +393,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -128,6 +128,31 @@
|
|||||||
"entityType": {
|
"entityType": {
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -214,6 +214,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -250,6 +250,31 @@
|
|||||||
"usageCount": {
|
"usageCount": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -381,6 +381,31 @@
|
|||||||
"usageCount": {
|
"usageCount": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -127,6 +127,31 @@
|
|||||||
"entityType": {
|
"entityType": {
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -179,6 +179,31 @@
|
|||||||
"updatedBy": {
|
"updatedBy": {
|
||||||
"type": "text"
|
"type": "text"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -138,6 +138,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -99,6 +99,31 @@
|
|||||||
"entityType": {
|
"entityType": {
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -128,6 +128,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -123,6 +123,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -127,6 +127,31 @@
|
|||||||
"entityType": {
|
"entityType": {
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -190,6 +190,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -117,6 +117,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -101,6 +101,31 @@
|
|||||||
"analyzer": "om_analyzer_jp",
|
"analyzer": "om_analyzer_jp",
|
||||||
"similarity": "boolean"
|
"similarity": "boolean"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -401,6 +401,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -127,6 +127,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -163,6 +163,31 @@
|
|||||||
"experts": {
|
"experts": {
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -251,6 +251,31 @@
|
|||||||
"usageCount": {
|
"usageCount": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -395,6 +395,31 @@
|
|||||||
"usageCount": {
|
"usageCount": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -122,6 +122,31 @@
|
|||||||
"entityType": {
|
"entityType": {
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -138,6 +138,31 @@
|
|||||||
"updatedBy": {
|
"updatedBy": {
|
||||||
"type": "text"
|
"type": "text"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -137,6 +137,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -87,6 +87,31 @@
|
|||||||
"updatedBy": {
|
"updatedBy": {
|
||||||
"type": "text"
|
"type": "text"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -127,6 +127,31 @@
|
|||||||
"entityType": {
|
"entityType": {
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -114,6 +114,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -108,6 +108,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -186,6 +186,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -104,6 +104,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -93,6 +93,31 @@
|
|||||||
"entityType": {
|
"entityType": {
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -389,6 +389,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -111,6 +111,31 @@
|
|||||||
"entityType": {
|
"entityType": {
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -159,6 +159,31 @@
|
|||||||
"experts": {
|
"experts": {
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -208,6 +208,31 @@
|
|||||||
"entityType": {
|
"entityType": {
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -374,6 +374,31 @@
|
|||||||
"entityType": {
|
"entityType": {
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -109,6 +109,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -115,6 +115,31 @@
|
|||||||
"updatedBy": {
|
"updatedBy": {
|
||||||
"type": "text"
|
"type": "text"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -121,6 +121,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -80,6 +80,31 @@
|
|||||||
"entityType": {
|
"entityType": {
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -108,6 +108,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -104,6 +104,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tier": {
|
||||||
|
"properties": {
|
||||||
|
"tagFQN": {
|
||||||
|
"type": "keyword",
|
||||||
|
"fields": {
|
||||||
|
"text": {
|
||||||
|
"type": "text",
|
||||||
|
"analyzer": "om_analyzer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labelType": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"tagFQN": {
|
"tagFQN": {
|
||||||
|
@ -195,7 +195,8 @@ entities.forEach((EntityClass) => {
|
|||||||
await entity.tier(
|
await entity.tier(
|
||||||
page,
|
page,
|
||||||
'Tier1',
|
'Tier1',
|
||||||
EntityDataClass.tierTag1.data.displayName
|
EntityDataClass.tierTag1.data.displayName,
|
||||||
|
entity
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -216,7 +217,7 @@ entities.forEach((EntityClass) => {
|
|||||||
test('Tag Add, Update and Remove', async ({ page }) => {
|
test('Tag Add, Update and Remove', async ({ page }) => {
|
||||||
test.slow(true);
|
test.slow(true);
|
||||||
|
|
||||||
await entity.tag(page, 'PersonalData.Personal', 'PII.None');
|
await entity.tag(page, 'PersonalData.Personal', 'PII.None', entity);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Glossary Term Add, Update and Remove', async ({ page }) => {
|
test('Glossary Term Add, Update and Remove', async ({ page }) => {
|
||||||
@ -225,7 +226,8 @@ entities.forEach((EntityClass) => {
|
|||||||
await entity.glossaryTerm(
|
await entity.glossaryTerm(
|
||||||
page,
|
page,
|
||||||
EntityDataClass.glossaryTerm1.responseData,
|
EntityDataClass.glossaryTerm1.responseData,
|
||||||
EntityDataClass.glossaryTerm2.responseData
|
EntityDataClass.glossaryTerm2.responseData,
|
||||||
|
entity
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ import {
|
|||||||
assignTag,
|
assignTag,
|
||||||
assignTagToChildren,
|
assignTagToChildren,
|
||||||
assignTier,
|
assignTier,
|
||||||
|
checkExploreSearchFilter,
|
||||||
createAnnouncement,
|
createAnnouncement,
|
||||||
createInactiveAnnouncement,
|
createInactiveAnnouncement,
|
||||||
deleteAnnouncement,
|
deleteAnnouncement,
|
||||||
@ -202,8 +203,17 @@ export class EntityClass {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async tier(page: Page, tier1: string, tier2: string) {
|
async tier(page: Page, tier1: string, tier2: string, entity?: EntityClass) {
|
||||||
await assignTier(page, tier1, this.endpoint);
|
await assignTier(page, tier1, this.endpoint);
|
||||||
|
if (entity) {
|
||||||
|
await checkExploreSearchFilter(
|
||||||
|
page,
|
||||||
|
'Tier',
|
||||||
|
'tier.tagFQN',
|
||||||
|
`Tier.${tier1}`,
|
||||||
|
entity
|
||||||
|
);
|
||||||
|
}
|
||||||
await assignTier(page, tier2, this.endpoint);
|
await assignTier(page, tier2, this.endpoint);
|
||||||
await removeTier(page, this.endpoint);
|
await removeTier(page, this.endpoint);
|
||||||
}
|
}
|
||||||
@ -216,8 +226,11 @@ export class EntityClass {
|
|||||||
await updateDescription(page, description);
|
await updateDescription(page, description);
|
||||||
}
|
}
|
||||||
|
|
||||||
async tag(page: Page, tag1: string, tag2: string) {
|
async tag(page: Page, tag1: string, tag2: string, entity?: EntityClass) {
|
||||||
await assignTag(page, tag1);
|
await assignTag(page, tag1);
|
||||||
|
if (entity) {
|
||||||
|
await checkExploreSearchFilter(page, 'Tag', 'tags.tagFQN', tag1, entity);
|
||||||
|
}
|
||||||
await assignTag(page, tag2, 'Edit');
|
await assignTag(page, tag2, 'Edit');
|
||||||
await removeTag(page, [tag2]);
|
await removeTag(page, [tag2]);
|
||||||
await removeTag(page, [tag1]);
|
await removeTag(page, [tag1]);
|
||||||
@ -273,9 +286,19 @@ export class EntityClass {
|
|||||||
async glossaryTerm(
|
async glossaryTerm(
|
||||||
page: Page,
|
page: Page,
|
||||||
glossaryTerm1: GlossaryTerm['responseData'],
|
glossaryTerm1: GlossaryTerm['responseData'],
|
||||||
glossaryTerm2: GlossaryTerm['responseData']
|
glossaryTerm2: GlossaryTerm['responseData'],
|
||||||
|
entity?: EntityClass
|
||||||
) {
|
) {
|
||||||
await assignGlossaryTerm(page, glossaryTerm1);
|
await assignGlossaryTerm(page, glossaryTerm1);
|
||||||
|
if (entity) {
|
||||||
|
await checkExploreSearchFilter(
|
||||||
|
page,
|
||||||
|
'Tag',
|
||||||
|
'tags.tagFQN',
|
||||||
|
glossaryTerm1.fullyQualifiedName,
|
||||||
|
entity
|
||||||
|
);
|
||||||
|
}
|
||||||
await assignGlossaryTerm(page, glossaryTerm2, 'Edit');
|
await assignGlossaryTerm(page, glossaryTerm2, 'Edit');
|
||||||
await removeGlossaryTerm(page, [glossaryTerm1, glossaryTerm2]);
|
await removeGlossaryTerm(page, [glossaryTerm1, glossaryTerm2]);
|
||||||
|
|
||||||
|
@ -19,7 +19,9 @@ import {
|
|||||||
LIST_OF_FIELDS_TO_EDIT_TO_BE_DISABLED,
|
LIST_OF_FIELDS_TO_EDIT_TO_BE_DISABLED,
|
||||||
} from '../constant/delete';
|
} from '../constant/delete';
|
||||||
import { ES_RESERVED_CHARACTERS } from '../constant/entity';
|
import { ES_RESERVED_CHARACTERS } from '../constant/entity';
|
||||||
|
import { SidebarItem } from '../constant/sidebar';
|
||||||
import { EntityTypeEndpoint } from '../support/entity/Entity.interface';
|
import { EntityTypeEndpoint } from '../support/entity/Entity.interface';
|
||||||
|
import { EntityClass } from '../support/entity/EntityClass';
|
||||||
import {
|
import {
|
||||||
clickOutside,
|
clickOutside,
|
||||||
descriptionBox,
|
descriptionBox,
|
||||||
@ -32,6 +34,8 @@ import {
|
|||||||
getCurrentMillis,
|
getCurrentMillis,
|
||||||
getEpochMillisForFutureDays,
|
getEpochMillisForFutureDays,
|
||||||
} from './dateTime';
|
} from './dateTime';
|
||||||
|
import { searchAndClickOnOption } from './explore';
|
||||||
|
import { sidebarClick } from './sidebar';
|
||||||
|
|
||||||
export const visitEntityPage = async (data: {
|
export const visitEntityPage = async (data: {
|
||||||
page: Page;
|
page: Page;
|
||||||
@ -1435,3 +1439,52 @@ export const generateEntityChildren = (entityName: string, count = 25) => {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const checkExploreSearchFilter = async (
|
||||||
|
page: Page,
|
||||||
|
filterLabel: string,
|
||||||
|
filterKey: string,
|
||||||
|
filterValue: string,
|
||||||
|
entity?: EntityClass
|
||||||
|
) => {
|
||||||
|
await sidebarClick(page, SidebarItem.EXPLORE);
|
||||||
|
await page.click(`[data-testid="search-dropdown-${filterLabel}"]`);
|
||||||
|
await searchAndClickOnOption(
|
||||||
|
page,
|
||||||
|
{
|
||||||
|
label: filterLabel,
|
||||||
|
key: filterKey,
|
||||||
|
value: filterValue,
|
||||||
|
},
|
||||||
|
true
|
||||||
|
);
|
||||||
|
|
||||||
|
const rawFilterValue = (filterValue ?? '').replace(/ /g, '+').toLowerCase();
|
||||||
|
|
||||||
|
// Escape double quotes before encoding
|
||||||
|
const escapedValue = rawFilterValue.replace(/"/g, '\\"');
|
||||||
|
|
||||||
|
const filterValueForSearchURL =
|
||||||
|
filterKey === 'tier.tagFQN'
|
||||||
|
? filterValue
|
||||||
|
: /["%]/.test(filterValue ?? '')
|
||||||
|
? encodeURIComponent(escapedValue)
|
||||||
|
: rawFilterValue;
|
||||||
|
|
||||||
|
const querySearchURL = `/api/v1/search/query?*index=dataAsset*query_filter=*should*${filterKey}*${filterValueForSearchURL}*`;
|
||||||
|
|
||||||
|
const queryRes = page.waitForResponse(querySearchURL);
|
||||||
|
await page.click('[data-testid="update-btn"]');
|
||||||
|
await queryRes;
|
||||||
|
await page.waitForSelector('[data-testid="loader"]', { state: 'detached' });
|
||||||
|
|
||||||
|
await expect(
|
||||||
|
page.getByTestId(
|
||||||
|
`table-data-card_${entity?.entityResponseData?.fullyQualifiedName}`
|
||||||
|
)
|
||||||
|
).toBeVisible();
|
||||||
|
|
||||||
|
await page.click('[data-testid="clear-filters"]');
|
||||||
|
|
||||||
|
await entity?.visitEntityPage(page);
|
||||||
|
};
|
||||||
|
@ -38,8 +38,8 @@ export const searchAndClickOnOption = async (
|
|||||||
testId = filter.value ?? '';
|
testId = filter.value ?? '';
|
||||||
}
|
}
|
||||||
|
|
||||||
await page.waitForSelector(`[data-testid="${testId}"]`);
|
await page.getByTestId(testId).click();
|
||||||
await page.click(`[data-testid="${testId}"]`);
|
|
||||||
await checkCheckboxStatus(page, `${testId}-checkbox`, checkedAfterClick);
|
await checkCheckboxStatus(page, `${testId}-checkbox`, checkedAfterClick);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ const MarketPlacePage = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<PageLayoutV1
|
<PageLayoutV1
|
||||||
className="p-0 marketplace-page"
|
className="marketplace-page"
|
||||||
pageTitle={t('label.market-place')}>
|
pageTitle={t('label.market-place')}>
|
||||||
<Row className="marketplace-header">
|
<Row className="marketplace-header">
|
||||||
<Col span={24}>
|
<Col span={24}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user