Commit Graph
11463 Commits
Author SHA1 Message Date
Tom Hombergs 3f6f33294b moved shedlock code example to module "spring-boot-libraries" 2018-12-19 20:04:54 +01:00
Urvy Agrawal c28fa5541d BAEL-2323 Adding files for native keyword tutorial (#5913)
* BAEL-2323 Adding files for native keyword tutorial

* junit test files and native library

* update test method name
2018-12-19 10:56:14 -08:00
EZZEDDINE.ELHAZATI 5996de6af1 rename test class. 2018-12-19 16:04:46 +01:00
Alejandro Gervasio 3064a22a7a BAEL-2413 - Integrating Spring Boot with HSQLDB (#5891)
* Initial Commit

* Update source file location

* Update CustomerControllerUnitTest.java

* Update CustomerControllerUnitTest.java

* Update CustomerControllerUnitTest.java

* Update source files

* Update CustomerController.java

* Update CustomerController.java

* Update CustomerControllerUnitTest.java

* Update CustomerControllerUnitTest.java

* Update CustomerControllerUnitTest.java

* Update index.html

* Update persistence-modules/spring-boot-persistence/src/main/java/com/baeldung/springboothsqldb/application/controllers/CustomerController.java

Co-Authored-By: alejandrogervasio <[email protected]>

* Update CustomerController.java

* Update CustomerControllerUnitTest.java

* Update CustomerController.java

* Update CustomerControllerUnitTest.java

* Update CustomerControllerUnitTest.java
2018-12-19 07:32:39 -06:00
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