<feed xmlns='http://www.w3.org/2005/Atom'>
<title>policy/apex-pdp/auth/cli-codegen/src/main/java/org, branch 3.1.2</title>
<subtitle>This repo will hold the next generation Apex PDP engine (Casablanca)</subtitle>
<id>http://git.onap.org/policy/apex-pdp/atom?h=3.1.2</id>
<link rel='self' href='http://git.onap.org/policy/apex-pdp/atom?h=3.1.2'/>
<link rel='alternate' type='text/html' href='http://git.onap.org/policy/apex-pdp/'/>
<updated>2021-08-24T13:22:38+00:00</updated>
<entry>
<title>More lombok for apex-pdp</title>
<updated>2021-08-24T13:22:38+00:00</updated>
<author>
<name>Jim Hahn</name>
<email>jrh3@att.com</email>
</author>
<published>2021-08-23T21:10:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.onap.org/policy/apex-pdp/commit/?id=53fe02c107eae2f45abfee02e5b56a8ab3c09523'/>
<id>urn:sha1:53fe02c107eae2f45abfee02e5b56a8ab3c09523</id>
<content type='text'>
Added lombok to auth thru context-management, excluding basic-model and
context-model.

Issue-ID: POLICY-3391
Change-Id: I1c3a69d52d3bc65a99126ad44126e5a97424c66f
Signed-off-by: Jim Hahn &lt;jrh3@att.com&gt;
</content>
</entry>
<entry>
<title>Fix Sonar Issues on Apex-pdp</title>
<updated>2021-05-31T15:39:15+00:00</updated>
<author>
<name>lapentafd</name>
<email>francesco.lapenta@est.tech</email>
</author>
<published>2021-05-27T09:18:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.onap.org/policy/apex-pdp/commit/?id=b6c674891e00f3bac43bd7b4fca06e7a87b8dd34'/>
<id>urn:sha1:b6c674891e00f3bac43bd7b4fca06e7a87b8dd34</id>
<content type='text'>
Changes made into cli-codegen, cli-editor, and core-engine

Renamed one test class to match other test classes

Issue-ID: POLICY-3093
Change-Id: Ib2d947782021590ffc08d426e7a1607a8c33f98a
Signed-off-by: lapentafd &lt;francesco.lapenta@est.tech&gt;
</content>
</entry>
<entry>
<title>Fix sonars in apex-pdp</title>
<updated>2021-02-18T17:47:55+00:00</updated>
<author>
<name>Jim Hahn</name>
<email>jrh3@att.com</email>
</author>
<published>2021-02-17T20:23:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.onap.org/policy/apex-pdp/commit/?id=b6977d2f7ce64ece732ac1a1a0525dac972d7ccf'/>
<id>urn:sha1:b6977d2f7ce64ece732ac1a1a0525dac972d7ccf</id>
<content type='text'>
Addressed the following issues:
- initialize mocks before use
- use parameterized queries
- Random() is not secure
- provide parameterized type for generics
- unused imports
- constructor visibility
- use compute() instead of containsKey()/put()
- make final fields static
- rename constants to all upper case
- no assert() in Thread.run() methods
- nested try
- nested if/else
- too many break/continue
- use try-with-resources
- repeatable annotations
- overlapping characters in reg ex
- hashcode is not sufficient in compareTo()
- need equals() with compareTo()
- make class an interface
- use parameterized test
- multiple calls in assert()
- log or re-throw
- use different type of lambda
- use parameterized logging
- use StringBuilder instead of concatenation
- use StandardCharsets.UTF_8

Issue-ID: POLICY-2906
Change-Id: I2cf8c885e3e22c2c6cbe6403a34906928afad022
Signed-off-by: Jim Hahn &lt;jrh3@att.com&gt;
</content>
</entry>
<entry>
<title>Changes for checkstyle 8.32</title>
<updated>2020-06-19T16:05:05+00:00</updated>
<author>
<name>liamfallon</name>
<email>liam.fallon@est.tech</email>
</author>
<published>2020-06-19T16:04:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.onap.org/policy/apex-pdp/commit/?id=9c0c0c8f61a08aec5c95ebb90647a0aae445e129'/>
<id>urn:sha1:9c0c0c8f61a08aec5c95ebb90647a0aae445e129</id>
<content type='text'>
Issue-ID: POLICY-2188
Change-Id: I56bbf3aa3bd9e1ef433cc93ad2be0c54d141a2a5
Signed-off-by: liamfallon &lt;liam.fallon@est.tech&gt;
</content>
</entry>
<entry>
<title>Minor changes for new Eclipse checkstyle checks</title>
<updated>2019-12-04T17:14:11+00:00</updated>
<author>
<name>liamfallon</name>
<email>liam.fallon@est.tech</email>
</author>
<published>2019-12-04T09:20:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.onap.org/policy/apex-pdp/commit/?id=7a0a44eac6167cfeff935c39f2c3f20d3a893c3e'/>
<id>urn:sha1:7a0a44eac6167cfeff935c39f2c3f20d3a893c3e</id>
<content type='text'>
The laest Eclipse checkstyle version 8.26.0 does more thorough checking
and identified a number of small issues in the apex-pdp codebase. This
review fixes those issues.

