You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2020/11/03 14:25:38 UTC

[incubator-hop] branch master updated: HOP-2071: documentation for fake data transform plugin (#339)

This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git


The following commit(s) were added to refs/heads/master by this push:
     new 37fe028  HOP-2071: documentation for fake data transform plugin (#339)
37fe028 is described below

commit 37fe0280a09b3bef49e5e8335a3f03d1dfcc64ad
Author: Yannick Mols <ya...@know.bi>
AuthorDate: Tue Nov 3 15:25:29 2020 +0100

    HOP-2071: documentation for fake data transform plugin (#339)
    
    * HOP-2071: documentation for fake data transform plugin
    
    * HOP-2071: requested changes for fake.adoc
---
 plugins/transforms/fake/src/main/doc/fake.adoc | 383 +++++++++++++++++++++++++
 1 file changed, 383 insertions(+)

diff --git a/plugins/transforms/fake/src/main/doc/fake.adoc b/plugins/transforms/fake/src/main/doc/fake.adoc
new file mode 100644
index 0000000..9380855
--- /dev/null
+++ b/plugins/transforms/fake/src/main/doc/fake.adoc
@@ -0,0 +1,383 @@
+:documentationPath: /plugins/transforms/
+:language: en_US
+:page-alternativeEditUrl: https://github.com/project-hop/hop/edit/master/plugins/transforms/fake/src/main/doc/fake.adoc
+= Fake data
+
+== Description
+
+This tranform type allows you to generate fake data using the Java Faker library which can be found link:https://github.com/DiUS/java-faker[here] for full documentation. It can be used to generate pretty data for development, testing or showcasing a project.
+
+For instance we could generate some random Pokémon data.
+
+[width="90%", options="header"]
+|===
+|name|location
+|Krabby|Snowpoint City
+|Mankey|Sootopolis City
+|Grimer|Five Island
+|Drowzee|Five Island
+|Onix|Dendemille Town
+|===
+
+== Options
+
+[width="90%", options="header"]
+|===
+|Option|Description
+|Transform name|Name of the transform.
+|Locale|A locale can be used to make the generated data more specific to a single location.
+|Output field name|The name of the generated field.
+|Type of fake data|The data category.
+|Topic to generate|The topic within the data category to generate.
+|===
+
+== Types of categories
+
+[width="90%", options="header"]
+|===
+|Type|Topics
+|Address a|
+- streetName
+- streetAddressNumber
+- streetAddress
+- ...
+|Ancient a|
+- god
+- primordial
+- titan
+- hero
+|Animal a|
+- name
+|App a|
+- name
+- version
+- author
+|Aqua Teen Hunger Force a|
+- character
+|Artist a|
+- name
+|Avatar a|
+- image
+|Back To The Future a|
+- character
+- date
+- quote
+|Aviation a|
+- aircraft
+- airport
+- METAR
+|Basketball a|
+- teams
+- coaches
+- positions
+- players
+|Beer a|
+- name
+- style
+- hop
+- ...
+|Bojack Horseman a|
+- characters
+- quotes
+- tongueTwisters
+|Book a|
+- author
+- title
+- publisher
+- genre
+|Bool a|
+- bool
+|Business a|
+- creditCardNumber
+- creditCardType
+- creditCardExpiry
+|ChuckNorris a|
+- fact
+|Cat a|
+- name
+- breed
+- registry
+|Code a|
+- isbnGs1
+- isbnGroup
+- isbnRegistrant
+- ...
+|Coin a|
+- flip
+|Color a|
+- name
+- hex
+|Commerce a|
+- color
+- department
+- productName
+- ...
+|Company a|
+- name
+- suffix
+- industry
+- ...
+|Crypto a|
+- md5
+- sha1
+- sha256
+- sha512
+|DateAndTime a|
+- future
+- between
+- past
+- birthday
+|Demographic a|
+- race
+- educationalAttainment
+- denonym
+- sex
+- maritalStatus
+|Disease a|
+- internalDisease
+- neurology
+- surgery
+- ...
+|Dog a|
+- name
+- breed
+- sound
+- ...
+|DragonBall a|
+- character
+|Dune a|
+- character
+- title
+- planet
+- ...
+|Educator a|
+- university
+- course
+- secondarySchool
+- campus
+|Esports a|
+- player
+- team
+- event
+- ...
+|File a|
+- extension
+- mimeType
+- fileName
+|Finance a|
+- creditCard
+- bic
+- iban
+- calculateIbanChecksum
+- ...
+|Food a|
+- ingredient
+- spice
+- dish
+- ...
+|Friends a|
+- character
+- location
+- quote
+|FunnyName a|
+- name
+|GameOfThrones a|
+- character
+- house
+- city
+- ...
+|Hacker a|
+- abbreviation
+- adjective
+- noun
+- ...
+|HarryPotter a|
+- character
+- location
+- quote
+- ...
+|Hipster a|
+- word
+|HitchhikersGuideToTheGalaxy a|
+- character
+- location
+- marvinQuote
+- ...
+|Hobbit a|
+- character
+- thorinsConpany
+- quote
+- location
+|HowIMetYourMother a|
+- character
+- catchPhrase
+- highFive
+- quote
+|IdNumber a|
+- valid
+- invalid
+- ssnValid
+- ...
+|Internet a|
+- emailAddress
+- safeEmailAddress
+- domainName
+- ...
+|Job a|
+- field
+- seniority
+- position
+- keySkills
+- title
+|Kaamelott a|
+- character
+- quote
+|LeagueOfLegends a|
+- champion
+- location
+- quote
+- ...
+|Lebowski a|
+- actor
+- character
+- quote
+|LordOfTheRings a|
+- character
+- location
+|Lorem a|
+- character
+- characters
+- word
+- words
+- ...
+|Matz a|
+- quote
+|Music a|
+- instrument
+- key
+- chord
+- genre
+|Name a|
+- name
+- nameWithMiddle
+- fullName
+- ...
+|Nation a|
+- nationality
+- language
+- capitalCity
+- flag
+|Number a|
+- randomDigit
+- randomDigitNotZero
+- numberBetween
+- ...
+|Options a|
+- option
+- nextElement
+|Overwatch a|
+- hero
+- location
+- quote
+|PhoneNumber a|
+- cellPhone
+- phoneNumber
+- ...
+|Pokemon a|
+- name
+- location
+|Princess Bride a|
+- character
+- quote
+|Relationship Terms a|
+- direct
+- extended
+- inLaw
+- ...
+|RickAndMorty a|
+- character
+- location
+- quote
+|Robin a|
+- quote
+|RockBand a|
+- name
+|Shakespeare a|
+- hamletQuote
+- asYouLikeItQuote
+- kingRichardIIIQuote
+- ...
+|SlackEmoji a|
+- people
+- nature
+- foodAndDrink
+- ...
+|Space a|
+- planet
+- moon
+- galaxy
+- ...
+|StarCraft a|
+- unit
+- building
+- character
+- planet
+|StarTrek a|
+- character
+- location
+- specie
+- ...
+|Stock a|
+- nsdqSymbol
+- nyseSymbol
+|Superhero a|
+- name
+- prefix
+- suffix
+- ...
+|Team a|
+- name
+- creature
+- state
+- sport
+|TwinPeaks a|
+- character
+- location
+- quote
+|University a|
+- name
+- prefix
+- suffix
+|Weather a|
+- description
+- temperatureCelsius
+- temperatureFahrenheit
+- temperature
+|Witcher a|
+- character
+- witcher
+- school
+- ...
+|Yoda a|
+- quote
+|Zelda a|
+- game
+- character
+|===
+
+
+== Locales
+
+- bg
+- ca
+- ca-CAT
+- da-DK
+- de
+- de-AT
+- de-CH
+- en
+- ...
+- en-US
+- ...
+- nl
+- ...