<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 10:01:51 CET 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Magnolia - Issue tracker</title>
    <link>https://jira.magnolia-cms.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-uk</language>    <build-info>
        <version>9.4.2</version>
        <build-number>940002</build-number>
        <build-date>19-01-2023</build-date>
    </build-info>


<item>
            <title>[MGNLHOOK-181] Make REST client to use a proxy on SaaS, always</title>
                <link>https://jira.magnolia-cms.com/browse/MGNLHOOK-181</link>
                <project id="17487" key="MGNLHOOK">Magnolia Webhooks</project>
                    <description>&lt;p&gt;On SaaS, all the access from Magnolia instances to external URLs, will be done using a proxy, to enforce security.&lt;/p&gt;

&lt;p&gt;That&apos;s the reason why two things must be accomplished here:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.magnolia-cms.com/browse/MGNLRESTCL-14&quot; title=&quot;Using the restclient with a proxy server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MGNLRESTCL-14&quot;&gt;&lt;del&gt;MGNLRESTCL-14&lt;/del&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Retrieve the proxy to be used from configuration, as it is currently being done from &lt;b&gt;microprofile&lt;/b&gt;&#160;file for other services.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;To sum up, this story must ensure that REST client uses the SaaS deployed proxy. For that, it must:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Check if the Rest Client is running on a SaaS instance.&lt;/li&gt;
	&lt;li&gt;Read the configuration using &lt;b&gt;microprofile&lt;/b&gt; (as for example, it&apos;s being done with&#160;&lt;b&gt;info.magnolia.config.subscriptionService.endpoint&lt;/b&gt;), if we are on SaaS.&lt;/li&gt;
	&lt;li&gt;Automatically add that proxy to each RestClientDefinition configured.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The estimation here only refers to the configuration part, not the support for proxies on REST client (that will be managed in &lt;a href=&quot;https://jira.magnolia-cms.com/browse/MGNLRESTCL-14&quot; title=&quot;Using the restclient with a proxy server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MGNLRESTCL-14&quot;&gt;&lt;del&gt;MGNLRESTCL-14&lt;/del&gt;&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Also, upgrade REST client dependency on Webhooks module to 3.0 version.&lt;/b&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="116028">MGNLHOOK-181</key>
            <summary>Make REST client to use a proxy on SaaS, always</summary>
                <type id="14" iconUrl="https://jira.magnolia-cms.com/secure/viewavatar?size=xsmall&amp;avatarId=10895&amp;avatarType=issuetype">Story</type>
                                            <priority id="6" iconUrl="https://jira.magnolia-cms.com/images/icons/priorities/neutral.gif">Neutral</priority>
                        <status id="6" iconUrl="https://jira.magnolia-cms.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="jbenito">Javier Benito</assignee>
                                    <reporter username="jbenito">Javier Benito</reporter>
                        <labels>
                    </labels>
                <created>Wed, 20 Jul 2022 17:39:02 +0200</created>
                <updated>Tue, 18 Oct 2022 04:51:17 +0200</updated>
                            <resolved>Tue, 18 Oct 2022 04:51:17 +0200</resolved>
                                                    <fixVersion>2.0.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                    <progress percentage="100">
                                    <originalProgress>
                                                    <row percentage="0" backgroundColor="#89afd7"/>
                                                    <row percentage="100" backgroundColor="transparent"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="100" backgroundColor="#51a825"/>
                                                    <row percentage="0" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </progress>
                                    <aggregateprogress percentage="100">
                                    <originalProgress>
                                                    <row percentage="0" backgroundColor="#89afd7"/>
                                                    <row percentage="100" backgroundColor="transparent"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="100" backgroundColor="#51a825"/>
                                                    <row percentage="0" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </aggregateprogress>
                                                    <timespent seconds="14400">0.5d</timespent>
                                                                    <aggregatetimespent seconds="21600">0.75d</aggregatetimespent>
                                    <comments>
                            <comment id="316621" author="czimmermann" created="Wed, 27 Jul 2022 08:35:53 +0200"  >&lt;p&gt;Is the proxy already setup - is there an SRE ticket for that?&lt;/p&gt;</comment>
                            <comment id="316622" author="czimmermann" created="Wed, 27 Jul 2022 08:36:24 +0200"  >&lt;p&gt;is the proxy configuration allready i the microprofile? If not who is responsible for putting it there?&lt;/p&gt;</comment>
                            <comment id="316658" author="JIRAUSER22310" created="Wed, 27 Jul 2022 10:28:46 +0200"  >&lt;p&gt;&lt;a href=&quot;https://jira.magnolia-cms.com/secure/ViewProfile.jspa?name=czimmermann&quot; class=&quot;user-hover&quot; rel=&quot;czimmermann&quot;&gt;czimmermann&lt;/a&gt; yes, there is an SRE ticket for the proxy: &lt;a href=&quot;https://jira.magnolia-cms.com/browse/SRE-3375&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.magnolia-cms.com/browse/SRE-3375&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As far as I know, the proxy configuration is not in the microprofile, I guess it must be done in this story, I&apos;ll update the description to state it clearer.&lt;/p&gt;</comment>
                            <comment id="320275" author="JIRAUSER22310" created="Fri, 26 Aug 2022 15:48:13 +0200"  >&lt;p&gt;Details provided by &lt;a href=&quot;https://jira.magnolia-cms.com/secure/ViewProfile.jspa?name=rmartinr&quot; class=&quot;user-hover&quot; rel=&quot;rmartinr&quot;&gt;rmartinr&lt;/a&gt; about the proxy deployment on staging/production:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Related PR for the forward proxy (to be reviewed by SRE teammates):&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.magnolia-cms.com/projects/CLOUD/repos/magnolia-cloud/pull-requests/610/overview&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.magnolia-cms.com/projects/CLOUD/repos/magnolia-cloud/pull-requests/610/overview&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once merged and deployed in both SaaS clusters (staging and prod), you will be able to go through the proxy adding the URL &lt;tt&gt;nginx-forward-proxy.forward-proxy:80&lt;/tt&gt; to the request&#8217;s proxy settings.&lt;/p&gt;

&lt;p&gt;Based on the current config, the proxy will be only accesible within the cluster ( &lt;tt&gt;nginx-forward-proxy.forward-proxy&lt;/tt&gt; is an internal domain managed by k8s), so in order to test it, you will need to do it from some other container/service deployed in the cluster.&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="326890" author="oanh.thai" created="Tue, 18 Oct 2022 04:48:04 +0200"  >&lt;p&gt;QA has been done on staging. Publish and unpublish norsu node receive evens via &lt;a href=&quot;https://webhook.site/#!/83c72129-8157-4be6-940c-af04ee97e714/e9dd5aac-807d-4e9c-af5a-e7f01cebe5d9/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://webhook.site/#!/83c72129-8157-4be6-940c-af04ee97e714/e9dd5aac-807d-4e9c-af5a-e7f01cebe5d9/1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Publish event&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;102097_thumb&quot; href=&quot;https://jira.magnolia-cms.com/secure/attachment/102097/102097_publish.png&quot; title=&quot;publish.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;102097&quot; file-preview-title=&quot;publish.png&quot;&gt;&lt;img src=&quot;https://jira.magnolia-cms.com/secure/thumbnail/102097/_thumb_102097.png&quot; style=&quot;border: 0px solid black&quot; role=&quot;presentation&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Unpublish event&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;102096_thumb&quot; href=&quot;https://jira.magnolia-cms.com/secure/attachment/102096/102096_un-publish.png&quot; title=&quot;un-publish.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;102096&quot; file-preview-title=&quot;un-publish.png&quot;&gt;&lt;img src=&quot;https://jira.magnolia-cms.com/secure/thumbnail/102096/_thumb_102096.png&quot; style=&quot;border: 0px solid black&quot; role=&quot;presentation&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Check proxy configured in &lt;b&gt;microprofile&lt;/b&gt; in staging.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;102098_thumb&quot; href=&quot;https://jira.magnolia-cms.com/secure/attachment/102098/102098_micro-profile-proxy.png&quot; title=&quot;micro-profile-proxy.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;102098&quot; file-preview-title=&quot;micro-profile-proxy.png&quot;&gt;&lt;img src=&quot;https://jira.magnolia-cms.com/secure/thumbnail/102098/_thumb_102098.png&quot; style=&quot;border: 0px solid black&quot; role=&quot;presentation&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10460">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                        <issuelink>
            <issuekey id="109959">MGNLHOOK-25</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10020">
                    <name>dependency</name>
                                            <outwardlinks description="depends upon">
                                        <issuelink>
            <issuekey id="47036">MGNLRESTCL-14</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended upon by">
                                        <issuelink>
            <issuekey id="116427">MGNLHOOK-190</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10021">
                    <name>duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="116427">MGNLHOOK-190</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10022">
                    <name>supersession</name>
                                            <outwardlinks description="supersedes">
                                        <issuelink>
            <issuekey id="116223">MGNLHOOK-189</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="102098" name="micro-profile-proxy.png" size="149913" author="oanh.thai" created="Tue, 18 Oct 2022 04:45:55 +0200"/>
                            <attachment id="102097" name="publish.png" size="504368" author="oanh.thai" created="Tue, 18 Oct 2022 04:44:12 +0200"/>
                            <attachment id="102096" name="un-publish.png" size="554873" author="oanh.thai" created="Tue, 18 Oct 2022 04:44:11 +0200"/>
                    </attachments>
                <subtasks>
                            <subtask id="118384">MGNLHOOK-200</subtask>
                            <subtask id="118385">MGNLHOOK-201</subtask>
                            <subtask id="118386">MGNLHOOK-202</subtask>
                            <subtask id="118387">MGNLHOOK-203</subtask>
                            <subtask id="120027">MGNLHOOK-241</subtask>
                            <subtask id="120245">MGNLHOOK-247</subtask>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_14166" key="com.okapya.jira.checklist:checklist">
                        <customfieldname>Acceptance criteria</customfieldname>
                        <customfieldvalues>
                            
        <checklist>
        <![CDATA[
                            




                
                                    <div class="o-completion" style="display: flex; flex-shrink: 0;"><span  class="aui-lozenge aui-lozenge-complete" style="font-size: 12px; font-weight: normal; display: flex; flex-direction: row; align-items: center;" ><span style="padding-right: 4px; vertical-align: middle;"><svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" fill="white"><path clip-rule="evenodd" d="m10.41037,3.42544l-7.86501,0c-0.72395,0 -1.31084,0.58688 -1.31084,1.31084l0,7.86508c0,0.7239 0.58689,1.3108 1.31084,1.3108l7.86501,0c0.724,0 1.3109,-0.5869 1.3109,-1.3108l0,-7.86508c0,-0.72396 -0.5869,-1.31084 -1.3109,-1.31084zm-7.86501,-0.65542c-1.08593,0 -1.96626,0.88032 -1.96626,1.96626l0,7.86508c0,1.0859 0.88033,1.9662 1.96626,1.9662l7.86501,0c1.086,0 1.9663,-0.8803 1.9663,-1.9662l0,-7.86508c0,-1.08594 -0.8803,-1.96626 -1.9663,-1.96626l-7.86501,0z" fill-rule="evenodd"/><path d="m5.09049,10.18526l-1.82767,-1.82766l-0.78479,0.78479l2.61246,2.61246l5.38758,-5.38754l-0.78483,-0.78479l-4.60275,4.60274z"/></svg></span><span>Empty</span></span></div>
                        ]]>
    </checklist>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10111" key="com.atlassian.jira.toolkit:reporterdomain">
                        <customfieldname>Company</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>magnolia-cms.com</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10031" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 27 Jul 2022 08:35:53 +0200</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_12730" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_14151" key="com.atlassian.jira.toolkit:message">
                        <customfieldname>Docu info</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12130" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Documentation update required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="13300"><![CDATA[Yes]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10246" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>MGNLHOOK-10</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10061" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comm is not jira-dev</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10071" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last participant</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>oanh.thai</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 16 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10020" key="com.atlassian.jira.toolkit:attachments">
                        <customfieldname>Number of attachments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10150" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname>Number of comments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>czimmermann</customfieldvalue>
            <customfieldvalue>jbenito</customfieldvalue>
            <customfieldvalue>oanh.thai</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|y07uej:y</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10244" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10245" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1690">DevX 18</customfieldvalue>
    <customfieldvalue id="1712">DevX 21</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10242" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12430" key="com.atlassian.teams:rm-teams-custom-field-team">
                        <customfieldname>Team</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[26]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_14145" key="com.intenso.jira.issue-templates:issue-templates-customfield">
                        <customfieldname>Template</customfieldname>
                        <customfieldvalues>
                            


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_15131" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Time in Discovery</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_13933" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Urgency (resolution)</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="15724"><![CDATA[Normal]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>