<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:22:22 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-2669] SPIKE: Determine method of deploying Stripes bundles to dev environments</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2669</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Identify and document the requirements and process for deployment of Stripes bundles into hosted dev environments including necessity and/or limitations of a Helm chart for Stripes (platform-complete and platform-core) as opposed to utilizing custom, dev-driven rancher pipelines and deployment templates.  &lt;/p&gt;</description>
                <environment></environment>
        <key id="81708">FOLIO-2669</key>
            <summary>SPIKE: Determine method of deploying Stripes bundles to dev 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>
                            <parent id="81627">FOLIO-2601</parent>
                                    <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="5f2840580d8b1a001bd02aae">Stanislav Miroshnichenko</assignee>
                                                                <reporter accountid="5f9abc1eb45b2e007453f423">John Malconian</reporter>
                                    <labels>
                            <label>dev-environment</label>
                    </labels>
                <created>Wed, 1 Jul 2020 12:42:48 +0000</created>
                <updated>Fri, 17 Jul 2020 13:06:25 +0000</updated>
                            <resolved>Fri, 17 Jul 2020 13:06:25 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                                                            <comment id="199296" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Mon, 6 Jul 2020 13:59:34 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f2840580d8b1a001bd02aae&quot; class=&quot;user-hover&quot; rel=&quot;5f2840580d8b1a001bd02aae&quot; data-account-id=&quot;5f2840580d8b1a001bd02aae&quot; accountid=&quot;5f2840580d8b1a001bd02aae&quot; rel=&quot;noreferrer&quot;&gt;Stanislav Miroshnichenko&lt;/a&gt; is investigating using Rancher to build Stripes. He has successfully utilised Helm to do that (workfow: developer has to build the image locally, upload it to a shared repo and use Helm to deploy to the team env)&lt;/p&gt;</comment>
                                                            <comment id="199297" author="5c706fbb47a54a6728e59df2" created="Mon, 6 Jul 2020 15:55:51 +0000"  >&lt;p&gt;See this comment on 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-2661&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-2661&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;bootstrap a superuser for a tenant&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10322?size=medium&quot; /&gt;
            FOLIO-2661
        &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;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-2661?focusedCommentId=199254&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://folio-org.atlassian.net/browse/FOLIO-2661?focusedCommentId=199254&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I believe the bundle is being built correctly, but the backend (Okapi and mod-permissions) are not configured. Each UI module in the bundle needs to be registered with Okapi and enabled for the tenant in order for the UI permissionSets to be created (and thus available to assign to the tenant admin user).&lt;/p&gt;

&lt;p&gt;In folio-ansible, we do this using the &lt;tt&gt;stripes-build&lt;/tt&gt; role (&lt;a href=&quot;https://github.com/folio-org/folio-ansible/tree/master/roles/stripes-build&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/folio-ansible/tree/master/roles/stripes-build&lt;/a&gt;). Unfortunately, the code is rather convoluted &#8211; it is long overdue for a good refactoring &#8211; but in essence, these are the steps that need to happen as part of the bundle build:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;Run &lt;tt&gt;yarn build-module-descriptors&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;Slurp in the files from &lt;tt&gt;./ModuleDescriptors&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;Post them to Okapi&apos;s &lt;tt&gt;/_/proxy/modules API&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;Enable them for the tenant &#8211; the playbook posts them separately to Okapi&apos;s &lt;tt&gt;/&lt;em&gt;/proxy/tenants/tenantId/modules&lt;/tt&gt; API, but you could also just post a list to &lt;tt&gt;/&lt;/em&gt;/proxy/tenants/tenantId/install&lt;/tt&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Once the modules are enabled for the tenant, you can run the tenant admin bootstrap script to assign the permissions.&lt;/p&gt;</comment>
                                                            <comment id="199298" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Fri, 17 Jul 2020 13:06:16 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f2840580d8b1a001bd02aae&quot; class=&quot;user-hover&quot; rel=&quot;5f2840580d8b1a001bd02aae&quot; data-account-id=&quot;5f2840580d8b1a001bd02aae&quot; accountid=&quot;5f2840580d8b1a001bd02aae&quot; rel=&quot;noreferrer&quot;&gt;Stanislav Miroshnichenko&lt;/a&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;&lt;/p&gt;

&lt;p&gt;I am closing this ticket since the workflow for deploying stripes bundle has been captured on 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-2671&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-2671&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;provide a workflow for building and deploying FOLIO platform-core/complete stack into dev env&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium&quot; /&gt;
            FOLIO-2671
        &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;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="81689">FOLIO-2624</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="81701">FOLIO-2661</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="81627">FOLIO-2601</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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_10014" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue key="$xmlutils.escape($text)">PoC for hosted development environment for FOLIO teams</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01dlj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1986">DevOps: sprint 92</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 6 Jul 2020 13:59: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>