<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:23:23 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-2807] Automate &quot;Create Users&quot; script in the reference environments</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2807</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;POs requested to populate users with predefined permissions sets to avoid testing with diku_admin user.&lt;br/&gt;
&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=615afd1cd9820f0070a09ef0&quot; class=&quot;user-hover&quot; rel=&quot;615afd1cd9820f0070a09ef0&quot; data-account-id=&quot;615afd1cd9820f0070a09ef0&quot; accountid=&quot;615afd1cd9820f0070a09ef0&quot; rel=&quot;noreferrer&quot;&gt;Zak Burke&lt;/a&gt; created the script by completing 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-2784&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-2784&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;node script to populate users with permissions&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10309?size=medium&quot; /&gt;
            FOLIO-2784
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
.&lt;br/&gt;
The next step would be to figure out the best way to execute this script as a final step in the Folio test system rebuild.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Error reporting&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Since this script may potentially fail when permissions are missing please report any errors up to the pipeline.&lt;/p&gt;</description>
                <environment></environment>
        <key id="81761">FOLIO-2807</key>
            <summary>Automate &quot;Create Users&quot; script in the reference environments</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="10005" iconUrl="https://dev.folio.org/assets/jira-priority/tbd.svg">TBD</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="5c706fbb47a54a6728e59df2">Wayne Schneider</assignee>
                                                                <reporter accountid="5cffed1a5d548b0c51d6b19b">Anton Emelianov</reporter>
                                    <labels>
                            <label>devops-backlog</label>
                    </labels>
                <created>Mon, 28 Sep 2020 13:23:28 +0000</created>
                <updated>Wed, 11 Nov 2020 19:46:21 +0000</updated>
                            <resolved>Wed, 11 Nov 2020 19:46:21 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                <comments>
                                                            <comment id="197125" author="5c706fbb47a54a6728e59df2" created="Wed, 14 Oct 2020 15:30:34 +0000"  >&lt;p&gt;This is now working for the folio-snapshot-test build. Need to refine so it only runs for &quot;platform-complete&quot; builds (not &quot;platform-core&quot;).&lt;/p&gt;

