From d43fa873ecb4ff5afb06e27d4df1e36029c0dc7e Mon Sep 17 00:00:00 2001 From: ndespouy Date: Mon, 2 Oct 2023 16:24:36 +0400 Subject: [PATCH] Test --- .../graphql/resolvers/role/BatchAssignRoleResolver.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/resolvers/role/BatchAssignRoleResolver.java b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/resolvers/role/BatchAssignRoleResolver.java index dc847069afae9..600823bd32dc2 100644 --- a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/resolvers/role/BatchAssignRoleResolver.java +++ b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/resolvers/role/BatchAssignRoleResolver.java @@ -38,6 +38,13 @@ public CompletableFuture get(DataFetchingEnvironment environment) throw return CompletableFuture.supplyAsync(() -> { try { final Urn roleUrn = roleUrnStr == null ? null : Urn.createFromString(roleUrnStr); + // TODO ndespouy A SUPPRIMER + System.out.println("roleUrnStr : " + roleUrnStr); + System.out.println("actors : "); + for (int i = 0; i < actors.size(); i++) { + System.out.println("===> " + actors.get(i)); + } + System.out.println("=====> NDESPOUY <======"); _roleService.batchAssignRoleToActors(actors, roleUrn, authentication); return true; } catch (Exception e) {