From 5a586a267b1aeed322974882f842736b91cdaba9 Mon Sep 17 00:00:00 2001 From: Mohamed Ould Hocine Date: Fri, 27 Oct 2023 17:12:02 +0200 Subject: [PATCH 1/4] Move existing DataNode config into separate page --- .../CertificateRenewal.tsx | 0 .../CertificateRenewalPolicyConfig.tsx | 2 +- .../DataNodeConfiguration.tsx | 0 .../DataNodeConfiguration/index.tsx | 0 .../datanode/DataNodesPageNavigation.tsx | 35 +++++++++++++++ .../src/components/navigation/SystemMenu.tsx | 3 ++ .../src/pages/ConfigurationsPage.tsx | 10 ----- .../src/pages/DataNodesPage.tsx | 43 +++++++++++++++++++ graylog2-web-interface/src/pages/index.jsx | 2 + .../src/routing/AppRouter.tsx | 14 +++--- graylog2-web-interface/src/routing/Routes.ts | 3 ++ 11 files changed, 94 insertions(+), 18 deletions(-) rename graylog2-web-interface/src/components/{configurations => datanode}/DataNodeConfiguration/CertificateRenewal.tsx (100%) rename graylog2-web-interface/src/components/{configurations => datanode}/DataNodeConfiguration/CertificateRenewalPolicyConfig.tsx (99%) rename graylog2-web-interface/src/components/{configurations => datanode}/DataNodeConfiguration/DataNodeConfiguration.tsx (100%) rename graylog2-web-interface/src/components/{configurations => datanode}/DataNodeConfiguration/index.tsx (100%) create mode 100644 graylog2-web-interface/src/components/datanode/DataNodesPageNavigation.tsx create mode 100644 graylog2-web-interface/src/pages/DataNodesPage.tsx diff --git a/graylog2-web-interface/src/components/configurations/DataNodeConfiguration/CertificateRenewal.tsx b/graylog2-web-interface/src/components/datanode/DataNodeConfiguration/CertificateRenewal.tsx similarity index 100% rename from graylog2-web-interface/src/components/configurations/DataNodeConfiguration/CertificateRenewal.tsx rename to graylog2-web-interface/src/components/datanode/DataNodeConfiguration/CertificateRenewal.tsx diff --git a/graylog2-web-interface/src/components/configurations/DataNodeConfiguration/CertificateRenewalPolicyConfig.tsx b/graylog2-web-interface/src/components/datanode/DataNodeConfiguration/CertificateRenewalPolicyConfig.tsx similarity index 99% rename from graylog2-web-interface/src/components/configurations/DataNodeConfiguration/CertificateRenewalPolicyConfig.tsx rename to graylog2-web-interface/src/components/datanode/DataNodeConfiguration/CertificateRenewalPolicyConfig.tsx index 635637c526b7..a395ecbfd623 100644 --- a/graylog2-web-interface/src/components/configurations/DataNodeConfiguration/CertificateRenewalPolicyConfig.tsx +++ b/graylog2-web-interface/src/components/datanode/DataNodeConfiguration/CertificateRenewalPolicyConfig.tsx @@ -86,7 +86,7 @@ const smallestUnit = (duration: string) => { const fetchCurrentConfig = () => ConfigurationsActions.list(ConfigurationType.CERTIFICATE_RENEWAL_POLICY_CONFIG) as Promise; const NoExistingPolicy = ({ createPolicy }: { createPolicy: () => void }) => ( - There is no Certificate Renewal Policy yet. Click + There is no Certificate Renewal Policy yet. Click