From 4cf09296ed476f8ad485bd4d1ef21f52bfed3574 Mon Sep 17 00:00:00 2001 From: sonikashah Date: Tue, 1 Oct 2024 12:02:33 +0530 Subject: [PATCH] Minor : fix term references validation msg on glossary import --- .../java/org/openmetadata/service/jdbi3/GlossaryRepository.java | 2 +- .../service/resources/glossary/GlossaryResourceTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/GlossaryRepository.java b/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/GlossaryRepository.java index 1bfd75e94635..819d2251e675 100644 --- a/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/GlossaryRepository.java +++ b/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/GlossaryRepository.java @@ -223,7 +223,7 @@ private List getTermReferences(CSVPrinter printer, CSVRecord csvR importFailure( printer, invalidField( - 6, "Term References should be given in the format referenceName:endpoint url."), + 6, "Term References should be given in the format referenceName;endpoint url."), csvRecord); processRecord = false; return null; diff --git a/openmetadata-service/src/test/java/org/openmetadata/service/resources/glossary/GlossaryResourceTest.java b/openmetadata-service/src/test/java/org/openmetadata/service/resources/glossary/GlossaryResourceTest.java index 45d3efdc6387..aa71c798e794 100644 --- a/openmetadata-service/src/test/java/org/openmetadata/service/resources/glossary/GlossaryResourceTest.java +++ b/openmetadata-service/src/test/java/org/openmetadata/service/resources/glossary/GlossaryResourceTest.java @@ -545,7 +545,7 @@ record = ",g1,dsp1,dsc1,h1;h2;h3,,term1:http://term1,,,,,"; getFailedRecord( record, invalidField( - 6, "Term References should be given in the format referenceName:endpoint url.")) + 6, "Term References should be given in the format referenceName;endpoint url.")) }; assertRows(result, expectedRows);