Commit Graph

11314 Commits

Author SHA1 Message Date
Eugen Paraschiv 53abf6733d Merge branch 'master' of https://github.com/eugenp/tutorials 2018-12-18 23:50:31 +02:00
Eugen Paraschiv 8411df4e6b renaming tests 2018-12-18 23:50:20 +02:00
Loredana Crusoveanu c042348d93
Merge pull request #5945 from Doha2012/master
predicate chain
2018-12-18 23:39:30 +02:00
Eugen Paraschiv 1bb238b908 logging fix 2018-12-18 23:32:30 +02:00
Eugen Paraschiv e566167d3f package cleanup 2018-12-18 23:27:19 +02:00
Eugen Paraschiv 8ed4ac497c maven cleanup 2018-12-18 23:15:46 +02:00
Eugen Paraschiv 6bcc78dce2 BAEL-10335 - maven work 2018-12-18 23:10:32 +02:00
Eugen Paraschiv a9f853b241 BAEL-10335 - repo cleanup work 2018-12-18 23:02:40 +02:00
Steven van Beelen 557ce65552 BAEL-2435 Update main application
Update the MessagesRunner to be a spring boot application
2018-12-18 15:17:16 +01:00
Steven van Beelen d8ef050867 BAEL-2435 Add JPA and H2 dependencies
Add JPA and H2 dependencies to allow event sourcing, as for event
sourcing and EventStore is mandatory, and to make an EventStore a
database needs to be present for Axon's auto-configuration
2018-12-18 15:16:31 +01:00
Steven van Beelen fe30c44889 BAEL-2435 Add a GUI
-Add spring-boot-starter-web to support rest endpoints
-Add a rest endpoint to spoof some form of UI to publish a message, as
the old main will no longer publish the commands upon start up
2018-12-18 15:15:23 +01:00
Steven van Beelen e731b95ffb BAEL-2435 Rename unit test class
Rename unit test class to actual contain 'UnitTest' per the defined
standards
2018-12-18 15:01:29 +01:00
Steven van Beelen 2b07c0364d BAEL-2435 Change event message package
Change the package of the event messages to coreapi.events to signal
 that the events are part of the API you'd share with the outside
2018-12-18 14:56:23 +01:00
Steven van Beelen 96945027a1 BAEL-2435 Change command message package
Change the package of the command messages to coreapi.commands to signal
 that the commands are part of the API you'd share with the outside
2018-12-18 14:55:28 +01:00
Steven van Beelen aaf2ef2227 BAEL-2435 Change eventhandlers package
Change eventhandlers package to querymodel package per best practices
2018-12-18 14:54:07 +01:00
Steven van Beelen 00b297a4d0 BAEL-2435 Rename aggregate test
Rename aggregate test from MessagesAggregateIntegrationTest to
MessagesAggregateTest, as it's not an integration test but a regular
unit test
2018-12-18 14:53:43 +01:00
Steven van Beelen 3e3210a803 BAEL-2435 Change aggregate package
-Change aggregate package to commandmodel package per best practice
-Move the aggregate test to the same package for the test directory
2018-12-18 14:52:54 +01:00
Steven van Beelen 3553fb7506 BAEL-2435 Update commands and events
-Change TargetAggregateIdentifier import statement to the new location
-Add equals/hashcode as best practice for commands and events
-Add description
-Change parent to parent-boot-2 to leverage a spring boot start up
approach
2018-12-18 14:49:30 +01:00
Steven van Beelen 11b1112771 BAEL-2435 Update the event handler
Change the event handler to become a spring service, as this way Axon
will automatically pick it up as an event handling component
2018-12-18 14:48:10 +01:00
Steven van Beelen bd4881d478 BAEL-2435 Update Aggregate in regards to latest axon version
-Replace old import statements for the new locations
-Mark the aggregate as @Aggregate to make it autowired through the
spring boot starter
-Move all command handlers/decision making functions to the top of the
file
-Rename the command handler to `handle` as a best practice for command
handlers
-Use @EventSourcingHandler i.o. @EventHandler as a best practice for
event handlers in Aggregates, as those only are used to 'source' the
aggregate
-Update test case according to latest standards
2018-12-18 14:47:23 +01:00
Steven van Beelen cf56b33b9b BAEL-2435 Update pom file
-Add description
-Change parent to parent-boot-2 to leverage a spring boot start up
approach
-Replace core dependency for axon-spring-boot-autoconfigure excluding
axon-server as we cant start that up for this use case
-Add spring-boot-autoconfigure dependency
-Adjust the axon version to 4.0.3
2018-12-18 14:43:32 +01:00
eelhazati 6f8d130786 Hibernate 5 bootstrap API Test. 2018-12-18 12:33:49 +01:00
Eric Martin f0d27bc7ac
Merge pull request #5833 from f41thful/BAEL-2412
BAEL-2412
2018-12-17 22:40:42 -06:00
Javier 4ea86703d4 BAEL-2412
Change method names to a BDD-style.
2018-12-18 05:27:49 +01:00
FrancoCorleone fb210d0499 BAEL-2090 Insert With JPA
* Adding inserts for JPA objects repositories

