cli.git
2 months agoupdate link to upper-constraints.txt 97/137397/1 master
thmsdt [Tue, 27 Feb 2024 09:44:30 +0000 (10:44 +0100)]
update link to upper-constraints.txt

Issue-ID: DOC-823

Change-Id: I5a583471327aed62c595dacb5ad6c43fe8356a93
Signed-off-by: thmsdt <thomas.kulik@telekom.de>
2 months agoadd python compatibility module 95/137295/2
thmsdt [Tue, 20 Feb 2024 13:01:09 +0000 (14:01 +0100)]
add python compatibility module

Issue-ID: DOC-823
Change-Id: I8c4f268de3a84a354a4e75b30e5360c772106346
Signed-off-by: thmsdt <thomas.kulik@telekom.de>
10 months agoSet Python and Ubuntu versions in .readthedocs.yaml 70/135170/1
Cédric Ollivier [Mon, 26 Jun 2023 12:30:04 +0000 (14:30 +0200)]
Set Python and Ubuntu versions in .readthedocs.yaml

It now follows the ONAP gate configurations.
It also fixes the settings and formats it.

Issue-ID: DOC-811
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I88e43b3defcbb5e35b3911a7a7f7b225a7d66e48

17 months agoFix DOC config files 54/132254/1
marineMD [Wed, 16 Nov 2022 10:26:18 +0000 (11:26 +0100)]
Fix DOC config files

Issue-ID: DOC-798

Signed-off-by: marineMD <marine.de.dorlodot@intl.att.com>
Change-Id: I1c7774f7c6a880c0c0291d7266269cf13474d3cf

18 months agoMerge "Change CLI PTL to be Dan Xu"
Kanagaraj Manickam [Mon, 17 Oct 2022 10:34:44 +0000 (10:34 +0000)]
Merge "Change CLI PTL to be Dan Xu"

18 months agoChange CLI PTL to be Dan Xu 07/131407/2
xudan16 [Mon, 10 Oct 2022 07:16:49 +0000 (15:16 +0800)]
Change CLI PTL to be Dan Xu

Signed-off-by: xudan16 <xudan16@huawei.com>
Issue-ID: CLI-474
Change-Id: I3818b179ca9ec9ceff8ca3891452c5e9a6cc4f8a

20 months agoForce py3.8 in tox.ini 54/130554/1
Cédric Ollivier [Wed, 31 Aug 2022 19:15:31 +0000 (21:15 +0200)]
Force py3.8 in tox.ini

It allows leveraging on OpenStack Yoga's upper-contraints
without any exception.

Issue-ID: DOC-782

Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I16b83f41df2fb8f990106820feeb33cc762123b1

22 months agoValidateSchemaTest sonar issue, Replace these 3 tests with a single Parameterized one 35/129735/1
Ganesh [Fri, 1 Jul 2022 13:13:23 +0000 (18:43 +0530)]
ValidateSchemaTest sonar issue, Replace these 3 tests with a single Parameterized one

Signed-off-by: Ganesh <ganesh.c@samsung.com>
Change-Id: I7f65fcecea7ac6ba574f2cb9bd128a200fbae4e1
Issue-ID: CLI-444

22 months agosonar issue, Replace these 3 tests with a single Parameterized one 87/129687/1
Ganesh [Mon, 27 Jun 2022 03:16:38 +0000 (08:46 +0530)]
sonar issue, Replace these 3 tests with a single Parameterized one

Signed-off-by: Ganesh <ganesh.c@samsung.com>
Change-Id: I3868ba6b54e2412de99580d19165cff448937465
Issue-ID: CLI-444

22 months agoRelease notes update 16/129616/1 jakarta
sharath reddy [Tue, 14 Jun 2022 10:09:40 +0000 (15:39 +0530)]
Release notes update

Issue-ID: CLI-454

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: Id3896303d52a411668e6f11215fc85278aec9296

23 months agoMerge changes I20ff8508,I00e014fd
Kanagaraj Manickam [Mon, 23 May 2022 04:18:15 +0000 (04:18 +0000)]
Merge changes I20ff8508,I00e014fd

* changes:
  CliProfileCmd unit test cases added
  sonar-smell add logic to this catch clause

23 months agoMerge "Sonar violation fixes for Parameterized tests and Lambda Expressions"
Kanagaraj Manickam [Mon, 23 May 2022 04:17:58 +0000 (04:17 +0000)]
Merge "Sonar violation fixes for Parameterized tests and Lambda Expressions"

23 months agoCliProfileCmd unit test cases added 92/129292/2
Ganesh [Tue, 17 May 2022 14:32:58 +0000 (20:02 +0530)]
CliProfileCmd unit test cases added

Signed-off-by: Ganesh <ganesh.c@samsung.com>
Change-Id: I20ff8508e2c70cfaf735b7d120159599295f2698
Issue-ID: CLI-444

23 months agosonar-smell add logic to this catch clause 87/129287/2
Ganesh [Tue, 17 May 2022 14:02:22 +0000 (19:32 +0530)]
sonar-smell add logic to this catch clause

Signed-off-by: Ganesh <ganesh.c@samsung.com>
Change-Id: I00e014fda8015c9f5d308d3443cd601cf59863f2
Issue-ID: CLI-444

23 months agocli-command unit test cases added 41/128941/2
Ganesh [Thu, 28 Apr 2022 10:12:26 +0000 (15:42 +0530)]
cli-command unit test cases added

Signed-off-by: Ganesh <ganesh.c@samsung.com>
Change-Id: I6095b147b1bc44f6c0be07ec5a6b9fb8418f538c
Issue-ID: CLI-443

23 months agocli-profile code smell removal 70/128870/5
Ganesh [Tue, 26 Apr 2022 07:37:03 +0000 (13:07 +0530)]
cli-profile code smell removal

Signed-off-by: Ganesh <ganesh.c@samsung.com>
Change-Id: I77b42348416ff90fe72ee1f033a9912bd8cbf37d
Issue-ID: CLI-444

23 months agoSonar violation fixes for Parameterized tests and Lambda Expressions 47/128947/3
abhishek.c92 [Thu, 28 Apr 2022 12:27:41 +0000 (17:57 +0530)]
Sonar violation fixes for Parameterized tests and Lambda Expressions

Violations : Parameterized tests for OnapCommandprintTest
Use lambda expression for OnapCommandSchemaCmdLoader
Refactor method in OnapCli

Signed-off-by: abhishek.c92 <abhishek.c92@samsung.com>
Issue-ID: CLI-446
Change-Id: I8e8337d2b5993983d8ea105b2d1882952a3783a3

2 years agocli-const unit test cases added 66/128866/1
Ganesh [Tue, 26 Apr 2022 04:06:27 +0000 (09:36 +0530)]
cli-const unit test cases added

Signed-off-by: Ganesh <ganesh.c@samsung.com>
Change-Id: I7cb4382b310a753b992c9a86dadccffd668c1d38
Issue-ID: CLI-443

2 years agocli-profile unit test cases added 28/128828/1
Ganesh [Mon, 25 Apr 2022 13:26:59 +0000 (18:56 +0530)]
cli-profile unit test cases added

Signed-off-by: Ganesh <ganesh.c@samsung.com>
Change-Id: I6ab4c36b05fce95e0902c8088ae81e8a4504100e
Issue-ID: CLI-443

2 years agoMerge "grpcServer unit test cases added"
Kanagaraj Manickam [Mon, 25 Apr 2022 04:18:24 +0000 (04:18 +0000)]
Merge "grpcServer unit test cases added"

2 years agogrpcServer unit test cases added 30/128430/3
Ganesh [Mon, 11 Apr 2022 11:16:56 +0000 (16:46 +0530)]
grpcServer unit test cases added

Signed-off-by: Ganesh <ganesh.c@samsung.com>
Change-Id: Ibc7eed90a862ca60c23e993519490b2703f1d7a9
Issue-ID: CLI-443

2 years agoMerge "re visit a block of commented-out lines of code"
Kanagaraj Manickam [Wed, 13 Apr 2022 09:11:40 +0000 (09:11 +0000)]
Merge "re visit a block of commented-out lines of code"

2 years agoMerge "Removed useless curly braces around statement and useless return keyword"
Kanagaraj Manickam [Wed, 13 Apr 2022 09:11:10 +0000 (09:11 +0000)]
Merge "Removed useless curly braces around statement and useless return keyword"

