aboutsummaryrefslogtreecommitdiffstats
path: root/profiles/http/src/main
AgeCommit message (Collapse)AuthorFilesLines
2022-05-17sonar-smell add logic to this catch clauseGanesh1-2/+2
Signed-off-by: Ganesh <ganesh.c@samsung.com> Change-Id: I00e014fda8015c9f5d308d3443cd601cf59863f2 Issue-ID: CLI-444
2022-04-01removed block of commented-out lines of codesharath reddy1-1/+0
Issue-ID: CLI-439 report: tested weather-report Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I83c454d6c08b5e10bd06af75210bb8eb3efa6460
2022-03-31Removed unnecessary cast to "String".sharath reddy1-1/+1
Issue-ID: CLI-439 report: tested weather-report Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I53fcf523ead9f8366cfcd06b1eee30ad9371f862 Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2022-03-23Fixed Minor Code Smells issues "Deprecated JsonParser"sharath reddy1-2/+1
Issue-ID: CLI-439 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I49fdc2fe1aa48ae78317aba94fdd7f0232334860 Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2022-03-22Fixed Sonar Bugs & Vulnerabilitiessharath reddy1-1/+1
Issue-ID: CLI-439 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: Icbe3d40286d15b8b3639af7a7eb6c4e189169a3f Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2020-08-05Code improvement - Pending sonar issuespriyanka.akhade2-2/+2
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: I11bff3e6fa5f3299ee3ad0f7bf5d3e42ee7a704c
2020-08-04Code improvement for pending sonar issuesjitendra0073-13/+20
Issue-ID: CLI-270 Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com> Change-Id: Ie27d3ff077fa1ef4d13788849aa82d695f183eeb
2020-07-14Code ImprovementsSravanKumarGunda1-2/+2
Signed-off-by: SravanKumarGunda <sravan.kumar1@huawei.com> Issue-ID: CLI-270 Change-Id: I3de621dab68f153c16a36102239b095c60abf9ab
2020-07-09Fixed sonarcloud issuesjitendra0072-11/+11
Issue-ID: CLI-270 Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com> Change-Id: Ibb52afb2fe8fe7c9be4299d1a1cb1e3d32ab0eca
2020-07-02Code Improvements-Sonar Issue FixesSravanKumarGunda5-8/+6
Signed-off-by: SravanKumarGunda <sravan.kumar1@huawei.com> Issue-ID: CLI-270 Change-Id: Iba00ddc8c471bc5990d87ba3729af373e2bd6711
2020-07-01code improvementspriyanka.akhade4-18/+18
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: If9eab4bc8642c7c20a841d58c8a9e2bf5ae6c98b
2020-05-12sonar bug fix- A "List<Integer>" cannot contain a "String"priyanka.akhade2-2/+3
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: I4ada3a4a5168c0686b7595c8038dc1fb300c14fb
2020-05-07sonar vulnerability issue fix- Do something with the "boolean" value ↵priyanka.akhade1-2/+2
returned by "delete"; Enable server certificate validation on this SSL/TLS connection Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: I1aa94f93bd71beeb0b6f6758be4b0687ea8536d2
2020-05-06sonar bug fix- Use the "equals" method if value comparison was intendedpriyanka.akhade1-1/+1
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: I0c379ae2a6798303daf676c0e741aace48e673ca
2020-05-04Migrate to Yamlbeanspriyanka.akhade3-7/+8
Issue-ID: CLI-248 Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Change-Id: I182c7a2e2f41bf09990e5b1ac0344f49af33e0c5
2020-03-17Increase the http timoutKanagaraj Manickam1-1/+1
Issue-ID: CLI-254 Change-Id: Icb5f38bc890205cbf21c9a60165f2c3ca65dfa9e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2020-03-04Resolved JsonElement issue for grpc server and other classespriyanka.akhade1-1/+4
Issue-ID: CLI-247 Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Change-Id: Ifcfba782ec6454f58d1df11e6ab7db3e1a04d17b
2020-03-02Code clean upKanagaraj Manickam1-1/+1
Issue-ID: CLI-249 Change-Id: I9364f7ee3640dd74358f43ed33cd8663c0397103 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2020-02-29Migrate to gsonpriyanka.akhade3-25/+33
Issue-ID: CLI-247 Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Change-Id: If66134db5503382fb45210ece883402fc130ac93
2020-02-21Change dependency version for httpclientjitendra sharma1-2/+3
Issue-ID: CLI-246 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: Ie4b71259559927f485095021b6e87780698e9c92
2019-08-29Minor issues fixKanagaraj Manickam2-2/+3
Issue-ID: CLI-166 Change-Id: I97bd303b4e636bfc53e24732c7c6e4062037909b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-08-05Update frameworkKanagaraj M5-71/+72
Issue-ID: CLI-169 Change-Id: Ice38da575d2e349bb875149afd894e348bc20253 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-06-28General sonar fixesArindam Mondal1-5/+2
+) remove unused imports ++) use isEmpty to check empty list Issue-ID: CLI-170 Change-Id: I90cc07013b8db1982fdca2ccd2f4d715d8176e9d Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-04-26Do not Override the HTTP headers from OCS YAMLKanagaraj M1-1/+2
Issue-ID: CLI-129 Change-Id: I2ead79fdc12379409ba8060429ebbf80c8b4cf03 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-04-12Fix DELETE with body failsKanagaraj M1-2/+2
Issue-ID: CLI-154 Change-Id: I1228d3ddff11c2eabb3fd0acc40e0063afcfd09b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-03-07Add context to multipart http profileKanagaraj Manickam k003651061-12/+19
Issue-ID: CLI-129 Change-Id: I0ae68064e776607cacc1985bd02df04c918e0d08 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-02-28HTTP: Add multipart support with multiple filesKanagaraj Manickam k003651066-13/+99
Issue-ID: CLI-129 Change-Id: I65a4d48bb7ce2922043739b83fdc13de7d2f584d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
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-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-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>