<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:13:13 UTC 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 add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-1421] Enable SonarCloud static code analysis scan for UI modules.</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-1421</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description></description>
                <environment></environment>
        <key id="80871">FOLIO-1421</key>
            <summary>Enable SonarCloud static code analysis scan for UI modules.</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10001" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p2.svg">P2</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="5fca8bef7cc1030069d4f186">mark.stacy</assignee>
                                                                <reporter accountid="5cffed1a5d548b0c51d6b19b">Anton Emelianov</reporter>
                                    <labels>
                            <label>ci</label>
                            <label>sprint45</label>
                            <label>sprint47</label>
                            <label>sprint48</label>
                            <label>sprint49</label>
                            <label>sprint50</label>
                            <label>uitestingteam</label>
                    </labels>
                <created>Fri, 17 Aug 2018 16:25:58 +0000</created>
                <updated>Thu, 27 Oct 2022 11:30:01 +0000</updated>
                            <resolved>Wed, 31 Oct 2018 14:58:10 +0000</resolved>
                                                                    <component>Continuous Integration</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                <comments>
                                                            <comment id="195095" author="5f9abc1eb45b2e007453f423" created="Sat, 29 Sep 2018 01:54:34 +0000"  >&lt;p&gt;Sonarqube code analysis is now implemented in Jenkins pipeline builds for frontend projects.   To enable Sonarqube analysis for a given repo, the following parameter should be added to the project&apos;s Jenkinsfile:&lt;/p&gt;

&lt;p&gt;runSonarqube = true&lt;/p&gt;

&lt;p&gt;For example, &lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;buildNPM {
  publishModDescriptor = &apos;no&apos;
  runLint = &apos;no&apos;
  runSonarqube = true
  runTest = &apos;yes&apos;
}  
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Unfortunately,  a branch or PR build will fail the Sonarqube analysis stage if the master branch of a project has not already been scanned first.    Therefore,  &apos;runSonarqube = true&apos; should be added to the Jenkinsfile and committed directly to master first.  &lt;/p&gt;

&lt;p&gt;Sonarqube has been enabled on all &apos;folio-org/stripes-&amp;#42;&apos; projects.   All branches and PRs are scanned.   If the project generates a lcov.info file, this file is used by Sonarqube for coverage analysis.   Let&apos;s see how things go with the initial stripes-* projects before enabling on ui-&amp;#42; projects. &lt;/p&gt;</comment>
                                                            <comment id="195099" author="5f9abc1eb45b2e007453f423" created="Thu, 11 Oct 2018 16:52:48 +0000"  >&lt;p&gt;Sonarqube has now been enabled on all platform-core modules. &lt;/p&gt;</comment>
                                                            <comment id="195100" author="5f9abc1eb45b2e007453f423" created="Thu, 11 Oct 2018 18:05:39 +0000"  >&lt;p&gt;enabled on ui-eholdings as well. &lt;/p&gt;</comment>
                                                            <comment id="195103" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Wed, 17 Oct 2018 13:19:23 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f9abc1eb45b2e007453f423&quot; class=&quot;user-hover&quot; rel=&quot;5f9abc1eb45b2e007453f423&quot; data-account-id=&quot;5f9abc1eb45b2e007453f423&quot; accountid=&quot;5f9abc1eb45b2e007453f423&quot; rel=&quot;noreferrer&quot;&gt;John Malconian&lt;/a&gt; can we resolve this?&lt;/p&gt;</comment>
                                                            <comment id="195107" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Wed, 24 Oct 2018 13:12:53 +0000"  >&lt;p&gt;This has been enable for platform-core modules and a couple other (ui-eholdings) what remains is platform-complete modules.&lt;/p&gt;</comment>
                                                            <comment id="195108" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Wed, 24 Oct 2018 13:17:32 +0000"  >&lt;p&gt;Reassign to &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5fca8bef7cc1030069d4f186&quot; class=&quot;user-hover&quot; rel=&quot;5fca8bef7cc1030069d4f186&quot; data-account-id=&quot;5fca8bef7cc1030069d4f186&quot; accountid=&quot;5fca8bef7cc1030069d4f186&quot; rel=&quot;noreferrer&quot;&gt;mark.stacy&lt;/a&gt; to complete this issues for platform-complete modules and exercise his GitHub access.&lt;/p&gt;</comment>
                                                            <comment id="195111" author="5cffed1a5d548b0c51d6b19b" created="Mon, 29 Oct 2018 17:19:56 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5fca8bef7cc1030069d4f186&quot; class=&quot;user-hover&quot; rel=&quot;5fca8bef7cc1030069d4f186&quot; data-account-id=&quot;5fca8bef7cc1030069d4f186&quot; accountid=&quot;5fca8bef7cc1030069d4f186&quot; rel=&quot;noreferrer&quot;&gt;mark.stacy&lt;/a&gt;, the following modules should be added:&lt;br/&gt;