2 years agoMerge "Refactored the code in order to not assign to the loop counter from within...
Kanagaraj Manickam [Tue, 12 Apr 2022 06:15:23 +0000 (06:15 +0000)]
Merge "Refactored the code in order to not assign to the loop counter from within the loop body."

2 years agoMerge "fixed oclip.sh execption on ubuntu"
Kanagaraj Manickam [Tue, 12 Apr 2022 04:12:06 +0000 (04:12 +0000)]
Merge "fixed oclip.sh execption on ubuntu"

2 years agore visit a block of commented-out lines of code 42/128242/3
sharath reddy [Fri, 1 Apr 2022 07:37:30 +0000 (13:07 +0530)]
re visit a block of commented-out lines of code

Issue-ID: CLI-439

report: tested weather-report

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: Idb5178bff022e7d1a5450730ed55e025de53f25c
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2 years agoMerge "Removed unnecessary assertions"
Kanagaraj Manickam [Tue, 12 Apr 2022 04:08:34 +0000 (04:08 +0000)]
Merge "Removed unnecessary assertions"

2 years agoMerge "Removed unnecessary assertions"
Kanagaraj Manickam [Tue, 12 Apr 2022 04:08:18 +0000 (04:08 +0000)]
Merge "Removed unnecessary assertions"

2 years agoAdd bounds to sphinx requirement 39/128439/1
Cédric Ollivier [Mon, 11 Apr 2022 13:48:32 +0000 (15:48 +0200)]
Add bounds to sphinx requirement

As ONAP was created before Oct 20 2020 in RTD, we
must set bounds to enforce a compatible Sphinx version
(see manual).

Issue-ID: DOC-782
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Ieee5536e9a1318b8b799ae3ac5013e7662f3ce51

2 years agoRemoved unnecessary assertions 87/128387/1
sharath reddy [Fri, 8 Apr 2022 08:27:10 +0000 (13:57 +0530)]
Removed unnecessary assertions

Issue-ID: CLI-442

report: tested weather-report, execution-list

link: https://sonarcloud.io/project/issues?resolved=false&types=CODE_SMELL&id=onap_cli&open=AXl7xG7awWvHrAKRLY55
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I28084d9f2c9c24bbb596446dd2d7a4cd52659f7a

2 years agoRemoved unnecessary assertions 86/128386/1
sharath reddy [Fri, 8 Apr 2022 08:10:51 +0000 (13:40 +0530)]
Removed unnecessary assertions

Issue-ID: CLI-442

report: tested weather-report, execution-list

link: https://sonarcloud.io/project/issues?resolved=false&types=CODE_SMELL&id=onap_cli&open=AXl7xGycwWvHrAKRLY53
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I6d99e0f49ad9b33ff56e7fb5a02c8af7ece480cf

2 years agoRemoved useless curly braces around statement and useless return keyword 83/128383/1
sharath reddy [Fri, 8 Apr 2022 07:15:27 +0000 (12:45 +0530)]
Removed useless curly braces around statement and useless return keyword

Issue-ID: CLI-442

report: tested weather-report, execution-list

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: Iad499395c2465893a766dc9e9e5315c48e0315ee

2 years agofixed oclip.sh execption on ubuntu 82/128382/1
sharath reddy [Fri, 8 Apr 2022 06:28:50 +0000 (11:58 +0530)]
fixed oclip.sh execption on ubuntu

Issue-ID: CLI-442

report: tested weather-report, execution-list

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: If515f8c2b66861d5c548993dd509c57d31c82d4a

2 years agoMerge "simplified an assertion."
Kanagaraj Manickam [Fri, 8 Apr 2022 04:25:07 +0000 (04:25 +0000)]
Merge "simplified an assertion."

2 years agoMerge "Removed the declaration of thrown exceptions that cannot be thrown from method...
Kanagaraj Manickam [Fri, 8 Apr 2022 04:13:09 +0000 (04:13 +0000)]
Merge "Removed the declaration of thrown exceptions that cannot be thrown from method's body"

