Kevin
7652b11bca
new pattern: Issue#1264: Implemented Composite-View Pattern ( #1923 )
...
* initial commit, created package, README, pom, and directory structure.
* Issue#1264, continue working on JavaBeans, added getters, setters, and private fields. Created test file for JavaBeans.
* set up junit for tests folder.
* Issue#1264, set up local server and added web-application framework to composite-view to allow the JSP to run on a local Tomcat container. Wrote unit tests for Java-bean class, working on JSP pages.
* Issue#1264, Added forwarding functionality to servlet and main composite view page.
* Issue#1264, Finished composite view template in newsDisplay.jsp and created atomic sub-view components in businessNews.jsp, header.jsp, localNews.jsp, scienceNews.jsp, sportsNews.jsp, worldNews.jsp. Composite view page renders correctly, atomic views are inserted in and substituted in the template page depending on request parameters.
* Issue#1264, Added all views, updated README.md with documentation.
* Issue#1264, updated README.md, moved images folder into etc folder.
* Issue#1264, removed build artifacts from tracked files.
* Issue#1264, updated README.md
* Issue#1264, updated README.md
* Issue#1264, removed unused import, made AppServlet class final, changed to .equals() for string comparison.
* Issue#1264, in AppServlet, put the output writing into try blocks to ensure writers are closed.
* Issue#1264, added tests for Servlet, coverage up to 100%, used lombok to reduce boilerplate setters and getter, updated README.md with better grammar, appropriate tags and links to related patterns. Updated pom.xml to get rid of superfluous lines.
* Issue#1264, made changes as requested in README.md.
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
2022-01-18 21:51:53 +02:00
DragonDreamer
8403fdacdd
feature: Metadata Mapping pattern ( #1932 )
...
* metadata-mapping
* Update README.md
* add class diagram
* update README.md
* fix identation
* Update pom.xml
* fix indentation
* fix ci
* remove e.printstack
* fix ci
* update class diagram
* fix ci
* fix ci
* fix sc
* fix smells
* Update DatabaseUtil.java
* fix coverage
* Update DatabaseUtil.java
* Update DatabaseUtil.java
* Update DatabaseUtil.java
* Update metadata-mapping/README.md
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
* fix review
* fix review
* Update App.java
* Update App.java
* fix review
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
2022-01-01 20:46:20 +02:00
Ilkka Seppälä
2674cb9523
Set version for the next development iteration
2021-11-11 21:49:55 +02:00
Ilkka Seppälä
925755fa35
Reach milestone 1.25.0
2021-11-11 21:47:49 +02:00
Subhrodip Mohanta
2c93c81cf9
maintenance: Update Spacing of XML ( #1865 )
...
PR Set 3 of 4
2021-10-19 20:54:24 +03:00
Francesco Scuccimarri
57f9c2e968
task: Update Lombok to version 1.18.20 ( #1828 )
...
Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
2021-10-05 10:05:20 +05:30
Nagaraj Tantri
be25c0b433
bug-fix: Use Junit5 in the serverless module tests ( #1794 )
...
* #1667 : Fixing the serverless tests to use Junit5 and also modifying other classes to remove the deprecated initMock() method
* #1667 : Fixing the sonar code smells
Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
2021-09-29 00:09:19 +05:30
karthikbhat13
d87e8cf10d
feature: Added FanOut/FanIn Pattern ( #1800 )
...
* Added FanOut/FanIn Pattern (#8 )
* #1627 adding fanout-fanin pattern
* #1627 adding class diagram image
* #1627 adding readme
* #1627 adding license
* #1627 updating relations
* #1627 interrupting the thread
* #1627 fixing sonar issues
* #1627 fixing sonar issues
* #1627 adding more info in README.md
* Added FanOut/FanIn (#9 )
* #1627 adding fanout-fanin pattern
* #1627 adding class diagram image
* #1627 adding readme
* #1627 adding license
* #1627 updating relations
* #1627 interrupting the thread
* #1627 fixing sonar issues
* #1627 fixing sonar issues
* #1627 adding more info in README.md
* #1627 adding programmatic examples in README.md
2021-08-08 15:51:27 +03:00
AndriyPyzh
eac85678f0
feature: Added Domain Model pattern ( #1795 )
...
* domain-model pattern
* fixed optional get before check isPresent
* readme minor changes
* change currency representation with joda money
* changed names of test methods
* fixed code smells
* Update domain-model/README.md
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
* Update domain-model/README.md
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
* updated readme and diagrams
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
2021-07-22 16:58:21 +03:00
Ilkka Seppälä
04bf566dc1
task: Explanations and grammar fixes for all the GoF patterns ( #1791 )
...
* Grammatical fixes to command pattern
* Update bridge pattern readme
* Fixes to builder pattern grammar
* Update chain of responsibility
* Improvements to the composite example
* Fixes to headings
* Minor updates to decorator pattern
* Update facade
* Update factory example
* Update factory method
* Update flyweight
* Interpreter explanation
* Update iterator readme
* Add explanation for mediator pattern
* Grammatical fixes to memento
* Grammar fixes for observer
* Update explanation for the prototype pattern
* Proxy pattern grammar fixes
* Update singleton
* Grammar fixes to state pattern
* Grammar fixes for strategy
* Grammar fixes, template method
* Grammar fixes for visitor
* Fix typo
2021-06-24 18:27:20 +05:30
jinishavora
bbdff14a66
Fix: Fixing License issue in MVVM pattern ( #1701 )
...
* Fixing License issue in MVVM pattern
* Updating LICENSE.md
* Updating pom.xml
* License header update to MVVM module only.
* Updating pom and removing gpl txt
* Adding gpl txt file
Co-authored-by: Jinisha <Jinisha@LAPTOP-VG38PNMC.fios-router.home>
2021-06-08 21:40:24 +03:00
Tao
e498c25675
feature: #1319 add table module pattern ( #1742 )
...
* modify table module pattern
* fix code smells
* resolve conversation
Co-authored-by: tao-sun2 <sustc18st@gmai.com>
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
2021-05-17 22:06:35 +03:00
Noam Greenshtain
122e6edb38
feature: resolve #1282 for Lockable Object pattern. ( #1702 )
...
* Added Lockable-Object pattern. Closes #1282 .
* Refactor method name.
* Refactor sonar lint bugs.
* Added tests and enum Constants.
* Increase coverage.
* Changed @Data to Getters and Setters.
* Iluwatar's comment on pull request #1702 .
* Fixed codes mells.
* Incremented wait time to 3 seconds.
* Reduced wait time to 2 seconds.
* Cleaned Code Smells.
* Incremented wait time, removed cool down.
* Refactored README.md file.
Co-authored-by: Subhrodip Mohanta <subhrodipmohanta@gmail.com>
2021-05-14 21:26:41 +05:30
EdisonE3
f1feb3f6a0
feature: Implement Presentation Model Pattern ( #1710 )
...
* #415 initial all componets
* #415 add src and tests
* #415 add diagram
* #415 add README
* #415 add README
* #415 change pom.xml
* #415 change pom.xml
* #415 change pom.xml
* #415 update pom.xml
* #415 change some code smell
* #415 change some code smell
* #415 update test
* #415 add javadoc
* #415 remove author tag
* #415 add lombok @AllArgsConstructor
* #415 fix code converge
* #415 fix code converge
* #415 fix code converge
* #415 add javadoc
* #415 fix code smell
* #415 fix code smell
* #415 add log information
* #415 remove unused import
* #415 add javadoc and more test
* #415 modify test
* #415 fix checkstyle
* #415 remove useless code and add more javadoc and test.
* #415 add package-info.java.
* #415 add package-info.java.
* #415 add more test.
* #415 fix code smell.
* #415 fix code smell and increase code coverage.
* #415 fix code smell.
* #415 update README.md
* #415 update README.md
* #415 make this demo better
* #415 satisfy checkstyle
* #415 make some field static.
* #415 make some fields static.
* #415 rename some fields static.
* Delete package-info.java
Co-authored-by: Subhrodip Mohanta <subhrodipmohanta@gmail.com>
2021-05-11 19:16:11 +05:30
dependabot-preview[bot]
41b1462eed
[Security] Bump spring-webmvc from 5.0.13.RELEASE to 5.0.17.RELEASE ( #1739 )
...
Bumps [spring-webmvc](https://github.com/spring-projects/spring-framework ) from 5.0.13.RELEASE to 5.0.17.RELEASE. **This update includes a security fix.**
- [Release notes](https://github.com/spring-projects/spring-framework/releases )
- [Commits](https://github.com/spring-projects/spring-framework/compare/v5.0.13.RELEASE...v5.0.17.RELEASE )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-05-01 10:29:50 +05:30
dependabot-preview[bot]
276549d156
[Security] Bump jackson.version from 2.10.2 to 2.12.3 ( #1738 )
...
Bumps `jackson.version` from 2.10.2 to 2.12.3.
Updates `jackson-core` from 2.10.2 to 2.12.3
- [Release notes](https://github.com/FasterXML/jackson-core/releases )
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.10.2...jackson-core-2.12.3 )
Updates `jackson-databind` from 2.10.2 to 2.12.3
- [Release notes](https://github.com/FasterXML/jackson/releases )
- [Commits](https://github.com/FasterXML/jackson/commits )
Updates `jackson-annotations` from 2.10.2 to 2.12.3
- [Release notes](https://github.com/FasterXML/jackson/releases )
- [Commits](https://github.com/FasterXML/jackson/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-05-01 10:29:05 +05:30
dependabot[bot]
076310bb79
Bump commons-io from 2.6 to 2.7 ( #1729 )
...
Bumps commons-io from 2.6 to 2.7.
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 13:36:24 +05:30
zWeBrain
09b577f634
task: Add Composite Entity pattern ( #1705 )
...
* add composite entity pattern
* add composite entity pattern
* Update ReactorTest.java
* resolve some code quality problems
* modified a lot
* remove some extra codes
* modified README
* removed the author name and adjusted the spacing
Co-authored-by: zwebrain <11811721@mail.sustech.edu.cn>
Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
2021-04-26 13:45:52 +05:30
Ilkka Seppälä
be3250bd0d
Set version for the next development iteration
2021-04-05 14:57:36 +03:00
Ilkka Seppälä
1222f12b99
Set version number for milestone 1.24.0
2021-04-05 14:56:36 +03:00
jinishavora
794795acf5
task: MVVM design pattern using zkoss framework. ( #1678 )
...
* MVVM design pattern using zkoss framework.
* MVVM Design pattern updates for issues reported by SonarCloud.
* MVVM Design pattern updates for coverage issues reported by SonarCloud.
* MVVM Design pattern updates for coverage issues (removing lombok @Data)
reported by SonarCloud.
* MVVM Design pattern updates for coverage issues reported by Sonar - TEST
cases added for Equals and ToString
* MVVM Design Pattern - updating missing/todo details.
* MVVM Design Pattern - adding lombok.config
* MVVM Design Pattern - Removing xml, updating pom.xml and README as per
suggested changes in code review
* Update model-view-viewmodel/README.md
* Update model-view-viewmodel/README.md
* Update model-view-viewmodel/README.md
* Update model-view-viewmodel/README.md
* MVVM Design Pattern - Updated pom.xml and Readme based on Suggested
changes
* added type as xml
* MVVM Design Patterm - root pom.xml and module pom.xml updated
* Update pom.xml
Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
2021-03-22 11:43:34 +05:30
Noam Greenshtain
c8a2ef01d3
pattern: Active-Object pattern. ( #1660 )
...
* Closes #65 .
* Removed
* Removed unnecessary files. Added logging. Closes Fixes #1660 .
* Added Terminition condition.
* Logger implemented. Removed maven wrapper.
* Added module to parent POM. removed .gitignore
* Replaced tabs with whitespaces, added Javadocs.
* Fixed more whitespaces problems.
* Fixed more checkstyle errors
* More checkstyle errors.
* Checkstyle errors.
* Final checkstyle cleanup
* Added UML file. Changed System.exit() to Runtime.
* Changed buisiness logic and readme.md file
* Changed typos and readme.md file
* Fixed checkstyle errors
* Fixed grammer errors and CircleCI bugs.
* Wrong readme.md
* Added Thread.interrupt() for after catching exception.
* Fixed SonarCloud code smells.
* Removed unused brackets.
* Changed main program exit logic. Added tests.
* Reverted abstract-factory
* Cleaned code
* Added static to loggers. cleaned code smells.
* Checkstyle errors.
* Code Smells.
Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
2021-03-14 11:53:41 +05:30
va1m
5cf2fe009b
📍 Use lombok, reformat, and optimize the code ( #1560 )
...
* Use lombok, reformat, and optimize the code
* Fix merge conflicts and some sonar issues
Co-authored-by: va1m <va1m@email.com>
2021-03-13 14:19:21 +02:00
Subhrodip Mohanta
0e26a6adb5
Use property to set version and update dependencies ( #1671 )
...
* formatting and versioning
* updated versions
* reverted checkstyle plugin version
2021-03-07 19:16:50 +02:00
CF
903453229c
Updated update-method module to JUnit 5 ( #1542 )
...
* Updated saga to JUnit 5
* Update fix for CI job in trampoline module
* Updated update-method module to JUnit 5
* Upgraded to latest JUnit Jupiter
JUnit 4 is not needed when using JUnit-Vintage
* Reverted change to access modifier on Trampoline
* Cleanup to resolve code smells
* Formatting
* Formatting
Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
2021-03-04 10:49:31 +05:30
Martel Richard
846d05672a
#1638 Add Parameter Object pattern ( #1650 )
...
* #1638 Add Parameter Object pattern
* #1638 Fix comments and formatting for Parameter Object pattern
* #1638 Fix formatting, commenting, remove string concatenation in Parameter Object pattern
* #1638 Fix readme formatting and log parameter object
2021-02-28 11:42:48 +02:00
Ilkka Seppälä
cda2675221
Upgrade jacoco ( #1657 )
...
Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
2021-02-16 12:27:11 +05:30
Subhrodip Mohanta
7891c2b117
update inception year to 2021 ( #1653 )
2021-02-14 11:57:57 +02:00
Subhrodip Mohanta
d620dbbc05
bump version to 3.8.0.2131 ( #1647 )
...
earlier version 3.7.0.1746
org.sonarsource.scanner.maven.sonar-maven-plugin
2021-02-07 16:55:52 +02:00
Rohit Singh
b9da15dda3
issue 1628 handled, removed mutex and semaphore from catalog. ( #1634 )
...
* issue 1628 handled, removed mutex and semaphore from catalog.
* issue1634, modules still exiting in pom.xml
Co-authored-by: Subhrodip Mohanta <subhrodipmohanta@gmail.com>
2021-01-26 22:19:36 +02:00
Ilkka Seppälä
0010fb55c5
Merge data transfer object examples ( #1635 )
...
* #1617 merge dto pattern examples
* #1617 update license headers
Co-authored-by: Subhrodip Mohanta <subhrodipmohanta@gmail.com>
2021-01-25 09:05:04 +05:30
ignite1771
dea7ecfb7a
#1317 Special Case Pattern ( #1624 )
...
* #1317 Add Special Case Pattern
To focus on pattern itself, I implement DB and
maintenance lock by the singleton instance.
* #1317 Add special cases unit tests
Assert the logger output
(ref: https://stackoverflow.com/a/52229629 )
* #1317 Add README.md
Add Special Case Pattern README
* #1317 Format: add a new line to end of file
Co-authored-by: Subhrodip Mohanta <subhrodipmohanta@gmail.com>
2021-01-13 13:06:21 +05:30
siavash
5bc61c8c28
#1569 DTO pattern implementation using Enums ( #1570 )
...
* #1569 DTO pattern implemented using Enums
* #1569 DTO pattern implemented using Enums
* #1569 adding some java docs
* #1569 some changes in java doc and code style
* #1569 some changes in java doc and code style
* #1569 some changes in java doc and code style
* #1569 some changes in java doc and code style
* #1569 adding suggested extra line
* #1569 license added to pom.xml
* #1569 more checkstyle problems resolved
* #1569 more checkstyle problems resolved
* #1569 more checkstyle problems resolved
Co-authored-by: siavashsoleymani <siavash.soleimani@snapp.cab>
Co-authored-by: Subhrodip Mohanta <subhrodipmohanta@gmail.com>
2020-12-09 12:51:24 +05:30
Vivek Singh
14c4710435
Implemented Registry pattern ( #1543 )
...
* #1310 Implemented registry pattern
* fixed parent pom version
* added empty line in registry.urm.puml
Co-authored-by: Subhrodip Mohanta <subhrodipmohanta@gmail.com>
2020-12-08 10:34:42 +05:30
Pavel Manannikov
2332520d67
#1284 Implement Version Number pattern
2020-10-13 20:17:25 +03:00
swarajsaaj
7fd7735527
#1313 Add separated-interface module to parent pom
2020-09-10 03:10:58 +05:30
Samil Ayoub
8b26452c75
bug fixing
2020-09-03 22:58:15 +01:00
Samil Ayoub
46b23f322f
Add Simple Factory Pattern implementation
...
Java source code demonstrate simple factory design pattern
2020-09-02 13:46:53 +01:00
Amit Garg
b07d33f332
Upgrade Mockito version to latest
2020-08-26 00:09:30 +01:00
Ilkka Seppälä
723afb85ba
Set version for next development iteration
2020-08-25 21:21:36 +03:00
Ilkka Seppälä
a0e5d061cb
Milestone 1.23.0
2020-08-25 21:20:30 +03:00
Stefan Birkner
3754c66604
Replace System Rules with System Lambda
...
System Lambda is more specific. It only wraps the part of the code that
produces the output.
2020-08-24 23:20:03 +02:00
Ilkka Seppälä
ef033b66a6
Merge pull request #1499 from mkrzywanski/pattern/filterer
...
Filterer pattern
2020-08-23 16:56:06 +03:00
Michal Krzywanski
905b5dc6d8
Implemented filterer pattern
2020-08-21 11:51:43 +02:00
Toxic Dreamz
292ec5b8e5
Merge branch 'SonarCloud-Reports-Issue#1012'
...
# Conflicts:
# pom.xml
2020-08-19 23:27:43 +04:00
Toxic Dreamz
860453b46b
Fixed JUnit tests causing build issues due to mixing JUnit 4 & JUnit 5
2020-08-19 23:14:37 +04:00
Ilkka Seppälä
7afb065a10
Upgrade urm plugin to latest version
2020-08-15 20:59:11 +03:00
Ashish Trivedi
5441db6582
Update pom.xml
2020-08-10 12:52:15 +05:30
Ashish_Trivedi
e09de2fb36
#1321
2020-08-09 01:58:19 +05:30
Ashish_Trivedi
a59c9bba97
#1321
2020-08-09 01:39:51 +05:30