<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:04:25 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 append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[INTTEST-45] use REST for diagstatus instead of checking karaf.log when determining if controller is UP</title>
                <link>https://jira.opendaylight.org/browse/INTTEST-45</link>
                <project id="10189" key="INTTEST">integration-test</project>
                    <description>&lt;p&gt;instead of &lt;a href=&quot;https://git.opendaylight.org/gerrit/gitweb?p=releng/builder.git;a=blob;f=jjb/integration/integration-deploy-controller-run-test.sh;h=f4d56ac2def12c4b64bbc8790608a04188dba5a2;hb=5cd1769e4fe77fb73181c8e8f3725760d588a7ca#l201&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this&lt;/a&gt; we can hit&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;
http:&lt;span class=&quot;code-comment&quot;&gt;//${ODL_IP}:8181/diagstatus&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt; and look for status code &lt;a href=&quot;https://git.opendaylight.org/gerrit/gitweb?p=infrautils.git;a=blob;f=diagstatus/web/src/main/java/org/opendaylight/infrautils/diagstatus/web/DiagStatusServlet.java;h=b05f9b27eed4ed06c6ac612ad517ddc2e95f559a;hb=7cdba76058e40a1a0657d3762fa0df0a428f5fc4#l51&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;418&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="29860">INTTEST-45</key>
            <summary>use REST for diagstatus instead of checking karaf.log when determining if controller is UP</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jluhrsen">Jamo Luhrsen</reporter>
                        <labels>
                    </labels>
                <created>Wed, 25 Apr 2018 18:07:54 +0000</created>
                <updated>Wed, 25 Jul 2018 16:58:45 +0000</updated>
                                                                                <due></due>
                            <votes>1</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="62635" author="vorburger" created="Thu, 26 Apr 2018 09:56:41 +0000"  >&lt;p&gt;&amp;gt;&#160;and look for status code&#160;&lt;a href=&quot;https://git.opendaylight.org/gerrit/gitweb?p=infrautils.git;a=blob;f=diagstatus/web/src/main/java/org/opendaylight/infrautils/diagstatus/web/DiagStatusServlet.java;h=b05f9b27eed4ed06c6ac612ad517ddc2e95f559a;hb=7cdba76058e40a1a0657d3762fa0df0a428f5fc4#l51&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;418&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;so if you look at the &quot;doc&quot; (cough) in&#160;&lt;del&gt;&lt;a href=&quot;https://jira.opendaylight.org/browse/INFRAUTILS-33&quot; title=&quot;Expose ready and/or diagstatus via a non-authenticated URL&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INFRAUTILS-33&quot;&gt;&lt;del&gt;INFRAUTILS-33&lt;/del&gt;&lt;/a&gt;&lt;/del&gt;, what you might want to do instead is just look for any &quot;non-200&quot; (=sth, NOK) status code, instead?&lt;/p&gt;</comment>
                            <comment id="62668" author="jluhrsen" created="Fri, 27 Apr 2018 22:38:28 +0000"  >&lt;p&gt;yeah, and/or if I could read java code better too... LOL&lt;/p&gt;</comment>
                            <comment id="62669" author="jluhrsen" created="Fri, 27 Apr 2018 22:45:01 +0000"  >&lt;p&gt;here&apos;s a patch to do this in robot&lt;br/&gt;
  &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/71527/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/71527/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;but, we will still want a patch to do this with curl/wget in our releng/builder deploy scripts.&lt;/p&gt;</comment>
                            <comment id="64230" author="ecelgp" created="Wed, 25 Jul 2018 16:58:30 +0000"  >&lt;p&gt;This is jut 2 files in releng/builder: &lt;/p&gt;

&lt;p&gt;jjb/integration/distribution/distribution-check-bootup.sh&lt;br/&gt;
jjb/integration/integration-deploy-controller-run-test.sh&lt;br/&gt;
jjb/integration/integration-start-cluster-run-test.sh&lt;/p&gt;

&lt;p&gt;we just need to replace this section by the new REST call:&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;
echo &lt;span class=&quot;code-quote&quot;&gt;&quot;Waiting up to 6 minutes &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; controller to come up, checking every 5 seconds...&quot;&lt;/span&gt;
COUNT=&lt;span class=&quot;code-quote&quot;&gt;&quot;0&quot;&lt;/span&gt;
&lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;; &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt;
    COUNT=$(( ${COUNT} + 5 ))
    sleep 5
    echo &lt;span class=&quot;code-quote&quot;&gt;&quot;already waited ${COUNT} seconds...&quot;&lt;/span&gt;
    &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; grep --quiet &lt;span class=&quot;code-quote&quot;&gt;&apos;org.opendaylight.infrautils.ready-impl.*&lt;span class=&quot;code-object&quot;&gt;System&lt;/span&gt; ready&apos;&lt;/span&gt; &lt;span class=&quot;code-quote&quot;&gt;&quot;${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log&quot;&lt;/span&gt;; then
        echo &lt;span class=&quot;code-quote&quot;&gt;&quot;Controller is UP&quot;&lt;/span&gt;
        &lt;span class=&quot;code-keyword&quot;&gt;break&lt;/span&gt;
    elif (( &lt;span class=&quot;code-quote&quot;&gt;&quot;${COUNT}&quot;&lt;/span&gt; &amp;gt; &lt;span class=&quot;code-quote&quot;&gt;&quot;360&quot;&lt;/span&gt; )); then
        echo &lt;span class=&quot;code-quote&quot;&gt;&quot;Timeout Controller DOWN&quot;&lt;/span&gt;
        dump_log_and_exit
    fi
done
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="29745">INFRAUTILS-33</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="29531">NETVIRT-1177</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03dwf:</customfieldvalue>

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