2 years agoChanged an instance-reference to a static reference. 66/128266/2
sharath reddy [Mon, 4 Apr 2022 11:55:57 +0000 (17:25 +0530)]
Changed an instance-reference to a static reference.

Issue-ID: CLI-439

report: tested weather-report

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I2fb7e5665fad6c807ec191e535ac6f9b6854fee2

2 years agoMerge "Removed the deprecated usage of readFileToString & writeStringToFile"
Kanagaraj Manickam [Thu, 7 Apr 2022 12:29:17 +0000 (12:29 +0000)]
Merge "Removed the deprecated usage of readFileToString & writeStringToFile"

2 years agoMerge "Changed an instance-reference to a static reference."
Kanagaraj Manickam [Thu, 7 Apr 2022 12:28:24 +0000 (12:28 +0000)]
Merge "Changed an instance-reference to a static reference."

2 years agoMerge "removed dead code"
Kanagaraj Manickam [Thu, 7 Apr 2022 12:27:41 +0000 (12:27 +0000)]
Merge "removed dead code"

2 years agoMerge "Changed the visibility of abstract class constructors to "protected""
Kanagaraj Manickam [Thu, 7 Apr 2022 12:27:15 +0000 (12:27 +0000)]
Merge "Changed the visibility of abstract class constructors to "protected""

2 years agoMerge "Renamed variables to not match a restricted identifier"
Kanagaraj Manickam [Thu, 7 Apr 2022 12:26:47 +0000 (12:26 +0000)]
Merge "Renamed variables to not match a restricted identifier"

2 years agoMerge "Updated loop to iterate over the "entrySet" instead of the "keySet"."
Kanagaraj Manickam [Thu, 7 Apr 2022 12:26:20 +0000 (12:26 +0000)]
Merge "Updated loop to iterate over the "entrySet" instead of the "keySet"."

2 years agoMerge "Removed built-in format specifier Ignored unused parameter"
Kanagaraj Manickam [Thu, 7 Apr 2022 12:25:46 +0000 (12:25 +0000)]
Merge "Removed built-in format specifier Ignored unused parameter"

2 years agoRemoved the declaration of thrown exceptions that cannot be thrown from method's... 50/128350/1
sharath reddy [Thu, 7 Apr 2022 07:22:59 +0000 (12:52 +0530)]
Removed the declaration of thrown exceptions that cannot be thrown from method's body

Issue-ID: CLI-439

report: tested weather-report, execution-list

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: If0bcd9047eb4746fdbce23f4443460c699b86342

2 years agoRefactored the code in order to not assign to the loop counter from within the loop... 46/128346/3
sharath reddy [Thu, 7 Apr 2022 03:42:38 +0000 (09:12 +0530)]
Refactored the code in order to not assign to the loop counter from within the loop body.

alias: "for" loop stop conditions should be invariant

Issue-ID: CLI-439

report: tested weather-report, execution-list

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I5c4066b7b68de1882345fc1ffc53750bb9718fca
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2 years agoRemoved the deprecated usage of readFileToString & writeStringToFile 30/128330/4
sharath reddy [Wed, 6 Apr 2022 06:38:26 +0000 (12:08 +0530)]
Removed the deprecated usage of readFileToString & writeStringToFile

Issue-ID: CLI-439

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: Ib736111e9f1f287ba31414fbaf4cf9835c156aa5
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2 years agosimplified an assertion. 81/128281/3
sharath reddy [Mon, 4 Apr 2022 14:20:21 +0000 (19:50 +0530)]
simplified an assertion.

Issue-ID: CLI-439

report: tested weather-report, execution-list

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I08cb34a86b00fe7832511cb6ec30b718f7c26aca
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2 years agoMerge "Reduced code complexity"
Kanagaraj Manickam [Tue, 5 Apr 2022 01:52:51 +0000 (01:52 +0000)]
Merge "Reduced code complexity"

2 years agoRemoved built-in format specifier 80/128280/1
sharath reddy [Mon, 4 Apr 2022 14:07:50 +0000 (19:37 +0530)]
Removed built-in format specifier
Ignored unused parameter

Issue-ID: CLI-439

report: tested weather-report, execution-list

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: Ia29b208100ef8c71d1ff4458293dea23349fc9d0

