aboutsummaryrefslogtreecommitdiffstats
path: root/profiles
AgeCommit message (Collapse)AuthorFilesLines
2018-04-27Correct the doc format in release notesKanagaraj Manickam k003651061-2/+2
Issue-ID: CLI-100 Change-Id: Ieb5a43d3211982bcce9ad2ffb3d9184b9fd1bdb8 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-27Stablize the verification step by testing sampleKanagaraj Manickam k003651065-1/+167
Issue-ID: CLI-100 Change-Id: Ib9440b56012045cf8714b120a91ee4c36438a4fe Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-26Add deafult constructor to SnmpConstantsKanagaraj Manickam k003651061-0/+4
Issue-ID: CLI-100 Change-Id: I4806f4e06d3f53c741309a3d809c87179dea571c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-26Add comment to overriden run method as per std.Kanagaraj Manickam k003651061-0/+1
Issue-ID: CLI-100 Change-Id: Iab390ac81926f0c1e3ddbd45ef4ab6c84390e88e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-26Add default private connst for schema loader utilsKanagaraj Manickam k003651061-0/+4
Issue-ID: CLI-100 Change-Id: Idca3a274295f8c68a7787ec3f025e0318cc4e519 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-26Migrate to entrySet from keySetKanagaraj Manickam k003651061-6/+6
Issue-ID: CLI-100 Change-Id: I8ccbe473ad44c7f08fbc16cd1953adc144946271 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-26Combine nested if statements into oneKanagaraj Manickam k003651061-4/+3
Issue-ID: CLI-100 Change-Id: I526dd2fe96abc098d2a33d20906e09dd6f51435e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-26Edit http connection headers map varKanagaraj Manickam k003651061-3/+3
- Map init does not required to be typed - Make LOG var to follow stand. Issue-ID: CLI-100 Change-Id: I80ceee8f9d52283c93dc107cd0a0302294c89df2 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-26Add default private constructor for Constant classKanagaraj Manickam k003651061-0/+4
Issue-ID: CLI-100 Change-Id: Ic9c3394ba3a12c2db8686dcc9a5f0b0a4360a5a1 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-25Do not use the same named local var as memeber varKanagaraj Manickam k003651061-3/+3
Issue-ID: CLI-100 Change-Id: I07e967e02af66f5f60d9e402e8c2b91bb44d597a Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-25Remove invalide exceptions throwsKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-100 Change-Id: I416b6563199f1eb43565efd104749dd0a0cb61e6 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-25Keep constant on left side of comparsionKanagaraj Manickam k003651061-2/+2
Issue-ID: CLI-100 Change-Id: Ic8928f44d5f9dad65aaaa960f091ed053f945936 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-23Add license headers and improves help for CLI cmdsKanagaraj Manickam k003651064-10/+17
Issue-ID: CLI-100 Change-Id: I43a7d310afae4a3bbda699c443e8ba1a8a283575 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-23Fix spelling in http profileKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-100 Change-Id: I252b65fdf87b3576bb9d75e65f9d6a322c41fe42 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-18License: Add headerKanagaraj Manickam k003651064-0/+56
Change-Id: I49b1ec27a4eee38fe13e37af4d666b04b731ce0f Issue-ID: CLI-100 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-18License: Add headerKanagaraj Manickam k003651061-0/+14
Change-Id: I278064d11b53435a6b6c40769b6600dc4661a57a Issue-ID: CLI-100 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-18License: Add headerKanagaraj Manickam k003651062-0/+28
Change-Id: I8937a8ecb5008895a0b6a397ad925df75989ba8d Issue-ID: CLI-100 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-18License: Add headerKanagaraj Manickam k0036510611-0/+154
Change-Id: Idbdb5769f400d7f9e7c376d9aaeea893915fe11c Issue-ID: CLI-100 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-18License: Add headerKanagaraj Manickam k003651064-0/+56
Change-Id: I7a7bf6b028d62890a0d172cf281448eb516219b5 Issue-ID: CLI-100 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-18License: Add headerKanagaraj Manickam k003651062-0/+28
Change-Id: I861b74e9fcaad7f08057be70b1e7ec1bc46add6a Issue-ID: CLI-100 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-12License: Add headerKanagaraj Manickam k003651062-0/+34
Change-Id: If82af681d8c6b1f17015cb5e488f48df52c62f84 Issue-ID: CLI-100 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-03-26Merge "Enable feature to disable mock for verify"Kanagaraj Manickam3-5/+14
2018-03-21Add support for DELETE with request bodyKanagaraj Manickam k003651061-4/+24
Issue-ID: CLI-103 Change-Id: If2bca74d8963549aa8696fa896f7b1a69ff5ee05 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-03-21Fix SECURITY ISSUESKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-102 Change-Id: I599e74e7ab01236f5852c018eb1df79b5a7672a0 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-03-19on remove empty node, fails to replace the paramKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-101 Change-Id: If437b6e3f822315b33c242567be036e29f7e1295 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-03-15Merge "HTTP body validation reports invalid error"Kanagaraj Manickam1-7/+9
2018-03-15HTTP body validation reports invalid errorKanagaraj Manickam k003651061-7/+9
Issue-ID: CLI-93 Change-Id: I667604198cc3d0dfcb2c2d5b576aa2efc5bb48dc Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-03-14Merge "Impl Verify feature for CLI"Kanagaraj Manickam7-10/+215
2018-03-13Enable feature to disable mock for verifysubhash kumar singh3-5/+14
Enable feature to disable mock for verify so that real environment can be used. Issue-ID: CLI-74 Change-Id: Ibaa15b7c93fcf077e3f28e9f7e96b1b8a68ad5c0 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-03-13Impl Verify feature for CLIsubhash kumar singh7-10/+215
Implement verify feature for CLI. So that command developer will come up with his mocking file and can use framework to develope the command. Change-Id: I0ac22aaa7284626de60c66e56e83bb75ec9d773d Issue-ID: CLI-74 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-03-13remove empty json nodesKanagaraj Manickam k003651062-3/+12
Issue-ID: CLI-101 Change-Id: I0e091e1289450f4e848933eebf9e6fb6801500a3 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-03-13DOC: Batching supportKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-93 Change-Id: If5a477782d381836ed97c67fcd88373db1549bde Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-03-13Add context in http to ignore empty nodesKanagaraj Manickam k0036510610-31/+107
Issue-ID: CLI-101 Change-Id: Ie84158a516f66a7d957db25386d9942e112b6ebf Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-03-07schema-validate broken to validate http profileKanagaraj Manickam k003651061-4/+4
Issue-ID: CLI-96 Change-Id: I783c0baf30bd96bcd9f6b7a614e1bf941e240ba5 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-28Add support for context parametersubhash kumar singh1-1/+1
Add support for context parameter, which can be used to communicate data from framework to profile. Change-Id: Idf77f3c225e7e65be2660f687782b37dc3da76c3 Issue-ID: CLI-74 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-02-28Make default value type objectsubhash kumar singh1-1/+1
Enhance default value type from String to Object so that it will directly support different type (BOOL, Array, Map). Issue-ID: CLI-74 Change-Id: Iaca438e58150c80047340acba92917ecae685242 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-02-21Throw error when SNMP command failedKanagaraj Manickam k003651061-11/+16
Issue-ID: CLI-92 Change-Id: Ib6da4a647ea9cd25dd5e156cd58f4c21299efb9e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-20Improve logging and avoid null chanceKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-92 Change-Id: I681f605a1cb52ff548c03b5510452cafb648bae9 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-15Connection is closed programmaticallyKanagaraj Manickam k003651061-2/+2
Issue-ID: CLI-92 Change-Id: I8252f26a5d6c7456701347e750b28c6f578bbc4e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-12Ignore conn manager closure, take care by closureKanagaraj Manickam k003651061-1/+5
Issue-ID: CLI-92 Change-Id: If2eeabd3a6ee18ab38eca4dff5a67114e372652f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-06Merge changes I5e54f97c,If7de4980,Ia25e6b66Kanagaraj Manickam4-8/+7
* changes: Make Closable objects are used latter Ignore those exceptions never occurs Improve spl macro handling
2018-02-05Make Closable objects are used latterKanagaraj Manickam k003651062-3/+2
Issue-ID: CLI-50 Change-Id: I5e54f97ca359ee008a1ef82804b47a4e42231cc3 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-05Ignore those exceptions never occursKanagaraj Manickam k003651063-5/+5
Issue-ID: CLI-50 Change-Id: If7de4980b0c7b205bd6fcbb8ead71eb017ec1a43 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-01-31Add validation for attributes missing in resultKanagaraj Manickam k003651061-0/+3
Issue-ID: CLI-61 Change-Id: I2229a6dde2be0b6fcac38aa7abaf4c518d15e55c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-01-31Add snmp profile for clisubhash kumar singh12-0/+550
Add snmp profile for cli to support snmp get operation. Issue-ID: CLI-85 Change-Id: I7bebd38f2b3089df80c71a5581b23c5408c6d3ab Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-05Normalize the config paramsKanagaraj Manickam k003651063-25/+25
Issue-ID: CLI-66 Change-Id: Ibab64e9764ecaf2dd64490e87612f225f724b9ff Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-01-03Add no-catalog param in httpKanagaraj Manickam k003651063-2/+13
Issue-ID: CLI-66 Change-Id: I1054344a8a6ed6d82075c295007131a0c033856e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-29Fix yaml for validation errorsubhash kumar singh2-0/+12
Fix yaml for logout and catalog for reported validation error. Change-Id: I5d3bb8696d703348c5e98d66bd733cb4d3bca3a7 Issue-ID: CLI-87 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-12-27Fix log4j properties fileKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-66 Change-Id: I3e4e34b3f4b78d1948dcb0dc96efba31dbcb65da Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-26Merge default params filesKanagaraj Manickam k003651063-8/+8
Issue-ID: CLI-66 Change-Id: I320e21ff3b25d0c38c196b49f2ed320174396e4a Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>