You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by gi...@apache.org on 2021/09/01 06:18:47 UTC

[drill-site] branch asf-site updated: Automatic Site Publish by Buildbot

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/drill-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new d122fad  Automatic Site Publish by Buildbot
d122fad is described below

commit d122fad90ab7d70b9e48de53b6cbe472804fe200
Author: buildbot <us...@infra.apache.org>
AuthorDate: Wed Sep 1 06:18:45 2021 +0000

    Automatic Site Publish by Buildbot
---
 output/docs/http-storage-plugin/index.html    | 23 +++++++++++++++++++++++
 output/feed.xml                               |  4 ++--
 output/zh/docs/http-storage-plugin/index.html | 23 +++++++++++++++++++++++
 output/zh/feed.xml                            |  4 ++--
 4 files changed, 50 insertions(+), 4 deletions(-)

diff --git a/output/docs/http-storage-plugin/index.html b/output/docs/http-storage-plugin/index.html
index 1da301e..f280f24 100644
--- a/output/docs/http-storage-plugin/index.html
+++ b/output/docs/http-storage-plugin/index.html
@@ -1622,6 +1622,29 @@ feature if the API is strict about parameter ordering.</p>
 <p>At present Drill does not enforce that parameters are provided in the query: Drill
 assumes parameters are optional.</p>
 
+<h4 id="api-connection-credentials-provider">API connection credentials provider</h4>
+
+<p>Starting from Drill 1.20.0, it is possible to use <a href="https://github.com/apache/drill/blob/master/docs/dev/PluginCredentialsProvider.md#plugin-credentials-provider">Credentials Provider</a> for specifying
+API connection credentials.</p>
+
+<p><code class="language-plaintext highlighter-rouge">credentialsProvider</code> property should be used to configure credentials provider, similar to the way
+how it is used for storage plugins:</p>
+
+<div class="language-json highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span><span class="w">
+   </span><span class="nl">"credentialsProvider"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
+      </span><span class="nl">"credentialsProviderType"</span><span class="p">:</span><span class="w"> </span><span class="s2">"PlainCredentialsProvider"</span><span class="p">,</span><span class="w">
+      </span><span class="nl">"credentials"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
+         </span><span class="nl">"username"</span><span class="p">:</span><span class="w"> </span><span class="s2">"user1"</span><span class="p">,</span><span class="w">
+         </span><span class="nl">"password"</span><span class="p">:</span><span class="w"> </span><span class="s2">"user1Pass"</span><span class="w">
+      </span><span class="p">}</span><span class="w">
+   </span><span class="p">}</span><span class="w">
+</span><span class="p">}</span><span class="w">
+</span></code></pre></div></div>
+
+<p>It is possible to use any available credential provider type for API connections, including custom implementations.
+Please refer to <a href="https://github.com/apache/drill/blob/master/docs/dev/PluginCredentialsProvider.md#developer-notes">Developer notes</a>
+for more details for creating custom credential provider implementations without changing Drill’s code.</p>
+
 <h3 id="data-path">Data Path</h3>
 
 <p>REST responses often have structure beyond the data you want to query. For example:</p>
diff --git a/output/feed.xml b/output/feed.xml
index 7a1d70d..4c8f336 100644
--- a/output/feed.xml
+++ b/output/feed.xml
@@ -6,8 +6,8 @@
 </description>
     <link>/</link>
     <atom:link href="/feed.xml" rel="self" type="application/rss+xml"/>
-    <pubDate>Tue, 31 Aug 2021 07:41:05 +0000</pubDate>
-    <lastBuildDate>Tue, 31 Aug 2021 07:41:05 +0000</lastBuildDate>
+    <pubDate>Wed, 01 Sep 2021 06:15:50 +0000</pubDate>
+    <lastBuildDate>Wed, 01 Sep 2021 06:15:50 +0000</lastBuildDate>
     <generator>Jekyll v3.9.1</generator>
     
       <item>
diff --git a/output/zh/docs/http-storage-plugin/index.html b/output/zh/docs/http-storage-plugin/index.html
index dcdddf3..fd61503 100644
--- a/output/zh/docs/http-storage-plugin/index.html
+++ b/output/zh/docs/http-storage-plugin/index.html
@@ -1622,6 +1622,29 @@ feature if the API is strict about parameter ordering.</p>
 <p>At present Drill does not enforce that parameters are provided in the query: Drill
 assumes parameters are optional.</p>
 
+<h4 id="api-connection-credentials-provider">API connection credentials provider</h4>
+
+<p>Starting from Drill 1.20.0, it is possible to use <a href="https://github.com/apache/drill/blob/master/docs/dev/PluginCredentialsProvider.md#plugin-credentials-provider">Credentials Provider</a> for specifying
+API connection credentials.</p>
+
+<p><code class="language-plaintext highlighter-rouge">credentialsProvider</code> property should be used to configure credentials provider, similar to the way
+how it is used for storage plugins:</p>
+
+<div class="language-json highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span><span class="w">
+   </span><span class="nl">"credentialsProvider"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
+      </span><span class="nl">"credentialsProviderType"</span><span class="p">:</span><span class="w"> </span><span class="s2">"PlainCredentialsProvider"</span><span class="p">,</span><span class="w">
+      </span><span class="nl">"credentials"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
+         </span><span class="nl">"username"</span><span class="p">:</span><span class="w"> </span><span class="s2">"user1"</span><span class="p">,</span><span class="w">
+         </span><span class="nl">"password"</span><span class="p">:</span><span class="w"> </span><span class="s2">"user1Pass"</span><span class="w">
+      </span><span class="p">}</span><span class="w">
+   </span><span class="p">}</span><span class="w">
+</span><span class="p">}</span><span class="w">
+</span></code></pre></div></div>
+
+<p>It is possible to use any available credential provider type for API connections, including custom implementations.
+Please refer to <a href="https://github.com/apache/drill/blob/master/docs/dev/PluginCredentialsProvider.md#developer-notes">Developer notes</a>
+for more details for creating custom credential provider implementations without changing Drill’s code.</p>
+
 <h3 id="data-path">Data Path</h3>
 
 <p>REST responses often have structure beyond the data you want to query. For example:</p>
diff --git a/output/zh/feed.xml b/output/zh/feed.xml
index 68a708f..3c66ee4 100644
--- a/output/zh/feed.xml
+++ b/output/zh/feed.xml
@@ -6,8 +6,8 @@
 </description>
     <link>/</link>
     <atom:link href="/zh/feed.xml" rel="self" type="application/rss+xml"/>
-    <pubDate>Tue, 31 Aug 2021 07:41:05 +0000</pubDate>
-    <lastBuildDate>Tue, 31 Aug 2021 07:41:05 +0000</lastBuildDate>
+    <pubDate>Wed, 01 Sep 2021 06:15:50 +0000</pubDate>
+    <lastBuildDate>Wed, 01 Sep 2021 06:15:50 +0000</lastBuildDate>
     <generator>Jekyll v3.9.1</generator>
     
       <item>