2 years agoUpdated loop to iterate over the "entrySet" instead of the "keySet". 77/128277/2
sharath reddy [Mon, 4 Apr 2022 13:20:11 +0000 (18:50 +0530)]
Updated loop to iterate over the "entrySet" instead of the "keySet".

Issue-ID: CLI-439

report: tested weather-report, execution-list

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I68295df76db1ed4015958fd1933fd5a6ac05dcd1
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2 years agoRenamed variables to not match a restricted identifier 76/128276/1
sharath reddy [Mon, 4 Apr 2022 12:57:44 +0000 (18:27 +0530)]
Renamed variables to not match a restricted identifier

Issue-ID: CLI-439

report: tested weather-report, execution-list

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I9f66d0aeda50ad7981357ff2030b9a937a211a83

2 years agoMerge "removed block of commented-out lines of code"
Kanagaraj Manickam [Mon, 4 Apr 2022 12:44:59 +0000 (12:44 +0000)]
Merge "removed block of commented-out lines of code"

2 years agoMerge "removed block of commented-out lines of code"
Kanagaraj Manickam [Mon, 4 Apr 2022 12:44:41 +0000 (12:44 +0000)]
Merge "removed block of commented-out lines of code"

2 years agoChanged the visibility of abstract class constructors to "protected" 75/128275/1
sharath reddy [Mon, 4 Apr 2022 12:28:29 +0000 (17:58 +0530)]
Changed the visibility of abstract class constructors to "protected"

Issue-ID: CLI-439

report: tested weather-report, execution-list

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I09ba1fa91f1a79817bcbbc274533fc19ded0bd95

2 years agoremoved dead code 68/128268/1
sharath reddy [Mon, 4 Apr 2022 12:14:47 +0000 (17:44 +0530)]
removed dead code

Issue-ID: CLI-439

report: tested weather-report, execution-list

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I3155c0d4613bc8c239828dd55a1f9df1d89f4591

2 years agoChanged an instance-reference to a static reference. 67/128267/1
sharath reddy [Mon, 4 Apr 2022 12:03:38 +0000 (17:33 +0530)]
Changed an instance-reference to a static reference.

Issue-ID: CLI-439

report: tested weather-report, execution-list

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I6762dd800659648ed84e79deb07a69d979d4cf83

2 years agoremoved block of commented-out lines of code 47/128247/2
sharath reddy [Fri, 1 Apr 2022 08:32:05 +0000 (14:02 +0530)]
removed block of commented-out lines of code

Issue-ID: CLI-439

report: tested weather-report

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I25c613cf6434df6f5c99a465c86be9820d71f39a
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2 years agoremoved block of commented-out lines of code 46/128246/2
sharath reddy [Fri, 1 Apr 2022 08:22:01 +0000 (13:52 +0530)]
removed block of commented-out lines of code

Issue-ID: CLI-439

report: tested weather-report

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I78c626ecd9b3d51f50339b3a616949899ca9b4cd
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2 years agoReduced code complexity 55/128155/3
sharath reddy [Tue, 29 Mar 2022 08:30:21 +0000 (14:00 +0530)]
Reduced code complexity

Issue-ID: CLI-439

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I05b08060ed242b03bef9c85157a89a748bbaa477
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2 years agoMerge "removed block of commented-out lines of code"
Kanagaraj Manickam [Mon, 4 Apr 2022 03:50:08 +0000 (03:50 +0000)]
Merge "removed block of commented-out lines of code"

2 years agoMerge "removed block of commented-out lines of code"
Kanagaraj Manickam [Mon, 4 Apr 2022 03:49:26 +0000 (03:49 +0000)]
Merge "removed block of commented-out lines of code"

2 years agoMerge "removed block of commented-out lines of code"
Kanagaraj Manickam [Mon, 4 Apr 2022 03:48:33 +0000 (03:48 +0000)]
Merge "removed block of commented-out lines of code"

2 years agoremoved block of commented-out lines of code 48/128248/1
sharath reddy [Fri, 1 Apr 2022 08:40:19 +0000 (14:10 +0530)]
removed block of commented-out lines of code

Issue-ID: CLI-439

report: tested weather-report

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I83c454d6c08b5e10bd06af75210bb8eb3efa6460

