1751 Commits

Author SHA1 Message Date
mahendran.mookkiah
a1a4088087 As getAll method returns a Stream, we cannot close the involved
resources (Connection, Statement and resultSet) until the stream is
closed by the consumer. So try-with-resources is not an option as per
sonarqube’s recommendation. But it is still recommended to close
statement and result set. When connection pool used, connection is not
closed when close() called. It is just returned to the pool.

Using //NOSONAR to avoid false blocker issue.
2017-08-13 10:19:48 -04:00
Ilkka Seppälä
cbba487ff8 Merge branch 'master' of https://github.com/iluwatar/java-design-patterns 2017-08-13 10:09:46 +03:00
Ilkka Seppälä
37b9d45a74 #590 Add explanation for Abstract Factory 2017-08-13 10:09:26 +03:00
Ilkka Seppälä
2e99cb41ad Merge pull request #605 from mookkiah/587_model-view-presenter
#587 SonarQube reports bugs
2017-08-13 08:57:13 +03:00
Ilkka Seppälä
fba30e59ee #590 Kramdown fixes 2017-08-12 21:44:21 +03:00
Ilkka Seppälä
2d750dc0fd #590 Alter Factory Method presentation 2017-08-12 20:02:14 +03:00
Ilkka Seppälä
002774b5aa Fix Travis out of memory error 2017-08-12 19:24:55 +03:00
Ilkka Seppälä
2150a2bb55 #590 Skip puml processing for singleton module 2017-08-12 18:42:14 +03:00
Ilkka Seppälä
746e452c2b #590 Add new presentation for Singleton 2017-08-12 18:20:45 +03:00
Ilkka Seppälä
600553ec0f Merge pull request #583 from shaiktaj/patch-1
Updated ThreadSafeLazyLoadedivoryTower
2017-08-12 16:58:01 +03:00
mahendran.mookkiah
0271e55983 #587 SonarQube reports bugs 2017-08-05 10:07:28 -04:00
Ilkka Seppälä
54d8ec94be Merge pull request #599 from mookkiah/587_intercepting-filter
#587 sonarqube bugs
2017-07-30 08:49:17 +03:00
Ilkka Seppälä
ffbf56f01a CQRS pattern: Add missing license headers 2017-07-29 21:41:11 +03:00
Ilkka Seppälä
83fcbe0713 Merge pull request #603 from kevelbreh/patch-1
Update README.md punctuation and spelling
2017-07-29 21:13:29 +03:00
Ilkka Seppälä
0982f00a61 Merge pull request #595 from isabiq/master
CQRS pattern
2017-07-29 20:45:55 +03:00
Sabiq Ihab
871df4f918 close connection before throwing an exception 2017-07-29 13:26:54 +01:00
Sabiq Ihab
7ae9e3ee22 add a description of the pattern 2017-07-29 13:13:08 +01:00
Sabiq Ihab
c572fe885e add check on null objects 2017-07-29 12:16:19 +01:00
Sabiq Ihab
a221245909 Use Logger instead of println 2017-07-29 12:14:15 +01:00
Sabiq Ihab
8bf4497879 Close sessions using try with resources 2017-07-29 12:13:34 +01:00
Sabiq Ihab
8073b93182 fix README.md 2017-07-29 12:04:04 +01:00
Kevin Woodland
9b1a9aafc1 Update README.md punctuation and spelling
Fixed minor punctuation and spelling while reading through applicability
2017-07-28 20:20:38 +02:00
mahendran.mookkiah
c6b6c8123f #587 sonarqube bugs 2017-07-22 18:35:18 -04:00
Sabiq Ihab
87c10faaac Fix : remove AppTest 2017-06-30 23:22:44 +00:00
Sabiq Ihab
d1b11539ec add pumlid 2017-06-30 21:53:47 +00:00
Sabiq Ihab
c744bf418a add README.md, cqrs.ucls and etc/cqrs.urm.puml 2017-06-30 21:41:25 +00:00
Sabiq Ihab
5873aeeb69 add cqrs module to parent pom.xml and update pom.xml 2017-06-30 21:31:25 +00:00
Sabiq Ihab
d8919d88f0 fix pmd errors 2017-06-30 21:26:02 +00:00
Sabiq Ihab
b67719ab32 add tests 2017-06-30 21:26:02 +00:00
Sabiq Ihab
a8f50297eb add hashCode and equals to Author and Book DTOs 2017-06-30 21:26:02 +00:00
Sabiq Ihab
3128d3fb40 create main class 2017-06-30 21:26:02 +00:00
Sabiq Ihab
a2dba5bf6d add logs, javadoc and format to checkstyle conventions 2017-06-30 21:26:02 +00:00
Sabiq Ihab
40c00ca2af add ICommandService and IQueriesService Implementations 2017-06-30 21:26:02 +00:00
Sabiq Ihab
8e25ec55bf change long with BigIntger and replace getBook() 2017-06-30 21:26:02 +00:00
Sabiq Ihab
8881950e6d add toString() to BookDTO 2017-06-30 21:26:02 +00:00
Sabiq Ihab
51bcee5d7d add Queries and Commands Interfaces 2017-06-30 21:26:02 +00:00
Sabiq Ihab
15a25f0ef3 add DTOs 2017-06-30 21:26:02 +00:00
Sabiq Ihab
f3902ffc16 add setters and protected no-arg constructor 2017-06-30 21:26:02 +00:00
Sabiq Ihab
8208f6252b add hibernate.cfg and HibernateUtil class 2017-06-30 21:26:02 +00:00
Sabiq Ihab
ca73621f4d create data model 2017-06-30 21:26:01 +00:00
Sabiq Ihab
4e9988877a Initial commit 2017-06-30 21:26:01 +00:00
Ilkka Seppälä
ac721c695c Set version for next development iteration 2017-06-30 20:33:29 +03:00
Ilkka Seppälä
d793160bce Reach milestone 1.16.0 1.16.0 2017-06-30 20:31:31 +03:00
Ilkka Seppälä
b65b89baaf Merge pull request #593 from Harshrajsinh/hotfix/readme-update
Refactored Function<Integer,T> to IntFunction<T>
2017-06-14 22:48:33 +03:00
Harshrajsinh Thakor
edea7d2220 Refactored Function<Integer,T> to IntFunction<T>. 2017-06-14 11:58:05 -07:00
Ilkka Seppälä
bf8bc4df4b Merge pull request #589 from Harshrajsinh/hotfix/readme-update
Refactored the Functional Interface to the Specialized Primitive Functional Interface
2017-06-14 20:19:44 +03:00
Ilkka Seppälä
d13635533a Merge pull request #588 from prafful1/master
Few additions in readme
2017-06-14 20:14:09 +03:00
Ilkka Seppälä
37cd4cbb3b Merge pull request #585 from fluency03/master
add RxJava to Real world examples of observer
2017-06-14 20:12:32 +03:00
Ilkka Seppälä
3d29755842 Add license headers 2017-06-11 19:37:52 +03:00
Ilkka Seppälä
5b47d48fc2 Merge pull request #573 from SrdjanPaunovic/extension-objects
#541 Extension objects pattern
2017-06-11 19:26:47 +03:00