summaryrefslogtreecommitdiffstats
path: root/vid-app-common
AgeCommit message (Collapse)AuthorFilesLines
2019-10-31rename class to JaxRsMetricLogClientFilterEylon Malin4-8/+8
Issue-ID: VID-253 Change-Id: I47727690015ab0183ba25a57b19fb280231c6fb3 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-31register SyncRestClient to work with new MetricLogClient FilterAlexey Sandler5-413/+2
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 Vinouze2-46/+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 Malin10-5/+259
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-29Merge "Add another vfm-upgrade test"Amichai Hemli2-1/+116
2019-10-28Add another vfm-upgrade testIttay Stern2-1/+116
Issue-ID: VID-603 Change-Id: I4690906d3bc660984a0c2269d7151f6151b89940 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-28downgrade onap logging dependency back to 1.5.1Eylon Malin1-1/+1
Issue-ID: VID-253 onap logging 1.6.1 has some invalid prints to metrics logs Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Icdba16a96e5424d817ff4dff783472c3d9d294bd
2019-10-28upgrade onap logging dependency to 1.6.1Eylon Malin1-2/+3
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ie667151357386bd93bcdec8fc5fca31f38842c17
2019-10-25Removed the line break before and after options over UI,Amir Skalka1-3/+1
Added a 'version' field validation over the E2E test. Issue-ID: VID-691 Signed-off-by: Amir Skalka <amir.skalka@intl.att.com> Change-Id: I52205e819a373458c47b8a48239c4bdb309a0bae
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 Malin2-2/+2
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-24common api tests assertion, for metrics log and outgoing out headersEylon Malin1-1/+0
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I3d0f5c215d080b5ae70fe7bb2b42a97fb944dcf9
2019-10-23Merge "register MSO Client to MetricLogClientFilter"Ittay Stern3-34/+17
2019-10-23register MSO Client to MetricLogClientFilterAlexey Sandler3-34/+17
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 Malin8-26/+108
Issue-ID: VID-253 Change-Id: I67947886fd8945a224ee81d5eb0a8fedf1f7317c Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-17AaiController testsMichal Kabaj2-3/+31
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 Stern3-0/+159
2019-10-10fix call AAI get vnf data with right cloudRegion idAlexey Sandler1-2/+2
Issue-ID: VID-596 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I9879657abdc23d91370ed12736d177884963448a
2019-10-10base logging interceptor for apache http clientEylon Malin3-0/+159
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 Stern2-1/+2
* changes: Add the "@Override" annotation. Replace "==" with "===".
2019-10-09Merge "Dont filter get_vnf_data_by_globalid_and_service_type_response results"Amichai Hemli5-60/+20
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-07add logging-filter dependencies to vid-app-commonEylon Malin1-0/+10
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I1c9ae03fb9c33a12c24b887a9262df77b8d29e0c
2019-10-06Dont filter get_vnf_data_by_globalid_and_service_type_response resultsIttay Stern5-60/+20
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 Hemli2-5/+13
2019-10-06Merge "send X-ONAP-RequestID and X-InvocationID headers to AAI"Ittay Stern2-20/+53
2019-10-06send X-ONAP-RequestID and X-InvocationID headers to AAIEylon Malin2-20/+53
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 Stern2-5/+13
Issue-ID: VID-253 Change-Id: I471ceea513b62f5bc83f8496e15b647f7d888926 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-06Merge "all rest calls of AAIRestInterface use doRest method"Ittay Stern4-282/+23
2019-10-06change management integration with reduce flagSara Weiss1-7/+7
Issue-ID: VID-596 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Change-Id: I3b9df53ae4b58b3abe672b3871b75a68fda79fc9 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com>
2019-10-06all rest calls of AAIRestInterface use doRest methodEylon Malin4-282/+23
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 Hemli4-52/+166
2019-10-03sort base resource according it's position fieldEinat Vinouze4-52/+166
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 Malin2-6/+92
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 Stern9-167/+39
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-03Merge changes I3d32b225,I75b554a6Ittay Stern4-334/+3
* changes: add test case of restCall to outgoing request header test remove unused interface and unused methods
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-03add test case of restCall to outgoing request header testEylon Malin1-0/+1
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I3d32b225c47f9cf5af187d2c2bb850e9519d4bfc
2019-10-03remove unused interface and unused methodsEylon Malin4-334/+2
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I75b554a6221e9736bb8d360225c3d7e20e69a6ab
2019-10-03UT - requestId is same in next call but invocationId is differentEylon Malin1-1/+18
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I3c07a26b2644435ca530466f47fb3b77d01dcbe4
2019-10-02Merge "send INVOCATION_ID header via RestMsoImplementation"Amichai Hemli3-6/+16
2019-10-02MsoRestClientNew not extends RestMsoImplementationEylon Malin8-19/+28
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 Gardziejewski9-167/+39
Issue-ID: VID-602 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I289b55129cbfe8fbf6dd28f0e8f41715ff4ed107
2019-10-02send INVOCATION_ID header via RestMsoImplementationEylon Malin3-6/+16
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 Stern9-313/+339
Issue-ID: VID-253 Change-Id: I80c710db1eb3f48c52b7ecebb234e75a503bf65d Signed-off-by: Ittay Stern <ittay.stern@att.com>