2 years agoremoved block of commented-out lines of code 45/128245/1
sharath reddy [Fri, 1 Apr 2022 08:09:26 +0000 (13:39 +0530)]
removed block of commented-out lines of code

Issue-ID: CLI-439

report: tested weather-report

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: Ib5493afd9d9db3db3d5125a86695e3ee45b79aa9

2 years agoremoved block of commented-out lines of code 44/128244/1
sharath reddy [Fri, 1 Apr 2022 08:00:31 +0000 (13:30 +0530)]
removed block of commented-out lines of code

Issue-ID: CLI-439

report: tested weather-report

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I2ae7d3f1f8c9e1bdbf5ff95b00cd8d8a8487b9e4

2 years agoremoved block of commented-out lines of code 43/128243/1
sharath reddy [Fri, 1 Apr 2022 07:54:34 +0000 (13:24 +0530)]
removed block of commented-out lines of code

Issue-ID: CLI-439

report: tested weather-report

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I2e15d26c85909fa46df248c7ff9ac38fc7c34c70

2 years agoMerge "Removed unnecessary cast to "String"."
Kanagaraj Manickam [Fri, 1 Apr 2022 04:08:50 +0000 (04:08 +0000)]
Merge "Removed unnecessary cast to "String"."

2 years agoMerge "Removed the deprecated usage of writeStringToFile"
Kanagaraj Manickam [Fri, 1 Apr 2022 04:08:20 +0000 (04:08 +0000)]
Merge "Removed the deprecated usage of writeStringToFile"

2 years agoRemoved unnecessary cast to "String". 39/128239/2
sharath reddy [Thu, 31 Mar 2022 16:59:48 +0000 (22:29 +0530)]
Removed unnecessary cast to "String".

Issue-ID: CLI-439

report: tested weather-report

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I53fcf523ead9f8366cfcd06b1eee30ad9371f862
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2 years agoRemoved the deprecated usage of writeStringToFile 37/128237/1
sharath reddy [Thu, 31 Mar 2022 16:28:21 +0000 (21:58 +0530)]
Removed the deprecated usage of writeStringToFile

Issue-ID: CLI-439

report: tested weather-report

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: Ia102738354bd1ddc46a0d1397a9a9431ed162f96

2 years agoRemoved the deprecated usage of readFileToString & writeStringToFile 35/128235/1
sharath reddy [Thu, 31 Mar 2022 16:15:08 +0000 (21:45 +0530)]
Removed the deprecated usage of readFileToString & writeStringToFile

Issue-ID: CLI-439

report: tested weather-report

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: Ic0cb23c2588341892500fc911eca91b5b695ead5

2 years agoMerge "Reduced code complexity"
Kanagaraj Manickam [Thu, 31 Mar 2022 04:09:27 +0000 (04:09 +0000)]
Merge "Reduced code complexity"

2 years agoMerge "Removed thed use of deprecated "readFileToString""
Kanagaraj Manickam [Thu, 31 Mar 2022 04:07:30 +0000 (04:07 +0000)]
Merge "Removed thed use of deprecated "readFileToString""

2 years agoMerge "Removed the use of deprecated "toString""
Kanagaraj Manickam [Thu, 31 Mar 2022 04:07:02 +0000 (04:07 +0000)]
Merge "Removed the use of deprecated "toString""

2 years agoMerge "Removed thed use of deprecated "readFileToString""
Kanagaraj Manickam [Thu, 31 Mar 2022 04:06:06 +0000 (04:06 +0000)]
Merge "Removed thed use of deprecated "readFileToString""

2 years agoMerge "Removed the use of deprecated "toString""
Kanagaraj Manickam [Thu, 31 Mar 2022 04:05:08 +0000 (04:05 +0000)]
Merge "Removed the use of deprecated "toString""

2 years agoMerge "Removed the unnecessary cast to "Map""
Kanagaraj Manickam [Thu, 31 Mar 2022 04:00:48 +0000 (04:00 +0000)]
Merge "Removed the unnecessary cast to "Map""

2 years agoMerge "Reduced code complexity"
Kanagaraj Manickam [Thu, 31 Mar 2022 03:58:07 +0000 (03:58 +0000)]
Merge "Reduced code complexity"