ui-audit&lt;br/&gt;
ui-calendar&lt;br/&gt;
ui-data-import&lt;br/&gt;
ui-erm&lt;br/&gt;
ui-erm-usage&lt;br/&gt;
ui-finance&lt;br/&gt;
ui-licenses&lt;br/&gt;
ui-orders&lt;br/&gt;
ui-plugin-find-license&lt;br/&gt;
ui-plugin-find-vendor&lt;br/&gt;
ui-receiving&lt;br/&gt;
&lt;del&gt;ui-scan&lt;/del&gt;&lt;/p&gt;</comment>
                                                            <comment id="195114" author="712020:3d5df1a2-9ff6-4d03-b1b0-7d6b01378729" created="Mon, 29 Oct 2018 17:23:49 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cffed1a5d548b0c51d6b19b&quot; class=&quot;user-hover&quot; rel=&quot;5cffed1a5d548b0c51d6b19b&quot; data-account-id=&quot;5cffed1a5d548b0c51d6b19b&quot; accountid=&quot;5cffed1a5d548b0c51d6b19b&quot; rel=&quot;noreferrer&quot;&gt;Anton Emelianov&lt;/a&gt; I think &lt;tt&gt;ui-scan&lt;/tt&gt; is deprecated.&lt;/p&gt;</comment>
                                                            <comment id="195117" author="5f9abc1eb45b2e007453f423" created="Mon, 29 Oct 2018 17:53:48 +0000"  >&lt;p&gt;ui-scan is indeed deprecated and is no longer maintained.   ui-plugin-find-instance has actually been completed.  ui-license is just the old name for ui-licenses.   &lt;/p&gt;</comment>
                                                            <comment id="195120" author="5fca8bef7cc1030069d4f186" created="Mon, 29 Oct 2018 21:31:57 +0000"  >&lt;p&gt;SonarCloud Enabled:&lt;/p&gt;

&lt;p&gt;ui-audit&lt;br/&gt;
ui-calendar&lt;br/&gt;
ui-data-import  * No master Branch Protection Rule!&lt;br/&gt;
ui-erm&lt;br/&gt;
ui-erm-usage * No master Branch Protection Rule!&lt;br/&gt;
ui-finance&lt;br/&gt;
ui-licenses&lt;br/&gt;
ui-orders&lt;/p&gt;

