summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main
AgeCommit message (Collapse)AuthorFilesLines
2019-08-26Log request-id even when no HttpServletRequest param or no user-sessionIttay Stern1-10/+74
1. Catch controllers under org.onap.vid.controller.open. 2. Get HttpServletRequest from Spring's context, if needed. 3. Fix the way SetRequestBasedDefaultsIntoGlobalLoggingContext is used. Change-Id: Iecd46dc10a458bc20d4b3e0bd72ecae37e3218cf Issue-ID: VID-598 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-08-26Make Scheduler's client more Gennerics-tolerantIttay Stern1-1/+2
1. Use t.getClass, instead of new TypeReference<T>. The latter it not behaving as expected on run-time. 2. Store the raw response in restObject.setRaw (just because we can) Change-Id: Ic7087af18ded212447cb67334a9e373759f4da1f Issue-ID: VID-378 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-08-26Merge "AaiController tests"Wojciech Sliwka1-14/+7
2019-08-26AaiController testsMichal Kabaj1-14/+7
- improved existing testcases by including spring integration - added new testcases Change-Id: I64abbd91b9c9fc7cdc27ca25f90954b29f065096 Issue-ID: VID-478 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-08-25Fix to vf-module-homing-data-action controller to retrieve the cloudRegionIdAlexey Sandler2-9/+15
Issue-ID: VID-378 Change-Id: I6042e72c9ebb8508b822df276da1b8549501042c Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-08-22Move this variable to comply with Java Code ConventionsThugutla sailakshmi1-1/+3
Move this variable to comply with Java Code Conventions Issue-ID: VID-561 Change-Id: Ibf8099258145a2ae591cd0acce9bbe75b592eccd Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-08-22Merge "Add a semicolon at the end of this statement."Ittay Stern1-16/+16
2019-08-22Merge "Move this variable to comply with Java Code Conventions"Ittay Stern1-6/+8
2019-08-22Merge "Move this constructor to comply with Java Code Conventions"Ittay Stern1-5/+6
2019-08-22Merge "Move this constructor to comply with Java Code Conventions"Ittay Stern1-4/+5
2019-08-22Merge "make scheduler client tolerance to error messages"Amichai Hemli2-8/+14
2019-08-22make scheduler client tolerance to error messagesEylon Malin2-8/+14
Read response from scheduler as String save them as raw, and only then parse them Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I38ed8f211b2c111b57741254cb5e90317fefdc7d Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-08-22Merge "probe mso by retrieving empty list of request status"Amichai Hemli4-23/+47
2019-08-22probe mso by retrieving empty list of request statusEylon Malin4-23/+47
Mso probe component use getRawOrchestrationRequestsByFilter which return HttpResponseWithRequestInfo Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Icee95af8dbe26296e9fc110170fb758e5133984c Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-08-22Add MsoController deletion testskurczews1-2/+0
Change-Id: I534fb06e7bf742f2fe6931e5b6f279f499aeed08 Issue-ID: VID-470 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-08-22Move this constructor to comply with Java Code ConventionsThugutla sailakshmi1-5/+6
Move this constructor to comply with Java Code Conventions Issue-ID: VID-561 Change-Id: I50e166bebe331db6b1e46f06c156791fa41b500b Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-08-22Move this constructor to comply with Java Code ConventionsThugutla sailakshmi1-4/+5
Move this constructor to comply with Java Code Conventions Issue-ID: VID-561 Change-Id: I3641f897f191dc8717bf65fefd4fd2c699f7195b Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-08-22Move this variable to comply with Java Code ConventionsThugutla sailakshmi1-6/+8
Move this variable to comply with Java Code Conventions Issue-ID: VID-561 Change-Id: I01c4d3e2efc1ee23694da8d3e6770978d94e88c2 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-08-22Add a semicolon at the end of this statement.anushadasari1-16/+16
In JavaScript, the semicolon (;) is optional as a statement separator, but omitting semicolons can be confusing, and lead to unexpected results because a semicolon is implicitly inserted at the end of each line. Issue-ID: VID-583 Change-Id: I68d334ce5f7f427ebc3e49b5991fd989676d8c0e Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-08-21probe sdc by retrieving service model if uuid configuredEylon Malin6-287/+135
If system.properties has value for probe.sdc.model.uuid then usd this value for retrieving service model otherwise probe only sdc connectivity with sdc2/rest/healthCheck Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Icd1c31217e56a8c0cfa5c2f2bc5f11e0c8dd7ff8 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-08-21Merge "Move this variables and constructors to comply with Java Code ↵Ittay Stern1-9/+10
Conventions"
2019-08-21Merge changes from topics "VID-583", "VID-582"Ittay Stern2-11/+10
* changes: Add a semicolon at the end of this statement. Unused Import
2019-08-21Merge "Move this variables to comply with Java Code Conventions"Ittay Stern1-3/+4
2019-08-21Merge "Move this variables to comply with Java Code Conventions"Ittay Stern1-3/+5
2019-08-21Move this variables and constructors to comply with Java Code ConventionsThugutla sailakshmi1-9/+10
Move this variables and constructors to comply with Java Code Conventions Issue-ID: VID-561 Change-Id: Id8e4c00609ad17d624da82d8b73d14b5cb0639b1 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-08-21Move this variables to comply with Java Code ConventionsThugutla sailakshmi1-3/+4
Move this variables to comply with Java Code Conventions Issue-ID: VID-581 Change-Id: I74728ee5234501ba3c2a8fe5ae889c1e9186f2dc Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-08-21Add a semicolon at the end of this statement.anushadasari1-10/+10
In JavaScript, the semicolon (;) is optional as a statement separator, but omitting semicolons can be confusing, and lead to unexpected results because a semicolon is implicitly inserted at the end of each line. Issue-ID: VID-583 Change-Id: I73dbc757d62ef388d8935ef6aa25f08c3a82df8c Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-08-21Move this variables to comply with Java Code ConventionsThugutla sailakshmi1-3/+5
Move this variables to comply with Java Code Conventions Issue-ID: VID-561 Change-Id: Id618b3717658dcd44b17a5f85b0b87e7e8b71826 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-08-21Unused Importanushadasari1-1/+0
The imports part of a file should be handled by the Integrated Development Environment (IDE), not manually by the developer. Unused and useless imports should not occur if that is the case. Leaving them in reduces the code's readability, since their presence can be confusing. Issue-ID: VID-582 Change-Id: Id79d2f2af4d69ded8e1c8da10fc67e4e7ea0f933 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-08-21Merge "Sonar Fix - LeanCloudConfiguration.java - Move variable to comply ↵Ittay Stern1-5/+6
with Java Code Conventions"
2019-08-21Merge "Sonar Fix - HttpsAuthClient.java"Ittay Stern1-7/+6
2019-08-20unused importanushadasari1-1/+0
The imports part of a file should be handled by the Integrated Development Environment (IDE), not manually by the developer. Unused and useless imports should not occur if that is the case. Leaving them in reduces the code's readability, since their presence can be confusing. Issue-ID: VID-580 Change-Id: I3ea680af37477b564d02fcc9b58956b3958d184d Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-08-20Move the variable to comply with JCC.anushadasari1-8/+8
According to the Java Code Conventions as defined by Oracle, the members of a class or interface declaration should appear in the following order in the source files: Class and instance variables Constructors Methods Issue-ID: VID-579 Change-Id: Ie87b550a30df06eb2498565b719bd52b11d0c3f9 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-08-16Sonar Fix - LeanCloudConfiguration.java - Move variable to comply with Java ↵dinesha1-5/+6
Code Conventions Fixed sonar issus across the file Issue-ID: VID-547 Change-Id: I3362cf34c3db506ab3359669045169fe761743ea Signed-off-by: dinesha <dineshgs@in.ibm.com>
2019-08-14Merge "Move this variable to comply with Java Code Conventions"Ittay Stern1-8/+11
2019-08-14Merge "Move this variable to comply with Java Code Conventions"Ittay Stern1-13/+14
2019-08-14Sonar Fix - HttpsAuthClient.javadinesha1-7/+6
Fixed Sonar issues accross the file Issue-ID: VID-547 Change-Id: I2b344b48fec4e153cb47154ec49998aa1c267a95 Signed-off-by: dinesha <dineshgs@in.ibm.com>
2019-08-13Add a semicolon at the end of this statementanushadasari1-1/+1
In JavaScript, the semicolon (;) is optional as a statement separator, but omitting semicolons can be confusing, and lead to unexpected results because a semicolon is implicitly inserted at the end of each line. Issue-ID: VID-568 Change-Id: Id89534f4fbd326ebcbe12857bce7e2d69bf73dfd Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-08-13Move this variable to comply with Java Code ConventionsThugutla sailakshmi1-8/+11
move the variable to comply with java code convenrions Issue-ID: VID-561 Change-Id: I11a671d8be20429c3e53fd98d54330b982564f93 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-08-12Sonar Fix - ResourceType.java- Added field 'final' to the static variabledinesha1-1/+1
Fixed Sonar issues across the file Issue-ID: VID-547 Change-Id: I1daa62cf2e30f5b0dbe142c7ea183f93fd7fb48f Signed-off-by: dinesha <dineshgs@in.ibm.com>
2019-08-12Merge "Remove declaration of thrown exception"Ittay Stern1-1/+1
2019-08-12Merge "Remove useless trailing whitespace"Ittay Stern1-2/+1
2019-08-12Merge "Move this variable to comply with Java Code Conventions"Ittay Stern1-1/+3
2019-08-12Remove declaration of thrown exceptionanushadasari1-1/+1
Remove the declaration of thrown exception 'org.onap.vid.aai.exceptions.HttpClientBuilderException' which is a runtime exception. Issue-ID: VID-559 Change-Id: I8fe8c29e3aa1d4b0b35522931057efa260c60206 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-08-12Remove useless trailing whitespaceanushadasari1-2/+1
Trailing whitespaces are simply useless and should not stay in code. They may generate noise when comparing different versions of the same file. Issue-ID: VID-565 Change-Id: If5647e94ea897bf42761a689d036a7229b34a500 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-08-12Move this variable to comply with Java Code ConventionsThugutla sailakshmi1-1/+3
Issue-ID: VID-561 Change-Id: I1c59d863eb93537177e84a3a10fed0862189191c Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-08-12Move this variable to comply with Java Code ConventionsThugutla sailakshmi1-2/+3
Issue-ID: VID-561 Change-Id: I7d3382d43a0484dbadea4d3285a235a628d84ffc Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-08-12Merge "return MsoResponseWrapper with null body in case of null response"Ittay Stern1-1/+2
2019-08-12Merge "use epsdk 2.5.0 in VID"Ittay Stern1-17/+0
2019-08-12return MsoResponseWrapper with null body in case of null responseEylon Malin1-1/+2
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ia05237264557634f18ed868904cc68350a312fc1