<feed xmlns='http://www.w3.org/2005/Atom'>
<title>policy/clamp/participant/participant-intermediary/src/main/java, branch 6.2.2</title>
<subtitle>"policy-clamp"</subtitle>
<id>http://git.onap.org/policy/clamp/atom?h=6.2.2</id>
<link rel='self' href='http://git.onap.org/policy/clamp/atom?h=6.2.2'/>
<link rel='alternate' type='text/html' href='http://git.onap.org/policy/clamp/'/>
<updated>2022-02-18T15:54:40+00:00</updated>
<entry>
<title>Rename TOSCA Control Loop to ACM</title>
<updated>2022-02-18T15:54:40+00:00</updated>
<author>
<name>liamfallon</name>
<email>liam.fallon@est.tech</email>
</author>
<published>2022-01-25T19:55:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.onap.org/policy/clamp/commit/?id=43098043c4ef31d9d5dead66568d7d9482a6b165'/>
<id>urn:sha1:43098043c4ef31d9d5dead66568d7d9482a6b165</id>
<content type='text'>
This commit renames the TOSCA Control Loop functionality in CLAMP to
Automation Composition Management.

This review is a direct renaming review and, as everything is renamed
together it is large.

Issue-ID: POLICY-3939
Change-Id: I28f0a6dd889bf3570a4c1365ae9e71fc58db6d6c
Signed-off-by: liamfallon &lt;liam.fallon@est.tech&gt;
</content>
</entry>
<entry>
<title>Remove code smells in controlloop runtime</title>
<updated>2021-11-02T06:05:15+00:00</updated>
<author>
<name>Sirisha_Manchikanti</name>
<email>sirisha.manchikanti@est.tech</email>
</author>
<published>2021-11-02T05:35:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.onap.org/policy/clamp/commit/?id=a48252db26e2ccd031ddb2046d87737d47c248a6'/>
<id>urn:sha1:a48252db26e2ccd031ddb2046d87737d47c248a6</id>
<content type='text'>
Remove code-smells reported by sonar cloud
https://sonarcloud.io/project/issues?id=onap_policy-clamp&amp;resolved=false

