From 4889c15971b666da97a3609386c777e0818356bf Mon Sep 17 00:00:00 2001 From: "noor.mohsildar" Date: Thu, 14 Sep 2023 22:01:08 +0530 Subject: [PATCH] [BACKLOG-38506] Code changes for moving Job step 'connected to repository' 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 | 55 ++++++++ .../plugin/src/assembly/assembly.xml | 37 ++++++ .../plugin/src/main/resources/version.xml | 2 + .../assemblies/pom.xml | 22 ++++ plugins/connected-to-repository/impl/pom.xml | 58 +++++++++ .../JobEntryConnectedToRepository.java | 7 +- .../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 ...ntryConnectedToRepositoryLoadSaveTest.java | 0 plugins/connected-to-repository/pom.xml | 118 ++++++++++++++++++ plugins/connected-to-repository/ui/pom.xml | 53 ++++++++ .../JobEntryConnectedToRepositoryDialog.java | 6 +- .../ui/src/main/resources}/CREP.png | Bin .../ui/src/main/resources}/CREP.svg | 60 ++++----- plugins/pom.xml | 1 + 24 files changed, 403 insertions(+), 35 deletions(-) create mode 100644 plugins/connected-to-repository/assemblies/plugin/pom.xml create mode 100644 plugins/connected-to-repository/assemblies/plugin/src/assembly/assembly.xml create mode 100644 plugins/connected-to-repository/assemblies/plugin/src/main/resources/version.xml create mode 100644 plugins/connected-to-repository/assemblies/pom.xml create mode 100644 plugins/connected-to-repository/impl/pom.xml rename {engine => plugins/connected-to-repository/impl}/src/main/java/org/pentaho/di/job/entries/connectedtorepository/JobEntryConnectedToRepository.java (93%) rename {engine => plugins/connected-to-repository/impl}/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_en_US.properties (94%) rename {engine => plugins/connected-to-repository/impl}/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_es_AR.properties (100%) rename {engine => plugins/connected-to-repository/impl}/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_fr_FR.properties (100%) rename {engine => plugins/connected-to-repository/impl}/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_it_IT.properties (100%) rename {engine => plugins/connected-to-repository/impl}/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_ja_JP.properties (100%) rename {engine => plugins/connected-to-repository/impl}/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_ko_KR.properties (100%) rename {engine => plugins/connected-to-repository/impl}/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_zh_CN.properties (100%) rename {engine => plugins/connected-to-repository/impl}/src/test/java/org/pentaho/di/job/entries/connectedtorepository/JobEntryConnectedToRepositoryLoadSaveTest.java (100%) create mode 100644 plugins/connected-to-repository/pom.xml create mode 100644 plugins/connected-to-repository/ui/pom.xml rename {ui => plugins/connected-to-repository/ui}/src/main/java/org/pentaho/di/ui/job/entries/connectedtorepository/JobEntryConnectedToRepositoryDialog.java (98%) rename {ui/src/main/resources/ui/images => plugins/connected-to-repository/ui/src/main/resources}/CREP.png (100%) rename {ui/src/main/resources/ui/images => plugins/connected-to-repository/ui/src/main/resources}/CREP.svg (98%) diff --git a/assemblies/plugins/pom.xml b/assemblies/plugins/pom.xml index fb70beb27fec..333b8b013398 100644 --- a/assemblies/plugins/pom.xml +++ b/assemblies/plugins/pom.xml @@ -72,6 +72,7 @@ 10.1.0.0-SNAPSHOT 9.6.0.0-SNAPSHOT ${project.version} + ${project.version} @@ -759,6 +760,18 @@ + + org.pentaho.di.plugins + connected-to-repository-plugins + ${connected-to-repository-plugin.version} + zip + + + * + * + + + diff --git a/engine/src/main/resources/kettle-job-entries.xml b/engine/src/main/resources/kettle-job-entries.xml index c4a689a119d7..5a17b0b39524 100644 --- a/engine/src/main/resources/kettle-job-entries.xml +++ b/engine/src/main/resources/kettle-job-entries.xml @@ -44,7 +44,6 @@ i18n:org.pentaho.di.job.entry:JobEntry.DeleteFolders.TypeDesc org.pentaho.di.job.entries.deletefolders.JobEntryDeleteFolders i18n:org.pentaho.di.job:JobCategory.Category.FileManagement i18n:org.pentaho.di.job.entry:JobEntry.DeleteFolders.Tooltip ui/images/DSF.svg http://wiki.pentaho.com/display/EAI/Delete+folders i18n:org.pentaho.di.job.entry:JobEntry.ColumnsExist.TypeDesc org.pentaho.di.job.entries.columnsexist.JobEntryColumnsExist i18n:org.pentaho.di.job:JobCategory.Category.Conditions i18n:org.pentaho.di.job.entry:JobEntry.ColumnsExist.Tooltip ui/images/CEX.svg http://wiki.pentaho.com/display/EAI/Columns+exist+in+a+table i18n:org.pentaho.di.job.entry:JobEntry.ExportRepository.TypeDesc org.pentaho.di.job.entries.exportrepository.JobEntryExportRepository i18n:org.pentaho.di.job:JobCategory.Category.Repository i18n:org.pentaho.di.job.entry:JobEntry.ExportRepository.Tooltip ui/images/EREP.svg http://wiki.pentaho.com/display/EAI/Export+repository+to+XML+file - i18n:org.pentaho.di.job.entry:JobEntry.ConnectedToRepository.TypeDesc org.pentaho.di.job.entries.connectedtorepository.JobEntryConnectedToRepository i18n:org.pentaho.di.job:JobCategory.Category.Repository i18n:org.pentaho.di.job.entry:JobEntry.ConnectedToRepository.Tooltip ui/images/CREP.svg http://wiki.pentaho.com/display/EAI/Check+if+connected+to+Repository i18n:org.pentaho.di.job.entry:JobEntry.TruncateTables.TypeDesc org.pentaho.di.job.entries.truncatetables.JobEntryTruncateTables i18n:org.pentaho.di.job:JobCategory.Category.Utility i18n:org.pentaho.di.job.entry:JobEntry.TruncateTables.Tooltip ui/images/TRT.svg http://wiki.pentaho.com/display/EAI/Truncate+tables i18n:org.pentaho.di.job.entry:JobEntry.SetVariables.TypeDesc org.pentaho.di.job.entries.setvariables.JobEntrySetVariables i18n:org.pentaho.di.job:JobCategory.Category.General i18n:org.pentaho.di.job.entry:JobEntry.SetVariables.Tooltip ui/images/SVA.svg http://wiki.pentaho.com/display/EAI/Set+variables+%28job+entry%29 i18n:org.pentaho.di.job.entry:JobEntry.WaitForSQL.TypeDesc org.pentaho.di.job.entries.waitforsql.JobEntryWaitForSQL i18n:org.pentaho.di.job:JobCategory.Category.Utility i18n:org.pentaho.di.job.entry:JobEntry.WaitForSQL.Tooltip ui/images/WSQL.svg http://wiki.pentaho.com/display/EAI/Wait+for+SQL 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 1eb38443746a..b0082bcbe072 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 @@ -96,8 +96,6 @@ JobEntry.ColumnsExist.TypeDesc=Columns exist in a table JobEntry.ColumnsExist.Tooltip=Check if one or several columns exist in a table on a specified connection JobEntry.ExportRepository.TypeDesc=Export repository to XML file JobEntry.ExportRepository.Tooltip=Export repository to XML file -JobEntry.ConnectedToRepository.TypeDesc=Check if connected to repository -JobEntry.ConnectedToRepository.Tooltip=Return true if we are connected to a repository JobEntry.TruncateTables.TypeDesc=Truncate tables JobEntry.TruncateTables.Tooltip=Truncate one or several tables. JobEntry.SetVariables.TypeDesc=Set variables diff --git a/plugins/README.md b/plugins/README.md index f886dc59d8f0..1b871ed80f05 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -42,6 +42,7 @@ __List of the current core plugins:__ * pentaho-reporting * mondrianinput * get-repository-names +* connected-to-repository __Deprecated plugins:__ diff --git a/plugins/connected-to-repository/assemblies/plugin/pom.xml b/plugins/connected-to-repository/assemblies/plugin/pom.xml new file mode 100644 index 000000000000..a7f25318edb5 --- /dev/null +++ b/plugins/connected-to-repository/assemblies/plugin/pom.xml @@ -0,0 +1,55 @@ + + + 4.0.0 + + + org.pentaho.di.plugins + connected-to-repository-assemblies + 10.1.0.0-SNAPSHOT + + + connected-to-repository-plugins + 10.1.0.0-SNAPSHOT + pom + + PDI check if connected to repository plugin + + + + + org.pentaho.di.plugins + connected-to-repository-plugins-impl + ${project.version} + + + org.pentaho.di.plugins + connected-to-repository-plugins-ui + ${project.version} + + + + + + + maven-dependency-plugin + + + add-libs + generate-resources + + copy-dependencies + + + ${project.build.directory}/assembly/lib + compile + connected-to-repository-plugins-impl,connected-to-repository-plugins-ui + + + + + + + + diff --git a/plugins/connected-to-repository/assemblies/plugin/src/assembly/assembly.xml b/plugins/connected-to-repository/assemblies/plugin/src/assembly/assembly.xml new file mode 100644 index 000000000000..a257c72b6742 --- /dev/null +++ b/plugins/connected-to-repository/assemblies/plugin/src/assembly/assembly.xml @@ -0,0 +1,37 @@ + + connected-to-repository-plugin + + zip + + connected-to-repository-plugins + + + + ${project.basedir}/src/main/resources/version.xml + . + true + + + + + + + ${project.build.directory}/assembly + . + + + + + + . + + org.pentaho.di.plugins:connected-to-repository-plugins-impl:jar + org.pentaho.di.plugins:connected-to-repository-plugins-ui:jar + + false + + + + + diff --git a/plugins/connected-to-repository/assemblies/plugin/src/main/resources/version.xml b/plugins/connected-to-repository/assemblies/plugin/src/main/resources/version.xml new file mode 100644 index 000000000000..7724ea192ce1 --- /dev/null +++ b/plugins/connected-to-repository/assemblies/plugin/src/main/resources/version.xml @@ -0,0 +1,2 @@ + +${project.version} \ No newline at end of file diff --git a/plugins/connected-to-repository/assemblies/pom.xml b/plugins/connected-to-repository/assemblies/pom.xml new file mode 100644 index 000000000000..9ad0533f2a8d --- /dev/null +++ b/plugins/connected-to-repository/assemblies/pom.xml @@ -0,0 +1,22 @@ + + + 4.0.0 + + + org.pentaho.di.plugins + connected-to-repository + 10.1.0.0-SNAPSHOT + + + connected-to-repository-assemblies + 10.1.0.0-SNAPSHOT + pom + + PDI check if connected to repository plugin + + + plugin + + diff --git a/plugins/connected-to-repository/impl/pom.xml b/plugins/connected-to-repository/impl/pom.xml new file mode 100644 index 000000000000..273e6f9e4efc --- /dev/null +++ b/plugins/connected-to-repository/impl/pom.xml @@ -0,0 +1,58 @@ + + + 4.0.0 + + + org.pentaho.di.plugins + connected-to-repository + 10.1.0.0-SNAPSHOT + + + connected-to-repository-plugins-impl + PDI check if connected to repository plugin + + + + 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 + + + diff --git a/engine/src/main/java/org/pentaho/di/job/entries/connectedtorepository/JobEntryConnectedToRepository.java b/plugins/connected-to-repository/impl/src/main/java/org/pentaho/di/job/entries/connectedtorepository/JobEntryConnectedToRepository.java similarity index 93% rename from engine/src/main/java/org/pentaho/di/job/entries/connectedtorepository/JobEntryConnectedToRepository.java rename to plugins/connected-to-repository/impl/src/main/java/org/pentaho/di/job/entries/connectedtorepository/JobEntryConnectedToRepository.java index ff84c6bd2070..f76185d90519 100644 --- a/engine/src/main/java/org/pentaho/di/job/entries/connectedtorepository/JobEntryConnectedToRepository.java +++ b/plugins/connected-to-repository/impl/src/main/java/org/pentaho/di/job/entries/connectedtorepository/JobEntryConnectedToRepository.java @@ -2,7 +2,7 @@ * * Pentaho Data Integration * - * Copyright (C) 2002-2019 by Hitachi Vantara : http://www.pentaho.com + * Copyright (C) 2002-2023 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * @@ -25,6 +25,7 @@ import java.util.List; import org.pentaho.di.cluster.SlaveServer; +import org.pentaho.di.core.annotations.JobEntry; import org.pentaho.di.core.util.Utils; import org.pentaho.di.core.Result; import org.pentaho.di.core.database.DatabaseMeta; @@ -46,6 +47,10 @@ * @author Samatar * @since 23-06-2008 */ + +@JobEntry(id = "CONNECTED_TO_REPOSITORY",name = "JobEntry.ConnectedToRepository.TypeDesc",image = "CREP.svg", +description = "JobEntry.ConnectedToRepository.Tooltip",categoryDescription = "i18n:org.pentaho.di.job:JobCategory.Category.Repository", +i18nPackageName = "i18n:org.pentaho.di.job.entry:JobEntry.ConnectedToRepository",documentationUrl = "http://wiki.pentaho.com/display/EAI/Check+if+connected+to+Repository") public class JobEntryConnectedToRepository extends JobEntryBase implements Cloneable, JobEntryInterface { private static Class PKG = JobEntryConnectedToRepository.class; // for i18n purposes, needed by Translator2!! diff --git a/engine/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_en_US.properties b/plugins/connected-to-repository/impl/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_en_US.properties similarity index 94% rename from engine/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_en_US.properties rename to plugins/connected-to-repository/impl/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_en_US.properties index e4a137d73aa6..ce7a6ac61aa7 100644 --- a/engine/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_en_US.properties +++ b/plugins/connected-to-repository/impl/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_en_US.properties @@ -2,6 +2,8 @@ # # #Mon Jun 23 18:54:52 CEST 2008 +JobEntry.ConnectedToRepository.TypeDesc=Check if connected to repository +JobEntry.ConnectedToRepository.Tooltip=Return true if we are connected to a repository JobEntryConnectedToRepositoryDialog.SelectRepository.Title=Repositories list JobEntryConnectedToRepositoryDialog.specificUser.Tooltip=Specify user (login) JobEntryConnectedToRepositoryDialog.specificRep.Label=Specify repository diff --git a/engine/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_es_AR.properties b/plugins/connected-to-repository/impl/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_es_AR.properties similarity index 100% rename from engine/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_es_AR.properties rename to plugins/connected-to-repository/impl/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_es_AR.properties diff --git a/engine/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_fr_FR.properties b/plugins/connected-to-repository/impl/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_fr_FR.properties similarity index 100% rename from engine/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_fr_FR.properties rename to plugins/connected-to-repository/impl/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_fr_FR.properties diff --git a/engine/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_it_IT.properties b/plugins/connected-to-repository/impl/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_it_IT.properties similarity index 100% rename from engine/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_it_IT.properties rename to plugins/connected-to-repository/impl/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_it_IT.properties diff --git a/engine/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_ja_JP.properties b/plugins/connected-to-repository/impl/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_ja_JP.properties similarity index 100% rename from engine/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_ja_JP.properties rename to plugins/connected-to-repository/impl/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_ja_JP.properties diff --git a/engine/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_ko_KR.properties b/plugins/connected-to-repository/impl/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_ko_KR.properties similarity index 100% rename from engine/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_ko_KR.properties rename to plugins/connected-to-repository/impl/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_ko_KR.properties diff --git a/engine/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_zh_CN.properties b/plugins/connected-to-repository/impl/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_zh_CN.properties similarity index 100% rename from engine/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_zh_CN.properties rename to plugins/connected-to-repository/impl/src/main/resources/org/pentaho/di/job/entries/connectedtorepository/messages/messages_zh_CN.properties diff --git a/engine/src/test/java/org/pentaho/di/job/entries/connectedtorepository/JobEntryConnectedToRepositoryLoadSaveTest.java b/plugins/connected-to-repository/impl/src/test/java/org/pentaho/di/job/entries/connectedtorepository/JobEntryConnectedToRepositoryLoadSaveTest.java similarity index 100% rename from engine/src/test/java/org/pentaho/di/job/entries/connectedtorepository/JobEntryConnectedToRepositoryLoadSaveTest.java rename to plugins/connected-to-repository/impl/src/test/java/org/pentaho/di/job/entries/connectedtorepository/JobEntryConnectedToRepositoryLoadSaveTest.java diff --git a/plugins/connected-to-repository/pom.xml b/plugins/connected-to-repository/pom.xml new file mode 100644 index 000000000000..95aa5a84428a --- /dev/null +++ b/plugins/connected-to-repository/pom.xml @@ -0,0 +1,118 @@ + + + 4.0.0 + + + org.pentaho.di.plugins + pdi-plugins + 10.1.0.0-SNAPSHOT + + + connected-to-repository + 10.1.0.0-SNAPSHOT + pom + + PDI check if connected to repository plugin + 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/connected-to-repository/ui/pom.xml b/plugins/connected-to-repository/ui/pom.xml new file mode 100644 index 000000000000..83820db395e3 --- /dev/null +++ b/plugins/connected-to-repository/ui/pom.xml @@ -0,0 +1,53 @@ + + + 4.0.0 + + + org.pentaho.di.plugins + connected-to-repository + 10.1.0.0-SNAPSHOT + + + connected-to-repository-plugins-ui + PDI check if connected to repository plugin + + + + org.pentaho.di.plugins + connected-to-repository-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/connectedtorepository/JobEntryConnectedToRepositoryDialog.java b/plugins/connected-to-repository/ui/src/main/java/org/pentaho/di/ui/job/entries/connectedtorepository/JobEntryConnectedToRepositoryDialog.java similarity index 98% rename from ui/src/main/java/org/pentaho/di/ui/job/entries/connectedtorepository/JobEntryConnectedToRepositoryDialog.java rename to plugins/connected-to-repository/ui/src/main/java/org/pentaho/di/ui/job/entries/connectedtorepository/JobEntryConnectedToRepositoryDialog.java index 2e121011ab3c..2c36354843d7 100644 --- a/ui/src/main/java/org/pentaho/di/ui/job/entries/connectedtorepository/JobEntryConnectedToRepositoryDialog.java +++ b/plugins/connected-to-repository/ui/src/main/java/org/pentaho/di/ui/job/entries/connectedtorepository/JobEntryConnectedToRepositoryDialog.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 * ******************************************************************************* * @@ -41,6 +41,7 @@ import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Text; import org.pentaho.di.core.Const; +import org.pentaho.di.core.annotations.PluginDialog; import org.pentaho.di.core.util.Utils; import org.pentaho.di.i18n.BaseMessages; import org.pentaho.di.job.JobMeta; @@ -63,6 +64,9 @@ * @author Samatar * @since 23-06-2008 */ + +@PluginDialog( id = "CONNECTED_TO_REPOSITORY", image = "CREP.svg", pluginType = PluginDialog.PluginType.JOBENTRY, + documentationUrl = "http://wiki.pentaho.com/display/EAI/Check+if+connected+to+Repository" ) public class JobEntryConnectedToRepositoryDialog extends JobEntryDialog implements JobEntryDialogInterface { private static Class PKG = JobEntryConnectedToRepository.class; // for i18n purposes, needed by Translator2!! diff --git a/ui/src/main/resources/ui/images/CREP.png b/plugins/connected-to-repository/ui/src/main/resources/CREP.png similarity index 100% rename from ui/src/main/resources/ui/images/CREP.png rename to plugins/connected-to-repository/ui/src/main/resources/CREP.png diff --git a/ui/src/main/resources/ui/images/CREP.svg b/plugins/connected-to-repository/ui/src/main/resources/CREP.svg similarity index 98% rename from ui/src/main/resources/ui/images/CREP.svg rename to plugins/connected-to-repository/ui/src/main/resources/CREP.svg index 63860e09b601..3662c230cfd5 100644 --- a/ui/src/main/resources/ui/images/CREP.svg +++ b/plugins/connected-to-repository/ui/src/main/resources/CREP.svg @@ -1,30 +1,30 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + diff --git a/plugins/pom.xml b/plugins/pom.xml index 002c388989d2..16ac1c45a961 100644 --- a/plugins/pom.xml +++ b/plugins/pom.xml @@ -47,6 +47,7 @@ mondrianinput avro-format get-repository-names + connected-to-repository