aboutsummaryrefslogtreecommitdiffstats
path: root/profiles/http/src
AgeCommit message (Collapse)AuthorFilesLines
2018-11-15Fix csar-create to upload csar properlyKanagaraj Manickam k003651062-6/+9
Issue-ID: VNFSDK-334 Change-Id: Ica13dd1313684df759920d83e1d8416deb1de2d6 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-28HTTP: Add PATCH supportKanagaraj Manickam k003651061-0/+5
Issue-ID: CLI-122 Change-Id: Ide3cdf55c726b45a3d410f06529b26507e6cb9a9 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-15Fix the moco null pointer execptionKanagaraj Manickam k003651061-2/+2
Issue-ID: CLI-100 Change-Id: I0bbba49ee9e15bf6557f5602321f06fb47274de9 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-09Fix the samples in utils testKanagaraj Manickam k003651061-4/+36
Issue-ID: CLI-100 Change-Id: I2b95749095d86c1ceb3a882a4f93fd173b5c9df9 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-09Remove extra line into multipleKanagaraj Manickam k003651061-6/+11
Issue-ID: CLI-100 Change-Id: Ie711ce9f3166a94e0ef0cfc2be3419adf21d388f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-09Correct the order of imports in http connKanagaraj Manickam k003651061-3/+4
Issue-ID: CLI-100 Change-Id: Ieab2c89218d4f7b83e658c365e0e15e46e335fb7 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-09Fix assertion in http inputoutput testKanagaraj Manickam k003651061-3/+3
Issue-ID: CLI-100 Change-Id: I32dce5365f2fdf30a064cbf9bd4fa917b062f0dc Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
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 k003651064-0/+160
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-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-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 Manickam6-9/+199
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 singh6-9/+199
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>