From 568e8b1e7544470056b0a556f58c4af3c3e9a8a5 Mon Sep 17 00:00:00 2001 From: ivy-jh Date: Tue, 10 Dec 2024 11:28:16 +0100 Subject: [PATCH] wip --- .../java/io/ivyteam/devops/github/GitHubSynchronizer.java | 3 +-- src/main/java/io/ivyteam/devops/repo/ReposView.java | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/java/io/ivyteam/devops/github/GitHubSynchronizer.java b/src/main/java/io/ivyteam/devops/github/GitHubSynchronizer.java index 93013d8..1928e77 100644 --- a/src/main/java/io/ivyteam/devops/github/GitHubSynchronizer.java +++ b/src/main/java/io/ivyteam/devops/github/GitHubSynchronizer.java @@ -228,8 +228,7 @@ private List reposFor(String orgName) { try { var org = gitHub.get().getOrganization(orgName); return List.copyOf(org.getRepositories().values()).stream() - // .filter(repo -> repo.getName().equals("am-charts-sample")) - // .limit(50) + // .limit(10) .toList(); } catch (IOException ex) { throw new RuntimeException(ex); diff --git a/src/main/java/io/ivyteam/devops/repo/ReposView.java b/src/main/java/io/ivyteam/devops/repo/ReposView.java index b3f1b83..6314dda 100644 --- a/src/main/java/io/ivyteam/devops/repo/ReposView.java +++ b/src/main/java/io/ivyteam/devops/repo/ReposView.java @@ -126,7 +126,7 @@ public ReposView(RepoRepository repos, PullRequestRepository prs, BranchReposito return null; } return layout; - }).setHeader("Code").setWidth("100px").setSortable(true); + }).setHeader("CodeScan").setWidth("100px").setSortable(true); grid.addComponentColumn(repo -> { var layout = new HorizontalLayout(); @@ -141,7 +141,7 @@ public ReposView(RepoRepository repos, PullRequestRepository prs, BranchReposito return null; } return layout; - }).setHeader("Secret-Scanning").setWidth("100px").setSortable(true); + }).setHeader("SecretScan").setWidth("100px").setSortable(true); grid.setHeightFull(); @@ -238,7 +238,6 @@ private Anchor createSecurityScannerAnchor(SecurityScanner ss, String link, Stri } else { a.getElement().getThemeList().add("badge pill small success"); icon.setIcon(VaadinIcon.CHECK); - // a.getStyle().set("display", "none"); } return a;