aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-logging-lib
AgeCommit message (Collapse)AuthorFilesLines
2018-08-06Minor improvements to logging for servletsvempo16-56/+198
Fixed import order, more resilient statuses for Spring, cleaner code and tests, more convenient APIs. Change-Id: I6493c81d9c3c1c543c354562e074876268794438 Issue-ID: SDC-1580 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-08-06Added logging interceptor for Springvempo3-0/+259
Change-Id: I1de1f6baca48f36f05e32231f5a7e900738bd900 Issue-ID: SDC-1580 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-08-05Simplified logging code for servletsvempo26-1135/+1017
Added and simplified unit tests, organized imports, refactored for simplicity and reuse. Change-Id: I4c4837447329528ae855f2e8d1a1f4b883617f33 Issue-ID: SDC-1580 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-08-02Removed forced dependencies in commonvempo1-5/+0
Moved dependencies from "dependencies" to "dependencyManagement" so that they aren't inherited unconditionally to child modules. Organized and cleaned up dependencies, aligned versions. Change-Id: I27c7792135ec5b7b2b5b49527bc0ac0d09b024b1 Issue-ID: SDC-1065 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-07-29re base codeMichael Lando11-35/+42
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando <ml636r@att.com>
2018-07-15Upgraded servlet-api version to 3.0.1vempo1-1/+1
Change-Id: I50b258e8843d85384e89e4ceb16d687d247dbe11 Issue-ID: SDC-1472 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-06-27Improvements in audit logger for onboardingvempo29-631/+686
A few optimizations, more unit-tests, log via the handling resource's logger instead of filter's logger. Change-Id: I40cef2c86a82b25ded1f8fdca1ec3b0f2fe062d8 Issue-ID: SDC-1451 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-06-02update sdc versionMichael Lando3-3/+3
update pom and version.properties to 1.3.0 Issue-ID: SDC-1370 Change-Id: I0dcf02f868dd263ba4523435e7be11bdc3851053 Signed-off-by: Michael Lando <ml636r@att.com>
2018-05-27Revert "update sdc version"Michael Lando3-3/+3
This reverts commit 5920d2c9e47958ed5f3197b7a16094e01e8d4bcd. Change-Id: I7906549d1fb7ba5d8d081870a9d976a3c8077438 Issue-ID: SDC-1370 Signed-off-by: Michael Lando <ml636r@att.com>
2018-05-26update sdc versionMichael Lando3-3/+3
update pom and version.properties to 1.3.0 Issue-ID: SDC-1370 Change-Id: Ib8f4e2859ee79dfd8e19e725b07c77d7d2bbdaf1 Signed-off-by: Michael Lando <ml636r@att.com>
2018-05-02Added fallback for host address in loggingvempo3-13/+68
In some cases Java fails to get local hostname on Linux. Added a workaround that in such cases gets at least some meaningful host identification. Change-Id: Icf9b84ec6a0d6fbcbcb6a1578689b3e3be00261b Issue-ID: SDC-1275 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-05-01Expose tracing context via log context servicevempo8-14/+154
Tracing context must be available to application code when the application makes outbound calls. Change-Id: Ica8e1f9d8e0bd6d37688a01a64c1fbedc126801c Issue-ID: SDC-1264 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-04-17Reducing onboarding backend maven build timeGautam Shah1-6/+0
Reducing onboarding backend maven build time Change-Id: Iab7af70c0e9f60b8a50bef7937e802df5be89fd0 Issue-ID: SDC-1189 Signed-off-by: GAUTAMS <gautams@amdocs.com>
2018-04-08Fixed proxy instead of resource type in auditvempo2-14/+138
Change-Id: I1b3c22105f27e9d3dee0947815d32eb453a56831 Issue-ID: SDC-1190 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-04-08Minor improvements in hostname for loggingvempo3-10/+10
Minor concurrency and naming improvements. Change-Id: I14dfb6d83dd5b84d5a8bb5cb67eda9f490b0e85a Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-04-01Introduced metrics to logging APIvempo24-854/+953
Metrics data can now be passed to logger. Also general cleanup, refactoring, simpler implementation, javadocs. Change-Id: I037101aa9626b3e011737ec2e3497ab348319e4c Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-03-26Added JAX-RS filters for loggingolegb16-831/+1702
Change-Id: I57ab333278d4ea26530e916ef89670df8b51b555 Issue-ID: SDC-772 Signed-off-by: olegb <olegb@amdocs.com> Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-03-23Logging refactoring and global contextvempo26-493/+932
Implemented global context (instance ID, host address). Refactored the logging context API for clarity and separation of concerns. Added unit tests. Fixed Javadoc. Change-Id: I6e29b7b3613aebf23112dc017490ad2828e0fb91 Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-03-15Changed logging context APIolegb15-279/+571
Issue-ID: SDC-772 Change-Id: I9dce63f3a1bb7df067cf06a96158afa7d799319e Signed-off-by: olegb <olegb@amdocs.com>
2018-03-06Changes to the audit logging implementationvempo10-176/+510
Changes to the API and implementation, fixed issues, added javadoc and unit tests, changed scope of some dependencies to "provided" to prevent transitive when not needed. Change-Id: Ib76ae2f921846c2115fcc5cc61b93625307a7c65 Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-03-04Changed audit API of loggerolegb9-92/+238
Change-Id: I3e091ba7ce592fae536da1eaf28a220284b846c3 Issue-ID: SDC-772 Signed-off-by: olegb <olegb@amdocs.com>
2018-02-26Removed audit logging from business codevempo1-57/+0
Change-Id: I676e8bb10ae7caf2e8c7ae490c247e0c929696f2 Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-02-04Removed unnecessary log constantsvempo5-583/+0
Removed unnecessary constants associated with logging. Moved remaining constants close to their respective business logic. Change-Id: I3497479a2edcf2c98dca888b2aed52cb2a98e86b Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-30Removed MdcUtilvempo1-53/+0
Validation messages are propagated to the client and should not be logged as errors. No application modules can depend on logging-core. Change-Id: I36eb2f9de195e77d5008cc69dbc7b65643fe2322 Issue-ID: SDC-875 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-29Removed reference to MDC for loggingvempo1-74/+0
Change-Id: I6d7e5b40ba6f2bc596be9b3e80ea5c274f1ae447 Issue-ID: SDC-875 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-16Removed MDC from four modulesvempo1-31/+0
Change-Id: I4cba1701cb52121709bbd98dbee4a0cb42f1e5f0 Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-14Minor refactor of logging APIvempo13-44/+44
Change-Id: I926ba95c7145eb98aade3f9009a252ad995a346d Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-11Deleted no longer needed logging filesvempo3-87/+0
Change-Id: I0a214f9572c3acabc374154ffcaca71308dfd26b Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-10Removed SLF4J from logging APIvempo2-11/+5
Change-Id: Icc1ae76ff3945d9965e2beafb2fe53fe911d0d4c Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-10Merged two MDC related classesvempo2-66/+13
Change-Id: I0efda7c99972ce133e2a4045b1ac07fe062d6445 Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-10Removed unused code in loggervempo6-95/+36
Change-Id: I04da65e3470d6444dd77a52a7c8371811d0941b6 Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-09Add Togglz REST APIvempo1-1/+2
Supporting REST API, and Javascript for Togglz Issue-ID: SDC-881 Change-Id: I026d3f190cb95c8943a85b26dfbcd13e856abe64 Signed-off-by: shrek2000 <orenkle@amdocs.com> (cherry picked from commit 5a33f027cd2bc4253d5ebb7a71889ead65d095b2) Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-09Added logging context service, refactoringvempo31-1141/+1999
Change-Id: Ib040d4579107b60c8da2c7a6da829f49c1cd8dd4 Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-04Remove enter/exit debug #8vempo1-84/+0
Change-Id: Ib075b5b42498bfe8d7fc0368e078adeead340e34 Issue-ID: SDC-875 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-12-21Add collaboration featuretalig7-9/+35
Issue-ID: SDC-767 Change-Id: I14fb4c1f54086ed03a56a7ff7fab9ecd40381795 Signed-off-by: talig <talig@amdocs.com>
2017-12-13Fixed sonar issues - LoggerFactorymojahidi1-3/+33
Refactored as per previous patch comment Change-Id: Ia971105a56df62575cd3871e3488b6d2c6903d3c Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-12Fixed sonar issues - LoggerTragetServiceNamemojahidi1-0/+3
Added private constructor to hide public one Change-Id: I5f4f7d67513c6d4f792ad68ad986867a255356f0 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-11Fixed sonar issues - DebugMessagesmojahidi1-0/+3
Added private constructor to hide public one Change-Id: I0689d9a4c920a910324b0db298e325c3e87d37f6 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-11Fixed sonar issues - DebugConstantsmojahidi1-3/+3
Added private constructor to hide public one Change-Id: I535017906f12d69333360b1994d87e506f5bf142 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-11Fixed sonar issues - AuditMessagesmojahidi1-3/+18
Added private constructor to hide public one Change-Id: Icddef8c59eb1f4cc77ed6646cfb7b362d4921da1 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-11Fixed sonar issues - LoggerConstantsmojahidi1-0/+3
Added private constructor to hide public one Change-Id: I8958d8906d7339d8bc0c7d0188de5d397aa04c79 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-11Fixed sonar issues - ContextPropagationServicemojahidi1-0/+2
Added FunctionalInterface annotation Change-Id: Ia8c68be7a2154d68d0d472cd0bb757c01ad59e27 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-11Fixed sonar issues - LoggerErrorDescriptionmojahidi1-0/+3
Added private constructor to hide public one Change-Id: I06eca13ddcd6ca4e2eae427c2fb8a12e7c603e64 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-11Corrected copyright headervempo10-70/+30
Change-Id: Ib437d6c321c8142a72b5b8f4584d84f240b7d36c Issue-ID: SDC-738 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-12-11Corrected copyright headervempo10-70/+30
Change-Id: I23f3e27b0d628288b6c21b7465a36b3fd2d407b2 Issue-ID: SDC-738 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-12-11Corrected copyright headervempo10-70/+30
Change-Id: I037e766fa1734186054e3658b4908498ce67dd2a Issue-ID: SDC-738 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-12-11Corrected copyright headervempo4-28/+12
Change-Id: Ie294ac695538f759c4a38382c7b45dc9660d178c Issue-ID: SDC-738 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-12-06Duplicate logging frameworks mergingnoahs49-0/+4623
There was two copies of the SDC logging framework Change-Id: I55c94c9817a83162c6d90e504dfd91e4858c7269 Issue-ID: SDC-703 Signed-off-by: noahs <noah.shogan@amdocs.com>