aboutsummaryrefslogtreecommitdiffstats
path: root/profiles/http/src
AgeCommit message (Collapse)AuthorFilesLines
2020-08-04code improvements-sonar fixesSravanKumarGunda1-1/+1
Signed-off-by: SravanKumarGunda <sravan.kumar1@huawei.com> Issue-ID: CLI-270 Change-Id: I3f663df51e27e7295f9cad51ace100d784ab94bb
2020-08-04Code improvement for pending sonar issuesjitendra0075-14/+28
Issue-ID: CLI-270 Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com> Change-Id: Ie27d3ff077fa1ef4d13788849aa82d695f183eeb
2020-07-14Code ImprovementsSravanKumarGunda3-9/+11
Signed-off-by: SravanKumarGunda <sravan.kumar1@huawei.com> Issue-ID: CLI-270 Change-Id: I3de621dab68f153c16a36102239b095c60abf9ab
2020-07-09Fixed sonarcloud issuesjitendra0074-11/+45
Issue-ID: CLI-270 Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com> Change-Id: Ibb52afb2fe8fe7c9be4299d1a1cb1e3d32ab0eca
2020-07-02Code Improvements-Sonar Issue FixesSravanKumarGunda6-8/+26
Signed-off-by: SravanKumarGunda <sravan.kumar1@huawei.com> Issue-ID: CLI-270 Change-Id: Iba00ddc8c471bc5990d87ba3729af373e2bd6711
2020-07-01code improvementspriyanka.akhade5-19/+48
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.akhade2-1/+60
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 M6-80/+80
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-28CVC: Add support for execution, schema, productKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-129 Change-Id: I602859733b8f965ab031625eba6494a9b754cb64 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-02-28HTTP: Add multipart support with multiple filesKanagaraj Manickam k003651068-63/+167
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-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>