<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Parameters Types and Configurations &#8211; GLU Global</title>
	<atom:link href="https://glu.global/article-categories/parameters-types-and-configurations/feed/" rel="self" type="application/rss+xml" />
	<link>https://glu.global</link>
	<description>Innovation at Speed</description>
	<lastBuildDate>Thu, 25 Apr 2024 07:57:03 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://glu.global/wp-content/uploads/2022/01/cropped-favicon-1-32x32.png</url>
	<title>Parameters Types and Configurations &#8211; GLU Global</title>
	<link>https://glu.global</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Handling Special Characters</title>
		<link>https://glu.global/glu-guide/handling-special-characters/</link>
		
		<dc:creator><![CDATA[Rahim Ghezali]]></dc:creator>
		<pubDate>Thu, 26 Jan 2023 21:41:58 +0000</pubDate>
				<guid isPermaLink="false">https://glu.global/?post_type=ht_kb&#038;p=3552</guid>

					<description><![CDATA[The following characters are considered special characters in JSON: Important to note: By default, the GLU.Engine will not make changes to any special characters within JSON payloads during the integration flow. Unescape JSON Special Characters GLU provides the capability to &#8216;unescape&#8217; these characters &#8211; i.e. to remove the backslash &#8216;\&#8217; characters from a JSON payload. [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>The following characters are considered special characters in JSON:</p>



<ol class="wp-block-list">
<li>Double quotes (&#8220;)</li>



<li>Backslash ()</li>



<li>Newline (\n)</li>



<li>Carriage return (\r)</li>



<li>Tab (\t)</li>



<li>Backspace (\b)</li>



<li>Form feed (\f)</li>
</ol>



<p><strong>Important to note:</strong> By default, the GLU.Engine will not make changes to any special characters within JSON payloads during the integration flow.</p>



<h2 class="wp-block-heading has-large-font-size"><strong>Unescape JSON Special Characters</strong></h2>



<p>GLU provides the capability to &#8216;unescape&#8217; these characters &#8211; i.e. to remove the backslash &#8216;\&#8217; characters from a JSON payload. The process of unescaping JSON characters is the reverse of the escaping process, and it involves converting the encoded special characters back into their original form. This allows special characters within JSON payloads to be properly interpreted and used by applications that receive them.</p>



<p></p>



<p>To perform the unescape operation, choose &#8220;Unescape JSON&#8221; from the Decoder dropdown menu in the Response Manager Panel.</p>



<p></p>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img fetchpriority="high" decoding="async" width="1024" height="400" src="https://glu.global/wp-content/uploads/2023/02/image-42-1024x400.png" alt="" class="wp-image-5069" style="width:800px" srcset="https://glu.global/wp-content/uploads/2023/02/image-42-1024x400.png 1024w, https://glu.global/wp-content/uploads/2023/02/image-42-300x117.png 300w, https://glu.global/wp-content/uploads/2023/02/image-42-768x300.png 768w, https://glu.global/wp-content/uploads/2023/02/image-42-50x20.png 50w, https://glu.global/wp-content/uploads/2023/02/image-42.png 1112w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>


<p></p>



<p></p>



<p><strong>Example 1</strong></p>



<p></p>



<p class="has-medium-font-size">Original JSON payload:</p>



<p></p>



<figure class="wp-block-table"><table><tbody><tr><td><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-black-color">{</mark><br><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-black-color">        \&#8221;TRANSACTION_ID\&#8221;:\&#8221;5930551\&#8221;</mark><br><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-black-color"><em> }</em></mark></td></tr></tbody></table></figure>



<pre id="output" class="wp-block-code"><code></code></pre>



<p class="has-medium-font-size">Unescaped JSON payload:</p>



<p></p>



<figure class="wp-block-table"><table><tbody><tr><td><em><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-black-color">{</mark><br><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-black-color"> <mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-black-color">        </mark>&#8220;TRANSACTION_ID&#8221;:&#8221;5930551&#8243;</mark><br><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-black-color"> }</mark></em></td></tr></tbody></table></figure>



<p></p>



<p><strong>Example 2</strong></p>



<p></p>



<p>Original JSON payload:</p>



<p></p>



<figure class="wp-block-table"><table><tbody><tr><td><em>{<br>      \&#8221;test\&#8221;:\&#8221;backslash \\ and double quotes &#8216;\&#8221;\&#8221;<br> }</em></td></tr></tbody></table></figure>



<p>Unescaped JSON payload:</p>



<p></p>



<figure class="wp-block-table"><table><tbody><tr><td><em>{<br>      &#8220;test&#8221;:&#8221;backslash \ and double quotes &#8216;&#8221;&#8221;<br> }</em></td></tr></tbody></table></figure>



<pre id="output" class="wp-block-code"><code>
</code></pre>



<h2 class="wp-block-heading has-large-font-size"><strong>Retain escaped JSON Special Characters</strong></h2>



<p>The GLU.Engine introduces the &#8220;Retain Escaped JSON&#8221; feature, providing users with the ability to preserve the integrity of JSON data containing escaped characters. This feature ensures that special characters remain intact during data transmission or storage, preventing misinterpretation and maintaining the accuracy of the original data structure.</p>



<p>The ability to retain escaped JSON characters can be utilised in both API requests and orchestration responses.</p>



<p></p>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img decoding="async" width="823" height="447" src="https://glu.global/wp-content/uploads/2023/12/image-1.png" alt="" class="wp-image-6600" style="width:800px" srcset="https://glu.global/wp-content/uploads/2023/12/image-1.png 823w, https://glu.global/wp-content/uploads/2023/12/image-1-300x163.png 300w, https://glu.global/wp-content/uploads/2023/12/image-1-768x417.png 768w, https://glu.global/wp-content/uploads/2023/12/image-1-50x27.png 50w" sizes="(max-width: 823px) 100vw, 823px" /></figure></div>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Generate Parameters from a Template</title>
		<link>https://glu.global/glu-guide/quick-tool-to-generate-parameters-from-a-template/</link>
		
		<dc:creator><![CDATA[Rahim Ghezali]]></dc:creator>
		<pubDate>Thu, 26 Jan 2023 21:22:39 +0000</pubDate>
				<guid isPermaLink="false">https://glu.global/?post_type=ht_kb&#038;p=3538</guid>

					<description><![CDATA[Within the &#8216;Parameters Manager Control Panel&#8217; for any Request or Response configuration find the &#8216;Load Template to Generate Parameters&#8217; tool. If there is an existing JSON structure of the variables required, the parameters can be added through the use of a template using the &#8216;Generate Parameters&#8217; tool. Clicking this tool opens up a pop-up box [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Within the <strong>&#8216;Parameters Manager Control Panel&#8217;</strong> for any Request or Response configuration find the <strong>&#8216;Load Template to Generate Parameters&#8217;</strong> tool. If there is an <strong>existing JSON structure</strong> of the variables required, the parameters can be added through the use of a template using the <strong>&#8216;Generate Parameters&#8217; </strong>tool.</p>



<p><br>Clicking this tool opens up a pop-up box into which you can paste the template for the payload. The <strong>&#8216;Content Type&#8217; </strong>that you have specified for the Request or Response in the <strong>&#8216;Request / Response Manager Control Panel&#8217;</strong> will determine the template format that you will need to paste e.g. <em>JSON or XML format.</em></p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" width="1024" height="389" src="https://glu.global/wp-content/uploads/2023/02/image-201-1024x389.png" alt="" class="wp-image-5710" srcset="https://glu.global/wp-content/uploads/2023/02/image-201-1024x389.png 1024w, https://glu.global/wp-content/uploads/2023/02/image-201-300x114.png 300w, https://glu.global/wp-content/uploads/2023/02/image-201-768x292.png 768w, https://glu.global/wp-content/uploads/2023/02/image-201-50x19.png 50w, https://glu.global/wp-content/uploads/2023/02/image-201.png 1114w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>


<p><strong>Additional Options:</strong></p>



<ul class="wp-block-list">
<li>The<strong> &#8216;Add Only New Parameters&#8217; </strong>checkbox enables you to avoid duplicating auto-generated parameters when making updates to the template you are loading.</li>



<li>The <strong>&#8216;Path Not Included&#8217;</strong> checkbox informs GLU to ignore the missing path if it&#8217;s missing from the template.</li>
</ul>



<p>When pasting your template, check it&#8217;s formatted correctly by clicking on the <strong>&#8216;Format&#8217; button</strong> and make any corrections needed.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="413" height="531" src="https://glu.global/wp-content/uploads/2023/02/image-203.png" alt="" class="wp-image-5712" srcset="https://glu.global/wp-content/uploads/2023/02/image-203.png 413w, https://glu.global/wp-content/uploads/2023/02/image-203-233x300.png 233w, https://glu.global/wp-content/uploads/2023/02/image-203-39x50.png 39w" sizes="auto, (max-width: 413px) 100vw, 413px" /></figure></div>


<p></p>



<p><br>Thereafter by clicking on <strong>&#8216;Generate Parameters&#8217;</strong>, GLU will auto-create all parameters in the Template within the applicable Request / Response Parameter set. Additionally, the <strong>&#8216;collection path&#8217;</strong> for each parameter is auto-populated. This is tremendously useful especially when the template has a &#8216;deep&#8217; tree structure. If your variables JSON looks like this: <br><br></p>



<figure class="wp-block-table"><table><tbody><tr><td><em>{ </em><br><em>  &#8220;input&#8221;: {</em><br><em>    &#8220;beneficiary&#8221;: {</em><br><em>      &#8220;bankAccount&#8221;: { </em><br><em>       &#8220;name&#8221;: &#8220;Sample Account&#8221;,</em><br><em>        &#8220;bankId&#8221;: &#8220;absa&#8221;,</em><br><em>        &#8220;accountNumber&#8221;: &#8220;1234567890&#8221;,</em><br><em>        &#8220;accountType&#8221;: &#8220;current&#8221;,</em><br><em>        &#8220;beneficiaryType&#8221;: &#8220;private&#8221;,</em><br><em>        &#8220;reference&#8221;: &#8220;TestBeneficiary&#8221;</em><br><em>      }</em><br><em>    }</em><br><em> }</em></td></tr></tbody></table></figure>



<p><div class="open_grepper_editor" title="Edit &amp; Save To Grepper"></div></p>



<p><br>The <strong>beneficiaryType</strong> parameter will have the marshaling object/collection path set as <em>input.beneficiary.bankAccount</em>.</p>



<p><br>This will ensure that when the variables JSON is generated from the Outbound Request parameters, the <strong>beneficiaryType</strong> parameter will be generated in the JSON payload in the correct position.</p>



<p>For each parameter that is added through a template load, GLU parameters need to be mapped.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="465" src="https://glu.global/wp-content/uploads/2023/02/image-204-1024x465.png" alt="" class="wp-image-5713" style="width:984px;height:446px" srcset="https://glu.global/wp-content/uploads/2023/02/image-204-1024x465.png 1024w, https://glu.global/wp-content/uploads/2023/02/image-204-300x136.png 300w, https://glu.global/wp-content/uploads/2023/02/image-204-768x349.png 768w, https://glu.global/wp-content/uploads/2023/02/image-204-50x23.png 50w, https://glu.global/wp-content/uploads/2023/02/image-204.png 1117w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>


<p><br>This feature provides the most efficient mechanism to quickly generate Request and Response payloads. We recommend that you use &#8216;working&#8217; sample test message templates too (as often sample templates in API specifications are not 100% correct).</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Parameter Validation</title>
		<link>https://glu.global/glu-guide/parameter-validation/</link>
		
		<dc:creator><![CDATA[Rahim Ghezali]]></dc:creator>
		<pubDate>Thu, 26 Jan 2023 21:14:15 +0000</pubDate>
				<guid isPermaLink="false">https://glu.global/?post_type=ht_kb&#038;p=3517</guid>

					<description><![CDATA[Validation rules can be created for two main types of parameters: Depending on the type of parameter, various types of validation are available. Hash&#160;is described in the GLU Functions &#38; Formulas article. Min/Max Length The min/max length validation applies to text parameters, specifying the acceptable character length, and to numeric parameters (integer or float), defining [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Validation rules can be created for two main types of parameters:</p>



<p></p>



<ol class="wp-block-list">
<li><strong>Inbound API Parameters (Request Parameters)</strong>: These are parameters passed to APIs as part of the inbound request.</li>



<li><strong>Response Parameters from Connectors in Orchestration (Response Parameters)</strong>: These are parameters generated as responses from connectors within an orchestration.</li>
</ol>



<p>Depending on the type of parameter, various types of validation are available.</p>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="635" height="150" src="https://glu.global/wp-content/uploads/2023/01/image-109.png" alt="" class="wp-image-3527" style="width:846px;height:201px" srcset="https://glu.global/wp-content/uploads/2023/01/image-109.png 635w, https://glu.global/wp-content/uploads/2023/01/image-109-300x71.png 300w, https://glu.global/wp-content/uploads/2023/01/image-109-50x12.png 50w" sizes="auto, (max-width: 635px) 100vw, 635px" /></figure></div>


<p>Hash&nbsp;is described in the <a rel="noreferrer noopener" href="https://glu.global/glu-guide/derived-parameters-functions-and-formulas/" data-type="ht_kb" data-id="3548" target="_blank">GLU Functions &amp; Formulas</a> article.</p>



<p></p>



<h1 class="wp-block-heading has-medium-font-size"><strong>Min/Max Length</strong></h1>



<p></p>



<p>The min/max length validation applies to text parameters, specifying the acceptable character length, and to numeric parameters (integer or float), defining the allowable number of digits.</p>



<p>Here&#8217;s how it works:</p>



<ul class="wp-block-list">
<li>If the min length is left null, only the max length is enforced.</li>



<li>If the max length is left null, only the min length is enforced.</li>
</ul>



<p></p>



<p class="has-small-font-size"></p>



<p><strong>Example:</strong></p>



<p>Suppose we set Min = 2 and Max = 4:</p>



<ul class="wp-block-list">
<li>&#8220;hello world&#8221; would fail as it exceeds the max length of 4 characters.</li>



<li>&#8220;h&#8221; would fail as it falls short of the min length of 2 characters.</li>



<li>&#8220;hell&#8221; would pass as it falls within the range of 2 to 4 characters.</li>



<li>Integer &#8220;232&#8221; would pass as it falls within the range of 2 to 4 digits.</li>



<li>Integer &#8220;23&#8221; would pass as it matches the min length of 2 digits.</li>



<li>Integer &#8220;2324&#8221; would pass as it matches the max length of 4 digits.</li>
</ul>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="596" height="813" src="https://glu.global/wp-content/uploads/2023/01/image-102.png" alt="" class="wp-image-3519" style="width:487px;height:664px" srcset="https://glu.global/wp-content/uploads/2023/01/image-102.png 596w, https://glu.global/wp-content/uploads/2023/01/image-102-220x300.png 220w, https://glu.global/wp-content/uploads/2023/01/image-102-37x50.png 37w" sizes="auto, (max-width: 596px) 100vw, 596px" /></figure></div>


<p class="has-small-font-size"></p>



<p><strong>Example Use Case:</strong></p>



<p>You could validate the length of an incoming parameter to route it to a specific action based on its length. To achieve this, you can create a <strong>Derived Parameter</strong> to calculate length then add a Handler to route based on the Derived Parameter value (i.e. length). In this case, the Derived Parameter formula might look like this: <em><strong>${token_num}.length()</strong></em></p>



<p></p>



<p></p>



<h1 class="wp-block-heading has-medium-font-size"><strong>Min/Max Value</strong></h1>



<p>The min/max value validation applies to numeric parameters, specifying the acceptable range of values.</p>



<p>Here&#8217;s how it works:</p>



<ul class="wp-block-list">
<li>If the min value is left null, only the max value is enforced.</li>



<li>If the max value is left null, only the min value is enforced.</li>
</ul>



<p class="has-small-font-size"></p>



<p><strong>Example:</strong></p>



<p>Suppose we set Min = 2 and Max = 4:</p>



<ul class="wp-block-list">
<li>Integer &#8220;27&#8221; would fail as it exceeds the max value of 4.</li>



<li>Integer &#8220;1&#8221; would fail as it falls short of the min value of 2.</li>



<li>Integer &#8220;3&#8221; would pass as it falls within the range of 2 to 4.</li>



<li>Integer &#8220;2&#8221; would pass as it matches the min value of 2.</li>



<li>Integer &#8220;4&#8221; would pass as it matches the max value of 4.</li>
</ul>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="584" height="842" src="https://glu.global/wp-content/uploads/2023/01/image-103.png" alt="" class="wp-image-3520" style="width:483px;height:696px" srcset="https://glu.global/wp-content/uploads/2023/01/image-103.png 584w, https://glu.global/wp-content/uploads/2023/01/image-103-208x300.png 208w, https://glu.global/wp-content/uploads/2023/01/image-103-35x50.png 35w" sizes="auto, (max-width: 584px) 100vw, 584px" /></figure></div>


<h1 class="wp-block-heading has-medium-font-size"><strong>Regex</strong></h1>



<p>Regex (regular expression) validation allows you to define complex patterns for parameter values using regular expressions.</p>



<p>Here&#8217;s how it works:</p>



<ul class="wp-block-list">
<li>Enter the regular expression pattern into the regex field.</li>



<li>You can use online resources like regex cheat sheets or testers to build and test your regular expressions before configuring them in the validation.</li>
</ul>



<p class="has-small-font-size"></p>



<p><strong>Example:</strong></p>



<p>Suppose we set RegEx (Alpha Only) as [a-zA-Z]*:</p>



<ul class="wp-block-list">
<li>String &#8220;hello_world&#8221; would fail as it contains a special character.</li>



<li>String &#8220;hello2&#8221; would fail as it contains a number.</li>



<li>String &#8220;helloWorld&#8221; would pass as it contains only letters (alpha only).</li>
</ul>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="591" height="810" src="https://glu.global/wp-content/uploads/2023/01/image-104.png" alt="" class="wp-image-3521" style="aspect-ratio:0.7287157287157288;width:458px" srcset="https://glu.global/wp-content/uploads/2023/01/image-104.png 591w, https://glu.global/wp-content/uploads/2023/01/image-104-219x300.png 219w, https://glu.global/wp-content/uploads/2023/01/image-104-36x50.png 36w" sizes="auto, (max-width: 591px) 100vw, 591px" /></figure></div>


<p></p>



<h1 class="wp-block-heading has-medium-font-size"><strong>Date Format</strong></h1>



<p></p>



<p><br>The <strong>format field</strong> should be used to set the required date format for the parameter.</p>



<p>For instance, if the date format is set to dd-mm-yyyy:</p>



<ul class="wp-block-list">
<li>If &#8220;23-OCT-2019&#8221; is passed in as a date, it would not pass the validation, and an error would be raised.</li>



<li>However, if &#8220;23-10-2019&#8221; is passed in as a date, it would pass validation.</li>
</ul>



<p>Date formats adhere to the ISO 8601 standard. The recommended date format is &#8220;2012-04-23T18:25:43.511Z&#8221;.</p>



<p>It is recommended to ensure date formats used:</p>



<p></p>



<ol class="wp-block-list">
<li><strong>Human-readable yet succinct</strong>: Choose formats that are easy for humans to interpret at a glance but also compact to save space and improve readability.</li>



<li><strong>Sorting order</strong>: Opt for formats that allow for correct sorting, ensuring that dates are arranged chronologically when sorted alphabetically.</li>



<li><strong>Include fractional seconds</strong>: Incorporate fractional seconds whenever possible, as this can aid in accurately establishing the chronology of events, especially in high-frequency systems.</li>



<li><strong>Compliance with ISO 8601</strong>: Ensure that the chosen date formats conform to the ISO 8601 standard, which provides a globally recognized and standardized format for representing dates and times.</li>
</ol>



<p></p>



<p>For a more detailed view of date formatting please refer to <a href="https://glu.global/glu-guide/derived-parameters-functions-and-formulas/" data-type="ht_kb" data-id="3548" target="_blank" rel="noreferrer noopener">GLU Formulas &amp; Functions</a></p>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="585" height="650" src="https://glu.global/wp-content/uploads/2023/01/image-105.png" alt="" class="wp-image-3522" style="aspect-ratio:0.8998211091234347;object-fit:cover;width:458px" srcset="https://glu.global/wp-content/uploads/2023/01/image-105.png 585w, https://glu.global/wp-content/uploads/2023/01/image-105-270x300.png 270w, https://glu.global/wp-content/uploads/2023/01/image-105-45x50.png 45w" sizes="auto, (max-width: 585px) 100vw, 585px" /></figure></div>


<p></p>



<h1 class="wp-block-heading has-medium-font-size"><strong>Image</strong></h1>



<p></p>



<p>For an image parameter, setting a default value means that if no image base64 value is provided for the parameter, the default base64 value will be used instead.</p>



<p></p>



<p>This base64 image decoder can be used to extract a base64 image string.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="590" height="386" src="https://glu.global/wp-content/uploads/2023/01/image-106.png" alt="" class="wp-image-3523" style="aspect-ratio:1.5315315315315314;width:458px" srcset="https://glu.global/wp-content/uploads/2023/01/image-106.png 590w, https://glu.global/wp-content/uploads/2023/01/image-106-300x196.png 300w, https://glu.global/wp-content/uploads/2023/01/image-106-50x33.png 50w" sizes="auto, (max-width: 590px) 100vw, 590px" /></figure></div>


<p></p>



<p>All data types have a default value field, which can be set if the parameter is passed in without a value set.</p>



<p></p>



<h1 class="wp-block-heading has-medium-font-size"><strong>Default</strong></h1>



<p>The default value needs to adhere to the data type it configures and needs to adhere to the validation rules applied.</p>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="591" height="806" src="https://glu.global/wp-content/uploads/2023/01/image-107.png" alt="" class="wp-image-3524" style="aspect-ratio:0.7332361516034985;width:458px" srcset="https://glu.global/wp-content/uploads/2023/01/image-107.png 591w, https://glu.global/wp-content/uploads/2023/01/image-107-220x300.png 220w, https://glu.global/wp-content/uploads/2023/01/image-107-37x50.png 37w" sizes="auto, (max-width: 591px) 100vw, 591px" /></figure></div>


<p></p>



<h1 class="wp-block-heading has-medium-font-size"><strong>Required</strong></h1>



<p>All validation rules include a Boolean option to indicate whether the field is required or not</p>



<p>If the <strong>Required checkbox</strong> is checked, default values cannot be entered. This means that if a parameter is marked as required and no value is provided for it, the validation will fail.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="586" height="850" src="https://glu.global/wp-content/uploads/2023/01/image-108.png" alt="" class="wp-image-3525" style="aspect-ratio:0.6890322580645162;width:458px" srcset="https://glu.global/wp-content/uploads/2023/01/image-108.png 586w, https://glu.global/wp-content/uploads/2023/01/image-108-207x300.png 207w, https://glu.global/wp-content/uploads/2023/01/image-108-34x50.png 34w" sizes="auto, (max-width: 586px) 100vw, 586px" /></figure></div>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Masking Sensitive Data/Parameters in Logs</title>
		<link>https://glu.global/glu-guide/masking-sensitive-data-parameters-in-logs/</link>
		
		<dc:creator><![CDATA[Rahim Ghezali]]></dc:creator>
		<pubDate>Thu, 26 Jan 2023 20:59:47 +0000</pubDate>
				<guid isPermaLink="false">https://glu.global/?post_type=ht_kb&#038;p=3514</guid>

					<description><![CDATA[The GLU_MASK value masks the full line, so if you specify &#8220;username&#8221;: &#8220;GLU_MASK&#8221;, the value will also be included in the masking of &#8220;username&#8221; (e.g., &#8220;**********&#8221;). PARAM Masking Unchecking the &#8216;Mask PARAM Value in Logs&#8217; checkbox (which is checked by default) ensures that parameters&#8217; values are not masked in logs. Any payload tag (PAYLOAD logs) [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p></p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>Parameters in your messages can sometimes contain sensitive information, and revealing these values in logs poses a security risk. GLU.Engines generate two types of logs where values may need to be controlled:</p>



<p></p>



<p></p>



<ol class="wp-block-list">
<li><strong>PAYLOAD Logs</strong>: These logs include parameters within the payload of a message.</li>



<li><strong>PARAM Logs</strong>: These logs print parameters separately.</li>
</ol>
</blockquote>



<p></p>



<h2 class="wp-block-heading"><strong>PAYLOAD masks</strong><br></h2>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>The <strong>PAYLOAD mask</strong> specifically targets parameters within the payload when they are printed in logs. However, it does not mask the value when it is unmarshalling. To mask values when unmarshalled, adds a mask for the full string as it prints in the logs. <strong>PARAM masks</strong> are used to mask the value in the logs when it is unmarshalled.</p>



<p><br></p>



<p>To mask <strong>PAYLOAD values</strong>:</p>



<p></p>



<ol class="wp-block-list">
<li>Go to the <strong>&#8216;Transaction&#8217; </strong>level within the Transaction Manager Panel.</li>



<li>Use the <strong>&#8216;Mask PAYLOAD Values in Logs&#8217;</strong> field.</li>



<li>Define the <strong>&#8216;tags&#8217;</strong> for any values that need to be masked along with the GLU reserved word &#8220;GLU_MASK&#8221; (e.g., &#8220;username&#8221;:&#8221;GLU_MASK&#8221;). This will replace the value for &#8220;username&#8221; with &#8220;**********&#8221;.</li>
</ol>



<p><br><br>Since tags are used, any payload value can be masked, not just parameter values within the payload. Tags to be masked can be copied from your payload template configuration and will vary depending on the type of payload (XML, JSON, SQL call, etc.).</p>



<p></p>
</blockquote>
</blockquote>



<p>The GLU_MASK value masks the full line, so if you specify &#8220;username&#8221;: &#8220;GLU_MASK&#8221;, the value will also be included in the masking of &#8220;username&#8221; (e.g., &#8220;**********&#8221;).</p>



<p></p>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="640" height="194" src="https://glu.global/wp-content/uploads/2023/01/image-100.png" alt="" class="wp-image-3515" style="width:494px;height:auto" srcset="https://glu.global/wp-content/uploads/2023/01/image-100.png 640w, https://glu.global/wp-content/uploads/2023/01/image-100-300x91.png 300w, https://glu.global/wp-content/uploads/2023/01/image-100-50x15.png 50w" sizes="auto, (max-width: 640px) 100vw, 640px" /></figure></div>


<p></p>



<p></p>



<h2 class="wp-block-heading"><strong>PARAM Masking</strong></h2>



<p>Unchecking the <strong>&#8216;Mask PARAM Value in Logs&#8217; </strong>checkbox (which is checked by default) ensures that parameters&#8217; values are not masked in logs.</p>



<p></p>



<p>Any payload tag (PAYLOAD logs) or parameter name (PARAM logs) configured to be masked will be masked in all logs (INFO, WARN, DEBUG, etc.) associated with a particular transaction.</p>



<p></p>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Parameters Types and Configurations</title>
		<link>https://glu.global/glu-guide/parameters-types-and-configurations/</link>
		
		<dc:creator><![CDATA[Rahim Ghezali]]></dc:creator>
		<pubDate>Thu, 26 Jan 2023 09:18:13 +0000</pubDate>
				<guid isPermaLink="false">https://glu.global/?post_type=ht_kb&#038;p=3282</guid>

					<description><![CDATA[In the GLU Object Model, it is important for Parameter Names to be unique, i.e. when unmarshaling them. This uniqueness requirement applies regardless of whether the parameters are located in different parts of a message payload, such as within nested arrays or at different levels of a tree. When using the &#8216;Generate Parameters from Template&#8217; [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><br>In the <strong>GLU Object Model</strong>, it is important for <strong>Parameter Names</strong> to be unique, i.e. when unmarshaling them. This uniqueness requirement applies regardless of whether the parameters are located in different parts of a message payload, such as within nested arrays or at different levels of a tree.</p>



<p>When using the <strong>&#8216;Generate Parameters from Template&#8217;</strong> tool, or manually creating parameter names in the GLU Object Model, it&#8217;s possible to encounter situations where duplicate names are present. In such cases, the Console Validations will flag these duplicates as &#8216;Warnings,&#8217; indicating that they need to be addressed and resolved.</p>



<p></p>



<h1 class="wp-block-heading has-medium-font-size"><strong>Derived Parameters</strong></h1>



<p><br>Derived Parameters are a feature that allows you to apply formulas or functions to existing parameters, both on inbound requests and outbound responses.</p>



<p></p>



<p>For example, let&#8217;s say we have a parameter called <strong>&#8216;interestRate&#8217;</strong> with a value of &#8216;0.06&#8217;. We want to calculate a new parameter by multiplying this interest rate by 100 to get a percentage value. This is where derived parameters come into play.</p>



<p></p>



<p>In the derived parameter configuration, we specify the formula or function we want to apply, in this case, multiplying the &#8216;interestRate&#8217; by 100. The result will be a new parameter with a different name, let&#8217;s say &#8216;multipliedInterestRate&#8217;, containing the calculated value of &#8216;6&#8217;.<br></p>



<p>It&#8217;s essential to assign a unique name to the newly calculated parameter to avoid confusion with the original parameter(s). The common name format for derived parameters allows for spaces and special characters if needed, as it&#8217;s not used within the GLU.Engine itself.</p>



<p></p>



<h1 class="wp-block-heading has-medium-font-size"><strong>Time Parameters</strong></h1>



<p>Time Parameters serve to capture timestamps to mark the specific moments when requests or responses are sent or received by the GLU.Engine. You can achieve this by using either the <strong>&#8216;Response Time Parameter&#8217;</strong> for inbound and outbound responses or the &#8216;Submit Time Parameter&#8217; for outbound requests.<br></p>



<p>To create a Response Time Parameter, navigate to the response handler control panel. Here, you can define the parameter and specify its name. Once created, you can reference this parameter in the response template. Additionally, in the marshaling panel of this parameter, you can define the date and time format to suit your requirements.</p>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="497" height="685" src="https://glu.global/wp-content/uploads/2023/01/image-77.png" alt="" class="wp-image-3471" style="aspect-ratio:0.7252906976744186;width:468px" srcset="https://glu.global/wp-content/uploads/2023/01/image-77.png 497w, https://glu.global/wp-content/uploads/2023/01/image-77-218x300.png 218w, https://glu.global/wp-content/uploads/2023/01/image-77-36x50.png 36w" sizes="auto, (max-width: 497px) 100vw, 497px" /><figcaption class="wp-element-caption"><br></figcaption></figure></div>

<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="493" height="482" src="https://glu.global/wp-content/uploads/2023/01/image-78.png" alt="" class="wp-image-3472" style="aspect-ratio:1.022680412371134;width:468px" srcset="https://glu.global/wp-content/uploads/2023/01/image-78.png 493w, https://glu.global/wp-content/uploads/2023/01/image-78-300x293.png 300w, https://glu.global/wp-content/uploads/2023/01/image-78-50x50.png 50w" sizes="auto, (max-width: 493px) 100vw, 493px" /><figcaption class="wp-element-caption"><br></figcaption></figure></div>

<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="480" height="428" src="https://glu.global/wp-content/uploads/2023/01/image-79.png" alt="" class="wp-image-3473" style="aspect-ratio:1.1207289293849658;width:468px" srcset="https://glu.global/wp-content/uploads/2023/01/image-79.png 480w, https://glu.global/wp-content/uploads/2023/01/image-79-300x268.png 300w, https://glu.global/wp-content/uploads/2023/01/image-79-50x45.png 50w" sizes="auto, (max-width: 480px) 100vw, 480px" /></figure></div>


<p></p>



<h1 class="wp-block-heading has-medium-font-size"><strong>Request Parameters</strong></h1>



<p></p>



<p>For each parameter being received, the <strong>&#8216;Parameter Manager Panel&#8217;</strong> serves as the tool to define various characteristics and specify how each parameter should be handled by the GLU.Engine. To add parameters for the relevant request, simply use the <strong>&#8216;Add Parameters&#8217;</strong> button located under the <strong>&#8216;Parameters Panel&#8217;</strong>.</p>



<p><br>See the next major section for details on Parameter Types and Validation Rules.</p>



<p></p>



<h1 class="wp-block-heading has-medium-font-size"><strong>Validation</strong></h1>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="494" height="711" src="https://glu.global/wp-content/uploads/2023/01/image-80.png" alt="" class="wp-image-3474" style="aspect-ratio:0.6958333333333333;width:468px" srcset="https://glu.global/wp-content/uploads/2023/01/image-80.png 494w, https://glu.global/wp-content/uploads/2023/01/image-80-208x300.png 208w, https://glu.global/wp-content/uploads/2023/01/image-80-35x50.png 35w" sizes="auto, (max-width: 494px) 100vw, 494px" /></figure></div>


<p></p>



<p></p>



<p>One can also define &#8216;Validation&#8217; rules for each parameter, serving to safeguard downstream systems against inbound messages that do not adhere to the specified validation criteria. This capability of the GLU.Engine adds a layer of load and performance protection to downstream Receiving Systems.<br></p>



<p>When a parameter fails to meet the validation rules, an error message is generated, indicating the specific parameter and the rule it violated. For example, an error message might state &#8220;textLength less than Min length.&#8221; The types of parameter validation rules available depend on the parameter &#8216;Type&#8217; being received:</p>



<p></p>



<ul class="wp-block-list">
<li><strong>Min / Max Length</strong>: Specifies the minimum and maximum number of characters allowed for the parameter.</li>



<li><strong>Min / Max Value</strong>: Establishes the minimum and maximum allowed numerical values for the parameter.</li>



<li><strong>Regex</strong>: Provides the option to apply a Regular Expression validator, enabling custom pattern matching (resources such as <a href="https://www.regextester.com/" target="_blank" rel="noreferrer noopener">regextester</a> can assist in defining your Regex).</li>



<li><strong>Default</strong>: Allows the addition of a default value at the GLU.Engine layer if the parameter is not received from the &#8216;Initiating System&#8217;. If a parameter with that Parameter Name is received, the GLU.Engine will pass the received value; if not received, the GLU.Engine passes the default value.</li>
</ul>



<p></p>



<h1 class="wp-block-heading has-medium-font-size"><strong>Make visible in logs</strong></h1>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="493" height="552" src="https://glu.global/wp-content/uploads/2023/01/image-81.png" alt="" class="wp-image-3475" style="aspect-ratio:0.8944636678200693;width:468px" srcset="https://glu.global/wp-content/uploads/2023/01/image-81.png 493w, https://glu.global/wp-content/uploads/2023/01/image-81-268x300.png 268w, https://glu.global/wp-content/uploads/2023/01/image-81-45x50.png 45w" sizes="auto, (max-width: 493px) 100vw, 493px" /></figure></div>


<p><br>Indicates that the Parameter will be included in the <strong><em>gluware.log</em></strong>. If un-checked, the Parameter will not be visible in the logs. </p>



<h1 class="wp-block-heading has-medium-font-size"><strong>Parameter Type</strong>s</h1>



<h2 class="wp-block-heading has-medium-font-size"><strong>Text</strong></h2>



<p></p>



<p><strong>&#8216;Text&#8217;</strong> type parameters accept only simple alpha characters. The validation configuration options for such parameters include:</p>



<p></p>



<ul class="wp-block-list">
<li><strong>Required</strong>: This indicates that the parameter must be received. If it is not received, the GLU.Engine halts the transaction and returns a &#8216;parameter required&#8217; response to the initiating system. The logs will also reflect this condition.</li>



<li><strong>Make Visible in logs</strong>: This option determines whether the parameter will be included in the <em>gluware.log</em>. If unchecked, the parameter will not appear in the logs.</li>
</ul>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="494" height="711" src="https://glu.global/wp-content/uploads/2023/01/image-83.png" alt="" class="wp-image-3477" style="aspect-ratio:0.6957708049113234;width:468px" srcset="https://glu.global/wp-content/uploads/2023/01/image-83.png 494w, https://glu.global/wp-content/uploads/2023/01/image-83-208x300.png 208w, https://glu.global/wp-content/uploads/2023/01/image-83-35x50.png 35w" sizes="auto, (max-width: 494px) 100vw, 494px" /><figcaption class="wp-element-caption"><br></figcaption></figure></div>

<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="493" height="552" src="https://glu.global/wp-content/uploads/2023/01/image-84.png" alt="" class="wp-image-3478" style="aspect-ratio:0.8938053097345132;width:468px" srcset="https://glu.global/wp-content/uploads/2023/01/image-84.png 493w, https://glu.global/wp-content/uploads/2023/01/image-84-268x300.png 268w, https://glu.global/wp-content/uploads/2023/01/image-84-45x50.png 45w" sizes="auto, (max-width: 493px) 100vw, 493px" /></figure></div>


<p></p>



<h2 class="wp-block-heading has-medium-font-size"><strong>Image</strong></h2>



<p><strong>Images</strong> can be received as parameters in the form of an encoded object, such as Base64. In such cases, you can specify the following configurations for the parameter:</p>



<p></p>



<ul class="wp-block-list">
<li><strong>Required</strong>: This checkbox indicates whether the parameter must be received. If checked, the GLU.Engine expects the parameter, and if it&#8217;s not received, the transaction is affected accordingly.</li>



<li><strong>Default</strong>: This field allows you to assign a default value to the parameter. It is useful when the image is added at the GLU.Engine layer instead of being received from the &#8216;Initiating System&#8217;.</li>
</ul>



<p></p>



<p>The encoded object representing the image can be passed regardless of the format (JSON or XML) being used.</p>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="491" height="310" src="https://glu.global/wp-content/uploads/2023/01/image-85.png" alt="" class="wp-image-3479" style="width:494px;height:312px" srcset="https://glu.global/wp-content/uploads/2023/01/image-85.png 491w, https://glu.global/wp-content/uploads/2023/01/image-85-300x189.png 300w, https://glu.global/wp-content/uploads/2023/01/image-85-50x32.png 50w" sizes="auto, (max-width: 491px) 100vw, 491px" /></figure></div>


<h2 class="wp-block-heading has-medium-font-size"><strong>Float</strong></h2>



<p>A &#8216;Float&#8217; type Parameter is a numeral, potentially with decimals as might be the case for a monetary value. The validation configuration options are as follows: </p>



<ul class="wp-block-list">
<li> <strong>Required</strong>: Indicates that the Parameter must be received.</li>
</ul>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="498" height="712" src="https://glu.global/wp-content/uploads/2023/01/image-86.png" alt="" class="wp-image-3480" style="aspect-ratio:0.7001455604075691;width:469px;height:auto" srcset="https://glu.global/wp-content/uploads/2023/01/image-86.png 498w, https://glu.global/wp-content/uploads/2023/01/image-86-210x300.png 210w, https://glu.global/wp-content/uploads/2023/01/image-86-35x50.png 35w" sizes="auto, (max-width: 498px) 100vw, 498px" /></figure></div>


<p></p>



<h2 class="wp-block-heading has-medium-font-size"><strong>Integer</strong></h2>



<p></p>



<p>An <strong>&#8216;Integer&#8217;</strong> type parameter represents a whole number without fractions or decimals. Here are the validation configuration options available for this parameter type:</p>



<p></p>



<ul class="wp-block-list">
<li><strong>Required</strong>: This checkbox indicates whether the parameter must be received. If checked, the GLU.Engine expects the parameter, and if it&#8217;s not received, the transaction is affected accordingly.</li>



<li><strong>Make Visible in logs</strong>: This checkbox determines whether the parameter will be included in the gluware.log. If unchecked, the parameter will not appear in the logs.</li>



<li><strong>Min / Max Length</strong>: This option specifies the minimum and maximum number of characters allowed for the parameter.</li>



<li><strong>Min / Max Value</strong>: These options define the minimum and maximum numeric values allowed for the parameter.</li>



<li><strong>Regex</strong>: This field provides the option to add a Regular Expression validator. Resources such as <a href="https://www.regextester.com">RegexTester</a> can assist in defining your Regex.</li>



<li><strong>Default</strong>: This field allows you to specify a default value for the parameter. It is used when the value is added at the GLU.Engine layer rather than being received from the &#8216;Initiating System&#8217;.</li>
</ul>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="486" height="700" src="https://glu.global/wp-content/uploads/2023/01/image-87.png" alt="" class="wp-image-3481" style="aspect-ratio:0.6952104499274311;width:465px;height:auto" srcset="https://glu.global/wp-content/uploads/2023/01/image-87.png 486w, https://glu.global/wp-content/uploads/2023/01/image-87-208x300.png 208w, https://glu.global/wp-content/uploads/2023/01/image-87-35x50.png 35w" sizes="auto, (max-width: 486px) 100vw, 486px" /></figure></div>


<p></p>



<h2 class="wp-block-heading has-medium-font-size" id="hashparameter"><strong>Hash</strong></h2>



<p></p>



<p>A <strong>&#8216;Hash&#8217;</strong> type parameter is as a secure value, typically used for sensitive data like passwords. It employs a <em>Secure Hash Algorithm (SHA)</em>, a cryptographic function designed to secure data by transforming it into a fixed-size string called a hash value. This process makes it extremely difficult to reverse-engineer the original data from the hash.</p>



<p>The purpose of using a SHA is twofold: firstly, to encrypt sensitive parameters like passwords so that only the hash values are stored on the server, not the actual passwords. Secondly, SHAs can detect data tampering, making them effective against &#8220;Man-in-the-Middle&#8221; attacks.</p>



<p>GLU.Ware supports various SHA options, including <strong>SHA-1, SHA-256, SHA-384</strong>, and <strong>SHA-512</strong>, as well as the older MD5 verification. However, MD5 and SHA-1 are considered compromised and should be avoided for security reasons.<br></p>



<p>The choice of SHA option impacts security and system processing load. Higher SHA options offer greater security but require more processing power.</p>



<p>When configuring a hash parameter, you specify the input data for the Hash Algorithm using a Hash Expression. For example, you can use specific parameters from a request, such as<em> &#8220;accountID&#8221;</em> and <em>&#8220;amount&#8221;</em>. Additionally, a Salt Key can be added to enhance security. The Salt Key introduces an external input to the hash process, not present in the original message.</p>



<p>The <strong>&#8216;Create Hash&#8217;</strong> flag determines whether the GLU.Engine generates and passes the hash or simply passes what it receives from the Initiating System. If <strong>&#8216;Create Hash&#8217;</strong> is unchecked, a <strong>&#8216;Default&#8217;</strong> value can be set to be used if the Initiating System fails to send a value.</p>



<p></p>



<p>It&#8217;s crucial to share the Salt Key and Hash Type with the Receiving System to ensure consistency in hashing. The Salt Key can be any random value agreed upon by both systems.</p>



<p><br>If the <strong>&#8216;Create Hash&#8217;</strong> is not checked, a <strong>&#8216;Default&#8217;</strong> value can also be set such that if the <strong>&#8216;Initiating System&#8217; </strong>fails to send a value, the <strong>&#8216;Default&#8217;</strong> value will be used.</p>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="495" height="578" src="https://glu.global/wp-content/uploads/2023/01/image-88.png" alt="" class="wp-image-3482" style="width:534px;height:625px" srcset="https://glu.global/wp-content/uploads/2023/01/image-88.png 495w, https://glu.global/wp-content/uploads/2023/01/image-88-257x300.png 257w, https://glu.global/wp-content/uploads/2023/01/image-88-43x50.png 43w" sizes="auto, (max-width: 495px) 100vw, 495px" /></figure></div>


<h2 class="wp-block-heading has-medium-font-size"><strong>Date</strong></h2>



<p></p>



<p>The <strong>&#8216;Date&#8217; </strong>parameter type is must be used when handling dates or times within the GLU engine. Functions like <strong><em>DIFFTIMESTAMP()</em></strong> necessitate parameters to be of a date type.</p>



<p>In order to save a value as a date type, you must specify the unmarshalling date format to ensure the engine interprets the date correctly.</p>



<p><strong>Example:</strong> If you receive a date in the format of &#8216;2020-10-21 15:10:03&#8217;, you can configure the unmarshalling panel as follows:</p>



<ul class="wp-block-list">
<li>Date Format: YYYY-MM-DD HH24:MI:SS</li>
</ul>



<p><strong>Note:</strong> Epoch dates (timestamps), such as 1619520000 (which corresponds to 27th April 2021, 12:00:00 UTC), are processed in the same manner as standard dates.</p>



<p>This ensures that the engine correctly understands the date format and processes it accordingly.</p>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="483" height="499" src="https://glu.global/wp-content/uploads/2023/01/image-89.png" alt="" class="wp-image-3483" style="aspect-ratio:0.9686924493554327;width:468px" srcset="https://glu.global/wp-content/uploads/2023/01/image-89.png 483w, https://glu.global/wp-content/uploads/2023/01/image-89-290x300.png 290w, https://glu.global/wp-content/uploads/2023/01/image-89-48x50.png 48w" sizes="auto, (max-width: 483px) 100vw, 483px" /></figure></div>


<p><br><strong>Example with timezone:</strong> </p>



<p><strong><em>20201021T13:25:04+0330</em></strong> then the unmarshalling panel would have: </p>



<p><strong><em>yyyyMMdd&#8217;T&#8217;HH:mm:ssZ</em></strong><br><br><em>&#8220;ResponseAsTime1&#8221;: &#8220;2022-03-11 11:12:49:1249&#8221;,   &#8220;RequestAsTime2 G-yy-MMMM-w-W-D-E-u-a-k-h-z-Z-X&#8221;: &#8220;AD-22-March-11-2-70-Fri-5-AM-11-11-GMT-+0000-Z&#8221; </em><br><br>The following table defined the syntax to use, with&nbsp;<strong>locale</strong>&nbsp;being set to match the language which the GLU.Engine was initiated with (see XX).</p>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="711" height="467" src="https://glu.global/wp-content/uploads/2023/01/image-90.png" alt="" class="wp-image-3484" srcset="https://glu.global/wp-content/uploads/2023/01/image-90.png 711w, https://glu.global/wp-content/uploads/2023/01/image-90-300x197.png 300w, https://glu.global/wp-content/uploads/2023/01/image-90-50x33.png 50w" sizes="auto, (max-width: 711px) 100vw, 711px" /></figure></div>


<p><br></p>



<p>Also note the following additional&nbsp;<strong>Letters for Pattern</strong></p>



<p><br>&#8211;&nbsp;<strong>ms</strong>&nbsp;gives microseconds to the thousands of a second. See example below:<br><br><em>&#8220;ResponseAsTime1&#8221;: &#8220;2022-03-11 11:12:49:1249&#8221;,   &#8220;RequestAsTime2 G-yy-MMMM-w-W-D-E-u-a-k-h-ms&#8221;: &#8220;AD-22-March-11-2-70-Fri-5-AM-11-1249&#8221;</em><br><br><strong>Example 1:</strong> format: E dd MMM yyyy HH:mm:ss z output: Thu 09 Jun 2022 10:10:06 CAT</p>



<h3 class="wp-block-heading has-medium-font-size"><strong>Outbound Date Marshalling</strong></h3>



<p>When completing outbound marshalling, you can set a date parameter to hold a specific format by using the Date Format in the marshalling panel.</p>



<p><strong>Example:</strong> <em>2020-10-21T13:25:04</em> then the marshalling date</p>



<p><strong>format would be:</strong><em> yyyy-MM-dd&#8217;T&#8217;HH:mm:ss</em></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
