summaryrefslogtreecommitdiffstats
path: root/profiles
AgeCommit message (Collapse)AuthorFilesLines
2018-05-03Remove overlooking toString() from schema loaderKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-100 Change-Id: I1d88c3fb633a01f5cce06932a4e176ed34d50ec7 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-03Make use of entrySetKanagaraj Manickam k003651061-6/+6
Issue-ID: CLI-100 Change-Id: I4c8dbedfbeb29ceaf7f4410805220b2ce0aea361 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-03Remove unused class imports in MocoServerKanagaraj Manickam k003651061-15/+14
Issue-ID: CLI-106 Change-Id: I3a11b67062b5b4fe008f888b58519aed06cefdb9 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-03Use static constants insteadKanagaraj Manickam k003651061-3/+5
Issue-ID: CLI-100 Change-Id: I606b9428669c603e476cda1f77f5015ab57c9eba Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-03GetAgent never throws exceptionKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-106 Change-Id: I4caf9e06bdc4301623c1388d64418aa00cb06da5 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-03Remove unsed import from snmp error responseKanagaraj Manickam k003651061-1/+0
Issue-ID: CLI-100 Change-Id: If964688b7c3fc4ff0e8f5bd2b99f6b5bb3a88648 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-03Remove unused imports from Snmp schema loaderKanagaraj Manickam k003651061-7/+4
Issue-ID: CLI-106 Change-Id: Ia933b33f40867b86fab62c62834eae6357970e68 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-03Add log4j prp to snmp test profilesKanagaraj Manickam k003651061-0/+23
Issue-ID: CLI-100 Change-Id: I2aa70f90e7e8086eaac00c71e48b5b627946a30b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-02Comply the constructor declaration to std.Kanagaraj Manickam k003651061-3/+4
Issue-ID: CLI-106 Change-Id: I5d215880beb99cb598d302a2710f7ac08b79a67a Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-02HttpConnection does not thru exceptionKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-106 Change-Id: Ic2f8f8618505498a9345e17671691bbd73714c9f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-02Remove unused class from the importsKanagaraj Manickam k003651061-1/+0
Issue-ID: CLI-106 Change-Id: I2b558d6d4fb8926fd7c2130e0cf9b9e840b42528 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-02Fix the HEAD name in http profileKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-106 Change-Id: Ie18578b1b284283c889a7584e6dd6795be55489a Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-02Reuse constant names acrossKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-106 Change-Id: I7e3abdf3b7c8b8619ff61943f9f69c97cd1b4113 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-02Remove unused imports from Auth ClientKanagaraj Manickam k003651061-1/+0
Issue-ID: CLI-106 Change-Id: I76d37a7cd2e4b597749663fba134cb14d9da6a1c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
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>