aboutsummaryrefslogtreecommitdiffstats
path: root/profiles/http
AgeCommit message (Collapse)AuthorFilesLines
2018-05-03Make return value as abstract collection insteadKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-106 Change-Id: Id1bc614e410f4efeb0b3d033104c978523d76bc5 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
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-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 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 k003651062-0/+28
Change-Id: I49b1ec27a4eee38fe13e37af4d666b04b731ce0f 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 k003651061-0/+14
Change-Id: I861b74e9fcaad7f08057be70b1e7ec1bc46add6a Issue-ID: CLI-100 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-12License: Add headerKanagaraj Manickam k003651061-0/+17
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-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>