2 years agoRemoved thed use of deprecated "readFileToString" 13/128213/1
sharath reddy [Wed, 30 Mar 2022 15:09:49 +0000 (20:39 +0530)]
Removed thed use of deprecated "readFileToString"

Issue-ID: CLI-439

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: Ia3bb90320ac98bb375713db99c7d543e8a9fcc30

2 years agoRemoved the use of deprecated "toString" 10/128210/1
sharath reddy [Wed, 30 Mar 2022 14:50:37 +0000 (20:20 +0530)]
Removed the use of deprecated "toString"

Issue-ID: CLI-439

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: Ide23136cd026c905d661770700c6308d62eaf964

2 years agoRemoved thed use of deprecated "readFileToString" 08/128208/1
sharath reddy [Wed, 30 Mar 2022 14:09:35 +0000 (19:39 +0530)]
Removed thed use of deprecated "readFileToString"

Issue-ID: CLI-439

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: Id2a05e85c9c0e10983854b1049db4d42f4bf3dea

2 years agoRemoved the unnecessary cast to "Map" 06/128206/1
sharath reddy [Wed, 30 Mar 2022 13:48:53 +0000 (19:18 +0530)]
Removed the unnecessary cast to "Map"

Issue-ID: CLI-439

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: Ib1493b31b9b2df0bed73e6dc0a9ec5f22a0c05c3

2 years agoRemoved the use of deprecated "toString" 05/128205/1
sharath reddy [Wed, 30 Mar 2022 13:29:42 +0000 (18:59 +0530)]
Removed the use of deprecated "toString"

Issue-ID: CLI-439

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I5a4124295c42f068689dd7c0004657bdd58902ca

2 years agoReduced code complexity 49/128149/2
sharath reddy [Tue, 29 Mar 2022 03:27:56 +0000 (08:57 +0530)]
Reduced code complexity

Issue-ID: CLI-439

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I7673049c257b463204fa2fa0f3bc8aac395cdfab

2 years agoReduced code complexity 26/128126/2
sharath reddy [Mon, 28 Mar 2022 14:33:30 +0000 (20:03 +0530)]
Reduced code complexity

Issue-ID: CLI-439

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I9b7e6838d4f856cfeeafd3f71825ceb534bed43e
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2 years agoFixed Sonar Cloud Critical Issues 21/128121/1
sharath reddy [Mon, 28 Mar 2022 12:09:59 +0000 (17:39 +0530)]
Fixed Sonar Cloud Critical Issues

Issue-ID: CLI-439

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I857188b246848c045171bc4b3d442f3315764274

2 years agoFixed Sonar Bug and Code Smell Blockers 95/128095/3
sharath reddy [Fri, 25 Mar 2022 07:14:19 +0000 (12:44 +0530)]
Fixed Sonar Bug and Code Smell Blockers

Issue-ID: CLI-439

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I81bd79661ab7c6b1152fa481d9273a86e77b4f3a
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2 years agoFixed Minor Code Smells issues "Deprecated JsonParser" 16/128016/2
sharath reddy [Wed, 23 Mar 2022 15:52:21 +0000 (21:22 +0530)]
Fixed Minor Code Smells issues "Deprecated JsonParser"

Issue-ID: CLI-439

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I49fdc2fe1aa48ae78317aba94fdd7f0232334860
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2 years agoFixed Sonar Bugs & Vulnerabilities 90/127890/2
sharath reddy [Fri, 18 Mar 2022 14:41:27 +0000 (20:11 +0530)]
Fixed Sonar Bugs & Vulnerabilities

Issue-ID: CLI-439

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: Icbe3d40286d15b8b3639af7a7eb6c4e189169a3f
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2 years agoIssue-ID: CLI-437 81/127781/1
sharath reddy [Tue, 15 Mar 2022 08:01:25 +0000 (13:31 +0530)]
Issue-ID: CLI-437

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I2914ba8b259c5d08895def09c010b5463778ee0c
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2 years agofix for issue in CLI docker image build 48/127548/1
prakash.e@huawei.com [Tue, 8 Mar 2022 09:43:00 +0000 (15:13 +0530)]
fix for issue in CLI docker image build