Issue-ID: POLICY-1913
Change-Id: I30ba25e3e425c6d54c77f925e8da3ab841a8357c
Signed-off-by: liamfallon &lt;liam.fallon@est.tech&gt;
</content>
</entry>
<entry>
<title>Replace non-Javadoc comments with inheritDocs</title>
<updated>2019-06-28T10:42:34+00:00</updated>
<author>
<name>liamfallon</name>
<email>liam.fallon@est.tech</email>
</author>
<published>2019-06-28T10:42:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.onap.org/policy/apex-pdp/commit/?id=423e98641ca7fe79a1b1bb897aa8a4b17ba5ee4d'/>
<id>urn:sha1:423e98641ca7fe79a1b1bb897aa8a4b17ba5ee4d</id>
<content type='text'>
Copyright headers not changed as this review only amends comments.

Issue-ID: POLICY-1791
Change-Id: Icbeb2c6e591b3b160ae102bb67aef2d407924a4d
Signed-off-by: liamfallon &lt;liam.fallon@est.tech&gt;
</content>
</entry>
<entry>
<title>Fix checkstyle/Sonar issues on juint/sonar fixes</title>
<updated>2019-03-19T12:52:20+00:00</updated>
<author>
<name>liamfallon</name>
<email>liam.fallon@est.tech</email>
</author>
<published>2019-03-19T12:52:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.onap.org/policy/apex-pdp/commit/?id=cfcffbce70ddc3083e337f18377c0847f7233caa'/>
<id>urn:sha1:cfcffbce70ddc3083e337f18377c0847f7233caa</id>
<content type='text'>
Recent changes to increase code coverage and fox Sonar bugs have
introduced checkstyle and further Sonar issues. This review
cleans those up.

Issue-ID: POLICY-1523
Change-Id: I829217ef77d52e57f9713cfeee5b122e1f25efbc
Signed-off-by: liamfallon &lt;liam.fallon@est.tech&gt;
</content>
</entry>
<entry>
<title>Fix sonar code smell issues in apex-pdp</title>
<updated>2019-03-11T08:07:36+00:00</upda<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"># Copyright 2017 Huawei Technologies Co., Ltd.</span>
<span class="c1">#</span>
<span class="c1"># Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span>
<span class="c1"># you may not use this file except in compliance with the License.</span>
<span class="c1"># You may obtain a copy of the License at</span>
<span class="c1">#</span>
<span class="c1">#     http://www.apache.org/licenses/LICENSE-2.0</span>
<span class="c1">#</span>
<span class="c1"># Unless required by applicable law or agreed to in writing, software</span>
<span class="c1"># distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span>
<span class="c1"># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<span class="c1"># See the License for the specific language governing permissions and</span>
<span class="c1"># limitations under the License.</span>
<span class="c1">#</span>
<span class="c1"># Place the scripts in run order:</span>
<span class="nb">source</span> <span class="si">${</span><span class="nv">SCRIPTS</span><span class="si">}</span>/common_functions.sh

<span class="c1"># Start auth</span>
docker run -d --name cli -e <span class="nv">CLI_MODE</span><span class="o">=</span>daemon nexus3.onap.org:10001/onap/cli:1.1-STAGING-latest

<span class="c1"># Wait for cli initialization</span>
<span class="nb">echo</span> Wait <span class="k">for</span> CLI initialization
<span class="k">for</span> i in <span class="o">{</span><span class="m">1</span>..40<span class="o">}</span><span class="p">;</span> <span class="k">do</span>
    sleep <span class="m">1</span>
<span class="k">done</span>

<span class="nv">CLI_IP</span><span class="o">=</span><span class="sb">`</span>get-instance-ip.sh cli<span class="sb">`</span>

<span class="c1"># Pass any variables required by Robot test suites in ROBOT_VARIABLES</span>
<span class="nv">ROBOT_VARIABLES</span><span class="o">=</span><span class="s2">&quot;-v CLI_IP:</span><span class="si">${</span><span class="nv">CLI_IP</span><span class="si">}</span><span class="s2">&quot;</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>
