<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 10:42:56 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>[MGNLRESTCL-71] Create a light module that demonstrate rest client usage</title>
                <link>https://jira.magnolia-cms.com/browse/MGNLRESTCL-71</link>
                <project id="11881" key="MGNLRESTCL">REST Client</project>
                    <description>&lt;p&gt;&lt;b&gt;User Story:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;As a developer, I want to quickly be able to try rest clients, so that I can understand, test, and use them in my projects.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Notes&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Create a single git repository with a single or set of examples showing how declarative rest clients can be configured and used.&lt;/p&gt;

&lt;p&gt;These technical examples can use names of the exact feature that they are demonstrating, they dont have to be realistic scenarios.&lt;/p&gt;

&lt;p&gt;For example there could be a light module &quot;linkfield&quot;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Things to include&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;README should contain list of all the features demonstrated, and where its demonstrated in the file:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Rest clients - with all their usages techniques
	&lt;ul&gt;
		&lt;li&gt;Using the template parameters and defaultValues&lt;/li&gt;
		&lt;li&gt;paging&lt;/li&gt;
		&lt;li&gt;caching&lt;/li&gt;
		&lt;li&gt;timeout&lt;/li&gt;
		&lt;li&gt;OpenAPI&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Rest client Authentication
	&lt;ul&gt;
		&lt;li&gt;basic&lt;/li&gt;
		&lt;li&gt;OAUTH2&lt;/li&gt;
		&lt;li&gt;(Other?)&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Template&lt;/li&gt;
	&lt;li&gt;Template hitting a Magnolia deliveryEndpoint.&lt;/li&gt;
	&lt;li&gt;Link field&lt;/li&gt;
	&lt;li&gt;Select field&lt;/li&gt;
	&lt;li&gt;App - Browser SubApp&lt;/li&gt;
	&lt;li&gt;Findbar&lt;/li&gt;
	&lt;li&gt;JS Model&lt;/li&gt;
	&lt;li&gt;... every other feature.&lt;/li&gt;
&lt;/ul&gt;


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

&lt;p&gt;&lt;b&gt;Useful for:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Documenting what has been done in a ticket.&lt;/li&gt;
	&lt;li&gt;Assisting Docs team to write docs.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;b&gt;Resources:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;JSModels samples project:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.magnolia-cms.com/projects/LIGHT-MODULES/repos/javascript-model-samples/browse&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.magnolia-cms.com/projects/LIGHT-MODULES/repos/javascript-model-samples/browse&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Stories samples project:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.magnolia-cms.com/projects/LIGHT-MODULES/repos/stories-app-samples/browse&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.magnolia-cms.com/projects/LIGHT-MODULES/repos/stories-app-samples/browse&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Concept for Readme&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://wiki.magnolia-cms.com/display/TEASYINT/Easy+Rest+Demo+Project&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.magnolia-cms.com/display/TEASYINT/Easy+Rest+Demo+Project&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="79780">MGNLRESTCL-71</key>
            <summary>Create a light module that demonstrate rest client usage</summary>
                <type id="3" iconUrl="https://jira.magnolia-cms.com/secure/viewavatar?size=xsmall&amp;avatarId=10898&amp;avatarType=issuetype">Task</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="jfranco">Jorge Franco</assignee>
                                    <reporter username="czimmermann">Christopher Zimmermann</reporter>
                        <labels>
                    </labels>
                <created>Tue, 24 Sep 2019 08:58:08 +0200</created>
                <updated>Wed, 9 Oct 2019 13:07:42 +0200</updated>
                            <resolved>Wed, 9 Oct 2019 13:07:42 +0200</resolved>
                                                    <fixVersion>2.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="197873" author="jsimak" created="Tue, 24 Sep 2019 09:02:35 +0200"  >&lt;p&gt;There&apos;s a git repo for that, it is missing few example (OpenAPI, some restfn usages, and things that is being worked on).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.magnolia-cms.com/users/jsimak/repos/declarative-rest/browse&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;See this link.&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="198868" author="czimmermann" created="Thu, 3 Oct 2019 11:01:08 +0200"  >&lt;p&gt;Following comments are based on this LM: &lt;a href=&quot;https://git.magnolia-cms.com/projects/MODULES/repos/rest-client/browse?at=refs%2Fheads%2FMGNLRESTCL-71&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.magnolia-cms.com/projects/MODULES/repos/rest-client/browse?at=refs%2Fheads%2FMGNLRESTCL-71&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Rename &quot;data&quot; to &quot;_install-manually&quot;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;To be consistant with other demo/samples modules.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Create Post page fails because JSmodel is used - but JSmodel configuration is not setup properly -&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Readme needs bootstrap for it and instructions how to install it. I think this file: &lt;a href=&quot;https://git.magnolia-cms.com/users/jsimak/repos/declarative-rest/browse/declarative-rest-demo/src/main/resources/mgnl-bootstrap/declarative-rest-demo/config.modules.javascript-models.config.yaml&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.magnolia-cms.com/users/jsimak/repos/declarative-rest/browse/declarative-rest-demo/src/main/resources/mgnl-bootstrap/declarative-rest-demo/config.modules.javascript-models.config.yaml&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Would be nice to have all demo apps in one App group - Would require this bootstrap:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.magnolia-cms.com/users/jsimak/repos/declarative-rest/browse/declarative-rest-demo/src/main/resources/mgnl-bootstrap/declarative-rest-demo/config.modules.ui-admincentral.config.appLauncherLayout.groups.declarativeRest.yaml&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.magnolia-cms.com/users/jsimak/repos/declarative-rest/browse/declarative-rest-demo/src/main/resources/mgnl-bootstrap/declarative-rest-demo/config.modules.ui-admincentral.config.appLauncherLayout.groups.declarativeRest.yaml&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Error on clicking &quot;new&quot; action in Countries app.&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Click on country (actions are enabled). Deselect country. (actions REMAIN enbaled.)&lt;/p&gt;