Issue-ID: CLI-438
Signed-off-by: prakash.e@huawei.com <prakash.e@huawei.com>
Change-Id: I530ed784b64f9a984838dae0372d191ee19b4d7d

2 years agoLeverage upper-constraints files to pin all dependencies 54/125254/1
Cédric Ollivier [Fri, 22 Oct 2021 07:48:19 +0000 (09:48 +0200)]
Leverage upper-constraints files to pin all dependencies

It leverages the latest change from lfdocs-conf and the
upper-constraints.txt now centralized in ONAP docs.
In a long run, upperconstraints.os.txt should be removed once ONAP
is synced with OpenStack.

It removes tox and setuptools from requirements as nothing depends on them
(most requirements should be removed except lfdocsconf)

Issue-ID: DOC-765

Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I6d37cce594db069852b9ae1ac1d696259cea13b3

2 years agofix Istanbul CLI vulnerabilities 84/123384/3
sharath reddy [Thu, 19 Aug 2021 10:20:10 +0000 (15:50 +0530)]
fix Istanbul CLI vulnerabilities

Issue-ID: CLI-401

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I0ca2826bfb3d41ce90e78d1a0ec69109b1ab260c
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2 years agoMerge "Change openjdk baseOS img to integration-java11"
Kanagaraj Manickam [Thu, 17 Jun 2021 06:38:11 +0000 (06:38 +0000)]
Merge "Change openjdk baseOS img to integration-java11"

3 years agoAdd release notes 6.0.1 56/120256/1
sharath-boyapally [Wed, 7 Apr 2021 09:06:10 +0000 (14:36 +0530)]
Add release notes 6.0.1

Issue-ID: CLI-375

Signed-off-by: sharath-boyapally <sharathkumarboyanapally@gmail.com>
Change-Id: Iedc4635b3bac568202f2d95318dcc410d1e57a95

3 years agoRemove usage of go and curl in cli project, due to know issue in curl version <7... 35/119535/1
Tomasz Pietruszkiewicz [Fri, 19 Mar 2021 11:56:03 +0000 (12:56 +0100)]
Remove usage of go and curl in cli project, due to know issue in curl version <7.68.0
https://github.com/curl/curl/issues/4409
latest available curl in debian is 7.64.0

Change-Id: I3b9125266a87f47d46f6ee7611b36aa5be5192fe
Issue-ID: INT-1891
Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
3 years agoChange openjdk baseOS img to integration-java11 45/118045/2
Alexander Mazuruk [Thu, 18 Feb 2021 13:26:29 +0000 (14:26 +0100)]
Change openjdk baseOS img to integration-java11

This change should not have any effects on functionality as
integration-java11:7.0.0 image is built on top of
openjdk:11.0.6-jre-slim.

Benefits from switching over:
* minimal {java11,python} images maintained by integration team
* using currently "blessed by seccom" versions (if :latest tag used)
* should limit spread of legal issues across layers
* integration images will be the first to have automated compliance
  documentation
* should limit spread of base layers (contributing to deployment
  footprint - more base layers = more to download, more to store etc...)

Issue-ID: INT-1864
Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com>
Change-Id: Ifc4eb87c77e4742562a4b43a803ded0c646bad50

3 years agoMerge "Release new container"
Kanagaraj Manickam [Wed, 20 Jan 2021 10:05:38 +0000 (10:05 +0000)]
Merge "Release new container"

3 years agoRelease new maven artifact 96/116896/3
Bogumil Zebek [Fri, 15 Jan 2021 07:17:33 +0000 (08:17 +0100)]
Release new maven artifact

- No Metadata in OnapCommand Info section
- Optional parameters with default values are lost after overriding selected parameter

Issue-ID: CLI-349 CLI-348
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: I9867897414f3bad7f6200d2ab4c65be8a3ff682f

3 years agoRelease new container 98/116898/1
Bogumil Zebek [Fri, 15 Jan 2021 07:53:43 +0000 (08:53 +0100)]
Release new container

- No Metadata in OnapCommand Info section
- Optional parameters with default values are lost after overriding selected parameter

Issue-ID: CLI-349 CLI-348
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: I2c3cbb1f9108311971f1ec5038184131beb616c5