This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-hop-docs.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 643adf6 Documentation updated to 3ff80dc
643adf6 is described below
commit 643adf6215ae5d8c15b59a1abed47eed477bc140
Author: jenkins <[email protected]>
AuthorDate: Wed Mar 17 09:55:36 2021 +0000
Documentation updated to 3ff80dc
---
.../pipeline/transforms/stringoperations.adoc | 40 ++++++++++++-
.../ROOT/pages/technology/google/google-info.adoc | 68 ++++++++++++++++++++++
.../workflow/actions/deleteresultfilenames.adoc | 6 +-
3 files changed, 110 insertions(+), 4 deletions(-)
diff --git
a/hop-user-manual/modules/ROOT/pages/pipeline/transforms/stringoperations.adoc
b/hop-user-manual/modules/ROOT/pages/pipeline/transforms/stringoperations.adoc
index 1663059..55f67fc 100644
---
a/hop-user-manual/modules/ROOT/pages/pipeline/transforms/stringoperations.adoc
+++
b/hop-user-manual/modules/ROOT/pages/pipeline/transforms/stringoperations.adoc
@@ -52,4 +52,42 @@ With the String Operations transform, you can perform the
following string opera
== Metadata Injection Support
-All fields of this transform support metadata injection. You can use this
transform with ETL Metadata Injection to pass metadata to your pipeline at
runtime.
\ No newline at end of file
+All fields of this transform support metadata injection. You can use this
transform with ETL Metadata Injection to pass metadata to your pipeline at
runtime.
+
+Values for Metadata Injection
+[width="90%", options="header"]
+|===
+|Field|Values
+|In stream fields|list of source fields
+|Out stream fields|list of target fields
+|Trim Type|0 = none +
+1 = left +
+2 = right +
+3 = both
+|Lower/Upper|0 = none +
+1 = lower +
+2 = upper
+|Padding|0 = none +
+1 = left +
+2= right
+|Pad Char| Character used for padding
+|Pad Length| Lenght to pad
+|InitCap|0 = no +
+1 = yes
+|Escape|0 = none +
+1 = escapexml +
+2 = cdata +
+3 = unescapexml +
+4 = escapesql +
+5 = escapehtml +
+6 = unescapehtml
+|Digits|0 = none +
+1 = digits_only +
+2 = remove_digits
+|Remove Special character|0 = none +
+1 = cr +
+2 = lf +
+3 = crlf +
+4 = tab +
+5 = espace
+|===
\ No newline at end of file
diff --git
a/hop-user-manual/modules/ROOT/pages/technology/google/google-info.adoc
b/hop-user-manual/modules/ROOT/pages/technology/google/google-info.adoc
new file mode 100644
index 0000000..cabad6a
--- /dev/null
+++ b/hop-user-manual/modules/ROOT/pages/technology/google/google-info.adoc
@@ -0,0 +1,68 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+////
+:documentationPath: /technology/google/
+:language: en_US
+
+= Google Technology
+
+== Introduction
+
+The Google technology stack is supported in Hop through a number of plugins.
We briefly touch upon them below.
+
+=== Google Analytics
+
+You can use the `Google Analytics` transform to get information from this
service.
+
+== Google Sheets
+
+It can be very convenient to save data into a Google sheet or indeed to read
from it. You can do this using the `Google Sheets Input` and `Google Sheets
Output` transforms.
+
+== Google Drive
+
+Hop has a Virtual File System (VFS) plugin for Google Drive. You need to
generate a credentials file to make it work. Follow the Google documentation
to see how that is done. You also need to specify a folder in which security
tokens are going to be saved. You can specify both in the Hop system
configuration options. This can be done in the Hop GUI: go to the "Google
Drive" tab in the Options dialog (from the Tools menu). You can also use the
`hop-conf` script with the following options:
+
+[source,shell script]
+----
+ -gdc, --google-drive-credentials-file=<credentialsFile>
+ Configure the path to a Google Drive credentials
JSON
+ file
+ -gdt, --google-drive-tokens-folder=<tokensFolder>
+ Configure the path to a Google Drive tokens folder
+----
+
+Once done you will see a `googleDrive` entry in the central `hop-config.json`
file:
+
+[source,json]
+----
+{
+ "googleDrive" : {
+ "credentialsFile" : "/path/to/google-drive-credentials.json",
+ "tokensFolder" : "/path/to/tokens"
+ }
+}
+----
+
+When you try to run the first time you'll see a message on the console where
you executed Hop GUI or Hop Run saying something like:
+
+[source]
+----
+Please open the following address in your browser:
+
https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=yourClientId&redirect_uri=http://localhost:8888/Callback&response_type=code&scope=https://www.googleapis.com/auth/drive
+----
+
+Open that URL in a browser and authenticate the given client ID. You'll then
get a token in the configured `tokens folder` with which you can work.
+
diff --git
a/hop-user-manual/modules/ROOT/pages/workflow/actions/deleteresultfilenames.adoc
b/hop-user-manual/modules/ROOT/pages/workflow/actions/deleteresultfilenames.adoc
index 748ab56..1998da3 100644
---
a/hop-user-manual/modules/ROOT/pages/workflow/actions/deleteresultfilenames.adoc
+++
b/hop-user-manual/modules/ROOT/pages/workflow/actions/deleteresultfilenames.adoc
@@ -28,8 +28,8 @@ Use this action to delete all the filenames that are in the
result files list of
[width="90%", options="header"]
|===
|Option|Description
-|Workflow action name|The name of the workflow action. *Note*: This name has
to be unique in a single workflow. A workflow action can be placed several
times on the canvas, however it will be the same workflow action.
-|Limit action to| Enable this feature if you want to limit the deletion to
certain filenames in the result file list.
+|Workflow action name|The name of the workflow action.
+|Limit action to|Enable this feature if you want to limit the deletion to
certain filenames in the result file list.
|Wildcard|The regular expression to limit the files to delete
-|Exclude wildcard|The regular expression to exclude certain files from being
deleted.
+|Exclude wildcard|The regular expression to exclude certain files from being
deleted.
|===
\ No newline at end of file