summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-02-16Add license header for CLI OCS -sampleKanagaraj Manickam k003651063-0/+42
Issue-ID: CLI-92 Change-Id: Ia98f64c78a5b51c3b276baae577ec4329313f192 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-12Handle CLI warning effectivelyv2.0.0Kanagaraj Manickam k003651062-8/+7
Issue-ID: CLI-92 Change-Id: If5ce9499763fdec5980c4cdd1839d5ef31ccdd49 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-12Make console reader be saferKanagaraj Manickam k003651061-17/+17
Issue-ID: CLI-92 Change-Id: I5c415b2fcdf92b2a861a871d9ab907221290107d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-12Fix closure by try resource approachKanagaraj Manickam k003651061-2/+10
Issue-ID: CLI-92 Change-Id: I6375058625b51d2d15d397163c0aa20025114bc2 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 Manickam8-26/+24
* 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 k003651063-6/+4
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 k003651065-8/+8
Issue-ID: CLI-50 Change-Id: If7de4980b0c7b205bd6fcbb8ead71eb017ec1a43 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-05Improve spl macro handlingKanagaraj Manickam k003651061-12/+12
Issue-ID: CLI-50 Change-Id: Ia25e6b66ee1ad8c2eee80c8759c62e0a8bd698c1 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-01Merge "Add validation for attributes missing in result"Kanagaraj Manickam1-0/+3
2018-02-01Merge "Update doc to include http->service"Kanagaraj Manickam1-105/+107
2018-02-01Merge "Fix the end2end docs mis-alignmnet"Kanagaraj Manickam1-1/+2
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-31Fix customer CLI descriptionsKanagaraj Manickam k003651062-2/+2
Issue-ID: CLI-82 Change-Id: I190ba9903513fa02ea0a9879beef57e89e7b6c43 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-01-31Update doc to include http->serviceKanagaraj Manickam k003651061-105/+107
Issue-ID: CLI-66 Change-Id: I12d1205acbb1e57b9ff9791d5fff905013658b4c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-01-31Fix the end2end docs mis-alignmnetKanagaraj Manickam k003651061-1/+2
Issue-ID: CLI-66 Change-Id: If101b4a0188621bbbfd36a4d43ecaeb746fedc53 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-01-31Add snmp profile for clisubhash kumar singh17-8/+593
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-16Init default type to STRINGKanagaraj Manickam k003651062-13/+7
Issue-ID: CLI-66 Change-Id: I6c5fd672811f324d81b653cb4a2a2304678829cd Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-01-08Fix tutorial docs hook pointKanagaraj Manickam k003651062-1/+9
Issue-ID: CLI-86 Change-Id: I152419e0ac2a98d462a367e450ecc67306c59908 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-01-05Merge "Improve documentaiton for end to end cmd"Kanagaraj Manickam6-381/+482
2018-01-05Improve documentaiton for end to end cmdsubhash kumar singh6-381/+482
Improve documentation for end to end cmd documentation. Change-Id: I6f862c4a952e468dc8c60e9fcbcb99a525e6edf2 Issue-ID: CLI-86 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-05Normalize the config paramsKanagaraj Manickam k003651067-71/+71
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>
2018-01-02Merge "Fix yaml for validation error"Kanagaraj Manickam2-0/+12
2017-12-29Make addProperties in config to publicKanagaraj Manickam k003651061-2/+1
Issue-ID: CLI-66 Change-Id: Ic796a7ff0766bdc229fcfe0e865e0644ec9eaec7 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-27Merge "Fix log4j properties file"Kanagaraj Manickam3-18/+10
2017-12-27Fix log4j properties fileKanagaraj Manickam k003651063-18/+10
Issue-ID: CLI-66 Change-Id: I3e4e34b3f4b78d1948dcb0dc96efba31dbcb65da Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-26Documentation for end to end commandssubhash kumar singh1-0/+462
Add documentation for end to end cli commands Change-Id: I374b02c8b4bc1c3aa8c955b763c92e997047da01 Issue-ID: CLI-86 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-12-26Add toJsonMessage to Exception classKanagaraj Manickam k003651062-0/+11
Issue-ID: CLI-66 Change-Id: Ic4553c28e20cd6db9add438339423dd458ab7d76 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-26Ignore default pararms while discovering schemasKanagaraj Manickam k003651061-0/+5
Issue-ID: CLI-66 Change-Id: I529041893e3e2558bbdb9e6c50698cee27f3fa6e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-26Merge default params filesKanagaraj Manickam k0036510614-40/+223
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 k0036510613-24/+128
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 k003651062-4/+10
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 k003651067-19/+50
Issue-ID: CLI-66 Change-Id: Ic50f4bf040bc88e29419942076d9c7d154d384d1 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-16Add getNoOfRows in Results objectKanagaraj Manickam k003651062-1/+23
Issue-ID: CLI-66 Change-Id: I89fa87019c63504e8f8ceb4f052f12e62941bc3a Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-15Increase the snake yaml versionKanagaraj Manickam k003651064-4/+5
Issue-ID: CLI-66 Change-Id: I129c6e5067d14fb28c8ee7c75dc7358562766c9b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-13Add README for products and profilesKanagaraj Manickam k003651063-4/+13
Issue-ID: CLI-66 Change-Id: I912623aa02c8640dd078b3f924b298c72d509ba5 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-13Add yaml format support for printing resultKanagaraj Manickam k003651063-13/+33
Issue-ID: CLI-66 Change-Id: I38cee498c98b78a1767a700c029dbcb310a6f727 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-13Add json print formatKanagaraj Manickam k003651061-2/+17
Issue-ID: CLI-66 Change-Id: Ic032912de0b302352f5c8ed94749ddd012f55af6 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-13Fix -h to be precedence over other argsKanagaraj Manickam k003651063-21/+17
Issue-ID: CLI-66 Change-Id: I252fe9705d2801012aa571f51d386c0712416ad9 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-12Merge "Make Http as separate plugin"Kanagaraj Manickam431-2339/+2306
2017-12-12Make Http as separate pluginKanagaraj Manickam k00365106431-2339/+2306
Issue-ID: CLI-66 Change-Id: I8ad78f417f6dbb00e29effdd3ed8ec1939aee81d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-06Merge "Update documents with latest product naming"Kanagaraj Manickam3-3804/+3643
2017-12-06Update documents with latest product namingKanagaraj Manickam k003651064-3806/+3645
Issue-ID: CLI-66 Change-Id: I9bdc06c56e3b22f582943cc5e39d9574b44cd84c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-06Migrate cli init script to use OCLIP env namesKanagaraj Manickam k003651061-2/+2
Issue-ID: CLI-66 Change-Id: Ifbb9c4ab664639797032b9b1a9e55c9f8673601c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-06Migrate cli init script to use OCLIP env namesKanagaraj Manickam k003651061-8/+8
Issue-ID: CLI-66 Change-Id: Ifbb9c4ab664639797032b9b1a9e55c9f867360c0 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-12-06Update the documents to refelect OCLIP changesKanagaraj Manickam k003651066-35/+36
Issue-ID: CLI-66 Change-Id: Ie9669181fffaa4d1f1a4d877a550de134f8af4a4 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>