* Refactor tests

* Small refactor

* Small refactor

* Remove redundant @Repository annotation

* Refactor tests

* Change to simple entity manager implementation

* Refactor changes
2018-12-17 18:56:30 -07:00
DOHA 2f7c16e00d predicate chain 2018-12-17 23:15:06 +02:00
Loredana Crusoveanu 2af8ce7656
Merge pull request #5940 from JonCook/master
BAEL-2175 - Verbose Garbage Collection in Java
2018-12-17 19:51:26 +02:00
Hai Nguyen 4a55426727 BAEL-2230 Equivalent of Java static final in Kotlin (#5848)
* constant unit test

* kotlin const
2018-12-17 09:39:41 -07:00
Eric Martin 2bec14597a
Merge pull request #5934 from rockoder/java11-string
Java 11 String APIs
2018-12-17 07:05:46 -06:00
Emily Millard 64dd23f8f0 BAEL-2324 sorting arrays 2018-12-16 18:18:13 -07:00
Emily Cheyne 9297099abf
BAEL-1049 update readme (#5941) 2018-12-16 16:28:09 -08:00
Jonathan Paul Cook ab2ee364f2 BAEL-2175 - Verbose Garbage Collection in Java 2018-12-16 22:32:09 +01:00
Loredana Crusoveanu 997587095a
Merge pull request #5932 from eugenp/BAEL-10808
add readmes, remove extra modules
2018-12-16 22:51:31 +02:00
rodolforfq c53211dbef BAEL-2432 (#5936)
Article's companion code.
2018-12-16 12:07:31 -08:00
dev-chirag ad03c69e01 BAEL-2100 Custom Lombok Annotation (#5918) 2018-12-16 11:50:17 -08:00
Tom Hombergs b29bdd5422 Merge branch 'master' into akka
# Conflicts:
#	pom.xml
2018-12-16 20:43:48 +01:00
Tom Hombergs 997f1fcb59 merge 2018-12-16 20:42:33 +01:00
Tom Hombergs 4321be4c58 merge 2018-12-16 20:42:13 +01:00
amit2103 78735f582b [BAEL-10866] - Upgrade jackson version in tutorials repository 2018-12-16 23:57:08 +05:30
Loredana a40c2f2601 fix pom 2018-12-16 20:11:53 +02:00
Loredana Crusoveanu bd32693a46
Merge pull request #5935 from eugenp/BAEL-10840
move ftp file
2018-12-16 20:10:01 +02:00
Loredana Crusoveanu 9f0b61f1a4
Merge pull request #5929 from amdegregorio/master
Pull Request for Guide to Java Packages
2018-12-16 20:08:12 +02:00
Laurentiu Delcea d8e34dc9f2 BAEL-2376 Inline classes in kotlin (#5842)
* BAEL-2376 Inline classes in kotlin

* BAEL-2376 Move classes
2018-12-16 13:22:22 -03:00
Loredana Crusoveanu de3479ca78
Merge pull request #5928 from amit2103/BAEL-10127
[BAEL-10127] - Added code for modelmapper article
2018-12-16 17:27:19 +02:00
Jonathan Paul Cook 6d42a8dbcd Merge remote-tracking branch 'upstream/master' 2018-12-16 16:22:14 +01:00
Loredana ca3a38aa0a move ftp file 2018-12-16 17:20:58 +02:00
Loredana 53dc48b94a fix cassandra parent 2018-12-16 17:13:50 +02:00
Loredana Crusoveanu abbbf998fd
Merge pull request #5865 from amit2103/BAEL-10840
[BAEL-10840] - Create a libraries-apache-commons module
2018-12-16 17:02:43 +02:00
Ganesh Pagade 12e2e09033 Java 11 String APIs 2018-12-16 20:27:29 +05:30
Loredana Crusoveanu ea13a1e794
Merge pull request #5652 from chandra1123/BAEL-2313-String-to-byte-array
Bael 2313 string to byte array
2018-12-16 16:31:10 +02:00