Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPCC-29981 Improve gateway support in ESDL script #17642

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions esp/esdllib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1555,8 +1555,10 @@ Iterates a possibly empty set of input nodes. Child operations are processed onc
optional="Boolean value"
trace="String value"
url="String value"
secret="String value"
section="XPath node expression"
name="String value">
name="String value"
vault="String value"
<http-header name="String value"
xpath_name="XPath string expression"
value="XPath string expression"/>
Expand All @@ -1570,13 +1572,15 @@ Create then send an HTTP post message with XML content. Content type of the outg
| - | - | - |
| @optional | 0..1 | Boolean flag indicating whether script syntax errors are fatal (*false*) or merely generate warnings (*true*). Defaults to *false*. |
| @trace | 0..1 | Label used in trace log output messages. If omitted or empty, the element name is used. |
| @url | 1..1 | Endpoint to send the HTTP post message. |
| @url | 0..1 | Endpoint to send the HTTP post message. Ignored when `secret` is given; required otherwise. |
| @secret | 0..1 | Name of an "esp" category http-connect secret from which the message endpoint and authorization values are to be obtained. A named secret always takes precedence of `@url`. A named secret will be used to auto-fill an *Authorization* `http-header` for supported authorization methods, including:<br/><br/>- Basic: `username` and `password` secret properties required |
| @section | 0..1 | Path to the section of script context where output is placed. If omitted defaults to `temporaries`.|
| @name | 1..1 | Name of the node inside `@section` where the output is placed. If it does not exist it is created. |
| @vault | 0..1 | String identifier of the repository containing `secret` referenced http-connect secret. Ignored when `secret` is unused; optional otherwise.<br/><br/>This value is deprecated. The preferred way to specify a vault is to include it in `@secret` as `vault::secret`. |
| http-header | 0..n | An HTTP Header name and value to include with the POST. Use one element for each header |
| http-header/@name | 0..1 | String value giving the name of the HTTP header.|
| http-header/@xpath-name | 0..1 | XPath expression evaluated as a string giving the name of the HTTP header. |
| http-header/@value | 1..1 | The value of the HTTP header. |
| http-header/@value | 1..1 | The value of the HTTP header. When used with an http-connect secret, an *Authorization* header's value must be the authorization method, e.g., *Basic*., or empty to default to *Basic*. |
| content | 1..1 | Contains child script operations that construct the XML payload of the HTTP Post. |

Note:
Expand Down Expand Up @@ -1751,7 +1755,7 @@ See also [ensure-target](#ensure-target) and [target](#target).
server="String value"
trace="String value"
user="String value"
vault="String value">
vault="String value"
<bind name="String value"
value="XPath string expression"/>
<sql>...</sql>
Expand All @@ -1772,7 +1776,7 @@ See also [ensure-target](#ensure-target) and [target](#target).
| @server | 1..1 | String value of the database server in the format *ip:port* or *hostname:port*. Required if not provided in a _vault_ or _secret_. See the following [Credentials](#credentials) section for further explanation.|
| @trace | 0..1 | Label used in trace log output messages. If omitted or empty, the element name is used. |
| @user | 0..1 | String of the user name to login to the database server. Required if not provided in a _vault_ or _secret_. See the following [Credentials](#credentials) section for further explanation. |
| @vault | 0..1 | String of the vault ID to retrieve database login info from. The category name used is *esp*. For security, preferred usage is to include user, password, server and database together. See the following [Credentials](#credentials) section for further explanation. |
| @vault | 0..1 | String of the vault ID to retrieve database login info from. The category name used is *esp*. For security, preferred usage is to include user, password, server and database together. See the following [Credentials](#credentials) section for further explanation.<br/><br/>This value is deprecated. The preferred way to specify a vault is to include it in `@secret` as `vault::secret`. |
| bind | 0..n | Node to bind a value to a sql parameter. |
| bind/@name | 1..1 | String of the name of the sql parameter. Use only one instance per `bind` node. |
| bind/@value | 1..1 | XPath string expression of the value of the parameter. Use only one instance per `bind` node. |
Expand Down
Loading
Loading