forked from apache/hop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs, working updates to rest connection and using rest connection in…
… the rest client transform. apache#4369
- Loading branch information
Showing
8 changed files
with
270 additions
and
5 deletions.
There are no files selected for viewing
75 changes: 75 additions & 0 deletions
75
docs/hop-user-manual/modules/ROOT/assets/images/icons/rest.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions
49
docs/hop-user-manual/modules/ROOT/pages/metadata-types/rest-connection.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
//// | ||
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. | ||
//// | ||
:page-pagination: | ||
:description: | ||
|
||
= REST connection | ||
|
||
image:icons/rest.svg[] | ||
|
||
A REST connection is a connection to a REST api that can be reused from transforms like the xref:pipeline/transforms/rest.adoc[REST client]. | ||
|
||
The REST connection is a generic purpose metadata item. A transform or action that uses a REST connection can override its properties when required. | ||
|
||
== Related Plugins | ||
|
||
xref:pipeline/transforms/rest.adoc[REST client] | ||
|
||
== Options | ||
|
||
[options="header"] | ||
|=== | ||
|Option |Description | ||
|Name|The name to be used for this REST connection | ||
|Base URL|The URL to use as the base URL for any API calls. The base URL will need to be appended from client transforms or actions that use it to make detailed API calls. | ||
|Test URL|A full URL that can be used to test this REST connection. If no test URL is specified, the base URL will be used to perform connection tests. | ||
|Authorization header name|The Authentication/Authorization header name to use for the connection. | ||
|Authorization prefix|An (optional) prefix to use for the authentication/authorization header value (e.g. `Bearer`) | ||
|Authorization value|The Authentication/Authorization header value to use for the connection. This could be a token, an API key etc. | ||
|=== | ||
|
||
Use the `Test` button to authenticate against the test or base URL, using the authentication/authorization header name, and (prefix + ) value. | ||
|
||
== Samples | ||
|
||
None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.