<?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>SDLC and Environments &#8211; GLU Global</title>
	<atom:link href="https://glu.global/article-categories/sdlc-environments/feed/" rel="self" type="application/rss+xml" />
	<link>https://glu.global</link>
	<description>Innovation at Speed</description>
	<lastBuildDate>Thu, 25 Apr 2024 09:27:10 +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>SDLC and Environments &#8211; GLU Global</title>
	<link>https://glu.global</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Environment Variables</title>
		<link>https://glu.global/glu-guide/environment-variables/</link>
		
		<dc:creator><![CDATA[Owen Meredith]]></dc:creator>
		<pubDate>Mon, 30 Jan 2023 11:30:40 +0000</pubDate>
				<guid isPermaLink="false">https://glu.global/?post_type=ht_kb&#038;p=3684</guid>

					<description><![CDATA[It is possible to configure a set of variables such that the values of the Variable will change depending on the Environment which the GLU.Engine is run on. This allows the user to not set fixed values inside the configuration itself and then need to change this during the lifecycle of your engine. An example [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>It is possible to configure a set of variables such that the values of the Variable will change depending on the Environment which the GLU.Engine is run on. This allows the user to not set fixed values inside the configuration itself and then need to change this during the lifecycle of your engine. </p>



<p>An example of this is if you want to change a Slack channel which messages are sent to depending on whether you are deploying on a development environment or a production environment. It is possible to have a single variable name such as &#8220;slackKeyValue&#8221; with the channel keys for development and production being different.</p>



<h2 class="wp-block-heading">How to set this up: </h2>



<h1 class="wp-block-heading has-medium-font-size">1. Setup your <strong>Global Variables</strong></h1>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="66" src="https://glu.global/wp-content/uploads/2023/02/image-148-1024x66.png" alt="" class="wp-image-5564" srcset="https://glu.global/wp-content/uploads/2023/02/image-148-1024x66.png 1024w, https://glu.global/wp-content/uploads/2023/02/image-148-300x19.png 300w, https://glu.global/wp-content/uploads/2023/02/image-148-768x50.png 768w, https://glu.global/wp-content/uploads/2023/02/image-148-50x3.png 50w, https://glu.global/wp-content/uploads/2023/02/image-148.png 1125w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Press the &#8220;Global Variables&#8221; button in the Environments tool, to access the Variable configuration screen.<br><br>The Global Variables screen shows the variables that exist. It is possible to &#8220;Add Variables&#8221;, and to modify and delete existing variables from this screen. Each Variable must have a unique name per Client, with a description of what the variable is used for.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" width="1024" height="67" src="https://glu.global/wp-content/uploads/2023/02/image-149-1024x67.png" alt="" class="wp-image-5570" srcset="https://glu.global/wp-content/uploads/2023/02/image-149-1024x67.png 1024w, https://glu.global/wp-content/uploads/2023/02/image-149-300x20.png 300w, https://glu.global/wp-content/uploads/2023/02/image-149-768x50.png 768w, https://glu.global/wp-content/uploads/2023/02/image-149-50x3.png 50w, https://glu.global/wp-content/uploads/2023/02/image-149.png 1119w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>


<p>If you add or modify a variable you will be presented with the &#8216;Edit Variable&#8217; dialogue.</p>



<p>In this dialogue, you can define/modify the name of the variable and description. For each environment, you can set the value to be used. It is not necessary to enter values for Environments that are not used. If the value is left empty, then null will be present in the GLU.Engine when used in that environment. Once Variables have been set per environment, those variables will be used for each GLU.Engine Environment-specific build.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="481" height="599" src="https://glu.global/wp-content/uploads/2023/02/image-150.png" alt="" class="wp-image-5573" srcset="https://glu.global/wp-content/uploads/2023/02/image-150.png 481w, https://glu.global/wp-content/uploads/2023/02/image-150-241x300.png 241w, https://glu.global/wp-content/uploads/2023/02/image-150-40x50.png 40w" sizes="(max-width: 481px) 100vw, 481px" /></figure></div>


<p></p>



<h2 class="wp-block-heading has-medium-font-size">2. Use the variable in your integration</h2>



<p></p>



<p>The variable that you have created is now available to be used in your integration. It will be added to the parameter dropdown box with the prefix &#8220;env_&#8221; .</p>



<p><br>Example of global variables that will be present in the pulldown box with the &#8220;env_&#8221; prefix:</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="369" height="409" src="https://glu.global/wp-content/uploads/2023/02/image-152.png" alt="" class="wp-image-5582" srcset="https://glu.global/wp-content/uploads/2023/02/image-152.png 369w, https://glu.global/wp-content/uploads/2023/02/image-152-271x300.png 271w, https://glu.global/wp-content/uploads/2023/02/image-152-45x50.png 45w" sizes="auto, (max-width: 369px) 100vw, 369px" /></figure></div>


<p>Example of using a global variable in the context name:</p>



<p><em>/${header.env_slackKeyValue}</em> &#8230; where the variable defined was <em>slackKeyValue</em> and the <em>env_</em> is the prefix to identify the variable as a global variable and the <em>/${header.</em> represents part of the parameter being passed to the URI.<br></p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="369" height="512" src="https://glu.global/wp-content/uploads/2023/02/image-151.png" alt="" class="wp-image-5580" srcset="https://glu.global/wp-content/uploads/2023/02/image-151.png 369w, https://glu.global/wp-content/uploads/2023/02/image-151-216x300.png 216w, https://glu.global/wp-content/uploads/2023/02/image-151-36x50.png 36w" sizes="auto, (max-width: 369px) 100vw, 369px" /></figure></div>


<h1 class="wp-block-heading has-medium-font-size"><strong>Masking Environment Variables in the logs</strong></h1>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="485" height="596" src="https://glu.global/wp-content/uploads/2023/02/image-153.png" alt="" class="wp-image-5583" srcset="https://glu.global/wp-content/uploads/2023/02/image-153.png 485w, https://glu.global/wp-content/uploads/2023/02/image-153-244x300.png 244w, https://glu.global/wp-content/uploads/2023/02/image-153-41x50.png 41w" sizes="auto, (max-width: 485px) 100vw, 485px" /></figure></div>


<p><br>See how the values are masked in the logs</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="74" src="https://glu.global/wp-content/uploads/2023/02/image-154-1024x74.png" alt="" class="wp-image-5584" srcset="https://glu.global/wp-content/uploads/2023/02/image-154-1024x74.png 1024w, https://glu.global/wp-content/uploads/2023/02/image-154-300x22.png 300w, https://glu.global/wp-content/uploads/2023/02/image-154-768x55.png 768w, https://glu.global/wp-content/uploads/2023/02/image-154-50x4.png 50w, https://glu.global/wp-content/uploads/2023/02/image-154.png 1302w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br><strong>Note:</strong> avoid using variables in Header, Body, or query sections endpoint calls, as they will not be encrypted when presented in the logs. </p>



<h1 class="wp-block-heading has-medium-font-size"><strong>Using an Environment Variable in a Handler</strong></h1>



<p>Where an Environment Variable needs to have a condition applied and Action taken, when in the Integration Builder, and configuring the Handler, select the Environment Variable from the Parameter Name drop-down.</p>



<p>See the example below.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="367" height="508" src="https://glu.global/wp-content/uploads/2023/02/image-155.png" alt="" class="wp-image-5585" srcset="https://glu.global/wp-content/uploads/2023/02/image-155.png 367w, https://glu.global/wp-content/uploads/2023/02/image-155-217x300.png 217w, https://glu.global/wp-content/uploads/2023/02/image-155-36x50.png 36w" sizes="auto, (max-width: 367px) 100vw, 367px" /></figure></div>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Environments</title>
		<link>https://glu.global/glu-guide/environments-intro/</link>
		
		<dc:creator><![CDATA[Owen Meredith]]></dc:creator>
		<pubDate>Thu, 19 Jan 2023 17:42:56 +0000</pubDate>
				<guid isPermaLink="false">https://glu.global/?post_type=ht_kb&#038;p=2866</guid>

					<description><![CDATA[Environments can be configured to align to the Clients SDLC. There is no limit to the number of Environments that can be added. For instance, consider an SDLC encompassing phases like Development, System Integration Testing, Quality Assurance, and Production. In accordance with this SDLC, the following environments would be established: Each environment will have different outbound [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Environments can be configured to align to the Clients SDLC. There is no limit to the number of Environments that can be added. For instance, consider an SDLC encompassing phases like Development, System Integration Testing, Quality Assurance, and Production. </p>



<p></p>



<p>In accordance with this SDLC, the following environments would be established:</p>



<p></p>



<p></p>



<ol class="wp-block-list">
<li>Development (DEV)</li>



<li>System Integration Testing (SIT)</li>



<li>Quality Assurance (PRE-PROD)</li>



<li>Production (PROD)</li>
</ol>



<p></p>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter is-resized"><img loading="lazy" decoding="async" width="300" height="82" src="https://glu.global/wp-content/uploads/2023/01/Environments-300x82.png" alt="" class="wp-image-2867" style="width:835px;height:228px" srcset="https://glu.global/wp-content/uploads/2023/01/Environments-300x82.png 300w, https://glu.global/wp-content/uploads/2023/01/Environments-1024x280.png 1024w, https://glu.global/wp-content/uploads/2023/01/Environments-768x210.png 768w, https://glu.global/wp-content/uploads/2023/01/Environments-50x14.png 50w, https://glu.global/wp-content/uploads/2023/01/Environments-1536x420.png 1536w, https://glu.global/wp-content/uploads/2023/01/Environments.png 1585w" sizes="auto, (max-width: 300px) 100vw, 300px" /></figure></div>


<p><br></p>



<p>Each environment will have different outbound connectors, typically with distinct endpoints such as hosts (IP/Port or URLs). Therefore, it&#8217;s necessary to define environment-specific host details for each outbound connector within the GLU.Console. This approach ensures that all host configurations are centralised within GLU, eliminating the need for SDLC-related configuration changes outside of GLU.Engines as they progress through the SDLC.</p>



<p></p>



<p>It&#8217;s worth noting that maintaining a &#8220;PRE-PROD&#8221; environment mirroring the production environment, including all production host details, is beneficial. This setup allows for building a PRE-PROD GLU.Engine identical to the PROD GLU.Engine, facilitating PROD smoke testing. Once the &#8220;cut over&#8221; to PROD is approved, the transition can be seamlessly executed.</p>



<p></p>



<p></p>



<h1 class="wp-block-heading"><strong>Add Environment</strong></h1>



<p>Use the &#8216;Add Environment&#8217; Tool to add Environments, where the following details need to be provided.</p>



<figure class="wp-block-table"><table class="has-white-color has-text-color has-background" style="background:linear-gradient(135deg,rgb(6,147,227) 0%,rgb(155,81,224) 77%)"><thead><tr><th>Field Name</th><th>Description</th></tr></thead><tbody><tr><td>Environment Name</td><td>Assign a Unique Name for the Environment</td></tr><tr><td>Production Checkbox</td><td>To identify this as a &#8216;Production&#8217; Environment. When a build is created using this environment the GLU.Engine will be tagged as a &#8216;Release&#8217;. All preceding Environment related builds in the SDLC will be tagged as &#8216;snapshot&#8217; builds.</td></tr><tr><td>Description</td><td>To explain the purpose of this Environment</td></tr></tbody></table></figure>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter is-resized"><img loading="lazy" decoding="async" width="300" height="165" src="https://glu.global/wp-content/uploads/2023/01/AddEnvironment-300x165.png" alt="" class="wp-image-2871" style="aspect-ratio:1.81651376146789;width:500px" srcset="https://glu.global/wp-content/uploads/2023/01/AddEnvironment-300x165.png 300w, https://glu.global/wp-content/uploads/2023/01/AddEnvironment-50x27.png 50w, https://glu.global/wp-content/uploads/2023/01/AddEnvironment.png 761w" sizes="auto, (max-width: 300px) 100vw, 300px" /></figure></div>


<p></p>



<h1 class="wp-block-heading"><strong>Manage SDLC Tool</strong></h1>



<p>Use this tool to define a particular SDLC to be used for the specified Application which you select from the first pop-up box as below.</p>



<p></p>


<div class="wp-block-image">
<figure class="aligncenter is-resized"><img loading="lazy" decoding="async" width="300" height="150" src="https://glu.global/wp-content/uploads/2023/01/ManageSDLC-300x150.png" alt="" class="wp-image-2873" style="width:450px" srcset="https://glu.global/wp-content/uploads/2023/01/ManageSDLC-300x150.png 300w, https://glu.global/wp-content/uploads/2023/01/ManageSDLC-50x25.png 50w, https://glu.global/wp-content/uploads/2023/01/ManageSDLC.png 506w" sizes="auto, (max-width: 300px) 100vw, 300px" /></figure></div>


<p><br>Once selected, you can add your pre-defined &#8216;Environments&#8217; to this SDLC using the drop-down list. If an SDLC is going to conclude with a &#8216;Production&#8217; release, select one of the pre-defined Environments that you flagged as a &#8216;Production&#8217; Environment when using the &#8216;Add Environment&#8217; Tool.</p>



<p><br>There is no limit to the number of Environments you can add where the Production Checkbox has not been selected. You cannot add more than one &#8216;Prod&#8217; Environment to an SDLC.</p>



<p><br>The &#8216;grab handles&#8217; on the left of each &#8216;Environment Block&#8217; can be used to &#8216;drag&#8217; the Environments up or down, to adjust the SDLC sequence. The SDLC sequence is determined based on the top-down sequence of these Environment blocks. <br><br>The &#8216;Skip Test&#8217; toggle allows the Release Manager to quickly adjust the SDLC sequence. This may be useful for example where there is a Production bug that is low risk and urgent, instead of the fix having to follow the full SDLC sequence, the Release Manager can &#8216;Skip Testing&#8217; on any Environments (except if flagged as Production) to fast track the Production fix.&nbsp;The &#8216;red X&#8217; can be used to de-activate the environment. It is not possible to delete environments once created and used for historic audit reasons.</p>


<div class="wp-block-image">
<figure class="aligncenter is-resized"><img loading="lazy" decoding="async" width="300" height="151" src="https://glu.global/wp-content/uploads/2023/01/ManageSDLCConfig-300x151.png" alt="" class="wp-image-2874" style="aspect-ratio:1.9898989898989898;object-fit:cover;width:500px" srcset="https://glu.global/wp-content/uploads/2023/01/ManageSDLCConfig-300x151.png 300w, https://glu.global/wp-content/uploads/2023/01/ManageSDLCConfig-50x25.png 50w, https://glu.global/wp-content/uploads/2023/01/ManageSDLCConfig.png 756w" sizes="auto, (max-width: 300px) 100vw, 300px" /></figure></div>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