&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; is this also required for the release reference builds, or only snapshot and testing?&lt;/p&gt;</comment>
                                                            <comment id="197128" author="5cffed1a5d548b0c51d6b19b" created="Wed, 14 Oct 2020 22:07:54 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5c706fbb47a54a6728e59df2&quot; class=&quot;user-hover&quot; rel=&quot;5c706fbb47a54a6728e59df2&quot; data-account-id=&quot;5c706fbb47a54a6728e59df2&quot; accountid=&quot;5c706fbb47a54a6728e59df2&quot; rel=&quot;noreferrer&quot;&gt;Wayne Schneider&lt;/a&gt;, It would be great to have it for the release reference builds too.&lt;/p&gt;</comment>
                                                            <comment id="197131" author="5c706fbb47a54a6728e59df2" created="Thu, 15 Oct 2020 21:29:39 +0000"  >&lt;p&gt;Still failing on the reference builds, see &lt;a href=&quot;https://jenkins-aws.indexdata.com/job/FOLIO_Reference_Builds/job/folio-snapshot-load/636/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jenkins-aws.indexdata.com/job/FOLIO_Reference_Builds/job/folio-snapshot-load/636/&lt;/a&gt;. Possible timing issue with ELB/DNS updates?&lt;/p&gt;</comment>
                                                            <comment id="197133" author="5c706fbb47a54a6728e59df2" created="Tue, 20 Oct 2020 18:05:32 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=615afd1cd9820f0070a09ef0&quot; class=&quot;user-hover&quot; rel=&quot;615afd1cd9820f0070a09ef0&quot; data-account-id=&quot;615afd1cd9820f0070a09ef0&quot; accountid=&quot;615afd1cd9820f0070a09ef0&quot; rel=&quot;noreferrer&quot;&gt;Zak Burke&lt;/a&gt; has kindly offered to take a look at the add-users.js script to allow for a little more configurable connections. This would allow us to include this step in the environment build playbook with localhost as the target, rather than needing to wait for the ELB and DNS to be updated before this can be run.&lt;/p&gt;</comment>
                                                            <comment id="197136" author="615afd1cd9820f0070a09ef0" created="Wed, 21 Oct 2020 12:27:19 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5c706fbb47a54a6728e59df2&quot; class=&quot;user-hover&quot; rel=&quot;5c706fbb47a54a6728e59df2&quot; data-account-id=&quot;5c706fbb47a54a6728e59df2&quot; accountid=&quot;5c706fbb47a54a6728e59df2&quot; rel=&quot;noreferrer&quot;&gt;Wayne Schneider&lt;/a&gt;, I added a &lt;tt&gt;&amp;#45;&amp;#45;okapi&lt;/tt&gt; CLI option, in addition to the present &lt;tt&gt;--hostname&lt;/tt&gt; option. &lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Given &lt;tt&gt;--hostname some.host.edu&lt;/tt&gt;, all requests will be made over https. (This is the original behavior.)&lt;/li&gt;
	&lt;li&gt;Given &lt;tt&gt;--okapi &lt;a href=&quot;http://some.host.edu:port&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://some.host.edu:port&lt;/a&gt;&lt;/tt&gt;, the script will parse the value&apos;s prefix (http or https) (and port, if provided) to assess whether requests should be made over http or https.&lt;/li&gt;
	&lt;li&gt;Given &lt;tt&gt;--port&lt;/tt&gt;, if the value is 443 requests will be made over https; any other value will cause requests to be made over http.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                                                            <comment id="197138" author="5c706fbb47a54a6728e59df2" created="Tue, 3 Nov 2020 00:20:03 +0000"  >&lt;p&gt;Playbooks updated. Users should be in platform-complete-based reference environments (including Vagrant boxes) after tonight&apos;s builds.&lt;/p&gt;</comment>
                                                            <comment id="197141" author="5c706fbb47a54a6728e59df2" created="Tue, 3 Nov 2020 13:04:18 +0000"  >&lt;p&gt;Verified &amp;#8211; test users are available in folio-testing and folio-snapshot. Permission sets are pulled from the head of the main branch of folio-tools, so any changes there will be reflected in the reference builds.&lt;/p&gt;</comment>
                                                            <comment id="197144" author="712020:578a89ad-c0ba-4f6f-a6be-39f301f6bdc5" created="Fri, 6 Nov 2020 17:23:21 +0000"  >&lt;p&gt;On a new machine i get following error:&lt;br/&gt;
 FAILED! =&amp;gt; &lt;/p&gt;
{&quot;changed&quot;: true, &quot;cmd&quot;: &quot;n lts&quot;, &quot;delta&quot;: &quot;0:00:00.504599&quot;, &quot;end&quot;: &quot;2020-11-06 15:55:00.211065&quot;, &quot;msg&quot;: &quot;non-zero return code&quot;, &quot;rc&quot;: 1, &quot;start&quot;: &quot;2020-11-06 15:54:59.706466&quot;, &quot;stderr&quot;: &quot;mkdir: cannot create directory &#8216;/usr/local/n&#8217;: Permission denied\n\n  Error: sudo required (or change ownership, or define N_PREFIX)&quot;, &quot;stderr_lines&quot;: [&quot;mkdir: cannot create directory &#8216;/usr/local/n&#8217;: Permission denied&quot;, &quot;&quot;, &quot;  Error: sudo required (or change ownership, or define N_PREFIX)&quot;], &quot;stdout&quot;: &quot;\n  installing : node-v14.15.0\n       mkdir : /usr/local/n/versions/node/14.15.0&quot;, &quot;stdout_lines&quot;: [&quot;&quot;, &quot;  installing : node-v14.15.0&quot;, &quot;       mkdir : /usr/local/n/versions/node/14.15.0&quot;]}

&lt;p&gt;The task that calls &quot;n lts&quot; seems to need root permissions.&lt;/p&gt;</comment>
                                                            <comment id="197148" author="5c706fbb47a54a6728e59df2" created="Mon, 9 Nov 2020 14:31:23 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A578a89ad-c0ba-4f6f-a6be-39f301f6bdc5&quot; class=&quot;user-hover&quot; rel=&quot;712020:578a89ad-c0ba-4f6f-a6be-39f301f6bdc5&quot; data-account-id=&quot;712020:578a89ad-c0ba-4f6f-a6be-39f301f6bdc5&quot; accountid=&quot;712020:578a89ad-c0ba-4f6f-a6be-39f301f6bdc5&quot; rel=&quot;noreferrer&quot;&gt;Florian Gleixner&lt;/a&gt; thank you, in our testing we probably ran a playbook that did &lt;tt&gt;n lts&lt;/tt&gt; as root earlier in the build. We&apos;ll do a little testing and update the role if necessary.&lt;/p&gt;</comment>
                                                            <comment id="197151" author="5c706fbb47a54a6728e59df2" created="Tue, 10 Nov 2020 17:57:31 +0000"  >&lt;p&gt;Fix pushed to branch FOLIO-2807-sudo, but unable to test at the moment due to other build issues.&lt;/p&gt;</comment>
                                                            <comment id="197154" author="5c706fbb47a54a6728e59df2" created="Wed, 11 Nov 2020 19:46:21 +0000"  >&lt;p&gt;add-users role now uses &lt;tt&gt;become&lt;/tt&gt; to execute &lt;tt&gt;n lts&lt;/tt&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10001">
                    <name>Cloners</name>
                                            <outwardlinks description="clones">
                                        <issuelink>
            <issuekey id="81760">FOLIO-2806</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="81806">FOLIO-2797</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="81790">FOLIO-2784</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="10155"><![CDATA[FOLIO DevOps]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1987">DevOps: Sprint 97</customfieldvalue>
    <customfieldvalue id="1988">DevOps: Sprint 99</customfieldvalue>
    <customfieldvalue id="1862">DevOps: Sprint 100</customfieldvalue>
    <customfieldvalue id="1175">CP: sprint 101</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 14 Oct 2020 15:30: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>