* Add Health Check pattern implementation
The commit introduces Health Check pattern, providing a series of health indicators for system performance and stability monitoring, including checks for system CPU load, process CPU load, database health, memory usage, and garbage collection metrics. It also includes asynchronous execution and caching mechanisms for health checks, and retry configurations for resilience.
Implements health checking components as per issue #2695.
* Test cases and javadoc for HealthEndpointIntegrationTest
* Added more log to test case to see why it returns 503
* Change config values to see if the system High system CPU load is resolved or not in CI.
* Fixes for test cases.
* some fixes for Sonar.
* some fixes for Sonar.
ADDED HIGH_PROCESS_CPU_LOAD_MESSAGE_WITHOUT_PARAM
ADDED HIGH_SYSTEM_CPU_LOAD_MESSAGE_WITHOUT_PARAM
* Sonar fixes address "Define and throw a dedicated exception instead of using a generic one."
added HealthCheckInterruptedException
refactored CustomHealthIndicator
* fixes checkstyle violation.
* #2450 1. Refactored Layers Architecture to be a Spring boot app. 2. Changed the xml-based configuration to annotation-based. 3. Used spring's constructor injection to pass around needed objects. 4. Implemented deleteAll() methods for the CakeBakingServiceImpl to be used during testing 5. Implemented a CommandLineRunner to run the spring boot app. And others.
* #2450 added the contents of the etc directory and a README.md
* #2450 made corrections in response to the PR tests
* #2450 made corrections in response to requested changes
* #2450 made corrections in response to requested changes
---------
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
* #2449 bump maven-checkstyle-plugin from 3.1.0 to 3.2.0 + resolve checkstyle issues
* remove FileSelectorJFrame.java to resolve checkstyle issue
* remove FileSelectorJFrame.java to resolve checkstyle issue
* remove FileSelectorJFrame.java to resolve checkstyle issue
* add refactored file with correct filename to resolve checkstyle issue
* add the test data
* change filenames from JFrame to Jframe for checkstyle
* fix code smell from sonar report
* add new testcases to improve the test coverage
* remove code smell
* #2151 add module and pom.xml
* #2151 add Calculator Actions
* #2151 add remaining mvi pattern classes (actions already implemented)
* #2151 add Main and unit tests
* add README.md and class diagrams
* #2151 add module and pom.xml
* #2151 add Calculator Actions
* #2151 add remaining mvi pattern classes (actions already implemented)
* #2151 add Main and unit tests
* add README.md and class diagrams
* fixes for lint errors
* #2151 add module and pom.xml
* #2151 add Calculator Actions
* #2151 add remaining mvi pattern classes (actions already implemented)
* #2151 add Main and unit tests
* add README.md and class diagrams
* fixes for lint errors
* use Lombok @Data decorator and decouple View from ViewModel
* add comments and documentation
* fix checkstyle, the smart switch syntax was breaking checkstyle, so I had to change it back
* #1842 Setting up project and creating example classes. Issues running site and deploy
* #1842 Added unit tests
* #1842 Improved example
* #1842 Added UML class diagram
* #1842 Added comments to Genre class
* #1842 Improved readability of lambda function
* #1842 Started working on the README and created initial UML
* #1842 Added example to README
* #1842 Replaced prints with LOGGER
* #1842 Fixed typo in README
* #1842 Testing commit account
* #1842 Adding documentation to App class
* #1842 Improved documentation
* #1842 Added documentation to AppTest
* #1842 Fixing latex formating issue
* #1842 Improving the intent description
* #1842 Removed override methods from the UML diagram for clarity
* #1842 Renamed the SCI_FI enum
* #1842 Updated the currying pom.xml
* #1842 Removed unneeded comment
* #1842 Improving documentation and README
* Added review changes.
* Fixing build issues and added javadoc comments to functional interfaces.
* Removing code smells
* Removed unnecessary toString method
* Using lombok to reduce boiler plate.
* Fixed frontmatter.
* Removing function name code smell
* Fixed README typo
* Added book_creator test to improve coverage
Co-authored-by: Hugo Kat <u7286091@anu.edu.au>
* update the explanation in README.md
* #556 update initial files
* added README to component design pattern
* Rearrange the file
* Finalize the directory
* Add test sample
* Update the title for README.md
* Update the title for README.md
* Update the title for README.md
* Update the title for README.md
* Finish the component design pattern
* Updated comments and docstrings for component DP, added basic tests for App and GameObject java classes. Slight modifications to pom.xml to reflect the test suite introduction.
* updated comments/docstrings for all classes - wrote v1 of README.md for component design pattern.
This still requires the class diagram sketch.
* Update the UML and linked with the README.md
* Update the README.md
* Remove the additional update method and rearrange the file based on the CheckStyle plugin
* Changed the structure based on the code smells feedback from PR
* Documentation update - uml
* Documentation update - grammar
* Updated readme to reflect the use of the LOGGER instead of the system output prints.
* Correct the constant name
* Uses Lombok to remove getter/setter boilerplate
* Rename the constant name
* Branch out from master and finish all the review changes
* Correct the CheckStyle warning
Co-authored-by: Samman Palihapitiya Gamage <u7287889@anu.edu.au>
Co-authored-by: SammanPali <110753804+SammanPali@users.noreply.github.com>
* #1261 Added base directories, folders, and file for the collecting parameter design pattern.
* #1261 Added initial comment
* #1261 Added Maven Dependencies
* #1261 Added Maven Dependencies
* #1261 Finished README.md file
* #1261 Added tests
* #1261 Code adheres to the standard
* #1261 Code adheres to the standard
* #1261 Code adheres to the standard
* #1261
- Added table to README.md
- Explicitly state that result is the collecting parameter
- Improved applicability
- Separated PrinterItem.java from PrinterQueue.java
- Tests work now
- Giant comment split
* #1261 fixed programmatic example in README.md.
* #1261 updated class diagram
* #1261 Fixed everything.
* #1261 Minor edit to README.md.
* #1261 Minor edit to README.md.
* #1261 Minor updates.
* #1261 Fixed code style.
* #1261 Removed getPrinterQueue test
* #1261 Removed code smells
* #1261 Added UML plugin.
* #1261 Dependencies resolved.
* #1261 Specified the UML diagram paths. Perhaps this will work.
* #1261 pom.xml updated with UML wrapper. Maybe this will create class diagram when built?
* #1261 UML added.
* #1261
- README.md obeys the YAML requirements
- Typo in README.md fixed
- UMLWrapper removed from module pom.xml
- More comments added
Should be able to merge now :)
* refactor: drop tables according to their dependencies
* refactor: renamed table because USER is an SQL keyword
* dep: upgrade com.h2database.h2 1.4.190 to 2.1.214
* refactor: move tests of leader-followers into correct package
* dep: remove version constraint for Mockito in acyclic-visitor
* dep: remove version constraint for Mockito in caching
* chore: cleanup mockito-core import on some POMs
* dep: upgrade core.mocktio 3.5.6 to 4.5.1
"- org.mockito.Mockito#verifyZeroInteractions an alias of verifyNoMoreInteractions"
https://github.com/mockito/mockito/commit/caf35b24e2764df0498469526ecb3e7ec68a0430