&lt;p&gt;Action execution failed for action: newCountry&lt;br/&gt;
 No item in value context&lt;br/&gt;
(Might be a bug - might not be something you can solve in the demo project.)&lt;/p&gt;

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

&lt;p&gt;&lt;b&gt;Page&#160;/declarative-rest-demo/restfn-posts throws exception&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Probably because the &quot;single&quot; call uses an entityClass that is not available:&lt;br/&gt;
 info.magnolia.declarative.rest.demo.post.Post&lt;/p&gt;

&lt;p&gt;The &quot;all&quot; call does to.&lt;/p&gt;

&lt;p&gt;This light module should work on a stock webapp. It should not require any custom java code. (There can be a separate java demonstration module.)&lt;/p&gt;

&lt;p&gt;&#160;&lt;b&gt;&quot;js-module&quot; is a typo in the readme., should be &quot;&lt;em&gt;js-model&lt;/em&gt;&quot;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Move to Light Modules Project on Bitbucket&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.magnolia-cms.com/projects/LIGHT-MODULES&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.magnolia-cms.com/projects/LIGHT-MODULES&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Rename to declarative-rest-samples&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;To be consistant with the other &quot;...-samples&quot; projects there.&lt;/p&gt;

&lt;p&gt;(requires changing some templates and bootstraps files - but search-and-replace should work.)&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10160">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="79734">MGNLRESTUI-48</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </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>Tue, 24 Sep 2019 09:02:35 +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_10246" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>MGNLRESTCL-40</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>jfranco</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 19 weeks, 4 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10020" key="com.atlassian.jira.toolkit:attachments">
                        <customfieldname>Number of attachments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10150" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname>Number of comments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>czimmermann</customfieldvalue>
            <customfieldvalue>jsimak</customfieldvalue>
            <customfieldvalue>jfranco</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|y01v7i:</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="1030">Declarative REST 7</customfieldvalue>
    <customfieldvalue id="1039">Declarative REST 8</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10242" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_14167" key="com.okapya.jira.checklist:checklist">
                        <customfieldname>Task DoR</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_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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>