mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-30 11:56:01 +00:00
MINOR: Fix App Insights not processing URL Encoded Data Assets (#18613)
* use 'URLDecoder.decode' before getting entity by name * Update Test to cover this scenario
This commit is contained in:
parent
7caec17162
commit
128e4e8e93
@ -99,7 +99,7 @@ public class WebAnalyticsEntityViewProcessor
|
||||
EntityInterface entity =
|
||||
Entity.getEntityByName(
|
||||
URLDecoder.decode(entityType, StandardCharsets.UTF_8),
|
||||
entityFqn,
|
||||
URLDecoder.decode(entityFqn, StandardCharsets.UTF_8),
|
||||
"*",
|
||||
Include.NON_DELETED,
|
||||
true);
|
||||
|
@ -140,7 +140,7 @@ public class AppsResourceTest extends EntityResourceTest<App, CreateApp> {
|
||||
DatabaseService databaseService =
|
||||
databaseServiceResourceTest.createEntity(
|
||||
databaseServiceResourceTest
|
||||
.createRequest("DI_Test_Snowflake")
|
||||
.createRequest("DI Test Snowflake")
|
||||
.withServiceType(CreateDatabaseService.DatabaseServiceType.Snowflake),
|
||||
ADMIN_AUTH_HEADERS);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user