From 1b68543e199890808e5c2bab527ee40ca10b5bab Mon Sep 17 00:00:00 2001 From: JayaShakthi97 Date: Wed, 20 Mar 2024 15:30:05 +0530 Subject: [PATCH 01/10] Fix license header --- .../src/features/certificates/components/certificates-list.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/console/src/features/certificates/components/certificates-list.tsx b/apps/console/src/features/certificates/components/certificates-list.tsx index 61e202eeae2..8ea01097357 100644 --- a/apps/console/src/features/certificates/components/certificates-list.tsx +++ b/apps/console/src/features/certificates/components/certificates-list.tsx @@ -1,5 +1,5 @@ /** - * Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. + * Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). * * WSO2 LLC. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except From 7591c0a812f023e55f185b78e86d37bac07a5e9b Mon Sep 17 00:00:00 2001 From: JayaShakthi97 Date: Wed, 20 Mar 2024 15:34:45 +0530 Subject: [PATCH 02/10] Fix license header --- .../components/import-certificate.tsx | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/apps/console/src/features/certificates/components/import-certificate.tsx b/apps/console/src/features/certificates/components/import-certificate.tsx index f4ad2708f45..600473290d9 100644 --- a/apps/console/src/features/certificates/components/import-certificate.tsx +++ b/apps/console/src/features/certificates/components/import-certificate.tsx @@ -1,20 +1,20 @@ /** -* Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. -* -* WSO2 LLC. licenses this file to you under the Apache License, -* Version 2.0 (the 'License'); you may not use this file except -* in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, -* software distributed under the License is distributed on an -* 'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -* KIND, either express or implied. See the License for the -* specific language governing permissions and limitations -* under the License. -*/ + * Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). + * + * WSO2 LLC. licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ import { AlertLevels, Certificate, DisplayCertificate, TestableComponentInterface } from "@wso2is/core/models"; import { addAlert } from "@wso2is/core/store"; From 90349bb589d18e5b73d456e9f504b99d7215ba78 Mon Sep 17 00:00:00 2001 From: JayaShakthi97 Date: Wed, 20 Mar 2024 15:42:02 +0530 Subject: [PATCH 03/10] Fix license header --- .../features/certificates/components/index.ts | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/apps/console/src/features/certificates/components/index.ts b/apps/console/src/features/certificates/components/index.ts index 36273795c0e..db68b5eb901 100644 --- a/apps/console/src/features/certificates/components/index.ts +++ b/apps/console/src/features/certificates/components/index.ts @@ -1,20 +1,20 @@ /** -* Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. -* -* WSO2 LLC. licenses this file to you under the Apache License, -* Version 2.0 (the 'License'); you may not use this file except -* in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, -* software distributed under the License is distributed on an -* 'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -* KIND, either express or implied. See the License for the -* specific language governing permissions and limitations -* under the License. -*/ + * Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). + * + * WSO2 LLC. licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ export * from "./certificates-list"; export * from "./wizard"; From c69ee28cb13485f9fbc01e3bbb37ff00da83da5b Mon Sep 17 00:00:00 2001 From: JayaShakthi97 Date: Wed, 20 Mar 2024 19:52:52 +0530 Subject: [PATCH 04/10] Fix license header --- apps/console/src/features/certificates/configs/endpoints.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/console/src/features/certificates/configs/endpoints.ts b/apps/console/src/features/certificates/configs/endpoints.ts index 12edbacf3fe..460ea314714 100644 --- a/apps/console/src/features/certificates/configs/endpoints.ts +++ b/apps/console/src/features/certificates/configs/endpoints.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. + * Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). * * WSO2 LLC. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except From 7b90651adde591ce0e3e2cf9c422790d332d8ea6 Mon Sep 17 00:00:00 2001 From: JayaShakthi97 Date: Wed, 20 Mar 2024 20:14:53 +0530 Subject: [PATCH 05/10] Fix lint issue --- apps/console/src/features/certificates/configs/endpoints.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/console/src/features/certificates/configs/endpoints.ts b/apps/console/src/features/certificates/configs/endpoints.ts index 460ea314714..a51dd56460a 100644 --- a/apps/console/src/features/certificates/configs/endpoints.ts +++ b/apps/console/src/features/certificates/configs/endpoints.ts @@ -21,8 +21,7 @@ import { CertificatesResourceEndpointsInterface } from "../models"; /** * Get the resource endpoints for the certificates feature. * - * @param {string} serverHost - Server Host. - * @return {CertificatesResourceEndpointsInterface} + * @param serverHost - Server Host. */ export const getCertificatesResourceEndpoints = (serverHost: string): CertificatesResourceEndpointsInterface => { return { From a9ad6d4fd6baca19ee2166bcdc9feac0a6ef73cf Mon Sep 17 00:00:00 2001 From: JayaShakthi97 Date: Wed, 20 Mar 2024 20:20:42 +0530 Subject: [PATCH 06/10] Fix lint issue --- .../src/features/certificates/components/import-certificate.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/console/src/features/certificates/components/import-certificate.tsx b/apps/console/src/features/certificates/components/import-certificate.tsx index 600473290d9..2867056ac18 100644 --- a/apps/console/src/features/certificates/components/import-certificate.tsx +++ b/apps/console/src/features/certificates/components/import-certificate.tsx @@ -51,7 +51,7 @@ interface ImportCertificatePropsInterface extends TestableComponentInterface { /** * This renders the import certificate wizard. * - * @param {ImportCertificatePropsInterface} props + * @param props - Props injected to the component. * * @returns {ReactElement} */ From 2da6095c07890774ba89391131afe0d9abf14644 Mon Sep 17 00:00:00 2001 From: JayaShakthi97 Date: Wed, 20 Mar 2024 20:23:35 +0530 Subject: [PATCH 07/10] Fix lint issue --- .../src/features/certificates/components/import-certificate.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/console/src/features/certificates/components/import-certificate.tsx b/apps/console/src/features/certificates/components/import-certificate.tsx index 2867056ac18..767acfae2f3 100644 --- a/apps/console/src/features/certificates/components/import-certificate.tsx +++ b/apps/console/src/features/certificates/components/import-certificate.tsx @@ -53,7 +53,6 @@ interface ImportCertificatePropsInterface extends TestableComponentInterface { * * @param props - Props injected to the component. * - * @returns {ReactElement} */ export const ImportCertificate: FunctionComponent = ( props: ImportCertificatePropsInterface From 9dad2b9af074bcc88ca3421242dc1b74173b7b3a Mon Sep 17 00:00:00 2001 From: JayaShakthi97 Date: Wed, 20 Mar 2024 20:27:35 +0530 Subject: [PATCH 08/10] =?UTF-8?q?Add=20changeset=20=F0=9F=A6=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/warm-jars-enjoy.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/warm-jars-enjoy.md diff --git a/.changeset/warm-jars-enjoy.md b/.changeset/warm-jars-enjoy.md new file mode 100644 index 00000000000..d449ce2f1e6 --- /dev/null +++ b/.changeset/warm-jars-enjoy.md @@ -0,0 +1,5 @@ +--- +"@wso2is/console": patch +--- + +Test From c2dba7e7e8a3ff774ae999bd091ccf85df31296b Mon Sep 17 00:00:00 2001 From: JayaShakthi97 Date: Thu, 21 Mar 2024 17:39:06 +0530 Subject: [PATCH 09/10] Fix license header --- apps/console/src/features/certificates/configs/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/console/src/features/certificates/configs/index.ts b/apps/console/src/features/certificates/configs/index.ts index 84c6d425232..3f171475bae 100644 --- a/apps/console/src/features/certificates/configs/index.ts +++ b/apps/console/src/features/certificates/configs/index.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. + * Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). * * WSO2 LLC. licenses this file to you under the Apache License, * Version 2.0 (the 'License'); you may not use this file except From b11ee89071657fe47cc3dca31ed3e08ca1d1828e Mon Sep 17 00:00:00 2001 From: JayaShakthi97 Date: Thu, 21 Mar 2024 17:42:04 +0530 Subject: [PATCH 10/10] Fix lint issue --- .../src/features/certificates/components/import-certificate.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/console/src/features/certificates/components/import-certificate.tsx b/apps/console/src/features/certificates/components/import-certificate.tsx index 767acfae2f3..cf256ce7595 100644 --- a/apps/console/src/features/certificates/components/import-certificate.tsx +++ b/apps/console/src/features/certificates/components/import-certificate.tsx @@ -128,7 +128,7 @@ export const ImportCertificate: FunctionComponent