Commit Graph

3786 Commits

Author SHA1 Message Date
Ilkka Seppälä cb1872a7a4 docs: add lazy loading docs + refactor (#2939) 2024-05-06 10:16:02 +03:00
Ilkka Seppälä 7460e46f9c docs: update layers 2024-05-04 09:11:27 +03:00
k1w1dev ef42e169b9 fix: Fix sonar issues (#2925)
* Remove unused member which was also causing a false positive sonar issue.
Fixes sonar issue https://sonarcloud.io/project/issues?open=AY3gHwu5DIZTZkppqVEG&id=iluwatar_java-design-patterns

* Fixes sonar issue https://sonarcloud.io/project/issues?open=AXK0OzDA-CiGJS70dLki&id=iluwatar_java-design-patterns
related to "Refactor the code of the lambda to not have multiple invocations throwing the same checked exception."

Also, updated the code to use Instant and Duration to deal with time instead of int. Added the awaitility
library to perform assertions in test which is more reliable than using Thread.sleep directly to wait for events to happen.

* checkstyle fix

* Add sneaky throws to fix sonar lint issue. This is fine as the newFile method is not being tested but instead the new SimpleFileWriter(...) is.

* The first booking needs to happen outside the assertions. Fixed other warnings

* Use records to pass around related objects instead of using a large number of
individual params, which sonar did not like.

* Checkstyle fixes

* checkstyle fixes

* Remove complexity to keep sonar happy.

* Split into different methods to reduce complexity. Could be broken down even further but currently Sonar is happy.

* Move files to correct package

* Add valid assertions to tests

* rename constants to avoid confusion

* Sonar warning related to cognitive complexity can be suppressed as the methods are quite generic and not functional enough to be separated out.

* Use constants to keep Sonar happy

* Use correct constant naming conventions

* Use correct constant naming conventions

* Use lombok to define noargsconstructor

* Use a single method to do the logging

* Remove unused constructor and redundant method

* Use a reusable method for logging
2024-05-04 08:20:01 +03:00
Ilkka Seppälä 5e12bc588a docs: improve iterator 2024-05-01 11:17:06 +03:00
Ilkka Seppälä 58ec27de87 docs: improve interpreter 2024-05-01 11:01:49 +03:00
Ilkka Seppälä 943f3fbb26 docs: improve intercepting filter 2024-05-01 10:47:14 +03:00
Ilkka Seppälä 1430735db5 docs: update identity map 2024-05-01 10:23:49 +03:00
dependabot[bot] 167aa5afdb build(deps-dev): bump org.htmlunit:htmlunit from 3.11.0 to 4.1.0 (#2933)
Bumps [org.htmlunit:htmlunit](https://github.com/HtmlUnit/htmlunit) from 3.11.0 to 4.1.0.
- [Release notes](https://github.com/HtmlUnit/htmlunit/releases)
- [Commits](https://github.com/HtmlUnit/htmlunit/compare/3.11.0...4.1.0)

---
updated-dependencies:
- dependency-name: org.htmlunit:htmlunit
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-30 13:11:19 +03:00
dependabot[bot] 4451ffbe64 build(deps): bump logback.version from 1.5.5 to 1.5.6 (#2935)
Bumps `logback.version` from 1.5.5 to 1.5.6.

Updates `ch.qos.logback:logback-classic` from 1.5.5 to 1.5.6
- [Commits](https://github.com/qos-ch/logback/compare/v_1.5.5...v_1.5.6)

Updates `ch.qos.logback:logback-core` from 1.5.5 to 1.5.6
- [Commits](https://github.com/qos-ch/logback/compare/v_1.5.5...v_1.5.6)

---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-classic
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: ch.qos.logback:logback-core
  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>
2024-04-30 13:09:06 +03:00
dependabot[bot] 8d1f81b38f build(deps): bump org.zkoss.zk:zkbind from 9.0.0 to 10.0.0-jakarta (#2934)
Bumps org.zkoss.zk:zkbind from 9.0.0 to 10.0.0-jakarta.

---
updated-dependencies:
- dependency-name: org.zkoss.zk:zkbind
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-30 13:08:38 +03:00
Ilkka Seppälä 3f697fe4c7 docs: update Hexagonal docs (#2932) 2024-04-29 21:59:24 +03:00
Ilkka Seppälä a2e4307044 refactor: health check 2024-04-25 20:18:07 +03:00
Ilkka Seppälä 63a2740210 docs: improve health check 2024-04-25 20:16:37 +03:00
Ilkka Seppälä ec88a8a0ea fix: typo in half-sync/half-async tags 2024-04-24 21:46:52 +03:00
Ilkka Seppälä ad3aef7b71 docs: improve half-sync/half-async 2024-04-24 21:45:00 +03:00
Ilkka Seppälä c0e20ec570 fix: guarded suspension checkstyle 2024-04-23 20:11:10 +03:00
Ilkka Seppälä 3d48f06980 docs: improve guarded suspension 2024-04-23 19:29:51 +03:00
Ilkka Seppälä 78e57a5490 docs: update gateway 2024-04-23 18:55:49 +03:00
dependabot[bot] b00d79a79e build(deps): bump org.slf4j:slf4j-api from 2.0.12 to 2.0.13 (#2930)
Bumps org.slf4j:slf4j-api from 2.0.12 to 2.0.13.

---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-api
  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>
2024-04-23 18:34:09 +03:00
Ilkka Seppälä b55e85f8de docs: improve game loop 2024-04-22 20:42:57 +03:00
Ilkka Seppälä d6133e3bb0 docs: add explanation for front controller (#2929) 2024-04-21 18:38:49 +03:00
Ilkka Seppälä 596f429aa0 docs: improve flyweight 2024-04-21 18:23:22 +03:00
Ilkka Seppälä dabf40e1bb docs: improve docs and add explanation for flux (#2928) 2024-04-21 18:07:52 +03:00
Ilkka Seppälä ab1a30ba69 docs: improve fluent interface 2024-04-21 10:38:52 +03:00
Ilkka Seppälä 6d385349cb docs: update filterer 2024-04-20 16:05:46 +03:00
Ilkka Seppälä 6a97047aaa docs: update feature toggle 2024-04-20 15:43:09 +03:00
Ilkka Seppälä 2b58233080 docs: improve fan-out/fan-in 2024-04-20 15:21:02 +03:00
Ilkka Seppälä a251032768 docs: update factory method 2024-04-19 21:30:36 +03:00
Ilkka Seppälä 4a558bb956 docs: update factory-kit 2024-04-19 21:13:42 +03:00
Ilkka Seppälä 11289b8cfc docs: improve factory 2024-04-19 21:03:21 +03:00
Ilkka Seppälä 19f99a7a07 docs: improve facade 2024-04-19 20:49:01 +03:00
Ilkka Seppälä b35494af9a docs: extension objects 2024-04-18 21:33:18 +03:00
Ilkka Seppälä 59d3e52434 docs: improve execute around 2024-04-17 21:21:37 +03:00
allcontributors[bot] 9615fd9e72 docs: add dev-yugantar as a contributor for code (#2923)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-04-17 21:00:42 +03:00
dev-yugantar fe6841e8c6 fix: Subclass Sandbox tests fixed and re-enabled (#2860) (#2921)
Co-authored-by: Yugantar Arya <yugantararya@Yugantars-MacBook-Air.local>
2024-04-17 20:59:55 +03:00
nooynayr bcf88a61fa docs: #2257 Added Explanation to Resource Acquisition is Initialisation README.md (#2727) 2024-04-17 20:55:59 +03:00
allcontributors[bot] 2395ac2a8d docs: add k1w1dev as a contributor for code (#2922)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-04-17 20:53:07 +03:00
k1w1dev a6c2e4ad91 deps: Upgrade mongodb to latest and fix tests. (#2920) 2024-04-17 20:52:13 +03:00
dependabot[bot] 43db34a394 build(deps): bump logback.version from 1.5.3 to 1.5.5 (#2918)
Bumps `logback.version` from 1.5.3 to 1.5.5.

Updates `ch.qos.logback:logback-classic` from 1.5.3 to 1.5.5
- [Commits](https://github.com/qos-ch/logback/compare/v_1.5.3...v_1.5.5)

Updates `ch.qos.logback:logback-core` from 1.5.3 to 1.5.5
- [Commits](https://github.com/qos-ch/logback/compare/v_1.5.3...v_1.5.5)

---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-classic
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: ch.qos.logback:logback-core
  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>
2024-04-17 20:50:07 +03:00
Ilkka Seppälä 7cebde007b docs: add event sourcing explanation (#2919) 2024-04-16 07:57:48 +03:00
Ilkka Seppälä 1c801da4a7 docs: improve event queue docs 2024-04-15 21:55:05 +03:00
Ilkka Seppälä f52f71cba2 docs: Event-driven architecture explanation (#2917)
* update readme

* convert to record
2024-04-14 13:14:22 +03:00
Ilkka Seppälä 730907d0d3 docs: Event-Based Asynchronous explanation + refactor (#2916)
* explation + refactor

* update logging
2024-04-14 13:10:39 +03:00
Ilkka Seppälä 8a3bed0e95 docs: update event aggregator docs 2024-04-14 11:52:52 +03:00
Ilkka Seppälä 4f69dea978 fix: fix dynamic proxy front-matter 2024-04-14 11:23:51 +03:00
Ilkka Seppälä 75409a9d0d docs: embedded value + refactor 2024-04-13 16:18:43 +03:00
Ilkka Seppälä ffffab40ec docs: update dynamic proxy docs 2024-04-13 15:53:36 +03:00
Ilkka Seppälä 825d45b086 docs: double dispatch explanation + refactor (#2915) 2024-04-13 08:30:48 +03:00
Ilkka Seppälä 9240d80ef2 docs: add explanation for Double-Checked Locking (#2914) 2024-04-13 08:02:29 +03:00
Ilkka Seppälä 2807f1f976 fix: fix missing server session class diagram 2024-04-12 19:54:20 +03:00