* feat: implement Immutable pattern #3448
Add immutable/ module with ImmutableUser (final class, defensive copy,
withAge wither method), App demo, JUnit 5 tests, PlantUML diagram, and
README following project conventions.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: add withName and withRoles wither methods to ImmutableUser #3448
Every field now has a corresponding wither for consistency.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: add junit-jupiter-api dependency to immutable module #3448
Required for @Test annotations and assert methods in test code.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* added new microservice pattern polling-publisher, created folder structure, README.md & App.java
* added two service polling service & publisher service to handle two different operation & prepared initial skeleton
* polling-publisher service implementation
* fixed checkstyle errors
* subscriber-service implementation
* added entry point for subscriber service & unit test-case
* added unit test-case for DataSourceService class
* resolved dependency & structured classes
* implemented Data repository, DataSource Service & added unittest-case & implemented polling-service microservice
* implemented subscriber microservice using kafkaConsumer
* Fixed Kafka bug & added a controller to send message using API
* Fixed subscriber-service & updated pom.xml
* Fixed topic name
* added new listener for other topic
* updated all README.md
* added description on both application.yaml file
* added scope before class definition in Test classes & removed duplicate dependency from pom.xml & added required one
* added polling-publisher module in pom.xml
* Updated README.md file based on new template
* improved the README.md file & fixed it's format
* deleted unnecessary README.md files
* fixed the printing statements & used log function
* used logger to print statement
* addressed review comment: removed unnecessary dependency
* addressed review comment
* need to fix one test case shouldGraduallyIncreaseLimitWhenHealthy failing for AdaptiveRateLimiter.java
* Added Class Diagram and Flow Diagrams for Adaptive, Fixed Window and Token Bucket Rate Limiter
* Updated README.md. All test case passed. Updated with Google Java Guidelines
* Updated parent pom #2973
* Updated parent pom #2973
* fixed shouldResetCounterAfterWindow() test #2973
* formatting fixed#2973
* added test coverage for app.java and fixed random to be thread safe #2973
* added test coverage for app.java and fixed random to be thread safe #2973
* added test coverage for app.java and fixed random to be thread safe #2973
* added test coverage for app.java and fixed random to be thread safe #2973
* added test coverage for app.java and fixed random to be thread safe #2973
* added test coverage for app.java and fixed random to be thread safe #2973
* added test coverage for app.java and fixed random to be thread safe #2973
* fixed random to be thread safe #2973
* fixed random to be thread safe #2973
* fixed random to be thread safe #2973
* fixed spacing in pom.xml #2973
---------
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
* #1263 - creating new module for view-helper
* #1263 - creating Product and ProductViewModel
* #1263 - creating interfaces for View and ViewHelper
* #1263 - creating ProductViewHelper and its test
* #1263 - creating Console View for Product
* #1263 - creating ProductController
* #1263 - creating main App and its test
* #1263 - adding license header
* #1263 - keeping module in alphabetical order
* #1263 - creating README and diagrams
* #1263 apply spotless
---------
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
* Services and information
* README.md updated
* unit tests added for controllers
* pom.xml, clean up, java version update and slf4j logging added
* pom files updated
* Removed children maven wrappers
* Microservice-self-registration added to pom file
* POM file updated for self-registration
* pom file updated
* Update pom.xml
correction to mudule name
* SonarQube comments addressed
* sonarqube comments on coverage addressed
* Code coverage for custom health checks
* changes for unit tests
* changes for unit tests
* changes to for code coverage improvement
- Add implementation of Thread-Pool Executor pattern using hotel front desk example
- Include unit tests
- Create detailed README with pattern explanation and examples
- Add Java source code with appropriate Javadoc comments
Closes#3226
* feat: Implement Actor Model pattern #3232
* feat: Implement Actor Model pattern #3232
* feat: update Actor Model implementation with multi-actor logic #3251
* feat: update Actor Model implementation with multi-actor logic and loose coupling #3251
* test: add unit test for actor model #3251
* test: add test for App.java to increase coverage
* docs: add complete README for Actor Model pattern also implemented changes #3251
* remove spring dep
move junit, logging, mockito under dep mgmt
* upgrade anti-corruption-layer deps
* async method invocation
* balking, bloc
* bridge to bytecode
* caching
* callback - cqrs
* component - health check
* hexagonal - metadata mapping
* rest of the patterns
* remove checkstyle, take spotless into use
* Add Service Stub Pattern using Sentiment Analysis example
* Fix Checkstyle issues
* Suppress Sonar warning for Random usage in RealSentimentAnalysisServer
* added a pom.xml file for the monolithic structure, set up MVC file structure, and added basic model files using H2 database since its light and efficient
* added a pom.xml file for the monolithic structure, set up MVC file structure, and added basic model files using H2 database since its light and efficient
* Added "controllers" and repository classes to communicate with database to maintain code cleanliness
* added application.properties file for springboot, added controller classes and used the CLI main class from the previous submission and enhanced upon it
* fixed checkstyle comments
* fixed testing class
* automatically generated puml
* Readme File
Added Detailed Readme File in the md format
* attempting to fix some debugging issues
added more test cases, and tried to fix pom.xml
* dropped change
* another attempted fix
* added more test cases
* Fixes
Renamed the main module/directory. Added more content to the readme.md file. fixed the orElseThrow statements
Fixes
Renamed the main module/directory. Added more content to the readme.md file. fixed the orElseThrow statements
* fixed naming and readme file
---------
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
* added bloC design pattern
* added bloC design pattern
* added Readme file
* fixed checkstyle warnings
* added tests for the ui
* fixed a test in MainTest file
* separating ui from main file and adding more tests
* added pom.xml plugins and properties and fixed readme.md
* fixed renaming problem and added context to main
* chsnged state class to record
* syncing changes for conflicts
* Revert "fixed conflicts"
* restored files
* renamed readme file and abstracted pom file
* Added Microservices client side ui composition to the repo.
Added ClientSideCompositionTest, ApiGateway, ClientSideIntegrator, FrontendComponent, CartFrontend, ProductFrontend, updated pom.xml, ReadME.md.
* Improved some checkstyle changes.
* Added Random variable to re-use the random instead of creating it everytime in FrontendComponent.
* changed the Pom.xml and upadted the ReadME.md
* Changes in the README.md File as per requirement, name of the file changed from ReadME.md to README.md
---------
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
* pattern:implemented the Template View pattern (#1320)
* fix:added links in README and updated package name (#1320)
---------
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
* Money pattern
the implementation of the money patter and the tests along with the read me file
* Update money/README.md
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
* added App file anf modified README file and pom.xml file
* modified README and pom.xml
* added comments
* Added a test for App.java
---------
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
* added idempotent consumer pattern
* updated doc
* fixed bug in RequestService
* add test converage
* Add test converage to state machine
* renamed module and added code example