Commit Graph

481 Commits

Author SHA1 Message Date
tiennm99 cd0c4db685 [Scheduler Pattern] (Add) scheduler pattern 2024-01-20 09:04:00 +07:00
YongHwan Kwon cd2dbb72d7 feat: Add Microservice Pattern, Log aggregation (#2690) (#2719)
* feat: Add Microservice Pattern, Log aggregation.

Related: #2690

* docs: Add javaDoc for public methods.

Related: #2690

---------

Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
2023-12-27 08:06:55 +02:00
Doksanbir 21f7b026f5 pattern: Implement Health Check for Microservices Observability (#2695) (#2774)
* 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.
2023-12-02 14:17:01 +02:00
dependabot[bot] 83dba617c5 build(deps): bump org.apache.maven.plugins:maven-surefire-plugin (#2773)
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.1.2 to 3.2.2.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.1.2...surefire-3.2.2)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-02 13:50:15 +02:00
dependabot[bot] 342c30f4f7 build(deps): bump org.jacoco:jacoco-maven-plugin from 0.8.10 to 0.8.11 (#2705)
Bumps [org.jacoco:jacoco-maven-plugin](https://github.com/jacoco/jacoco) from 0.8.10 to 0.8.11.
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.10...v0.8.11)

---
updated-dependencies:
- dependency-name: org.jacoco:jacoco-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-26 21:55:17 +03:00
dependabot[bot] d247395440 build(deps): bump com.mycila:license-maven-plugin from 4.2 to 4.3 (#2603)
Bumps com.mycila:license-maven-plugin from 4.2 to 4.3.

---
updated-dependencies:
- dependency-name: com.mycila:license-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-14 14:08:00 +03:00
Ilkka Seppälä b86f2357b0 fix: include crtp module in build (#2633) 2023-10-11 09:17:56 +03:00
dependabot[bot] 5891f291d8 build(deps): bump org.sonarsource.scanner.maven:sonar-maven-plugin (#2587)
Bumps [org.sonarsource.scanner.maven:sonar-maven-plugin](https://github.com/SonarSource/sonar-scanner-maven) from 3.9.1.2184 to 3.10.0.2594.
- [Release notes](https://github.com/SonarSource/sonar-scanner-maven/releases)
- [Commits](https://github.com/SonarSource/sonar-scanner-maven/compare/3.9.1.2184...3.10.0.2594)

---
updated-dependencies:
- dependency-name: org.sonarsource.scanner.maven:sonar-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-08 11:59:12 +03:00
Eugene 8b11e76f46 feature: Add optimistic offline lock (#1306) (#2551) 2023-08-27 14:01:46 +03:00
dependabot[bot] c769c73e91 build(deps): bump maven-checkstyle-plugin from 3.2.1 to 3.3.0 (#2529)
Bumps [maven-checkstyle-plugin](https://github.com/apache/maven-checkstyle-plugin) from 3.2.1 to 3.3.0.
- [Commits](https://github.com/apache/maven-checkstyle-plugin/compare/maven-checkstyle-plugin-3.2.1...maven-checkstyle-plugin-3.3.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-checkstyle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
2023-08-14 19:52:28 +03:00
dependabot[bot] 72f7fcab0e build(deps): bump maven-surefire-plugin from 3.0.0 to 3.1.2 (#2535)
Bumps [maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.0.0 to 3.1.2.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.0.0...surefire-3.1.2)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 13:04:10 +03:00
JabezBrew edbb59a982 refactor: Refactored Layers Architecture To Be A Spring Boot Application. Issue #2450 (#2469)
* #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>
2023-07-11 12:57:16 +03:00
dependabot[bot] 3636e9c8af build(deps): bump jacoco-maven-plugin from 0.8.8 to 0.8.10 (#2514)
Bumps [jacoco-maven-plugin](https://github.com/jacoco/jacoco) from 0.8.8 to 0.8.10.
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.8...v0.8.10)

---
updated-dependencies:
- dependency-name: org.jacoco:jacoco-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-02 11:57:36 +03:00
dependabot[bot] 4bea173e64 build(deps): bump license-maven-plugin from 4.1 to 4.2 (#2498)
Bumps license-maven-plugin from 4.1 to 4.2.

---
updated-dependencies:
- dependency-name: com.mycila:license-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-01 17:53:32 +03:00
dependabot[bot] e9fc5a49d8 build(deps): bump maven-surefire-plugin from 3.0.0-M9 to 3.0.0 (#2492)
Bumps [maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.0.0-M9 to 3.0.0.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.0.0-M9...surefire-3.0.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-01 17:51:12 +03:00
dependabot[bot] a61238723d build(deps): bump maven-surefire-plugin from 3.0.0-M8 to 3.0.0-M9 (#2478)
Bumps [maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.0.0-M8 to 3.0.0-M9.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.0.0-M8...surefire-3.0.0-M9)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-03 10:43:43 +02:00
dependabot[bot] c741814b36 dependencies: bump maven-checkstyle-plugin from 3.1.0 to 3.2.1 (#2455)
Bumps [maven-checkstyle-plugin](https://github.com/apache/maven-checkstyle-plugin) from 3.1.0 to 3.2.1.
- [Release notes](https://github.com/apache/maven-checkstyle-plugin/releases)
- [Commits](https://github.com/apache/maven-checkstyle-plugin/compare/maven-checkstyle-plugin-3.1.0...maven-checkstyle-plugin-3.2.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-checkstyle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-04 19:37:34 +02:00
Rahul Raj fb7ec9b375 dependencies: #2449 bump maven-checkstyle-plugin from 3.1.0 to 3.2.0 + resolve chec… (#2464)
* #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
2023-02-04 19:20:54 +02:00
dependabot[bot] 2b97f57c8e dependencies: bump htmlunit from 2.69.0 to 2.70.0 (#2460)
Bumps [htmlunit](https://github.com/HtmlUnit/htmlunit) from 2.69.0 to 2.70.0.
- [Release notes](https://github.com/HtmlUnit/htmlunit/releases)
- [Commits](https://github.com/HtmlUnit/htmlunit/compare/2.69.0...2.70.0)

---
updated-dependencies:
- dependency-name: net.sourceforge.htmlunit:htmlunit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-29 11:02:45 +02:00
JanFidor fb86ca1156 feature: #2151 Feature/mvi pattern (#2177)
* #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
2023-01-21 11:45:07 +02:00
dependabot[bot] cfca5f6f7f dependencies: bump maven-surefire-plugin from 3.0.0-M7 to 3.0.0-M8 (#2454)
Bumps [maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.0.0-M7 to 3.0.0-M8.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.0.0-M7...surefire-3.0.0-M8)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-21 11:26:38 +02:00
Eugene 196233d587 feature: Rewrite thread-local storage pattern (#2452) 2023-01-19 20:50:59 +02:00
dependabot[bot] e9d1368454 dependencies: bump gson from 2.10 to 2.10.1 (#2447)
Bumps [gson](https://github.com/google/gson) from 2.10 to 2.10.1.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.10...gson-parent-2.10.1)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-14 09:01:52 +02:00
dependabot[bot] 206627dc2b dependencies: bump htmlunit from 2.68.0 to 2.69.0 (#2448)
Bumps [htmlunit](https://github.com/HtmlUnit/htmlunit) from 2.68.0 to 2.69.0.
- [Release notes](https://github.com/HtmlUnit/htmlunit/releases)
- [Commits](https://github.com/HtmlUnit/htmlunit/compare/2.68.0...2.69.0)

---
updated-dependencies:
- dependency-name: net.sourceforge.htmlunit:htmlunit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-14 08:44:15 +02:00
Ilkka Seppälä fa993a66e7 dependencies: Revert "dependencies: bump maven-checkstyle-plugin from 3.1.0 to 3.2.0 (#2418)" (#2420)
This reverts commit 8cfe12b566.
2023-01-03 17:28:15 +02:00
dependabot[bot] 8cfe12b566 dependencies: bump maven-checkstyle-plugin from 3.1.0 to 3.2.0 (#2418)
Bumps [maven-checkstyle-plugin](https://github.com/apache/maven-checkstyle-plugin) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/apache/maven-checkstyle-plugin/releases)
- [Commits](https://github.com/apache/maven-checkstyle-plugin/compare/maven-checkstyle-plugin-3.1.0...maven-checkstyle-plugin-3.2.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-checkstyle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 17:12:47 +02:00
dependabot[bot] 9683b1389b dependencies: bump sonar-maven-plugin from 3.8.0.2131 to 3.9.1.2184 (#2413)
Bumps [sonar-maven-plugin](https://github.com/SonarSource/sonar-scanner-maven) from 3.8.0.2131 to 3.9.1.2184.
- [Release notes](https://github.com/SonarSource/sonar-scanner-maven/releases)
- [Commits](https://github.com/SonarSource/sonar-scanner-maven/compare/3.8.0.2131...3.9.1.2184)

---
updated-dependencies:
- dependency-name: org.sonarsource.scanner.maven:sonar-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
2023-01-01 19:17:37 +02:00
dependabot[bot] d2f49b9ba8 dependencies: bump maven-surefire-plugin from 3.0.0-M5 to 3.0.0-M7 (#2412)
Bumps [maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.0.0-M5 to 3.0.0-M7.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.0.0-M5...surefire-3.0.0-M7)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
2023-01-01 19:16:18 +02:00
dependabot[bot] f3c4369214 dependencies: bump htmlunit from 2.66.0 to 2.68.0 (#2409)
Bumps [htmlunit](https://github.com/HtmlUnit/htmlunit) from 2.66.0 to 2.68.0.
- [Release notes](https://github.com/HtmlUnit/htmlunit/releases)
- [Commits](https://github.com/HtmlUnit/htmlunit/compare/2.66.0...2.68.0)

---
updated-dependencies:
- dependency-name: net.sourceforge.htmlunit:htmlunit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
2023-01-01 15:18:59 +02:00
Ilkka Seppälä 8877ba70d3 fix: Fix context object (#2415)
* fix pr builder goals

* update links

* add context-object to build

* add autogenerated content

* fix checkstyle findings
2023-01-01 12:28:51 +02:00
Nakul Nambiar fd402fc876 feature: #1288 Added The Client Session Design Pattern (#2155)
* #1288 Add client session design pattern

* #1288 Add license to files

* Inserted README file for session_state_pattern

* Added real-world example to client-session/README

* #1288 Add server tests

* #1288 Fixed code smells

* #1288 Removed unused getter and setters

* #1288 incorporated feedback

* #1288 Added maven-assembly-plugin

* #1288 Added more description

Co-authored-by: Nakul Nambiar <u7433687@anu.edu.au>
Co-authored-by: Denis <u7281557@anu.edu.au>
2022-12-29 13:05:29 +02:00
Ilkka Seppälä 695e12379d dependencies: Upgrade urm-maven-plugin (#2404)
* upgrade urm

* remove unused property

* Update sonar PR analysis

* add missing license headers

* update urm version
2022-12-28 18:19:26 +02:00
Robert Volkmann 9181210f81 dependencies: update com.google.guice 4.0 to 5.1.0 (#2357)
* dep: update com.google.guice 4.0 to 5.1.0

* Add property for version of gson
2022-12-04 20:30:41 +02:00
Shivanagouda Agasimani b2eb312b5e feature: Embedded value pattern (#2384)
* Emdedded value design pattern

* Adding suggested changes

* Adding module in parent POM

* Fixed checkstyle errors
2022-12-04 18:31:29 +02:00
Hugo Kat 7be2828c8a feature: #1842 Add Currying Design Pattern (#2271)
* #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>
2022-12-04 11:48:57 +02:00
kongleong86 2d309b8928 dependencies: Refactor unit tests without depending on Guava (#2181)
* Refactor unit tests without depending on Guava

* Remove redundant casts.

* Move import up

* Update repository/src/test/java/com/iluwatar/repository/RepositoryTest.java

Co-authored-by: Robert Volkmann <20912167+robertvolkmann@users.noreply.github.com>

* Update repository/src/test/java/com/iluwatar/repository/AnnotationBasedRepositoryTest.java

Co-authored-by: Robert Volkmann <20912167+robertvolkmann@users.noreply.github.com>

Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
Co-authored-by: Robert Volkmann <20912167+robertvolkmann@users.noreply.github.com>
2022-12-04 11:25:57 +02:00
Robert Volkmann cececd4f64 dependencies: replace json-simple with gson (#2358) 2022-12-04 11:05:24 +02:00
Robert Volkmann 18b04db103 dependencies: remove mongodb uber artifact (#2356) 2022-12-04 10:55:33 +02:00
Ilkka Seppälä 0793c50363 build: Set Java language level (#2380)
* update language level

* update stale bot config

* update gh actions build
2022-12-03 20:46:22 +02:00
Robert Volkmann 6a5b26e1b8 Feature: remove eip and cloud patterns (#2354)
* feat: remove EIP patterns

* feat: remove cloud patterns

* feat: remove serverless pattern
2022-11-29 19:43:40 +02:00
Robert Volkmann 10fb952d85 feature: remove naked objects implementation (#2336) 2022-11-21 18:59:09 +02:00
Qixiang Chen 1a14fa4f40 feature: Completed component design pattern implementation, testing and respective README (#2153)
* 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>
2022-11-20 15:19:26 +02:00
JoshuaSinglaANU fcaf72fdf8 feature: #1261 Added collecting parameter design pattern (#2134)
* #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 :)
2022-11-20 14:37:33 +02:00
Robert Volkmann ba5aee0a1d dependencies: remove unused dependencies (#2319) 2022-11-20 14:31:19 +02:00
Robert Volkmann 2f71c41af0 dependencies: upgrade Camel 2.25.1 to 3.18.1 (#2318) 2022-11-20 14:29:17 +02:00
Robert Volkmann c4307db0a6 dependencies: Fix #2297: Upgrade H2 (#2317)
* 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
2022-11-20 14:25:33 +02:00
Robert Volkmann 465a6871b2 dependencies: Upgrade mockito 3.5 to 4.5 (#2316)
* 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
2022-11-20 10:16:53 +02:00
JurenXu b103e44ecd feature: Implement Serialized Entity Pattern (#2150)
* Add files:
- App.java
- Country.java
- CountryDao.java
- CountrySchemaSql.java
- CountryTest.java
- README.md
- serialize-entity.urm.puml
- pom.xml (inherit from parent pom.xml)
Update files:
- pom.xml (parent pom.xml, add 1 module called serialized-entity)

* Fix duplicated error in pom.xml

* Update:
- pom.xml (module servant, changed by error, now fixed)
- pom.xml (module serialized-entity)

* Update:
- pom.xml (changed, artifactId)

* Update:
- pom.xml

Add:
AppTest.java

* Resolved changes required by the reviewer

Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
2022-11-13 09:43:03 +02:00
u7275858 d2599a2904 feature: #1299 Add Identity Map Pattern (#2094)
* #1299 IMPLEMENT IDENTITY MAP PATTERN.

* #1299 Add docstrings, README, testCases and class diagram.

* #1299 Update a comment string in DB implementation.

* #1299 Fix code smells.

* #1299 Fix code smells and add comments to App.java

* #1299 Update constant name.

* #1299 Remove java version dependency and update README.md.

* #1299 Add lombok to PersonFinder.java.

* #1299 Add dependency to maven-assembly-plugin.

* #1299 Use java streams in PersonDbSimulatorImplementation.java.

* #1299 Add print statements while returning the person object.

* #1299 Update README.md.

* #1299 Add puml file.

* Update README.md
2022-11-09 21:55:44 +02:00
Sudarsan Balaji 1d5a0b07c1 refactoring: Rename presentation to presentation model (#2291)
* Rename presentation to presentation-model

* Rename image

* Rename UML diagram

* Rename presentation to presentation-model

* Rename package to presentationmodel

* Rename module reference in pom.xml
2022-11-08 20:58:24 +02:00