Commit Graph

26 Commits

Author SHA1 Message Date
Justin Bertram d01ea80df9 ARTEMIS-5110 add ability to identify retired IDs in log annotations
The broker uses unique IDs for logging statements. As logging changes
over time we need a way to "retire" these IDs (e.g. when certain
logging statements are no longer needed) to ensure they are not used

This commit does the following:

 - Removes all the logging methods which are no longer used and
   "retires" the corresponding ID (i.e. adds them to the `retiredIDs`
   list for that LogBundle).
 - Updates the validation for IDs that have been retired or are in
   active use including a new suggestion about a valid ID to use when an
   invalid ID is found.
 - Fixes all the regular expressions in all the various uses of
   `@LogBundle` to ensure there are no overlaps to prevent duplicates
   between bundles.

Changes from myself and Robbie Gemmell (see PR). This closes #5303.
2024-10-25 15:14:07 +01:00
Robbie Gemmell 362dbd11ac ARTEMIS-4790: use JUnit 5 for the tests 2024-06-03 10:06:37 -05:00
Gary Tully 2e17a4a007 ARTEMIS-4582 - view and edit permissions, mops. security-settings for rbac on management apis 2024-03-15 16:40:45 +00:00
Robbie Gemmell df410da7ae ARTEMIS-4402: add some unit tests exercising the semi-generated log/message bundles to make generation problems more quickly noticable 2023-08-25 15:02:24 +01:00
Robbie Gemmell 9873fccf74 ARTEMIS-4020: switch to using SLF4J API for logging, use Log4J 2 as impl for broker distribution and tests
PR includes work from myself and Clebert Suconic, squashed from the new-logging branch.
2022-09-28 14:01:54 -04:00
Robbie Gemmell cbdaee4afa ARTEMIS-3300: fix checkstyle failure after f4f2f4eeda 2021-09-17 08:50:03 +01:00
Alexander Domke f4f2f4eeda ARTEMIS-3300 Evaluation of the system property artmis.data in the OSGi environment in addition to karaf.data 2021-09-16 17:21:49 -05:00
Andy Taylor 0ce173dcb5 ARTEMIS-2838 - migrate to HawtIO 2
https://issues.apache.org/jira/browse/ARTEMIS-2838
2020-10-09 09:20:29 +01:00
Justin Bertram b3529dcea4 ARTEMIS-1018 de-duplicate logging codes 2018-10-10 18:48:53 -04:00
Ryan Yeats 59ec22962b ARTEMIS-1443 Fix issue starting artemis in osgi with CORE protocol 2017-10-02 20:30:34 -04:00
Dmitrii Tikhomirov 028df47030 [ARTEMIS-1259] Log messages without prefixed id code in artemis-server-osgi 2017-06-27 14:36:24 -04:00
Bennet Schulz 4b5cbb86aa ARTEMIS-830 Remove cyclic dependencies
Removes cyclic dependencies between classes and packages in the artemis-jdbc-store projetct by moving classes and methods to other locations and reducing the visibility of classes, fields and methods. Solving cyclic dependencies is important to keep the codebase maintainable. Scenarios where "everything uses everything" should be avoided.
2016-10-28 16:32:04 -04:00
Clebert Suconic 128a505891 ARTEMIS-793 Improvements to OSGi Integration 2016-10-19 16:51:03 -04:00
Benjamin Graf 2020dcd290 ARTEMIS-793 Improvement to OSGi integration 2016-10-19 22:03:00 +02:00
Benjamin Graf f8038268e0 ARTEMIS-752 fixing NPE
Done as a patch on https://issues.apache.org/jira/browse/ARTEMIS-752
2016-10-05 11:40:10 -04:00
Clebert Suconic ec48f9ed00 ARTEMIS-765 Improve Checkstyle 2016-09-30 11:12:09 -04:00
jbertram 6faaf0445d ARTEMIS-752 fix OSGi protocol parsing 2016-09-26 18:37:36 -04:00
Ville Skyttä 3923ae45f4 Fix checkstyle redundant modifier violations 2016-06-13 20:03:54 +03:00
Dejan Bosanac d891e47774 ARTEMIS-537 - final improvements to OSGi integration and documentation update 2016-05-27 13:51:21 +02:00
Dejan Bosanac 5db163753d https://issues.apache.org/jira/browse/ARTEMIS-537 - allow artemis to work properly with karaf jaas implementation 2016-05-25 09:33:56 -04:00
Ville Skyttä 11acf2180f Avoid unnecessary empty array creation 2016-04-11 16:55:26 -04:00
Ville Skyttä f8a1c5ba8e Remove redundant type arguments 2015-12-07 22:55:05 +02:00
Christian Schneider 8cc6c2f5fc More checkstyle fixes 2015-11-24 14:55:35 +01:00
Christian Schneider 7afe263089 Register components 2015-11-24 12:35:05 +01:00
Christian Schneider 61d1f49c70 Switch to DS 2015-11-24 12:30:20 +01:00
Christian Schneider be9dad3f2b OSGi support based on branch from gnodet 2015-11-24 11:12:10 +01:00