From 3648bb130a6e3a70699d1da836d3c72c731aa5b6 Mon Sep 17 00:00:00 2001 From: ssindhu23 Date: Fri, 15 Sep 2023 14:30:37 +0530 Subject: [PATCH] [BACKLOG-38436] Code changes for moving mail-validator-job from core to plugin --- assemblies/plugins/pom.xml | 13 ++ .../src/main/resources/kettle-job-entries.xml | 1 - .../entry/messages/messages_en_US.properties | 2 - plugins/README.md | 1 + .../assemblies/plugin/pom.xml | 58 +++++++++ .../plugin/src/assembly/assembly.xml | 41 ++++++ .../plugin/src/main/resources/version.xml | 2 + plugins/mail-validator-job/assemblies/pom.xml | 22 ++++ plugins/mail-validator-job/impl/pom.xml | 58 +++++++++ .../mailvalidator/JobEntryMailValidator.java | 9 +- .../messages/messages_en_US.properties | 2 + .../messages/messages_es_AR.properties | 0 .../messages/messages_fr_FR.properties | 0 .../messages/messages_it_IT.properties | 0 .../messages/messages_ja_JP.properties | 0 .../messages/messages_ko_KR.properties | 0 .../messages/messages_zh_CN.properties | 0 .../JobEntryMailValidatorTest.java | 2 +- plugins/mail-validator-job/pom.xml | 118 ++++++++++++++++++ plugins/mail-validator-job/ui/pom.xml | 52 ++++++++ .../JobEntryMailValidatorDialog.java | 5 +- .../ui/src/main/resources/MAV.png | Bin 0 -> 809 bytes .../ui/src/main/resources/MAV.svg | 39 ++++++ plugins/pom.xml | 1 + 24 files changed, 420 insertions(+), 6 deletions(-) create mode 100644 plugins/mail-validator-job/assemblies/plugin/pom.xml create mode 100644 plugins/mail-validator-job/assemblies/plugin/src/assembly/assembly.xml create mode 100644 plugins/mail-validator-job/assemblies/plugin/src/main/resources/version.xml create mode 100644 plugins/mail-validator-job/assemblies/pom.xml create mode 100644 plugins/mail-validator-job/impl/pom.xml rename {engine => plugins/mail-validator-job/impl}/src/main/java/org/pentaho/di/job/entries/mailvalidator/JobEntryMailValidator.java (94%) rename {engine => plugins/mail-validator-job/impl}/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_en_US.properties (94%) rename {engine => plugins/mail-validator-job/impl}/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_es_AR.properties (100%) rename {engine => plugins/mail-validator-job/impl}/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_fr_FR.properties (100%) rename {engine => plugins/mail-validator-job/impl}/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_it_IT.properties (100%) rename {engine => plugins/mail-validator-job/impl}/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_ja_JP.properties (100%) rename {engine => plugins/mail-validator-job/impl}/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_ko_KR.properties (100%) rename {engine => plugins/mail-validator-job/impl}/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_zh_CN.properties (100%) rename {engine => plugins/mail-validator-job/impl}/src/test/java/org/pentaho/di/job/entries/mailvalidator/JobEntryMailValidatorTest.java (97%) create mode 100644 plugins/mail-validator-job/pom.xml create mode 100644 plugins/mail-validator-job/ui/pom.xml rename {ui => plugins/mail-validator-job/ui}/src/main/java/org/pentaho/di/ui/job/entries/mailvalidator/JobEntryMailValidatorDialog.java (97%) create mode 100644 plugins/mail-validator-job/ui/src/main/resources/MAV.png create mode 100644 plugins/mail-validator-job/ui/src/main/resources/MAV.svg diff --git a/assemblies/plugins/pom.xml b/assemblies/plugins/pom.xml index 3c4dc5c483fb..00b59b29c73b 100644 --- a/assemblies/plugins/pom.xml +++ b/assemblies/plugins/pom.xml @@ -68,6 +68,7 @@ ${project.version} ${project.version} ${project.version} + ${project.version} 10.1.0.0-SNAPSHOT 10.1.0.0-SNAPSHOT 10.1.0.0-SNAPSHOT @@ -221,6 +222,18 @@ + + org.pentaho.di.plugins + mail-validator-job-plugins + ${mail-validator-job-plugin.version} + zip + + + * + * + + + org.pentaho.di.plugins yaml-input-plugins diff --git a/engine/src/main/resources/kettle-job-entries.xml b/engine/src/main/resources/kettle-job-entries.xml index 5a17b0b39524..4f7dd8fbcc6c 100644 --- a/engine/src/main/resources/kettle-job-entries.xml +++ b/engine/src/main/resources/kettle-job-entries.xml @@ -50,7 +50,6 @@ i18n:org.pentaho.di.job.entry:JobEntry.EvalTableContent.TypeDesc org.pentaho.di.job.entries.evaluatetablecontent.JobEntryEvalTableContent i18n:org.pentaho.di.job:JobCategory.Category.Conditions i18n:org.pentaho.di.job.entry:JobEntry.EvalTableContent.Tooltip ui/images/ETC.svg http://wiki.pentaho.com/display/EAI/Evaluate+rows+number+in+a+table i18n:org.pentaho.di.job.entry:JobEntry.SimpleEval.TypeDesc org.pentaho.di.job.entries.simpleeval.JobEntrySimpleEval i18n:org.pentaho.di.job:JobCategory.Category.Conditions i18n:org.pentaho.di.job.entry:JobEntry.SimpleEval.Tooltip ui/images/SEV.svg http://wiki.pentaho.com/display/EAI/Simple+evaluation+%28Job+Entry%29 i18n:org.pentaho.di.job.entry:JobEntry.SNMPTrap.TypeDesc org.pentaho.di.job.entries.snmptrap.JobEntrySNMPTrap i18n:org.pentaho.di.job:JobCategory.Category.Utility i18n:org.pentaho.di.job.entry:JobEntry.SNMPTrap.Tooltip ui/images/SNMP.svg 0P0/Monitoring_System_Performance/Integrate_Pentaho_with_3rd-Party_Monitoring_through_SNMP#Send_Traps_from_PDI_Tools_to_Monitoring_Tool - i18n:org.pentaho.di.job.entry:JobEntry.MailValidator.TypeDesc org.pentaho.di.job.entries.mailvalidator.JobEntryMailValidator i18n:org.pentaho.di.job:JobCategory.Category.Mail i18n:org.pentaho.di.job.entry:JobEntry.MailValidator.Tooltip ui/images/MAV.svg http://wiki.pentaho.com/display/EAI/Mail+Validator i18n:org.pentaho.di.job.entry:JobEntry.Syslog.TypeDesc org.pentaho.di.job.entries.syslog.JobEntrySyslog i18n:org.pentaho.di.job:JobCategory.Category.Utility i18n:org.pentaho.di.job.entry:JobEntry.Syslog.Tooltip ui/images/SYL.svg http://wiki.pentaho.com/display/EAI/Send+information+using+Syslog i18n:org.pentaho.di.job.entry:JobEntry.EvalFilesMetrics.TypeDesc org.pentaho.di.job.entries.evalfilesmetrics.JobEntryEvalFilesMetrics i18n:org.pentaho.di.job:JobCategory.Category.Conditions i18n:org.pentaho.di.job.entry:JobEntry.EvalFilesMetrics.Tooltip ui/images/CFS.svg http://wiki.pentaho.com/display/EAI/Evaluate+files+metrics i18n:org.pentaho.di.job.entry:JobEntry.CheckFilesLocked.TypeDesc org.pentaho.di.job.entries.checkfilelocked.JobEntryCheckFilesLocked i18n:org.pentaho.di.job:JobCategory.Category.Conditions i18n:org.pentaho.di.job.entry:JobEntry.CheckFilesLocked.Tooltip ui/images/CFL.svg http://wiki.pentaho.com/display/EAI/Check+if+file+is+locked diff --git a/engine/src/main/resources/org/pentaho/di/job/entry/messages/messages_en_US.properties b/engine/src/main/resources/org/pentaho/di/job/entry/messages/messages_en_US.properties index b0082bcbe072..3a71d5019b99 100644 --- a/engine/src/main/resources/org/pentaho/di/job/entry/messages/messages_en_US.properties +++ b/engine/src/main/resources/org/pentaho/di/job/entry/messages/messages_en_US.properties @@ -110,8 +110,6 @@ JobEntry.SimpleEval.TypeDesc=Simple evaluation JobEntry.SimpleEval.Tooltip=Evaluate one field or variable JobEntry.SNMPTrap.TypeDesc=Send SNMP trap JobEntry.SNMPTrap.Tooltip=Send SNMP trap to a target host -JobEntry.MailValidator.TypeDesc=Mail validator -JobEntry.MailValidator.Tooltip=Check the validity of an email address JobEntry.FTPSGet.TypeDesc=Get a file with FTPS JobEntry.FTPSGet.Tooltip=Get a file with FTP secure JobEntry.FTPSPut.TypeDesc=Upload files to FTPS diff --git a/plugins/README.md b/plugins/README.md index f0b94ac2950e..cd8b9f8cada3 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -15,6 +15,7 @@ __List of the current core plugins:__ * hl7 * json * openerp +* mail-validator-job * palo * s3csvinput * sap diff --git a/plugins/mail-validator-job/assemblies/plugin/pom.xml b/plugins/mail-validator-job/assemblies/plugin/pom.xml new file mode 100644 index 000000000000..db3834d3d2f8 --- /dev/null +++ b/plugins/mail-validator-job/assemblies/plugin/pom.xml @@ -0,0 +1,58 @@ + + + 4.0.0 + + + org.pentaho.di.plugins + mail-validator-job-assemblies + 10.1.0.0-SNAPSHOT + + + + mail-validator-job-plugins + 10.1.0.0-SNAPSHOT + pom + + PDI Mail Validator Job Plugins Distribution + + + ${project.basedir}/src/main/resources + + + + org.pentaho.di.plugins + mail-validator-job-plugins-impl + ${project.version} + + + org.pentaho.di.plugins + mail-validator-job-plugins-ui + ${project.version} + + + + + + + maven-dependency-plugin + + + add-libs + generate-resources + + copy-dependencies + + + ${project.build.directory}/assembly/lib + compile + mail-validator-job-plugins-impl,mail-validator-job-plugins-ui + + + + + + + + diff --git a/plugins/mail-validator-job/assemblies/plugin/src/assembly/assembly.xml b/plugins/mail-validator-job/assemblies/plugin/src/assembly/assembly.xml new file mode 100644 index 000000000000..a52dfd16a450 --- /dev/null +++ b/plugins/mail-validator-job/assemblies/plugin/src/assembly/assembly.xml @@ -0,0 +1,41 @@ + + mail-validator-job-plugin + + zip + + mail-validator-job-plugins + + + + ${project.basedir}/src/main/resources/version.xml + . + true + + + + + + + ${project.build.directory}/assembly + . + + + + ${resources.directory} + . + true + + + + + + . + + org.pentaho.di.plugins:mail-validator-job-plugins-impl:jar + org.pentaho.di.plugins:mail-validator-job-plugins-ui:jar + + false + + + \ No newline at end of file diff --git a/plugins/mail-validator-job/assemblies/plugin/src/main/resources/version.xml b/plugins/mail-validator-job/assemblies/plugin/src/main/resources/version.xml new file mode 100644 index 000000000000..7724ea192ce1 --- /dev/null +++ b/plugins/mail-validator-job/assemblies/plugin/src/main/resources/version.xml @@ -0,0 +1,2 @@ + +${project.version} \ No newline at end of file diff --git a/plugins/mail-validator-job/assemblies/pom.xml b/plugins/mail-validator-job/assemblies/pom.xml new file mode 100644 index 000000000000..f649387adca4 --- /dev/null +++ b/plugins/mail-validator-job/assemblies/pom.xml @@ -0,0 +1,22 @@ + + + 4.0.0 + + + org.pentaho.di.plugins + mail-validator-job + 10.1.0.0-SNAPSHOT + + + mail-validator-job-assemblies + 10.1.0.0-SNAPSHOT + pom + + PDI Mail Validator Job Plugins Assemblies + + + plugin + + \ No newline at end of file diff --git a/plugins/mail-validator-job/impl/pom.xml b/plugins/mail-validator-job/impl/pom.xml new file mode 100644 index 000000000000..48428452e20b --- /dev/null +++ b/plugins/mail-validator-job/impl/pom.xml @@ -0,0 +1,58 @@ + + + 4.0.0 + + + org.pentaho.di.plugins + mail-validator-job + 10.1.0.0-SNAPSHOT + + + mail-validator-job-plugins-impl + PDI Mail Validator Job Plugins Impl + + + + pentaho-kettle + kettle-core + provided + + + pentaho-kettle + kettle-engine + provided + + + com.healthmarketscience.jackcess + jackcess + compile + + + + + org.mockito + mockito-all + test + + + org.hamcrest + hamcrest-core + 1.3 + test + + + pentaho-kettle + kettle-core + tests + test + + + pentaho-kettle + kettle-engine + tests + test + + + \ No newline at end of file diff --git a/engine/src/main/java/org/pentaho/di/job/entries/mailvalidator/JobEntryMailValidator.java b/plugins/mail-validator-job/impl/src/main/java/org/pentaho/di/job/entries/mailvalidator/JobEntryMailValidator.java similarity index 94% rename from engine/src/main/java/org/pentaho/di/job/entries/mailvalidator/JobEntryMailValidator.java rename to plugins/mail-validator-job/impl/src/main/java/org/pentaho/di/job/entries/mailvalidator/JobEntryMailValidator.java index 349c7a6e55cd..73768fd93b39 100644 --- a/engine/src/main/java/org/pentaho/di/job/entries/mailvalidator/JobEntryMailValidator.java +++ b/plugins/mail-validator-job/impl/src/main/java/org/pentaho/di/job/entries/mailvalidator/JobEntryMailValidator.java @@ -2,7 +2,7 @@ * * Pentaho Data Integration * - * Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com + * Copyright (C) 2002-2023 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * @@ -22,6 +22,7 @@ package org.pentaho.di.job.entries.mailvalidator; +import org.pentaho.di.core.annotations.JobEntry; import org.pentaho.di.job.entry.validator.AndValidator; import org.pentaho.di.job.entry.validator.JobEntryValidatorUtils; @@ -55,6 +56,12 @@ * @author Samatar * @since 23-06-2008 */ +@JobEntry( id = "MAIL_VALIDATOR,JobCategory.Category.Mail_VALIDATOR", name = "JobEntry.MailValidator.TypeDesc", + i18nPackageName = "org.pentaho.di.job.entries.mailvalidator", + description = "JobEntry.MailValidator.Tooltip", + categoryDescription = "i18n:org.pentaho.di.job:JobCategory.Category.Mail", + image = "ui/images/MAV.svg", + documentationUrl = "http://wiki.pentaho.com/display/EAI/Mail+Validator" ) public class JobEntryMailValidator extends JobEntryBase implements Cloneable, JobEntryInterface { private static Class PKG = JobEntryMailValidator.class; // for i18n purposes, needed by Translator2!! diff --git a/engine/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_en_US.properties b/plugins/mail-validator-job/impl/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_en_US.properties similarity index 94% rename from engine/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_en_US.properties rename to plugins/mail-validator-job/impl/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_en_US.properties index 86fa00960947..c044798a2754 100644 --- a/engine/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_en_US.properties +++ b/plugins/mail-validator-job/impl/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_en_US.properties @@ -1,3 +1,5 @@ +JobEntry.MailValidator.TypeDesc=Mail validator +JobEntry.MailValidator.Tooltip=Check the validity of an email address JobEntryMailValidatorDialog.TimeOutField.Tooltip=In order to perform a SMTP check, PDI will open a socket\n,specify here the timeout. JobEntryMailValidatorDialog.Title=Mail validator JobEntryMailValidatorDialog.MailAddress.Tooltip=Email address to check.\nIf you want to check with multiple addresses,\nseparate addresses by space. diff --git a/engine/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_es_AR.properties b/plugins/mail-validator-job/impl/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_es_AR.properties similarity index 100% rename from engine/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_es_AR.properties rename to plugins/mail-validator-job/impl/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_es_AR.properties diff --git a/engine/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_fr_FR.properties b/plugins/mail-validator-job/impl/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_fr_FR.properties similarity index 100% rename from engine/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_fr_FR.properties rename to plugins/mail-validator-job/impl/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_fr_FR.properties diff --git a/engine/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_it_IT.properties b/plugins/mail-validator-job/impl/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_it_IT.properties similarity index 100% rename from engine/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_it_IT.properties rename to plugins/mail-validator-job/impl/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_it_IT.properties diff --git a/engine/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_ja_JP.properties b/plugins/mail-validator-job/impl/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_ja_JP.properties similarity index 100% rename from engine/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_ja_JP.properties rename to plugins/mail-validator-job/impl/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_ja_JP.properties diff --git a/engine/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_ko_KR.properties b/plugins/mail-validator-job/impl/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_ko_KR.properties similarity index 100% rename from engine/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_ko_KR.properties rename to plugins/mail-validator-job/impl/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_ko_KR.properties diff --git a/engine/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_zh_CN.properties b/plugins/mail-validator-job/impl/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_zh_CN.properties similarity index 100% rename from engine/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_zh_CN.properties rename to plugins/mail-validator-job/impl/src/main/resources/org/pentaho/di/job/entries/mailvalidator/messages/messages_zh_CN.properties diff --git a/engine/src/test/java/org/pentaho/di/job/entries/mailvalidator/JobEntryMailValidatorTest.java b/plugins/mail-validator-job/impl/src/test/java/org/pentaho/di/job/entries/mailvalidator/JobEntryMailValidatorTest.java similarity index 97% rename from engine/src/test/java/org/pentaho/di/job/entries/mailvalidator/JobEntryMailValidatorTest.java rename to plugins/mail-validator-job/impl/src/test/java/org/pentaho/di/job/entries/mailvalidator/JobEntryMailValidatorTest.java index 6203469007f5..a01bad8b9fb2 100644 --- a/engine/src/test/java/org/pentaho/di/job/entries/mailvalidator/JobEntryMailValidatorTest.java +++ b/plugins/mail-validator-job/impl/src/test/java/org/pentaho/di/job/entries/mailvalidator/JobEntryMailValidatorTest.java @@ -2,7 +2,7 @@ * * Pentaho Data Integration * - * Copyright (C) 2002-2018 by Hitachi Vantara : http://www.pentaho.com + * Copyright (C) 2002-2023 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * diff --git a/plugins/mail-validator-job/pom.xml b/plugins/mail-validator-job/pom.xml new file mode 100644 index 000000000000..24b621c72515 --- /dev/null +++ b/plugins/mail-validator-job/pom.xml @@ -0,0 +1,118 @@ + + + 4.0.0 + + + org.pentaho.di.plugins + pdi-plugins + 10.1.0.0-SNAPSHOT + + + mail-validator-job + 10.1.0.0-SNAPSHOT + pom + + PDI Mail Validator Job Plugins + This plugin is for pentaho Data integration (ETL) a.k.a kettle + http://www.pentaho.com/ + + + impl + ui + assemblies + + + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + A business-friendly OSS license + + + + + 4.6 + 3.3.0-I20070606-0010 + 10.1.0.0-SNAPSHOT + + + + + + pentaho-kettle + kettle-engine + ${pdi.version} + provided + + + pentaho-kettle + kettle-core + ${pdi.version} + provided + + + pentaho-kettle + kettle-ui-swt + ${pdi.version} + provided + + + + + org.eclipse.swt + org.eclipse.swt.gtk.linux.x86_64 + ${org.eclipse.swt.version} + provided + + + * + * + + + + + org.eclipse + jface + ${jface.version} + provided + + + * + * + + + + + + pentaho-kettle + kettle-core + ${pdi.version} + tests + test + + + pentaho-kettle + kettle-engine + ${pdi.version} + tests + test + + + + com.healthmarketscience.jackcess + jackcess + 1.2.6 + compile + + + * + * + + + + + + diff --git a/plugins/mail-validator-job/ui/pom.xml b/plugins/mail-validator-job/ui/pom.xml new file mode 100644 index 000000000000..525f16e2631e --- /dev/null +++ b/plugins/mail-validator-job/ui/pom.xml @@ -0,0 +1,52 @@ + + + 4.0.0 + + + org.pentaho.di.plugins + mail-validator-job + 10.1.0.0-SNAPSHOT + + + mail-validator-job-plugins-ui + PDI Mail Validator Job Plugins UI + + + + org.pentaho.di.plugins + mail-validator-job-plugins-impl + ${project.version} + + + + pentaho-kettle + kettle-core + provided + + + pentaho-kettle + kettle-engine + provided + + + pentaho-kettle + kettle-ui-swt + provided + + + + + org.eclipse.swt + org.eclipse.swt.gtk.linux.x86_64 + provided + + + * + * + + + + + diff --git a/ui/src/main/java/org/pentaho/di/ui/job/entries/mailvalidator/JobEntryMailValidatorDialog.java b/plugins/mail-validator-job/ui/src/main/java/org/pentaho/di/ui/job/entries/mailvalidator/JobEntryMailValidatorDialog.java similarity index 97% rename from ui/src/main/java/org/pentaho/di/ui/job/entries/mailvalidator/JobEntryMailValidatorDialog.java rename to plugins/mail-validator-job/ui/src/main/java/org/pentaho/di/ui/job/entries/mailvalidator/JobEntryMailValidatorDialog.java index 3409999f5ca6..c8d65410f281 100644 --- a/ui/src/main/java/org/pentaho/di/ui/job/entries/mailvalidator/JobEntryMailValidatorDialog.java +++ b/plugins/mail-validator-job/ui/src/main/java/org/pentaho/di/ui/job/entries/mailvalidator/JobEntryMailValidatorDialog.java @@ -2,7 +2,7 @@ * * Pentaho Data Integration * - * Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com + * Copyright (C) 2002-2023 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * @@ -55,6 +55,7 @@ import org.pentaho.di.ui.job.dialog.JobDialog; import org.pentaho.di.ui.job.entry.JobEntryDialog; import org.pentaho.di.ui.trans.step.BaseStepDialog; +import org.pentaho.di.core.annotations.PluginDialog; /** * This dialog allows you to edit a JobEntryMailValidator @@ -62,6 +63,8 @@ * @author Samatar * @since 23-06-2008 */ +@PluginDialog( id = "MAIL_VALIDATOR,JobCategory.Category.Mail_VALIDATOR", image = "MAV.svg", pluginType = PluginDialog.PluginType.JOBENTRY, + documentationUrl = "http://wiki.pentaho.com/display/EAI/Mail+Validator" ) public class JobEntryMailValidatorDialog extends JobEntryDialog implements JobEntryDialogInterface { private static Class PKG = JobEntryMailValidator.class; // for i18n purposes, needed by Translator2!! diff --git a/plugins/mail-validator-job/ui/src/main/resources/MAV.png b/plugins/mail-validator-job/ui/src/main/resources/MAV.png new file mode 100644 index 0000000000000000000000000000000000000000..8b4a301ec8e9273c56d396a9a4986ae0e022137f GIT binary patch literal 809 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyEa{HEjtmSN`?>!lvI6;x#X;^) z4C~IxyacIC_6YK2V5m}KU}$JzVE6?TYIwoGP-?)y@G60U!DbZ_%5Oh@9yx!#bK$0UKmJ~M__A`!@}@a! zFWh}rJAGyM!i|T|UGG}B>B@r_Ra2II`S#=Um#-%--D;b^;q09!-+%u4@#9BH|KhLT ze{6lQ?fmoe*X}*}@agl$`>+sSM@Amf9li(`nz>Er~7 zu!f18tOm&%35lu6?hJf>I$S$;2sX5*u^haj%l#w|T-WMbmt90NI>8@Fug(h7<5jdhmlX3F%{&E2r4Z`~r3FxE?_ zsuYaB@R~H_s5-m(uwHUIcI%GXvNVNdmR&YJjayomPHi;pNNg6HWB`=gR(9iwAeRDz zvz#xZ&%Jw$3mq;AGR|4hbWU%b#za=;ya2;;et-QPO!@LG48P8cuepC-KKvIC2TxJ~ zA0OvY)$;;ka)OdFtgTe~DWM4f*ZOI4 literal 0 HcmV?d00001 diff --git a/plugins/mail-validator-job/ui/src/main/resources/MAV.svg b/plugins/mail-validator-job/ui/src/main/resources/MAV.svg new file mode 100644 index 000000000000..852de817db1e --- /dev/null +++ b/plugins/mail-validator-job/ui/src/main/resources/MAV.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/pom.xml b/plugins/pom.xml index 527f19c3f705..934ff2556053 100644 --- a/plugins/pom.xml +++ b/plugins/pom.xml @@ -49,6 +49,7 @@ get-repository-names sftpput connected-to-repository + mail-validator-job