summaryrefslogtreecommitdiffstats
path: root/profiles
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-12-21Add is_deafult_parm and is_default_attrKanagaraj Manickam k003651065-15/+31
Issue-ID: CLI-66 Change-Id: Id6789ffda5d8ae93f4927564844bde36ecd88678 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-20Fix error in validation messageKanagaraj Manickam k003651061-2/+1
Issue-ID: CLI-66 Change-Id: I3e34de01b661487f2ab60d4b086dc9f6d1735840 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-19Fix http profile to override the headersKanagaraj Manickam k003651061-3/+7
Issue-ID: CLI-66 Change-Id: I0aa2413db977449f163bc4a75bcd7900c95076b8 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-18Fix logout and auth specific param customizationKanagaraj Manickam k003651064-17/+47
Issue-ID: CLI-66 Change-Id: Ic50f4bf040bc88e29419942076d9c7d154d384d1 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-13Add README for products and profilesKanagaraj Manickam k003651061-0/+5
Issue-ID: CLI-66 Change-Id: I912623aa02c8640dd078b3f924b298c72d509ba5 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-12Make Http as separate pluginKanagaraj Manickam k0036510650-0/+3827
Issue-ID: CLI-66 Change-Id: I8ad78f417f6dbb00e29effdd3ed8ec1939aee81d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>