aboutsummaryrefslogtreecommitdiffstats
path: root/reference/logging-filter/logging-filter-base/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2021-05-12Fix NPE under MDCSetup for response code 422Claudio D. Gasparini2-4/+78
- Include all WebDAV http codes Issue-ID: LOG-1241 Signed-off-by: Claudio D. Gasparini <claudio.gasparini@intl.att.com> Change-Id: I10ece8eadd9172e893809f04c603f7d8621dbf8a
2020-09-15add ability to specify instant precisionSmokowski, Kevin (ks6305)2-6/+23
it is now easier to configure timestamp output Issue-ID: LOG-1236 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: Ie31b3faf706fe28f73d6f8e230bf7a7e2b3009cf
2020-06-12change in MDCSetup classSmokowski, Kevin (ks6305)1-53/+56
MDCSetup change in logging filter base Issue-ID: LOG-1216 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I694804374ac5649e490e4ff2ef1015f91cabc211
2020-05-08Set elapsedTime for metric logBrittany Plummer (bp896r)1-2/+2
Issue-ID: LOG-1212 Change-Id: I7e53fd4c5887351b4b7f0fd8da1e4ae28cd2284a Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
2020-04-07Added PreMatching annotation to AuditLogContainerFilterBrittany Plummer (bp896r)1-0/+2
Issue-ID: LOG-1209 Change-Id: I88a9ee744a55dd8baea632fab08cdabc7aa25ab1 Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
2020-03-17metric log updates and util fixSmokowski, Kevin (ks6305)9-98/+331
make metric log more flexible Issue-ID: LOG-1202 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I13d6f52d5bc302e3aef65ad39c8df7c8effd1935
2020-03-03Added new annotation for ScheduledLoggingBrittany Plummer (bp896r)5-0/+242
Issue-ID: LOG-1208 Change-Id: If6d8f8c18affcec8a11eab877f6f716ed34909ba Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
2020-02-07PayloadLoggingServletFilter updateSmokowski, Kevin (ks6305)1-5/+48
limit PayloadLoggingServletFilter log record size Issue-ID: LOG-1197 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I8e13d2be26e61ad0ab18f097c30ef0b166e229db
2019-12-16Removed check for X-ClientID header when setting partnerNameBrittany Plummer (bp896r)2-7/+0
Issue-ID: LOG-1191 Change-Id: I4247085b89f25d8bb244fa43a18a81c8ff35aff8 Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
2019-12-04Set InvocationID value from server and client invocationIdsBrittany Plummer (bp896r)3-0/+3
Issue-ID: LOG-1189 Change-Id: I471b3f415546d8950f17b91b8d6ac4d415fed076 Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
2019-11-18Split InvocationID into two MDC valuesBrittany Plummer (bp896r)2-11/+9
Issue-ID: LOG-1187 Change-Id: Ice156a1bb4665f747e46bc5305be547800f10c4c Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
2019-11-07Merge "minor logging change"Pierre Rioux1-1/+1
2019-11-07minor logging changeSmokowski, Kevin (ks6305)1-1/+1
Setting X-InvocationID header for outgoing request changed from info to trace Issue-ID: LOG-1186 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I73bb6fdd21015a89a7fc16c4e93d810bc9755b40
2019-11-07HttpURLConnection metric supportSmokowski, Kevin (ks6305)1-0/+82
add java.net.HttpURLConnection metric util Issue-ID: LOG-1172 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I60b1c59d1dd40f44a92dc1e92e406129830abf91
2019-10-31remove getServiceName from metric filterSmokowski, Kevin (ks6305)2-11/+0
remove getServiceName from metric filter should be handled elsewhere Issue-ID: LOG-1185 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I951bb3f9d5135743d85a863501da510360b80d53
2019-10-30update getBasicAuthUserNameSmokowski, Kevin (ks6305)1-1/+1
prevent excess error throwing in getBasicAuthUserName Issue-ID: LOG-1184 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I226185ef19525095dbb9e5f480e43bd7b087bf8f
2019-10-28Added log line to indicate empty entity on responses in payload filter Brittany Plummer (bp896r)1-0/+2
Issue-ID: LOG-1183 Change-Id: I5e5f2cbbbddc0dada8940f5a4c553a6c9f315f06 Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
2019-10-23Remove logging lines that are clogging up logsBrittany Plummer (bp896r)1-4/+0
Issue-ID: LOG-1176 Change-Id: Idc1854070e595fed0fc669b1e43445a3569a7841 Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
2019-10-18Merge "enhance AbstractMetricLogFilter"Pierre Rioux1-0/+10
2019-10-18enhance AbstractMetricLogFilterSmokowski, Kevin (ks6305)1-0/+10
make metric filters easily extendable Issue-ID: LOG-1171 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: Ibd3f96cc8abbfa4728605f9f4c4d2472475b2dba
2019-10-18Generate InvocationID UUID on outgoing requests and use X-InvocationIDBrittany Plummer (bp896r)1-1/+4
Issue-ID: LOG-1170 Change-Id: I89fd007bf80fbea1a743d6eb4776fddb07103b46 Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
2019-10-15Merge "Update method setMDCPartnerName in MDCSetup class"Pierre Rioux1-14/+51
2019-10-11Merge "Added catching error when calculating elapsedTime."Pierre Rioux1-14/+24
2019-10-08Added catching error when calculating elapsedTime.Brittany Plummer (bp896r)1-14/+24
Issue-ID: LOG-1148 Change-Id: I8f94b066e1841322199c95f7de82c1a4e76fcd2f Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
2019-10-08Update method setMDCPartnerName in MDCSetup classSmokowski, Kevin (ks6305)1-14/+51
read partner name from authorization header when possible Issue-ID: LOG-1161 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I489a0cfe88e845b7e8a4234240601064f8728640
2019-10-03Add OOF ComponentMarcus G K Williams1-1/+2
Add OOF Component, as OOF is a bonifide ONAP project. This also solves a bug in SO where OOF Homing is trying to log but does not find ONAPComponents.OOF and fails homing. Issue-ID: SO-2378 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Change-Id: I7bc3535c5c283bcc969a0dcc2288676a3a7807f1
2019-09-27Merge "Refactoring PayloadLoggingServletFilter"Prudence Au1-78/+27
2019-09-24Refactoring PayloadLoggingServletFilterSingal, Kapil (ks220y)1-78/+27
Replacing try-catch-finally for all Streams with try-with-resource Issue-ID: LOG-1147 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I352096a3c95277770734f7844c4b890f31df61da
2019-09-20PayloadLoggingClientFilter bugfixSmokowski, Kevin (ks6305)3-6/+9
log response body in PayloadLoggingClientFilter Issue-ID: LOG-1146 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I17a96f40577ba709d7f623209cdd19143dc8f1ec
2019-09-12Merge "Adding/Replacing Plugins to format/validate code"Prudence Au2-4/+4
2019-09-12Merge "Updated setTargetEntity to accept ONAPComponentsList interface"Prudence Au1-1/+1
2019-09-12Merge "Update StatusLoggingInterceptor"Prudence Au2-31/+59
2019-09-12Updated setTargetEntity to accept ONAPComponentsList interfaceBrittany Plummer (bp896r)1-1/+1
Issue-ID: LOG-1130 Change-Id: I8e69d64bef18589c9eabb785ab4671c265f517b9 Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
2019-09-12Adding/Replacing Plugins to format/validate codeSingal, Kapil (ks220y)2-4/+4
Replacing Groovy script with directory-maven-plugin to identify baseDirPath Add license-maven-plugin plugin to Generate / Validate Copyright header Adding tidy-maven-plugin to format / validate POM.xml Updating Java Code Formatter Sytle XML to Version 13 Issue-ID: LOG-1129 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Ifa333053bb1dff70f28b14ea9460073043e9c847
2019-09-11Restore MDC SetupSmokowski, Kevin (ks6305)3-22/+22
MDCSetup was renamed to AbstractFilter and made abstract. This reverts those changes Issue-ID: LOG-1128 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I861ea441a66e5bc929e2efea22b690b4fddc3059
2019-09-11Update StatusLoggingInterceptorSmokowski, Kevin (ks6305)2-31/+59
StatusLoggingInterceptor should not extend PayloadLoggingServletFilter Issue-ID: LOG-1127 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: Ic66ee14445efd57c92b4fcc894ec0b4c5470a441
2019-09-10updating logging filtersSmokowski, Kevin (ks6305)9-200/+249
maximize re-use in logging filter classes Issue-ID: LOG-1125 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I063d57635fe56a60d97945873d0c7b64852182a5
2019-08-29Add JAX-RS and Spring filters for setting up MDCBrittany Plummer (bp896r)15-0/+1426
Issue-ID: LOG-1113 Change-Id: I7167943384e3983c7eced1c969ed51fcd8130c88 Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>