aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2019-10-31register SyncRestClient to work with new MetricLogClient FilterAlexey Sandler2-11/+1
Issue-ID: VID-253 add API test that checks request headers logged tometrics log Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Ic2bfb99d40482b939ddaa4ba5c694f1042c3dd69 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-10-31add to AAI headers in request and metric logEinat Vinouze1-10/+3
Issue-ID: VID-253 Including API test + use VidMetricLogClientFilter Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I62980b3c88e941d1a47b03c75a1c837078e1988b
2019-10-30use onap logging 1.6.1 with needed workaroundsEylon Malin6-4/+145
Issue-ID: VID-253 Onap logging 1.6.1 has some mismatches regards invocationId. This commit fix these mismatches by fixing the MDC when needed. Change-Id: Ic8d35318ae511667dfa6f9c4297d562fd976a717 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-24log VID is started on startupEylon Malin1-1/+3
Issue-ID: VID-253 Logging api tests use this indication for getting only relevant log lines Change-Id: I3cb829ab5a0f3cead3db50859da2ba12df75a971 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-24fix ApacheClientMetricInterceptor to return expected ResponseCodeEylon Malin1-1/+1
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I5c90f5bcbf34eee28c192128333ca940558ecb30
2019-10-24don't add request id to MDC in VidLoggerAspectEylon Malin1-12/+1
Issue-ID: VID-253 request id is added to MDC by org.onap.logging.filter.spring.LoggingInterceptor so VidLoggerAspect don't need to add the request id to MDC Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I8883de54f6775cfc80df6f45b8ec489841b5a97a
2019-10-23Merge "register MSO Client to MetricLogClientFilter"Ittay Stern1-11/+11
2019-10-23register MSO Client to MetricLogClientFilterAlexey Sandler1-11/+11
Issue-ID: VID-253 Change-Id: Id0e3f13e62170da41981d74dbb5b92e8d3d1b69c Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-10-23Install incoming-requests auditorIttay Stern1-1/+9
Issue-ID: VID-253 Change-Id: I62aa4c0b1ab360f01eb00bb6aa83fe0e30e362ac Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-23use logging interceptor in SDC clientEylon Malin7-15/+107
Issue-ID: VID-253 Change-Id: I67947886fd8945a224ee81d5eb0a8fedf1f7317c Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-17AaiController testsMichal Kabaj1-3/+1
added new unit tests to AaiControllerTest Issue-ID: VID-684 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com> Change-Id: Ib6a7aaa932ff2909b8a1fd81d5128713d1dc3eb5
2019-10-10Merge "base logging interceptor for apache http client"Ittay Stern2-0/+82
2019-10-10base logging interceptor for apache http clientEylon Malin2-0/+82
Issue-ID: VID-253 org.onap.logging.filter.spring.SpringClientFilter used as reference implementation Change-Id: I015bc784ab5ee2b4ee6474bdbb7a346011734a3a Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-10Merge changes from topics "VID-30", "VID-37"Ittay Stern1-0/+1
* changes: Add the "@Override" annotation. Replace "==" with "===".
2019-10-07Add the "@Override" annotation.anushadasari1-0/+1
Using the @Override annotation is useful for two reasons : It elicits a warning from the compiler if the annotated method doesn't actually override anything, as in the case of a misspelling. It improves the readability of the source code by making it obvious that methods are overridden. Issue-ID: VID-612 Change-Id: I90f07b6da5934fcba0c6d4106a75684438d8bb4b Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-10-06Dont filter get_vnf_data_by_globalid_and_service_type_response resultsIttay Stern3-21/+7
Filtering happen on AAI as part of FLAG_FLASH_REDUCED_RESPONSE_CHANGEMG. Issue-ID: VID-659 Change-Id: If43034cce545c90ac44d6d0e70bc0baa3d21283b Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-06Merge "Add partner-name header sending to SDC"Amichai Hemli1-0/+2
2019-10-06send X-ONAP-RequestID and X-InvocationID headers to AAIEylon Malin1-2/+9
Issue-ID: VID-253 Change-Id: I5910e351982d3f118248f7dbeb735db018e1f05e Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-06Add partner-name header sending to SDCIttay Stern1-0/+2
Issue-ID: VID-253 Change-Id: I471ceea513b62f5bc83f8496e15b647f7d888926 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-06all rest calls of AAIRestInterface use doRest methodEylon Malin1-108/+17
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ie25a8be8d649fe322698c81a969c720dc123c629 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-03Merge "Verify audit logs format `audit2019`"Amichai Hemli1-2/+4
2019-10-03Merge "sort base resource according it's position field"Amichai Hemli1-3/+6
2019-10-03sort base resource according it's position fieldEinat Vinouze1-3/+6
Issue-ID: VID-646 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I35705cd4a239e30bc6d86da7cde05495648d2a04 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2019-10-03send INVOCATION_ID header in MsoRestClientNewEylon Malin1-0/+2
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I6f4e317571999b2bf0f37d5407c23ab79e7358b4
2019-10-03Merge "adding orchestration type to service models view"Ittay Stern4-167/+30
2019-10-03Verify audit logs format `audit2019`Ittay Stern1-2/+4
Issue-ID: VID-253 Change-Id: Ic62c455c101311dc3ac3022912390209e3fd86e7 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-03Merge "remove unused post method"Ittay Stern2-12/+2
2019-10-03remove unused post methodEylon Malin2-12/+2
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I17260b3228ea4d0d4cff80bcfe2aa941cc8e19f2
2019-10-03remove unused interface and unused methodsEylon Malin2-183/+1
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I75b554a6221e9736bb8d360225c3d7e20e69a6ab
2019-10-02Merge "send INVOCATION_ID header via RestMsoImplementation"Amichai Hemli2-1/+8
2019-10-02MsoRestClientNew not extends RestMsoImplementationEylon Malin4-10/+19
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I2e67f31bee79e05286fec4152ae5c85a96186047
2019-10-02adding orchestration type to service models viewBartosz Gardziejewski4-167/+30
Issue-ID: VID-602 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I289b55129cbfe8fbf6dd28f0e8f41715ff4ed107
2019-10-02send INVOCATION_ID header via RestMsoImplementationEylon Malin2-1/+8
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ifc199a3ef0faf2c02b73a065667866f25c20bd56
2019-10-02Verify partner-name header sent to AAI, SOIttay Stern5-309/+326
Issue-ID: VID-253 Change-Id: I80c710db1eb3f48c52b7ecebb234e75a503bf65d Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-02enable mso rest client send DELETE request with bodyEylon Malin3-81/+9
config SUPPRESS_HTTP_COMPLIANCE_VALIDATION directly from RestMsoImplementation, instead of relaying on the jersey client configuration. Also remove Delete method from RestMsoImplementation since it's not used in production code. Issue-ID: VID-657 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: If30d60c6aca9b7d9ab3e6d07b13c1246ed3d67e3
2019-09-25Expect None_Upgrade action for VNF upgradeAmichai Hemli1-0/+1
FE will send the None_Upgrade action therefore we need to map it to Upgrade Issue-ID: VID-651 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ia4806386dcd8faf557f0c17a2f533afa386b2ec1
2019-09-25Merge "Introduce request-id headers enum"Amichai Hemli2-20/+36
2019-09-24Add "@Override" annotation above method signature.anushadasari1-0/+1
Using the @Override annotation is useful for two reasons : It elicits a warning from the compiler if the annotated method doesn't actually override anything, as in the case of a misspelling. It improves the readability of the source code by making it obvious that methods are overridden. Issue-ID: VID-612 Change-Id: Ic628b85f7a3e4c08712c88298fa4620ecddce0cc Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-09-24Introduce request-id headers enumIttay Stern2-20/+36
Issue-ID: VID-253 Change-Id: I4df5756d14969a2c0daa777c75c1365837f9ad1f Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-24Encoding path segments on reduced custom queryAmichai Hemli1-4/+4
Need to URL-encode the path segments when sending URL in the custom queries to A&AI Issue-ID: VID-596 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ie551cccfc1a8c627984185324a59c18f13200e91
2019-09-24Merge "Add a position field to BaseResource"Ittay Stern8-78/+102
2019-09-24Add a position field to BaseResourceEinat Vinouze8-78/+102
Issue-ID: VID-646 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Id1f84dadd31840cf9fa3cdbc7afd7da727a22c7f
2019-09-23Change-management: provide and use scheduler's fields through ↵Ittay Stern2-6/+14
vm.scheduleWorkflow() In addition, show error message when no Portal-frame. Use the dumped data to revive ChangeManagementTest tests by capturing the error's payload. Issue-ID: VID-397 Change-Id: I978bf537c43b0e3933e82c761c60cd067ab2cf27 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-22Remove injections from filter, as filter is not Spring-controlledIttay Stern2-20/+12
Change-Id: Iecb4d6fbb79c5920d088fe536e6622690f8f881e Issue-ID: VID-253 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-22Let request-id value derive from alternative request-headersIttay Stern2-17/+71
Issue-ID: VID-253 Change-Id: Icae6caf5f720da0c7587f62380d1783669e69d9f Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-19Rename PromiseRequestIdFilter, extract isWrapNeeded and incomingRequestId ↵Ittay Stern1-22/+30
methods Change-Id: Idb39f7d5e723598e34e737522c4f73d8de3df93c Issue-ID: VID-253 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-19Merge "Disable homing_solution"6.0.0Ittay Stern3-9/+37
2019-09-19Disable homing_solutionwsliwka3-9/+37
Send Homing_solution=none during macro instantiation Add flag 'FLAG_DISABLE_HOMING' (by default set to true) which defines whether homing_solution should be in request to so or not Issue-ID: VID-576 Signed-off-by: wsliwka <wojciech.sliwka@nokia.com> Change-Id: I6151151a0256a5bb4e637acf08ae511f4b265dc2 Signed-off-by: wsliwka <wojciech.sliwka@nokia.com>
2019-09-18Merge "remove duplicated label InternalState.REPLACE_MYSELF"Ittay Stern1-5/+0
2019-09-18remove duplicated label InternalState.REPLACE_MYSELFEinat Vinouze1-5/+0
Issue-ID: VID-646 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Ifc6a43f9b34c5c792a05cc3502c1e8fcf5023210