From f70cb05d3f7bdd29291dfdf6e7ddc3dd201f1f07 Mon Sep 17 00:00:00 2001 From: Aseem Bansal Date: Tue, 23 May 2023 15:08:41 +0530 Subject: [PATCH] fix(ci): add missing updates to restli-spec (#8106) --- .../com.linkedin.usage.usageStats.restspec.json | 3 +++ .../com.linkedin.entity.aspects.snapshot.json | 15 ++++++++++++--- .../com.linkedin.entity.entities.snapshot.json | 15 ++++++++++++--- .../com.linkedin.entity.runs.snapshot.json | 15 ++++++++++++--- .../com.linkedin.platform.platform.snapshot.json | 15 ++++++++++++--- .../com.linkedin.usage.usageStats.snapshot.json | 3 +++ 6 files changed, 54 insertions(+), 12 deletions(-) diff --git a/metadata-service/restli-api/src/main/idl/com.linkedin.usage.usageStats.restspec.json b/metadata-service/restli-api/src/main/idl/com.linkedin.usage.usageStats.restspec.json index dd91e55e11..2a4cf40b58 100644 --- a/metadata-service/restli-api/src/main/idl/com.linkedin.usage.usageStats.restspec.json +++ b/metadata-service/restli-api/src/main/idl/com.linkedin.usage.usageStats.restspec.json @@ -1,4 +1,7 @@ { + "annotations" : { + "deprecated" : { } + }, "name" : "usageStats", "namespace" : "com.linkedin.usage", "path" : "/usageStats", diff --git a/metadata-service/restli-api/src/main/snapshot/com.linkedin.entity.aspects.snapshot.json b/metadata-service/restli-api/src/main/snapshot/com.linkedin.entity.aspects.snapshot.json index 76cea4beca..948bb82c4a 100644 --- a/metadata-service/restli-api/src/main/snapshot/com.linkedin.entity.aspects.snapshot.json +++ b/metadata-service/restli-api/src/main/snapshot/com.linkedin.entity.aspects.snapshot.json @@ -329,7 +329,10 @@ } }, "doc" : "URL where the reference exist", - "optional" : true + "optional" : true, + "Searchable" : { + "fieldType" : "KEYWORD" + } } ] } ], "fields" : [ { @@ -415,7 +418,10 @@ "name" : "chartUrl", "type" : "com.linkedin.common.Url", "doc" : "URL for the chart. This could be used as an external link on DataHub to allow users access/view the chart", - "optional" : true + "optional" : true, + "Searchable" : { + "fieldType" : "KEYWORD" + } }, { "name" : "inputs", "type" : { @@ -1352,7 +1358,10 @@ "name" : "dashboardUrl", "type" : "com.linkedin.common.Url", "doc" : "URL for the dashboard. This could be used as an external link on DataHub to allow users access/view the dashboard", - "optional" : true + "optional" : true, + "Searchable" : { + "fieldType" : "KEYWORD" + } }, { "name" : "access", "type" : "com.linkedin.common.AccessLevel", diff --git a/metadata-service/restli-api/src/main/snapshot/com.linkedin.entity.entities.snapshot.json b/metadata-service/restli-api/src/main/snapshot/com.linkedin.entity.entities.snapshot.json index 41a0030da1..33d749edf6 100644 --- a/metadata-service/restli-api/src/main/snapshot/com.linkedin.entity.entities.snapshot.json +++ b/metadata-service/restli-api/src/main/snapshot/com.linkedin.entity.entities.snapshot.json @@ -82,7 +82,10 @@ } }, "doc" : "URL where the reference exist", - "optional" : true + "optional" : true, + "Searchable" : { + "fieldType" : "KEYWORD" + } } ] } ], "fields" : [ { @@ -168,7 +171,10 @@ "name" : "chartUrl", "type" : "com.linkedin.common.Url", "doc" : "URL for the chart. This could be used as an external link on DataHub to allow users access/view the chart", - "optional" : true + "optional" : true, + "Searchable" : { + "fieldType" : "KEYWORD" + } }, { "name" : "inputs", "type" : { @@ -1362,7 +1368,10 @@ "name" : "dashboardUrl", "type" : "com.linkedin.common.Url", "doc" : "URL for the dashboard. This could be used as an external link on DataHub to allow users access/view the dashboard", - "optional" : true + "optional" : true, + "Searchable" : { + "fieldType" : "KEYWORD" + } }, { "name" : "access", "type" : "com.linkedin.common.AccessLevel", diff --git a/metadata-service/restli-api/src/main/snapshot/com.linkedin.entity.runs.snapshot.json b/metadata-service/restli-api/src/main/snapshot/com.linkedin.entity.runs.snapshot.json index fb2f02241a..a24614df87 100644 --- a/metadata-service/restli-api/src/main/snapshot/com.linkedin.entity.runs.snapshot.json +++ b/metadata-service/restli-api/src/main/snapshot/com.linkedin.entity.runs.snapshot.json @@ -82,7 +82,10 @@ } }, "doc" : "URL where the reference exist", - "optional" : true + "optional" : true, + "Searchable" : { + "fieldType" : "KEYWORD" + } } ] } ], "fields" : [ { @@ -168,7 +171,10 @@ "name" : "chartUrl", "type" : "com.linkedin.common.Url", "doc" : "URL for the chart. This could be used as an external link on DataHub to allow users access/view the chart", - "optional" : true + "optional" : true, + "Searchable" : { + "fieldType" : "KEYWORD" + } }, { "name" : "inputs", "type" : { @@ -1105,7 +1111,10 @@ "name" : "dashboardUrl", "type" : "com.linkedin.common.Url", "doc" : "URL for the dashboard. This could be used as an external link on DataHub to allow users access/view the dashboard", - "optional" : true + "optional" : true, + "Searchable" : { + "fieldType" : "KEYWORD" + } }, { "name" : "access", "type" : "com.linkedin.common.AccessLevel", diff --git a/metadata-service/restli-api/src/main/snapshot/com.linkedin.platform.platform.snapshot.json b/metadata-service/restli-api/src/main/snapshot/com.linkedin.platform.platform.snapshot.json index bbf7810cff..02ad01c77d 100644 --- a/metadata-service/restli-api/src/main/snapshot/com.linkedin.platform.platform.snapshot.json +++ b/metadata-service/restli-api/src/main/snapshot/com.linkedin.platform.platform.snapshot.json @@ -82,7 +82,10 @@ } }, "doc" : "URL where the reference exist", - "optional" : true + "optional" : true, + "Searchable" : { + "fieldType" : "KEYWORD" + } } ] } ], "fields" : [ { @@ -168,7 +171,10 @@ "name" : "chartUrl", "type" : "com.linkedin.common.Url", "doc" : "URL for the chart. This could be used as an external link on DataHub to allow users access/view the chart", - "optional" : true + "optional" : true, + "Searchable" : { + "fieldType" : "KEYWORD" + } }, { "name" : "inputs", "type" : { @@ -1362,7 +1368,10 @@ "name" : "dashboardUrl", "type" : "com.linkedin.common.Url", "doc" : "URL for the dashboard. This could be used as an external link on DataHub to allow users access/view the dashboard", - "optional" : true + "optional" : true, + "Searchable" : { + "fieldType" : "KEYWORD" + } }, { "name" : "access", "type" : "com.linkedin.common.AccessLevel", diff --git a/metadata-service/restli-api/src/main/snapshot/com.linkedin.usage.usageStats.snapshot.json b/metadata-service/restli-api/src/main/snapshot/com.linkedin.usage.usageStats.snapshot.json index 67ccd00795..a21b0c1cd3 100644 --- a/metadata-service/restli-api/src/main/snapshot/com.linkedin.usage.usageStats.snapshot.json +++ b/metadata-service/restli-api/src/main/snapshot/com.linkedin.usage.usageStats.snapshot.json @@ -156,6 +156,9 @@ "symbols" : [ "HOUR", "DAY", "WEEK", "MONTH", "QUARTER", "YEAR", "ALL" ] }, "com.linkedin.usage.UserUsageCounts" ], "schema" : { + "annotations" : { + "deprecated" : { } + }, "name" : "usageStats", "namespace" : "com.linkedin.usage", "path" : "/usageStats",