Issue-ID: POLICY-3540
Signed-off-by: Sirisha_Manchikanti &lt;sirisha.manchikanti@est.tech&gt;
Change-Id: I8ed1c4599e7eeebbc3a31e74cea4148eb0435847
</content>
</entry>
<entry>
<title>Add support startPhase in all state transitions</title>
<updated>2021-10-22T13:44:03+00:00</updated>
<author>
<name>FrancescoFioraEst</name>
<email>francesco.fiora@est.tech</email>
</author>
<published>2021-10-22T12:52:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.onap.org/policy/clamp/commit/?id=7ac38590a5c6d80f2aa4d7697ce3735f4a1a8132'/>
<id>urn:sha1:7ac38590a5c6d80f2aa4d7697ce3735f4a1a8132</id>
<content type='text'>
Issue-ID: POLICY-3785
Change-Id: I1b5821cc42cdbb63e3172596431dc561ced09c55
Signed-off-by: FrancescoFioraEst &lt;francesco.fiora@est.tech&gt;
</content>
</entry>
<entry>
<title>Merge "Fix continuous sending CONTROL_LOOP_STATE_CHANGE message"</title>
<updated>2021-09-30T07:11:20+00:00</updated>
<author>
<name>Liam Fallon</name>
<email>liam.fallon@est.tech</email>
</author>
<published>2021-09-30T07:11:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.onap.org/policy/clamp/commit/?id=7c4cea7c3ee9031092facf20ff8df937d56d2c2e'/>
<id>urn:sha1:7c4cea7c3ee9031092facf20ff8df937d56d2c2e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix continuous sending CONTROL_LOOP_STATE_CHANGE message</title>
<updated>2021-09-29T10:18:57+00:00</updated>
<author>
<name>FrancescoFioraEst</name>
<email>francesco.fiora@est.tech</email>
</author>
<published>2021-09-29T10:15:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.onap.org/policy/clamp/commit/?id=de0e55fd4fc153e46933b2ec8a4fc7a3804e97aa'/>
<id>urn:sha1:de0e55fd4fc153e46933b2ec8a4fc7a3804e97aa</id>
<content type='text'>
Issue-ID: POLICY-3687
Change-Id: I41f8cd80d0c3441533891e7edc21e1440028b852
Signed-off-by: FrancescoFioraEst &lt;francesco.fiora@est.tech&gt;
</content>
</entry>
<entry>
<title>Update Participant Status after Commissioning</title>
<updated>2021-09-29T10:01:06+00:00</updated>
<author>
<name>FrancescoFioraEst</name>
<email>francesco.fiora@est.tech</email>
</author>
<published>2021-09-29T08:20:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.onap.org/policy/clamp/commit/?id=54baeca8093cdf3502b778effe1bcb4350a860c9'/>
<id>urn:sha1:54baeca8093cdf3502b778effe1bcb4350a860c9</id>
<content type='text'>
Issue-ID: POLICY-3686
Change-Id: Ia9d8c345412c9d4d5017a6931565d57b16ec0c03
Signed-off-by: FrancescoFioraEst &lt;francesco.fiora@est.tech&gt;
</content>
</entry>
<entry>
<title>Merge "Add participantType to participant class"</title>
<updated>2021-09-23T14:45:33+00:00</updated>
<author>
<name>Liam Fallon</name>
<email>liam.fallon@est.tech</email>
</author>
<published>2021-09-23T14:45:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.onap.org/policy/clamp/commit/?id=6bcadaa32d556a623fb1908f08c8611786d615d6'/>
<id>urn:sha1:6bcadaa32d556a623fb1908f08c8611786d615d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix startPhase in runtime and participants</title>
<updated>2021-09-22T15:29:39+00:00</updated>
<author>
<name>FrancescoFioraEst</name>
<email>francesco.fiora<style>
@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #75715e } /* Comment.Hashbang */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Preproc */
.highlight .cpf { color: #75715e } /* Comment.PreprocFile */
.highlight .c1 { color: #75715e } /* Comment.Single */
.highlight .cs { color: #75715e } /* Comment.Special */
.highlight .gd { color: #f92672 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gi { color: #a6e22e } /* Generic.Inserted */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #75715e } /* Generic.Subheading */
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
.highlight .kn { color: #f92672 } /* Keyword.Namespace */
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
.highlight .kt { color: #66d9ef } /* Keyword.Type */
.highlight .ld { color: #e6db74 } /* Literal.Date */
.highlight .m { color: #ae81ff } /* Literal.Number */
.highlight .s { color: #e6db74 } /* Literal.String */
.highlight .na { color: #a6e22e } /* Name.Attribute */
.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
.highlight .nc { color: #a6e22e } /* Name.Class */
.highlight .no { color: #66d9ef } /* Name.Constant */
.highlight .nd { color: #a6e22e } /* Name.Decorator */
.highlight .ni { color: #f8f8f2 } /* Name.Entity */
.highlight .ne { color: #a6e22e } /* Name.Exception */
.highlight .nf { color: #a6e22e } /* Name.Function */
.highlight .nl { color: #f8f8f2 } /* Name.Label */
.highlight .nn { color: #f8f8f2 } /* Name.Namespace */
.highlight .nx { color: #a6e22e } /* Name.Other */
.highlight .py { color: #f8f8f2 } /* Name.Property */
.highlight .nt { color: #f92672 } /* Name.Tag */
.highlight .nv { color: #f8f8f2 } /* Name.Variable */
.highlight .ow { color: #f92672 } /* Operator.Word */
.highlight .w { color: #f8f8f2 } /* Text.Whitespace */
.highlight .mb { color: #ae81ff } /* Literal.Number.Bin */
.highlight .mf { color: #ae81ff } /* Literal.Number.Float */
.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
.highlight .sa { color: #e6db74 } /* Literal.String.Affix */
.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
.highlight .sc { color: #e6db74 } /* Literal.String.Char */
.highlight .dl { color: #e6db74 } /* Literal.String.Delimiter */
.highlight .sd { color: #e6db74 } /* Literal.String.Doc */
.highlight .s2 { color: #e6db74 } /* Literal.String.Double */
.highlight .se { color: #ae81ff } /* Literal.String.Escape */
.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
.highlight .si { color: #e6db74 } /* Literal.String.Interpol */
.highlight .sx { color: #e6db74 } /* Literal.String.Other */
.highlight .sr { color: #e6db74 } /* Literal.String.Regex */
.highlight .s1 { color: #e6db74 } /* Literal.String.Single */
.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #a6e22e } /* Name.Function.Magic */
.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
.highlight .vm { color: #f8f8f2 } /* Name.Variable.Magic */
.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
}
@media (prefers-color-scheme: light) {
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.highlight .nl { color: #336699; font-style: italic } /* Name.Label */
.highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
.highlight .py { color: #336699; font-weight: bold } /* Name.Property */
.highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */
.highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */
.highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #336699 } /* Name.Variable.Class */
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */
.highlight .vm { color: #336699 } /* Name.Variable.Magic */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
}
</style><div class="highlight"><pre><span></span><span class="ch">#!/bin/bash</span>
<span class="c1">#</span>
<span class="c1"># This script is run by the policy closed loop to generate traffic (DNS packets) to the DNS</span>
<span class="c1">#</span>
<span class="c1">#           Usage:    dnstraffic.sh  &lt;DNSIP&gt; &lt;RATE_PER_SEC&gt; &lt;ITERATIONS&gt;</span>
<span class="c1">#</span>
<span class="c1"># The DNSIP is that of the DNS vLoadBalancer.</span>
<span class="c1"># The RATE_PER_SEC is the approximate number of nslookup requests generated per second.</span>
<span class="c1"># The ITERATIONS is roughly the number of seconds to run the test. Note that the Robot </span>
<span class="c1"># will kill this script after the validation is complete.</span>
<span class="c1">#  </span>
<span class="c1"># The validation portion of the script has done a successful lookup, so the point of </span>
<span class="c1"># these requests is to generate DNS packets. We do not care about the results. The timeout</span>
<span class="c1"># of 1 second is to ensure we do not flood the process table with long waits </span>
<span class="c1"># on failed lookups.</span>
<span class="c1"># </span>
<span class="c1"># We generate an approximate rate because we sleep for a full second so the RATE_PER_SEC </span>
<span class="c1"># should have some slop in it. We only need to drive this to 20+ per second, so a 35 </span>
<span class="c1"># per second should fall within the range to trigger the polciy check and prvide enough</span>
<span class="c1"># to validate even distribution without spawning a 3rd DNS</span>
<span class="c1">#</span>
<span class="nv">DNSIP</span><span class="o">=</span><span class="nv">$1</span>
<span class="nv">RATE_PER_SEC</span><span class="o">=</span><span class="nv">$2</span>
<span class="nv">ITERATIONS</span><span class="o">=</span><span class="nv">$3</span>
<span class="nv">ITERATIONS</span><span class="o">=</span><span class="si">${</span><span class="nv">ITERATIONS</span><span class="k">:-</span><span class="nv">300</span><span class="si">}</span>

<span class="k">for</span> iter in <span class="sb">`</span>seq <span class="m">1</span> <span class="nv">$ITERATIONS</span><span class="sb">`</span><span class="p">;</span>
<span class="k">do</span>
   <span class="k">for</span> i in <span class="sb">`</span>seq <span class="m">1</span> <span class="nv">$RATE_PER_SEC</span><span class="sb">`</span><span class="p">;</span>
   <span class="k">do</span>
        nslookup -timeout<span class="o">=</span><span class="m">1</span> host2.dnsdemo.openecomp.org <span class="nv">$DNSIP</span> &gt;/dev/null <span class="m">2</span>&gt;<span class="p">&amp;</span><span class="m">1</span> <span class="p">&amp;</span>
   <span class="k">done</span>
   sleep <span class="m">1</span>
<span class="k">done</span>
</pre></div>
</code></pre></td></tr></table>
</div> <!-- class=content -->
<div id="lfcollabprojects-footer">
  <div class="gray-diagonal">
    <div class="footer-inner">
      <p>
        &copy; 2017 <a href="https://www.onap.org/">ONAP</a> a Linux Foundation
        Collaborative Project. All Rights Reserved.
      </p>
      <p>
        Linux Foundation is a registered trademark of The Linux Foundation.
        Linux is a registered
        <a
          href="http://www.linuxfoundation.org/programs/legal/trademark"
          title="Linux Mark Institute"
          >trademark</a
        >
        of Linus Torvalds.
      </p>
      <p>
        Please see our
        <a href="http://www.linuxfoundation.org/privacy">privacy policy</a> and
        <a href="http://www.linuxfoundation.org/terms">terms of use</a>
      </p>
    </div>
  </div>
</div>
</div> <!-- id=cgit -->
</body>
</html>