&lt;p&gt;Ok, very tedious! Looking into Github API for an automated scripted solution. &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f9abc1eb45b2e007453f423&quot; class=&quot;user-hover&quot; rel=&quot;5f9abc1eb45b2e007453f423&quot; data-account-id=&quot;5f9abc1eb45b2e007453f423&quot; accountid=&quot;5f9abc1eb45b2e007453f423&quot; rel=&quot;noreferrer&quot;&gt;John Malconian&lt;/a&gt; Do you want me to set up a &quot;Branch Protection Rule&quot; if the repo does not currently have one set up? or was this done on purpose? See the above list for repos without rule set.   &lt;/p&gt;</comment>
                                                            <comment id="195123" author="5f9abc1eb45b2e007453f423" created="Tue, 30 Oct 2018 14:20:21 +0000"  >&lt;p&gt;Thanks, Mark. I went ahead and enabled branch protection for master on those two repos.  When a new repo is created I typically wait for a period of time for the project to ramp up before enabling the branch protection.  &lt;/p&gt;</comment>
                                                            <comment id="195126" author="5fca8bef7cc1030069d4f186" created="Tue, 30 Oct 2018 16:29:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f9abc1eb45b2e007453f423&quot; class=&quot;user-hover&quot; rel=&quot;5f9abc1eb45b2e007453f423&quot; data-account-id=&quot;5f9abc1eb45b2e007453f423&quot; accountid=&quot;5f9abc1eb45b2e007453f423&quot; rel=&quot;noreferrer&quot;&gt;John Malconian&lt;/a&gt; Thanks!  I have created a python script that uses the Github API. Created a gist &lt;a href=&quot;https://gist.github.com/mbstacy/6c769be0b5c7aac0b52e6037592da397&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/mbstacy/6c769be0b5c7aac0b52e6037592da397&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It works the same way as git push: &lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt; $ gitPushAdminEnforcement &amp;lt;remote&amp;gt; &amp;lt;branch&amp;gt; &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The user must have the appropriate privileges to complete the push to remote.&lt;/p&gt;</comment>
                                                            <comment id="195129" author="5fca8bef7cc1030069d4f186" created="Tue, 30 Oct 2018 17:45:21 +0000"  >&lt;p&gt;Completion of UI-* modules&lt;/p&gt;

&lt;p&gt;ui-plugin-find-license * No master Branch Protection Rule!&lt;br/&gt;
ui-plugin-find-vendor * No master Branch Protection Rule!&lt;br/&gt;
ui-receiving * No master Branch Protection Rule!&lt;br/&gt;
ui-vendors&lt;/p&gt;

</comment>
                                                            <comment id="195132" author="5f9abc1eb45b2e007453f423" created="Wed, 31 Oct 2018 12:35:25 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5fca8bef7cc1030069d4f186&quot; class=&quot;user-hover&quot; rel=&quot;5fca8bef7cc1030069d4f186&quot; data-account-id=&quot;5fca8bef7cc1030069d4f186&quot; accountid=&quot;5fca8bef7cc1030069d4f186&quot; rel=&quot;noreferrer&quot;&gt;mark.stacy&lt;/a&gt; Can we close this?&lt;/p&gt;</comment>
                                                            <comment id="195133" author="5fca8bef7cc1030069d4f186" created="Wed, 31 Oct 2018 14:27:01 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f9abc1eb45b2e007453f423&quot; class=&quot;user-hover&quot; rel=&quot;5f9abc1eb45b2e007453f423&quot; data-account-id=&quot;5f9abc1eb45b2e007453f423&quot; accountid=&quot;5f9abc1eb45b2e007453f423&quot; rel=&quot;noreferrer&quot;&gt;John Malconian&lt;/a&gt; I recieved an error on ui-plugin-find-license&lt;/p&gt;

&lt;p&gt;Check console output at &lt;a href=&quot;https://jenkins-aws.indexdata.com/job/folio-org/job/ui-plugin-find-license/job/master/2/console&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jenkins-aws.indexdata.com/job/folio-org/job/ui-plugin-find-license/job/master/2/console&lt;/a&gt; to view the results.&lt;/p&gt;

&lt;p&gt;Yes, can close but didn&apos;t know if I should pull back out SonarCloud on ui-plugin-find-license.&lt;/p&gt;</comment>
                                                            <comment id="195136" author="5f9abc1eb45b2e007453f423" created="Wed, 31 Oct 2018 14:58:10 +0000"  >&lt;p&gt;That build failure is due to an NPM dependency resolution issue - unrelated to Sonarqube.   I&apos;ve notified Mark D. and Ian.   We can close this.     Thanks,  Mark!&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="10651">UXPROD-1052</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="80862">FOLIO-1407</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10171"><![CDATA[Prokopovych]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzyslr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 29 Sep 2018 01:54:34 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>