From 807bb0b89eceef174aa67734d2886f6bdd320ffa Mon Sep 17 00:00:00 2001 From: Shailesh Parmar Date: Thu, 16 May 2024 20:26:02 +0530 Subject: [PATCH] Minor: update testSuite pipeline name to have UUID to keep unique name (#16309) --- .../DataQuality/AddDataQualityTest/TestSuiteIngestion.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/components/DataQuality/AddDataQualityTest/TestSuiteIngestion.tsx b/openmetadata-ui/src/main/resources/ui/src/components/DataQuality/AddDataQualityTest/TestSuiteIngestion.tsx index eb8424f4b2b..d4fc514c544 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/DataQuality/AddDataQualityTest/TestSuiteIngestion.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/DataQuality/AddDataQualityTest/TestSuiteIngestion.tsx @@ -46,6 +46,7 @@ import { Transi18next, } from '../../../utils/CommonUtils'; import { getIngestionName } from '../../../utils/ServiceUtils'; +import { generateUUID } from '../../../utils/StringsUtils'; import { showErrorToast } from '../../../utils/ToastUtils'; import SuccessScreen from '../../common/SuccessScreen/SuccessScreen'; import DeployIngestionLoaderModal from '../../Modals/DeployIngestionLoaderModal/DeployIngestionLoaderModal'; @@ -146,7 +147,8 @@ const TestSuiteIngestion: React.FC = ({ ? undefined : data.repeatFrequency, }, - name: updatedName, + displayName: updatedName, + name: generateUUID(), loggerLevel: data.enableDebugLog ? LogLevels.Debug : LogLevels.Info, pipelineType: PipelineType.TestSuite, service: {