diff --git a/assemblies/plugins/pom.xml b/assemblies/plugins/pom.xml index 23ad394ac64b..c775ddb3d258 100644 --- a/assemblies/plugins/pom.xml +++ b/assemblies/plugins/pom.xml @@ -41,6 +41,7 @@ ${project.version} ${project.version} ${project.version} + ${project.version} ${project.version} ${project.version} ${project.version} @@ -313,6 +314,18 @@ + + org.pentaho.di.plugins + random-cc-number-generator-plugins + ${random-cc-number-generator-plugin.version} + zip + + + * + * + + + org.pentaho.di.plugins mondrianinput-plugin diff --git a/engine/src/main/resources/kettle-steps.xml b/engine/src/main/resources/kettle-steps.xml index 5c52cb30bb50..103d65435b00 100644 --- a/engine/src/main/resources/kettle-steps.xml +++ b/engine/src/main/resources/kettle-steps.xml @@ -111,7 +111,6 @@ i18n:org.pentaho.di.trans.step:BaseStep.TypeLongDesc.LoadFileInput org.pentaho.di.trans.steps.loadfileinput.LoadFileInputMeta i18n:org.pentaho.di.trans.step:BaseStep.Category.Input i18n:org.pentaho.di.trans.step:BaseStep.TypeTooltipDesc.LoadFileInput ui/images/LFI.svg http://wiki.pentaho.com/display/EAI/Load+file+content+in+memory i18n:org.pentaho.di.trans.step:BaseStep.TypeLongDesc.FuzzyMatch org.pentaho.di.trans.steps.fuzzymatch.FuzzyMatchMeta i18n:org.pentaho.di.trans.step:BaseStep.Category.Lookup i18n:org.pentaho.di.trans.step:BaseStep.TypeTooltipDesc.FuzzyMatch ui/images/FZM.svg http://wiki.pentaho.com/display/EAI/Fuzzy+match i18n:org.pentaho.di.trans.step:BaseStep.TypeLongDesc.SSH org.pentaho.di.trans.steps.ssh.SSHMeta i18n:org.pentaho.di.trans.step:BaseStep.Category.Utility i18n:org.pentaho.di.trans.step:BaseStep.TypeTooltipDesc.SSH ui/images/SSH.svg http://wiki.pentaho.com/display/EAI/Run+SSH+commands - i18n:org.pentaho.di.trans.step:BaseStep.TypeLongDesc.RandomCCNumberGenerator org.pentaho.di.trans.steps.randomccnumber.RandomCCNumberGeneratorMeta i18n:org.pentaho.di.trans.step:BaseStep.Category.Input i18n:org.pentaho.di.trans.step:BaseStep.TypeTooltipDesc.RandomCCNumberGenerator ui/images/CCG.svg http://wiki.pentaho.com/display/EAI/Generate+random+credit+card+numbers i18n:org.pentaho.di.trans.step:BaseStep.TypeLongDesc.StringOperations org.pentaho.di.trans.steps.stringoperations.StringOperationsMeta i18n:org.pentaho.di.trans.step:BaseStep.Category.Transform i18n:org.pentaho.di.trans.step:BaseStep.TypeTooltipDesc.StringOperations ui/images/STM.svg Products/String_Operations i18n:org.pentaho.di.trans.step:BaseStep.TypeLongDesc.StepsMetrics org.pentaho.di.trans.steps.stepsmetrics.StepsMetricsMeta i18n:org.pentaho.di.trans.step:BaseStep.Category.Statistics i18n:org.pentaho.di.trans.step:BaseStep.TypeTooltipDesc.StepsMetrics ui/images/SSTAS.svg http://wiki.pentaho.com/display/EAI/Output+Steps+Metrics i18n:org.pentaho.di.trans.step:BaseStep.TypeLongDesc.PrioritizeStreams org.pentaho.di.trans.steps.prioritizestreams.PrioritizeStreamsMeta i18n:org.pentaho.di.trans.step:BaseStep.Category.Flow i18n:org.pentaho.di.trans.step:BaseStep.TypeTooltipDesc.PrioritizeStreams ui/images/PRS.svg http://wiki.pentaho.com/display/EAI/Prioritize+streams diff --git a/engine/src/main/resources/org/pentaho/di/trans/step/messages/messages_en_US.properties b/engine/src/main/resources/org/pentaho/di/trans/step/messages/messages_en_US.properties index 2695a1b4b3f1..efecb69b40b8 100644 --- a/engine/src/main/resources/org/pentaho/di/trans/step/messages/messages_en_US.properties +++ b/engine/src/main/resources/org/pentaho/di/trans/step/messages/messages_en_US.properties @@ -360,8 +360,6 @@ BaseStep.TypeLongDesc.SSH=Run SSH commands BaseStep.TypeTooltipDesc.SSH=Run SSH commands and returns result. BaseStep.TypeLongDesc.MetaInject=ETL metadata injection BaseStep.TypeTooltipDesc.MetaInject=This step allows you to inject metadata into an existing transformation prior to execution. This allows for the creation of dynamic and highly flexible data integration solutions. -BaseStep.TypeLongDesc.RandomCCNumberGenerator=Generate random credit card numbers -BaseStep.TypeTooltipDesc.RandomCCNumberGenerator=Generate random valide (luhn check) credit card numbers BaseStep.TypeLongDesc.StringOperations=String operations BaseStep.TypeTooltipDesc.StringOperations=Apply certain operations like trimming, padding and others to string value. BaseStep.TypeLongDesc.HiveTableOutput=Hive Table Output diff --git a/plugins/README.md b/plugins/README.md index bf1ca0375dee..0a933a253165 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -30,6 +30,7 @@ __List of the current core plugins:__ * excel * ivw-bulk-loader * edi2xml +* random-cc-number-generator * engine-configuration * pur * repositories diff --git a/plugins/pom.xml b/plugins/pom.xml index b86e34f05117..6e823f2ab231 100644 --- a/plugins/pom.xml +++ b/plugins/pom.xml @@ -37,6 +37,7 @@ infobright-bulk-loader ivw-bulk-loader edi2xml + random-cc-number-generator mysql-bulk-loader yaml-input metastore-locator diff --git a/plugins/random-cc-number-generator/assemblies/plugin/pom.xml b/plugins/random-cc-number-generator/assemblies/plugin/pom.xml new file mode 100644 index 000000000000..a3e3712ff56e --- /dev/null +++ b/plugins/random-cc-number-generator/assemblies/plugin/pom.xml @@ -0,0 +1,55 @@ + + + 4.0.0 + + + org.pentaho.di.plugins + random-cc-number-generator-assemblies + 10.1.0.0-SNAPSHOT + + + random-cc-number-generator-plugins + 10.1.0.0-SNAPSHOT + pom + + Random Credit Card Number Generator Plugins Distribution + + + + + org.pentaho.di.plugins + random-cc-number-generator-plugins-impl + ${project.version} + + + org.pentaho.di.plugins + random-cc-number-generator-plugins-ui + ${project.version} + + + + + + + maven-dependency-plugin + + + add-libs + generate-resources + + copy-dependencies + + + ${project.build.directory}/assembly/lib + compile + random-cc-number-generator-plugins-impl,random-cc-number-generator-plugins-ui + + + + + + + + diff --git a/plugins/random-cc-number-generator/assemblies/plugin/src/assembly/assembly.xml b/plugins/random-cc-number-generator/assemblies/plugin/src/assembly/assembly.xml new file mode 100644 index 000000000000..ec6a7b403288 --- /dev/null +++ b/plugins/random-cc-number-generator/assemblies/plugin/src/assembly/assembly.xml @@ -0,0 +1,37 @@ + + random-cc-number-generator-plugin + + zip + + random-cc-number-generator-plugins + + + + ${project.basedir}/src/main/resources/version.xml + . + true + + + + + + + ${project.build.directory}/assembly + . + + + + + + . + + org.pentaho.di.plugins:random-cc-number-generator-plugins-impl:jar + org.pentaho.di.plugins:random-cc-number-generator-plugins-ui:jar + + false + + + + + diff --git a/plugins/random-cc-number-generator/assemblies/plugin/src/main/resources/version.xml b/plugins/random-cc-number-generator/assemblies/plugin/src/main/resources/version.xml new file mode 100644 index 000000000000..644848585f47 --- /dev/null +++ b/plugins/random-cc-number-generator/assemblies/plugin/src/main/resources/version.xml @@ -0,0 +1,2 @@ + +${project.version} diff --git a/plugins/random-cc-number-generator/assemblies/pom.xml b/plugins/random-cc-number-generator/assemblies/pom.xml new file mode 100644 index 000000000000..f2e3c7b0682b --- /dev/null +++ b/plugins/random-cc-number-generator/assemblies/pom.xml @@ -0,0 +1,22 @@ + + + 4.0.0 + + + org.pentaho.di.plugins + random-cc-number-generator + 10.1.0.0-SNAPSHOT + + + random-cc-number-generator-assemblies + 10.1.0.0-SNAPSHOT + pom + + Random Credit Card Number Generator Plugins Assemblies + + + plugin + + diff --git a/plugins/random-cc-number-generator/impl/pom.xml b/plugins/random-cc-number-generator/impl/pom.xml new file mode 100644 index 000000000000..414da54fb89e --- /dev/null +++ b/plugins/random-cc-number-generator/impl/pom.xml @@ -0,0 +1,58 @@ + + + 4.0.0 + + + org.pentaho.di.plugins + random-cc-number-generator + 10.1.0.0-SNAPSHOT + + + random-cc-number-generator-plugins-impl + Random Credit Card Number Generator 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 + + + diff --git a/engine/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGenerator.java b/plugins/random-cc-number-generator/impl/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGenerator.java similarity index 98% rename from engine/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGenerator.java rename to plugins/random-cc-number-generator/impl/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGenerator.java index 835abd990965..3cfc8843a267 100644 --- a/engine/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGenerator.java +++ b/plugins/random-cc-number-generator/impl/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGenerator.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 * ******************************************************************************* * diff --git a/engine/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGeneratorData.java b/plugins/random-cc-number-generator/impl/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGeneratorData.java similarity index 96% rename from engine/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGeneratorData.java rename to plugins/random-cc-number-generator/impl/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGeneratorData.java index 685eab98eeba..f7a12b05b62b 100644 --- a/engine/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGeneratorData.java +++ b/plugins/random-cc-number-generator/impl/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGeneratorData.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 * ******************************************************************************* * diff --git a/engine/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGeneratorMeta.java b/plugins/random-cc-number-generator/impl/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGeneratorMeta.java similarity index 95% rename from engine/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGeneratorMeta.java rename to plugins/random-cc-number-generator/impl/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGeneratorMeta.java index 3619d6410f4d..8e2a50849f0a 100644 --- a/engine/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGeneratorMeta.java +++ b/plugins/random-cc-number-generator/impl/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGeneratorMeta.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 * ******************************************************************************* * @@ -27,6 +27,7 @@ import org.pentaho.di.core.CheckResult; import org.pentaho.di.core.CheckResultInterface; import org.pentaho.di.core.Const; +import org.pentaho.di.core.annotations.Step; import org.pentaho.di.core.util.Utils; import org.pentaho.di.core.database.DatabaseMeta; import org.pentaho.di.core.exception.KettleException; @@ -59,6 +60,14 @@ * @author Samatar * @since 01-4-2010 */ + +@Step( id = "RandomCCNumberGenerator", name = "BaseStep.TypeLongDesc.RandomCCNumberGenerator", + description = "BaseStep.TypeTooltipDesc.RandomCCNumberGenerator", + categoryDescription = "i18n:org.pentaho.di.trans.step:BaseStep.Category.Input", + image = "CCG.svg", + documentationUrl = "http://wiki.pentaho.com/display/EAI/Generate+random+credit+card+numbers", + i18nPackageName = "org.pentaho.di.trans.steps.randomccnumber" ) + public class RandomCCNumberGeneratorMeta extends BaseStepMeta implements StepMetaInterface { private static Class PKG = RandomCCNumberGeneratorMeta.class; // for i18n purposes, needed by Translator2!! diff --git a/engine/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCreditCardNumberGenerator.java b/plugins/random-cc-number-generator/impl/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCreditCardNumberGenerator.java similarity index 99% rename from engine/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCreditCardNumberGenerator.java rename to plugins/random-cc-number-generator/impl/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCreditCardNumberGenerator.java index 792a08739b49..7d3beee3a612 100644 --- a/engine/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCreditCardNumberGenerator.java +++ b/plugins/random-cc-number-generator/impl/src/main/java/org/pentaho/di/trans/steps/randomccnumber/RandomCreditCardNumberGenerator.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 * * This file is dual-licensed under the Apache Software License V2 and is * also available under the terms of the GNU Lesser GPL version 2.1 as provided diff --git a/engine/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_en_US.properties b/plugins/random-cc-number-generator/impl/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_en_US.properties similarity index 93% rename from engine/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_en_US.properties rename to plugins/random-cc-number-generator/impl/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_en_US.properties index 0a249746a9b8..30258a84b579 100644 --- a/engine/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_en_US.properties +++ b/plugins/random-cc-number-generator/impl/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_en_US.properties @@ -2,6 +2,8 @@ # # #Thu Aug 05 09:41:38 CEST 2010 +BaseStep.TypeLongDesc.RandomCCNumberGenerator=Generate random credit card numbers +BaseStep.TypeTooltipDesc.RandomCCNumberGenerator=Generate random valid credit card numbers RandomCCNumberGeneratorDialog.Button.PreviewRows=Preview rows RandomCCNumberGeneratorDialog.CCNumberFieldName.Label=Credit card number field RandomCCNumberGeneratorMeta.CardNumberField=Card number diff --git a/engine/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_fr_FR.properties b/plugins/random-cc-number-generator/impl/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_fr_FR.properties similarity index 100% rename from engine/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_fr_FR.properties rename to plugins/random-cc-number-generator/impl/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_fr_FR.properties diff --git a/engine/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_it_IT.properties b/plugins/random-cc-number-generator/impl/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_it_IT.properties similarity index 100% rename from engine/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_it_IT.properties rename to plugins/random-cc-number-generator/impl/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_it_IT.properties diff --git a/engine/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_ja_JP.properties b/plugins/random-cc-number-generator/impl/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_ja_JP.properties similarity index 98% rename from engine/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_ja_JP.properties rename to plugins/random-cc-number-generator/impl/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_ja_JP.properties index c28f698b93e7..ff6f97b6eb5d 100644 --- a/engine/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_ja_JP.properties +++ b/plugins/random-cc-number-generator/impl/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_ja_JP.properties @@ -33,4 +33,4 @@ RandomCCNumberGenerator.Log.NoFieldSpecified=You have to specify at least one fi RandomCCNumberGeneratorDialog.ErrorPreviewingData.DialogTitle=\u30d7\u30ec\u30d3\u30e5\u30fc\u30c7\u30fc\u30bf\u8868\u793a\u30a8\u30e9\u30fc RandomCCNumberGeneratorDialog.NumberRows.DialogTitle=\u30d7\u30ec\u30d3\u30e5\u30fc\u30b5\u30a4\u30ba\u5165\u529b RandomCCNumberGeneratorDialog.ErrorPreviewingData.DialogMessage=\u30d7\u30ec\u30d3\u30e5\u30fc\u4e2d\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002 -RandomCCNumberGeneratorDialog.NumberRows.DialogMessage=\u30d7\u30ec\u30d3\u30e5\u30fc\u30b5\u30a4\u30ba\u3092\u5165\u529b \ No newline at end of file +RandomCCNumberGeneratorDialog.NumberRows.DialogMessage=\u30d7\u30ec\u30d3\u30e5\u30fc\u30b5\u30a4\u30ba\u3092\u5165\u529b diff --git a/engine/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_ko_KR.properties b/plugins/random-cc-number-generator/impl/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_ko_KR.properties similarity index 100% rename from engine/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_ko_KR.properties rename to plugins/random-cc-number-generator/impl/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_ko_KR.properties diff --git a/engine/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_zh_CN.properties b/plugins/random-cc-number-generator/impl/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_zh_CN.properties similarity index 97% rename from engine/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_zh_CN.properties rename to plugins/random-cc-number-generator/impl/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_zh_CN.properties index 1a51cfe70375..22a72e1177ce 100644 --- a/engine/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_zh_CN.properties +++ b/plugins/random-cc-number-generator/impl/src/main/resources/org/pentaho/di/trans/steps/randomccnumber/messages/messages_zh_CN.properties @@ -13,4 +13,4 @@ RandomCCNumberGeneratorDialog.NumberRows.DialogMessage=\u8f93\u5165\u9700\u8981\ RandomCCNumberGeneratorDialog.wOutputFields.Label=\u8f93\u51fa\u5b57\u6bb5 RandomCCNumberGeneratorDialog.CCSizeColumn.Column=\u591a\u5c11? RandomCCNumberGeneratorDialog.NumberRows.DialogTitle=\u8f93\u5165\u9884\u89c8\u5927\u5c0f -RandomCCNumberGeneratorDialog.DialogTitle=\u751f\u6210\u968f\u673a\u7684\u4fe1\u7528\u5361\u53f7 \ No newline at end of file +RandomCCNumberGeneratorDialog.DialogTitle=\u751f\u6210\u968f\u673a\u7684\u4fe1\u7528\u5361\u53f7 diff --git a/engine/src/test/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGeneratorMetaTest.java b/plugins/random-cc-number-generator/impl/src/test/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGeneratorMetaTest.java similarity index 98% rename from engine/src/test/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGeneratorMetaTest.java rename to plugins/random-cc-number-generator/impl/src/test/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGeneratorMetaTest.java index 5bbcbdbce653..cefc8db063ad 100644 --- a/engine/src/test/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGeneratorMetaTest.java +++ b/plugins/random-cc-number-generator/impl/src/test/java/org/pentaho/di/trans/steps/randomccnumber/RandomCCNumberGeneratorMetaTest.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 * ******************************************************************************* * diff --git a/plugins/random-cc-number-generator/pom.xml b/plugins/random-cc-number-generator/pom.xml new file mode 100644 index 000000000000..7d3ec9ba8682 --- /dev/null +++ b/plugins/random-cc-number-generator/pom.xml @@ -0,0 +1,118 @@ + + + 4.0.0 + + + org.pentaho.di.plugins + pdi-plugins + 10.1.0.0-SNAPSHOT + + + random-cc-number-generator + 10.1.0.0-SNAPSHOT + pom + + Random Credit Card Number Generator 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/random-cc-number-generator/ui/pom.xml b/plugins/random-cc-number-generator/ui/pom.xml new file mode 100644 index 000000000000..ecce983f2fad --- /dev/null +++ b/plugins/random-cc-number-generator/ui/pom.xml @@ -0,0 +1,53 @@ + + + 4.0.0 + + + org.pentaho.di.plugins + random-cc-number-generator + 10.1.0.0-SNAPSHOT + + + random-cc-number-generator-plugins-ui + Random Credit Card Number Generator Plugins UI + + + + org.pentaho.di.plugins + random-cc-number-generator-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/trans/steps/randomccnumber/RandomCCNumberGeneratorDialog.java b/plugins/random-cc-number-generator/ui/src/main/java/org/pentaho/di/ui/trans/steps/randomccnumber/RandomCCNumberGeneratorDialog.java similarity index 98% rename from ui/src/main/java/org/pentaho/di/ui/trans/steps/randomccnumber/RandomCCNumberGeneratorDialog.java rename to plugins/random-cc-number-generator/ui/src/main/java/org/pentaho/di/ui/trans/steps/randomccnumber/RandomCCNumberGeneratorDialog.java index 78913ea62962..063655db883d 100644 --- a/ui/src/main/java/org/pentaho/di/ui/trans/steps/randomccnumber/RandomCCNumberGeneratorDialog.java +++ b/plugins/random-cc-number-generator/ui/src/main/java/org/pentaho/di/ui/trans/steps/randomccnumber/RandomCCNumberGeneratorDialog.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 * ******************************************************************************* * @@ -60,6 +60,10 @@ import org.pentaho.di.ui.core.widget.TableView; import org.pentaho.di.ui.trans.dialog.TransPreviewProgressDialog; import org.pentaho.di.ui.trans.step.BaseStepDialog; +import org.pentaho.di.core.annotations.PluginDialog; + +@PluginDialog( id = "RandomCCNumberGenerator", image = "CCG.svg", pluginType = PluginDialog.PluginType.STEP, + documentationUrl = "http://wiki.pentaho.com/display/EAI/Generate+random+credit+card+numbers" ) public class RandomCCNumberGeneratorDialog extends BaseStepDialog implements StepDialogInterface { private static Class PKG = RandomCCNumberGeneratorMeta.class; // for i18n purposes, needed by Translator2!! diff --git a/ui/src/main/resources/ui/images/CCG.png b/plugins/random-cc-number-generator/ui/src/main/resources/CCG.png similarity index 100% rename from ui/src/main/resources/ui/images/CCG.png rename to plugins/random-cc-number-generator/ui/src/main/resources/CCG.png diff --git a/ui/src/main/resources/ui/images/CCG.svg b/plugins/random-cc-number-generator/ui/src/main/resources/CCG.svg similarity index 98% rename from ui/src/main/resources/ui/images/CCG.svg rename to plugins/random-cc-number-generator/ui/src/main/resources/CCG.svg index a133d5975869..6468781ed4ba 100644 --- a/ui/src/main/resources/ui/images/CCG.svg +++ b/plugins/random-cc-number-generator/ui/src/main/resources/CCG.svg @@ -1,36 +1,36 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + +