Commit Graph

192 Commits

Author SHA1 Message Date
hemant f1d4024a59 Added springbootnonwebapp project code 2018-05-30 20:56:16 +05:30
Amit Pandey 73935e65f2 Bael 5374 (#4298)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-5374] - Fix test names

* [BAEL-5374] - Fix test names

* [BAEL-5374] - Fix test names
2018-05-20 21:51:59 +04:00
Loredana Crusoveanu 509e5064c0
Merge pull request #4285 from eugenp/custom-shutdown-endpoint
add custom shutdown endpoint
2018-05-19 22:29:24 +03:00
Loredana Crusoveanu ebf0a3b21b add custom shutdown endpoint 2018-05-19 21:29:40 +03:00
amit2103 a6c5f89093 [Bael 6514] - Fixed missing usage (#4284)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-6514] - Fix usage of @AutoConfigureMockMvc without mocking

* [BAEL-6514] - Fix usage of @AutoConfigureMockMvc without mocking

* [BAEL-6514] - Fix usage of @AutoConfigureMockMvc without mocking
2018-05-19 06:10:29 -05:00
amit2103 110d3891c4 Bael 6514 (#4281)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-6514] - Fix usage of @AutoConfigureMockMvc without mocking
2018-05-19 03:46:18 -05:00
Eugen Paraschiv cf76e12635 using the Spring MVC testing support properly 2018-05-14 15:56:52 +03:00
Loredana Crusoveanu 4a08fd1352 update, move deferredresult controller (#4164) 2018-05-11 09:07:57 +02:00
Loredana Crusoveanu 6fdd23bd3d fix boot project 2018-05-10 21:08:56 +03:00
Loredana Crusoveanu 88a3f6c0fe replace requestmapping, update properties 2018-05-06 23:02:49 +03:00
Loredana Crusoveanu b4d4d4ec08 upgrade spring-boot project, extract auto-config, remove security 2018-05-06 21:19:41 +03:00
Nikhil Khatwani ad5389cf6d Changes for BAEL-1657 2018-05-02 14:39:57 +05:30
abialas 7b92a38bed BAEL-1679 (#4149)
* BAEL-1412 add java 8 spring data features

* BAEL-21 new HTTP API overview

* BAEL-21 fix executor

* BAEL-1432 add custom gradle task

* BAEL-1567 add samples of cookie and session in serlvet

* BAEL-1567 use stream api

* BAEL-1567 fix optional

* BAEL-1679 add query annotation jpa spring data

* BAEL-1679 added new junits

* BAEL-1679 use assertJ, use givenWhenThen naming convention

* BAEL-1679 move query annotation examples to persistence modules

* BAEL-1679 fix formatting
2018-05-01 20:42:52 -05:00
Loredana Crusoveanu f514212ceb
Merge pull request #4070 from enpy303/master
A Quick Intro to the SpringBootServletInitializer
2018-04-27 13:58:35 +03:00
abialas 274745e3bb BAEL-1679 (#3959)
* BAEL-1412 add java 8 spring data features

* BAEL-21 new HTTP API overview

* BAEL-21 fix executor

* BAEL-1432 add custom gradle task

* BAEL-1567 add samples of cookie and session in serlvet

* BAEL-1567 use stream api

* BAEL-1567 fix optional

* BAEL-1679 add query annotation jpa spring data

* BAEL-1679 added new junits

* BAEL-1679 use assertJ, use givenWhenThen naming convention
2018-04-23 20:58:19 -05:00
enpy303 ea7aae3c0f WarInitializerApplication formatting fixes 2018-04-23 17:16:27 +02:00
enpy303 2ae3be56f1 WarInitializerApplication 2018-04-23 17:10:37 +02:00
hemantvsn 63a220d39a Added boot app, filters, controller and model (#3848) 2018-04-15 21:42:23 +02:00
Loredana Crusoveanu 3ac8ce60e8
Merge pull request #3941 from eugenp/BAEL-1682
style pages
2018-04-15 20:24:18 +03:00
Grzegorz Piwowarek 0e95588c54
Refactor (#3923)
* NatsClient refactor

* Use lambda
2018-04-11 12:20:03 +02:00
Loredana Crusoveanu 48a70669c5 style pages 2018-04-06 11:03:47 +03:00
Seun Matt 04cca3a62d updated example source code 2018-04-05 19:29:12 +01:00
Seun Matt 6b02742728 updated properties file for example 2018-04-05 01:27:37 +01:00
Seun Matt 099278bfb8 added example code for BAEL-1682 2018-04-05 01:04:02 +01:00
Mher Baghinyan 19fb7ef5a2 Bael 1625 (#3831)
* shutdown boot app

* test the ctx.close()

* application shutdown test

* BAEL-1625

* /shutdown endpoint test

* bring back the closeApplication

* @Ignore shutdown endpoint test
2018-04-02 07:56:55 +02:00
Nikhil Khatwani 8b647650e2 Changes for BAEL-1653 2018-03-28 13:10:09 +05:30
Eugen Paraschiv 8d633d6402 formatting work 2018-03-04 17:53:14 +02:00
Eugen Paraschiv 5fd8e4293e cleanup work for tests 2018-03-04 17:52:56 +02:00
Loredana Crusoveanu 70b81ca807
Merge pull request #3529 from eugenp/internationalization-assets
remove enablemvc
2018-01-27 18:08:55 +02:00
Loredana Crusoveanu 999dfbf381 remove enablemvc 2018-01-27 17:43:23 +02:00
Eugen Paraschiv 70e4a55256 minor import cleanup 2018-01-25 11:33:50 +02:00
Dassi orleando af3edc477d BAEL-1273: Display RSS feed with spring mvc (AbstractRssFeedView) (#3490)
* BAEL-1216: improve tests

* BAEL-1448: Update Spring 5 articles to use the release version

* Setting up the Maven Wrapper on a maven project

* Add Maven Wrapper on spring-boot module

* simple add

* BAEL-976: Update spring version

* BAEL-1273: Display RSS feed with spring mvc (AbstractRssFeedView)
2018-01-22 19:43:24 -08:00
aietcn 7e7ccc7eb3 BAEL-1416 quick guide to kong (#3448)
* BAEL-1416 quick guide to kong

* refactor kong samples
2018-01-20 10:09:55 +01:00
abialas ccf1f4ed27 BAEL-1412 add java 8 spring data features (#3306) 2018-01-01 14:07:35 +02:00
Grzegorz Piwowarek c7ba3a08aa
Build optimize (#3328)
* CustomConverterIntegrationTest

* StringToEmployeeConverterControllerIntegrationTest

* PersonsRepositoryIntegrationTest

* Refactor spring-rest-embedded-tomcat pom

* Disable Rxjava test
2017-12-30 23:10:54 +01:00
Ahmed Tawila 3bcff4672e fix spring boot project failure (#3267) 2017-12-19 07:38:39 +01:00
chrisoberle 375d7373ea move datasource routing example to spring-jpa module (#3076) 2017-11-18 14:15:11 -08:00
Grzegorz Piwowarek 7a21f5ee85
Move data.sql - schema.sql (#3067) 2017-11-17 07:22:09 +01:00
Grzegorz Piwowarek 34ad3ad29b
Build opt (#3062)
* spring-boot-admin

* Optimization
2017-11-16 22:59:02 +01:00
chrisoberle 25fe85d849 rename client databases and switch from 3 to 2 of them (#3028) 2017-11-13 08:36:30 -08:00
chrisoberle 3bb538a2f7 BAEL-1314 Guide to AbstractRoutingDatasource (#2989)
* BAEL-1314 initial import.  Guide to AbstractRoutingDatasource.

* BAEL-1314 Guide to Spring AbstractRoutingDatasource

* update test name and rename test classes

* move dsrouting example to spring-boot project.  rename db create script.
2017-11-09 16:15:03 -08:00
lor6 3952b7ef59 remove keycloak, refactor packages (#2963) 2017-11-05 18:32:37 +02:00
Yasin Bhojawala b32cd7a635 Add example for implicit conversion in controller methods 2017-11-04 18:12:45 +05:30
Michael C Good 73ae3cfb1a BAEL-1238 (#2941)
* michael.good703@gmail.com

michael.good703@gmail.com

* michael.good703@gmail.com

michael.good703@gmail.com

* michael.good703@gmail.com

michael.good703@gmail.com

* update

* michael.good703@gmail.com

Had to add @SpringBootApplication(exclude = MySQLAutoconfiguration.class)

* Updated for 3.3.0.Final

BAEL-1238

* Update pom.xml

* BAEL-1238

Added new module spring-boot-keycloak and removed Keycloak code from spring-boot module

* Minor changes to pom.xml

* Update CustomConverterTest.java

* Update StringToEmployeeConverter.java

* Update GenericBigDecimalConverter.java

* Update MyFeatures.java

* Update .gitignore

* Formatting changes

* "Resolving conflicts"

* Updated spring-boot to remove keycloak

* Updated to see

* Update

* Updated

* Found remnant file and deleted it
2017-11-03 07:09:31 -07:00
Michael C Good 73bfdda38d BAEL-1238 Quick Guide to Using Keycloak with a Spring Boot Application (#2908)
* michael.good703@gmail.com

michael.good703@gmail.com

* michael.good703@gmail.com

michael.good703@gmail.com

* michael.good703@gmail.com

michael.good703@gmail.com

* update

* michael.good703@gmail.com

Had to add @SpringBootApplication(exclude = MySQLAutoconfiguration.class)
2017-10-29 20:09:22 -07:00
Grzegorz Piwowarek 2f060a8f28
Revert KeycloakConfigurationTest (#2905) 2017-10-29 16:55:06 +01:00
Grzegorz Piwowarek 95cf16de28 Spring Boot Bootstrap upgrade (#2904) 2017-10-29 10:05:26 -05:00
Yasin Bhojawala 7c2b4e6f88 format code 2017-10-29 19:20:54 +05:30
Yasin Bhojawala 729c392019 BAEL-1217 fixed failing tests 2017-10-29 19:16:42 +05:30
Yasin Bhojawala 9fee77a9d9 reverting unnecessary files 2017-10-29 17:24:59 +05:30
Yasin Bhojawala e56da99216 BAEL-1217 Guide to Spring Type Conversions
Review comments
2017-10-29 17:20:47 +05:30
Yasin Bhojawala 7ad1e5692b BAEL-1217 Guide to Spring Type Conversions 2017-10-28 20:41:20 +05:30
Michael C Good dc349c17a8 BAEL-1238 michael.good703@gmail.com (#2879)
* michael.good703@gmail.com

michael.good703@gmail.com

* michael.good703@gmail.com

michael.good703@gmail.com

* michael.good703@gmail.com

michael.good703@gmail.com

* update
2017-10-26 21:32:25 -07:00
eugenp 1cba1b043c minor formatting cleanup 2017-08-24 13:11:52 +03:00
Graham Cox 706b3d6c67 Example for a GraphQL Application in Spring Boot (#2477) 2017-08-21 21:01:41 +02:00
Doha2012 dc3589a7a0 fix spring-boot module (#2422)
* fix spring config

* fix spring config

* fix spring config

* minor fix

* fix spring-boot module
2017-08-11 23:02:08 +03:00
Grzegorz Piwowarek f8bf4038f1 Optimize and refactor (#2302) 2017-07-21 13:37:49 +03:00
Grzegorz Piwowarek 84956990b6 Build optimization (#2253) 2017-07-12 19:28:47 +02:00
ramansahasi 69b4a05eb8 BAEL-859 (updated) How to display/list all Spring-managed beans? (#2064)
* Separating displayAllBeans logic from main method

* Removing as 'Person' bean is no longer used

* Removing as 'Person' bean is no longer used

* Removing as 'Person' bean is no longer used

* Added FooService and FooController

* Changed test cases as per new configuration

* Template to handle front-end view

* Fixed spacing issue

* Fixed spaces

* Fixed spacing issue
2017-06-13 17:13:16 +02:00
Yasin 4b1d0217e9 BAEL-252 A Java Client to consume a WebSockets API (#2048)
* BAEL-900 Guide to dynamic tests in Junit 5

* BAEL-900 Guide to Dynamic Tests in Junit 5

* Revert "BAEL-900 Guide to Dynamic Tests in Junit 5"

This reverts commit d0d45c9067223347da20d0f2c80de391fcade38e.

* BAEL-900 Guide to Dynamic Tests in Junit 5

* BAEL-900 Guide to dynamic tests in Junit 5

* removed unnecessary annotation

* BAEL-900 unused imports removed

* BAEL-900 simplified input generator code

* BAEL-252 A Java Client to consume a WebSockets API
2017-06-11 17:47:39 +02:00
ramansahasi 40dc547558 BAEL-859 How to display/list all Spring-managed beans? (#2021)
* Display all beans in Spring Container

* Display all spring managed beans

Add code to configure 'beans' endpoint.

* Added 'spring-boot-starter-test' dependency

Added 'spring-boot-starter-test' dependency with scope 'test'

* Display all spring managed beans Test cases

Added test cases for 'Display all spring managed beans' module.
2017-06-08 22:34:43 +02:00
Doha2012 48cd6f876f Fix test names (#1853)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

* remove log4j dependencies

* remove commons-logging

* merge

* fix conflict

* exclude commons-logging dependency

* cleanup

* minor fix

* minor fix

* fix dependency issues

* Revert "fix dependency issues"

This reverts commit 83bf1f9fd2e1a9a55f9cacb085669568b06b49ec.

* fix dependency issues

* minor fix

* minor fix

* minor fix

* cleanup generated files

* fix commons-logging issue

* add parent to pom

* cleanup parent dependencies

* cleanup pom

* cleanup pom

* add missing parent

* fix logging issue

* fix test names
2017-05-15 11:35:14 -05:00
lor6 cb57a8d0c6 small fix (#1809) 2017-05-08 14:46:14 +02:00
Kalyan 0bcd8514cf BAEL-252 A Java Client to Consume a WebSockets API (#1805)
* @BAEL-252 - Initial checkin

* BAEL-252 : Added junit tests

* @BAEL-252(A Java Client to consume a WebSockets API) : Fixed the junit name

* BAEL-252 A Java Client to Consume a WebSockets API
Fixed junit test name as per the standard
2017-05-07 20:07:36 +02:00
Kalyan 4a3662b4ab BAEL-252(A Java Client to consume a WebSockets API) (#1791)
* @BAEL-252 - Initial checkin

* BAEL-252 : Added junit tests
2017-05-06 22:25:39 +02:00
pivovarit 67968089a0 Use newer runners 2017-05-05 16:11:13 +02:00
pivovarit 86a893d454 Refactor SpringBootProfileIntegrationTest 2017-05-05 07:06:19 +02:00
Yasin 14f90c8636 BAEL-905 Improvements in spring boot testing (#1783)
* BAEL-88 Testing in Spring Boot

* BAEL-88 Integration tests fixed.

* BAEL-905 Improvement task for spring boot testing

* BAEL-905 Improvement task for spring boot testing
2017-05-04 21:53:03 +02:00
lor6 196b869fff remove security (#1765) 2017-05-01 18:35:13 +02:00
Grzegorz Piwowarek f5f3e48f61 Update and rename ToggleTest.java to ToggleIntegrationTest.java (#1755) 2017-04-30 19:05:57 +02:00
lor6 0735c03154 togglz aspect (#1743)
* togglz aspect

* formatting

* trigger travis build
2017-04-30 10:39:11 +02:00
Yasin 0af476db52 BAEL-88 Integration tests fixed. (#1739)
* BAEL-88 Testing in Spring Boot

* BAEL-88 Integration tests fixed.
2017-04-26 20:17:03 +02:00
Grzegorz Piwowarek 722ce8fba4 Merge aspectj -> spring-aop (#1737) 2017-04-26 18:11:15 +02:00
Yasin cee7e71400 BAEL-88 Testing in Spring Boot (#1722) 2017-04-25 07:05:40 +02:00
Chandravadan S 4d17d26405 Bael 697 - @ConfigurationProperties in Spring Boot (#1712)
* Initial commit for @ConfigurationProperties

(BAEL-697)

* Additional validations added

(BAEL-697)

* Formatting changes

* Updated main properties file

* Minor changes to pass TravisCI

(BAEL-697)

* Optimisation of imports

(BAEL-697)

* Renamed ConfigPropertiesTest to Integration test

(BAEL-697)
2017-04-24 08:38:53 +02:00
Grzegorz Piwowarek f88d40442c Refactor MySQLAutoconfiguration (#1703) 2017-04-22 14:19:39 +02:00
lor6 aa08d1262b spring boot mysql autoconfiguration (#1639)
* spring boot mysql autoconfiguration

* exclude autoconfig from other main classes

* update property condition
2017-04-19 17:49:09 -05:00
lor6 4c6b529571 Bael 736 ver2 (#1693)
* add notnull

* fix formatting
2017-04-19 21:03:01 +02:00
Grzegorz Piwowarek bc6bcc3caf Mark integration tests (#1690) 2017-04-19 19:27:30 +02:00
lor6 699cf9d77b Bael 736 (#1685)
* dynamic validation

* small fixes

* remove set property

* fix conflicts

* fix conflicts

* add optional

* small fix

* update get
2017-04-19 14:27:02 +02:00
Yasin 553c368b5b BAEL-88 Testing in Spring Boot (#1679)
Review comments
2017-04-18 19:42:29 +02:00
Doha2012 7525544e09 use standard logback.xml (#1666)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml
2017-04-17 18:41:23 +02:00
Yasin b7d6487547 BAEL-88 Testing in Spring Boot (#1653)
* yasin.bhojawala@gmail.com

Evaluation article on Different Types of Bean Injection in Spring

* Revert "yasin.bhojawala@gmail.com"

This reverts commit 963cc51a7a15b75b550108fe4e198cd65a274032.

* Fixing compilation error and removing unused import

* Introduction to Java9 StackWalking API - yasin.bhojawala@gmail.com

Code examples for the article "Introduction to Java9 StackWalking API"

* BAEL-608 Introduction to Java9 StackWalking API

* BAEL-608 Introduction to Java9 StackWalking API

changing the test names to BDD style

* BAEL-608 Introduction to Java9 StackWalking API

correcting the typo

* BAEL-608 Introduction to Java9 StackWalking API

improving method names

* BAEL-608 Introduction to Java9 StackWalking API

test method names improvements

* BAEL-718 Quick intro to javatuples

* merging pom from master

* BAEL-722 Intro to JSONassert

* BAEL-722 Intro to JSONassert

Updated to 1.5.0

* BAEL-745 Quick Math.pow example

* BAEL-729 Adding custom info to actuator's /info endpoint

* BAEL-88 Testing in Spring Boot

* BAEL-88 Testing in Spring Boot
2017-04-15 17:45:26 +02:00
Grzegorz Piwowarek 14909f6c2f Refactor ContactInfoValidator (#1647)
* Refactor ContactInfoValidator

* Refactor ContactInfoValidator
2017-04-14 11:26:51 +02:00
lor6 2b8ba178e4 Bael 736 (#1646)
* dynamic validation

* small fixes

* remove set property

* fix conflicts

* fix conflicts

* add optional
2017-04-14 07:14:44 +02:00
lor6 2f34e89546 dynamic validation (#1621)
* dynamic validation

* small fixes
2017-04-12 06:38:44 -05:00
Doha2012 cc276589ec fix integration test (#1615)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup
2017-04-09 20:38:30 +02:00
lor6 a3926e4204 separate test datasource (#1575)
* separate test datasource

* remove hsqldb

* fix var name

* move config class
2017-04-07 15:30:29 -05:00
Wim Deblauwe bbcafe2e32 Feature/bael 87 (#1590)
* BAEL-87 - @JsonComponent in Spring Boot

* BAEL-87 - @JsonComponent in Spring Boot

* BAEL-87 - @JsonComponent in Spring Boot

Rename tests to end on *IntegrationTest so they can be run on a more powerful Jenkins machine
2017-04-05 11:01:21 +02:00
Grzegorz Piwowarek cb9c16a533 Optimize build (#1592)
* Optimize build

* Optimize build
2017-04-05 09:20:39 +02:00
Yasin a4f4301196 BAEL-729 Adding custom info to actuator's /info endpoint (#1584)
* yasin.bhojawala@gmail.com

Evaluation article on Different Types of Bean Injection in Spring

* Revert "yasin.bhojawala@gmail.com"

This reverts commit 963cc51a7a15b75b550108fe4e198cd65a274032.

* Fixing compilation error and removing unused import

* Introduction to Java9 StackWalking API - yasin.bhojawala@gmail.com

Code examples for the article "Introduction to Java9 StackWalking API"

* BAEL-608 Introduction to Java9 StackWalking API

* BAEL-608 Introduction to Java9 StackWalking API

changing the test names to BDD style

* BAEL-608 Introduction to Java9 StackWalking API

correcting the typo

* BAEL-608 Introduction to Java9 StackWalking API

improving method names

* BAEL-608 Introduction to Java9 StackWalking API

test method names improvements

* BAEL-718 Quick intro to javatuples

* merging pom from master

* BAEL-722 Intro to JSONassert

* BAEL-722 Intro to JSONassert

Updated to 1.5.0

* BAEL-745 Quick Math.pow example

* BAEL-729 Adding custom info to actuator's /info endpoint
2017-04-04 12:28:51 +02:00
Wim Deblauwe 8da820b35a BAEL-87 - @JsonComponent in Spring Boot (#1519) 2017-04-04 00:35:35 +02:00
Grzegorz Piwowarek 4d08f3db6d Refactor Analyzer examples (#1579)
* Refactor Analyzer examples

* Refactor Analyzer examples
2017-04-03 09:14:11 -05:00
lor6 1a05305b31 custom failureAnalyzer (#1559) 2017-04-02 21:18:07 -05:00
pivovarit 94e1fc2da6 Remove unused tests 2017-03-24 15:52:46 +01:00
lor6 a794db3183 internationalization app (#1394) 2017-03-16 21:30:52 -05:00
Abhinab Kanrar c2bcb63384 changing banner format in plain text (#1417)
* rest with spark java

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

* testcase change

* adding webutils

* adding testcase for WebUtils and ServletRequestUtils

* adding testcase

* spring-security-stormpath

* adding ratpack module

* adding pom.xml

* adding following modules with updated testcase : DB, Filter, Json

* adding spring-boot custom banner tutorial

* changing banner format in plain text

* Delete banner.txt~

* Delete b.txt~
2017-03-16 14:30:27 +01:00
Abhinab Kanrar d1233d0437 spring boot custom banner (#1412)
* adding ratpack module

* adding pom.xml

* adding following modules with updated testcase : DB, Filter, Json

* adding spring-boot custom banner tutorial
2017-03-15 13:41:43 +01:00
Grzegorz Piwowarek e46484df4c FooController refactor (#1345) 2017-03-09 19:28:47 +01:00
Grzegorz Piwowarek fde269c51e Rename classes (#1331) 2017-03-08 06:13:17 +01:00