Commit Graph

5967 Commits

Author SHA1 Message Date
Doha2012 50054a218b fix configuration (#2225)
* minor logging fix

* spring security sso

* use basic auth

* use form login

* cleanup

* cleanup

* final cleanup

* second client app for sso

* spring boot bootstrap

* add logic

* cleanup

* add simple controller

* add thymeleaf and security

* minor fix

* minor fix

* add more boot properties

* fix live test

* fix live test

* minor fix

* semaphores

* fix configuration
2017-07-07 21:08:04 -04:00
iaforek a6ba135f77 BAEL-579 Spring Cloud Bus (#2218)
* Code for Dependency Injection Article.

* Added Java based configuration. Downloaded formatter.xml and reformatted
all changed files. Manually changed tab into 4 spaces in XML
configuration files.

* BAEL-434 - Spring Roo project files generated by Spring Roo. No
formatting applied. Added POM, java and resources folders.

* Moved project from roo to spring-roo folder.

* BAEL-838 Initial code showing how to remove last char - helper class and tests.

* BAEL-838 Corrected Helper class and associated empty string test case. Added StringUtils.substing tests.

* BAEL-838 Refromatted code using formatter.xml. Added Assert.assertEquals import. Renamed test to follow convention. Reordered tests.

* BAEL-838 - Added regex method and updated tests.

* BAEL-838 Added new line examples.

* BAEL-838 Renamed RemoveLastChar class to StringHelper and added Java8 examples. Refactord code.

* BAEL-838 Changed method names

* BAEL-838 Tiny change to keep code consistant. Return null or empty.

* BAEL-838 Removed unresolved conflict.

* BAEL-821 New class that shows different rounding techniques. Updated POM.

* BAEL-821 - Added unit test for different round methods.

* BAEL-821 Changed test method name to follow the convention

* BAEL-821 Added more test and updated round methods.

* BAEL-837 - initial commit. A few examples of adding doubles.

* BAEL-837 - Couple of smaller changes

* BAEL-837 - Added jUnit test.

* BAEL-579 Updated Spring Cloud Version

I was getting error: java.lang.NoSuchMethodError:
org.springframework.cloud.config.environment.Environment
After version update, all is okay.

* BAEL-579 Added actuator to Cloud Config Client.

* BAEL-579 Enabled cloud bus and updated dependencies.

* BAEL-579 Config Client using Spring Cloud Bus.

* BAEL-579 Recreated Basic Config Server.

* BAEL-579 Recreated Config Client.

* BAEL-579 Removed test Git URL.

* BAEL-579 Added Actuator to Config Client

* BAEL-579 Added Spring Cloud Bus to Client.

* BAEL-579 Server changes for Spring Cloud Bus

Added dependencies and removed git.clone-on-start as this was causing
server to throw errors after git properties change.

* BAEL-579 Removed Git URL.

* Revert "BAEL-579 Updated Spring Cloud Version"

This reverts commit f775bf91e5.

* Revert "BAEL-579 Config Client using Spring Cloud Bus."

This reverts commit 1d96bc5761.

* Revert "BAEL-579 Enabled cloud bus and updated dependencies."

This reverts commit 7845da922d.

* Revert "BAEL-579 Added actuator to Cloud Config Client."

This reverts commit 076657a26a.

* BAEL-579 Added missing dependency versions.

* BAEL-579 Added missing dependency versions.
2017-07-07 19:01:53 +02:00
Jesus Boadas 9e641358ff deleted OpenNLP (#2223) 2017-07-07 19:01:16 +02:00
hariprasad108 7bfceb34c7 URI, URL BAEL-864. Article renamed and extended URI part. (#2217) 2017-07-07 12:27:45 +02:00
Walter Gómez 2863d0c3e0 Feature/kotlin map examples (#2220)
* Add project for hibernate immutable article
Add Event entity
Add hibernate configuration file
Add hibernateutil for configuration
Add test to match snippets from article

* Update master

* Add Kotlin test to convert list to map

* Add additional associate methods on test for ListToMap file
2017-07-07 09:03:37 +02:00
fromalexwithluv 5a184d4e0d BAEL-871 What is serialVersionUID? (#2203)
* Bean Injection in Spring – ashrafmsokkar@gmail.com

* Bean Injection in Spring – ashrafmsokkar@gmail.com

* BAEL-871: What is serialVersionUID?

* BAEL-871: What is serialVersionUID?

* BAEL-871 What is serialVersionUID?

* BAEL-871 Implemented feedback
2017-07-07 08:45:03 +02:00
cleversonzanon f3c99a7fcf BAEL-974 - Cleverson Santos | cleverson.ssantos1008@gmail.com (#2213)
* Different Types of Bean Injection in Spring code

* Dataclasses in Kotlin

* Revert "Different Types of Bean Injection in Spring code"

This reverts commit 4b747726b93a9f6bf76d6518792fc77e0d5c2fc9.
2017-07-07 08:37:08 +02:00
slavisa-baeldung 67261595dd Merge pull request #2221 from eugenp/cleaning-unnecessary-modules
BAEL-965 - removing unncessary modules
2017-07-07 08:35:36 +02:00
slavisa-baeldung 896c71906b BAEL-965 - removing unncessary modules 2017-07-07 07:08:00 +01:00
Anton 20b9f1bfa9 BAEL-861 Introduction to Awaitlity (#2150)
* BAEL-748 quick guide to @Value

* BAEL-748 changes from review

* BAEL-748 inject comma-separated values into array

* BAEL-768 Introduction to Netty

* BAEL-768 remove commented code

* BAEL-861 Introduction to Awaitility

* BAEL-861 rename Test to UnitTest
2017-07-06 22:12:41 -05:00
Grzegorz Piwowarek b9b230f83e Build optimization 6.07 (#2219)
* refactor testng

* refactor testng

* Remove test suites from surefire

* Refactor

* Refactor
2017-07-06 23:22:41 +02:00
Grzegorz Piwowarek c99bb7fced Minimax refactor (#2212) 2017-07-06 12:01:49 +02:00
Walter Gómez d6d5386613 Feature/kotlin list to map (#2216)
* Add project for hibernate immutable article
Add Event entity
Add hibernate configuration file
Add hibernateutil for configuration
Add test to match snippets from article

* Update master

* Add Kotlin test to convert list to map
2017-07-06 09:27:32 +02:00
KevinGilmore a57103de78 BAEL-509: Uses @GetMapping (#2215)
* BAEL-886: Updated README

* BAEL-917 Testing with Google Truth

Updated README

* BAEL-936: adding akka-streams module to parent

* BAEL-936: Update README

* BAEL-918: Update README

* BAEL-980: Update README

* BAEL-967: Update README

* BAEL-509: Using @GetMapping instead of @RequestMapping with method=GET
2017-07-05 22:26:04 -05:00
Seun Matt 8ea31542ed Code Snippet for BidiMap BAEL-963 (#2204)
* added updated example codes

* updated example code StringToCharStream

* deleted StringToCharStream.java locally

* removed redundant file

* added code for apache commons collection SetUtils

* refactored example code
2017-07-06 01:17:17 +02:00
Grzegorz Piwowarek 178af4e049 Money fix (#2210)
* Fix problems with money

* Refactor
2017-07-05 17:20:04 +02:00
slavisa-baeldung 026c9717ce Merge pull request #2211 from eugenp/bael-951-responsive-services
bael-951-responsive-services
2017-07-05 17:05:36 +02:00
slavisa-baeldung e495a51b6d BAEL-951 adding @Repository stereotype 2017-07-05 15:25:27 +01:00
Ahamed Mustafa fb4ba02ecf BAEL-951 Self-Healing Services with Spring Cloud - C3 2017-07-05 15:22:38 +01:00
Ahamed Mustafa 0021df4637 BAEL-951 Self-Healing Services with Spring Cloud - C2 2017-07-05 15:22:26 +01:00
Ahamed Mustafa c03ca0e998 BAEL-951 Self-Healing Services with Spring Cloud - C1 2017-07-05 15:22:13 +01:00
slavisa-baeldung 8746b525d5 Merge pull request #2208 from hmantri05/master
Moving Address into Customer
2017-07-05 15:41:49 +02:00
slavisa-baeldung 79d9649c41 Merge pull request #2209 from eugenp/half-wit4u-master
BAEL-804
2017-07-05 14:57:04 +02:00
slavisa-baeldung 59216419e5 BAEL-804 - fixing wrong pom.xml 2017-07-05 13:15:46 +01:00
slavisa-baeldung da56de8794 Merge branch 'master' into half-wit4u-master 2017-07-05 12:56:07 +01:00
Himanshu Mantri 8a8e650c8f Moving Address into Customer 2017-07-05 16:57:11 +05:30
slavisa-baeldung 19439943b7 BAEL-804 - minor code refactors 2017-07-05 12:25:40 +01:00
Parth Karia 2f83bec231 BAEL-1004 (#2206)
* Dependency Injection examples

Dependency Injection examples for evaluation article

* Junit test cases added for dependency injection

Junit test cases added for dependency injection

* ClassNotFoundException vs NoClassDefFoundError

Example to reproduce ClassNotFoundException & NoClassDefFoundError

* JUnit test cases for ClassNotFoundException & NoClassDefFoundError

test cases to reproduce ClassNotFoundException & NoClassDefFoundError

* Deleting exampls for evaluation article

* BAEL-831 Examples for ClassNotFoundException & NoClassDefFoundError

* BAEL-831 Removed wrapper class

* Removing evaluation article example

* BAEL-875 - Hill Climbing Algorithm

BAEL-875 - Implementation for Hill Climbing Algorithm

* BAEL-875 removed unused imports

* BAEL-984 Monte Carlo tree search

BAEL-984 Implementation for tic tac toe using Monte Carlo tree search

* BAEL-984	 test cases for MCTS

BAEL-984 test cases for Monte Carlo tree search implementation

* BAEL-1004

Implementation of Minimax algorithm
2017-07-05 09:54:46 +02:00
mokhan 75c9345efa Merge branch 'master' of https://github.com/half-wit4u/tutorials.git
Conflicts:
	spring-drools/src/main/java/com/baeldung/spring/drools/app/ApplicationRunner.java
	spring-drools/src/main/java/com/baeldung/spring/drools/model/Fare.java
	spring-drools/src/test/java/com/baeldung/spring/drools/service/TaxiFareCalculatorServiceIntegrationTest.java
2017-07-04 20:57:13 +05:30
Mohammed Sarfaraz Khan 5d7e0bc531 Review Comment Incorporation 2017-07-04 20:52:56 +05:30
Jose Carvajal 76e2c35457 BAEL-902: Migrating from JUnit 4 to JUnit5 (#2202) 2017-07-04 14:34:09 +02:00
Mohammed Sarfaraz Khan a0d82c25e3 Review Comment Incorporation 2017-07-04 11:07:03 +05:30
slavisa-baeldung 172c6c95b0 Merge pull request #2201 from eugenp/bael-965-collection-util
bael-965-collection-util
2017-07-04 07:16:23 +02:00
slavisa-baeldung 27b119a3f5 Merge remote-tracking branch 'origin/master' into bael-965-collection-util 2017-07-04 05:43:06 +01:00
slavisa-baeldung 7a77016b3c BAEL-965 - adding changes as per Grzegorz comments 2017-07-04 05:38:13 +01:00
Adam InTae Gerard db2bb252de BAEL-509 (#2114)
* BAEL-509: Initial Commit - working but needs a few fixes to REST API, etc.

* Fixed Authentication Failure - added subscription handlers - sufficient for Websocket Authentication/Authorization - still some issues to resolve with subscriptions and REST API

* Final version

* CSRF token controller - cleanup of chat wrapper
2017-07-03 21:57:27 -05:00
Daniel Cassiani 70ae331cd7 BAEL-798 - Apache Camel with Spring Boot (#1761)
* initial import

* simplified to rest only

* simplifications

* update

* Create ExampleServices.java

* Update Application.java

* simple readme

* strip of dependency management

* setting Camel versions apart where affected

* Update README.md

* update comments

* Update pom.xml

* delete of fabri8 deployment.yml
2017-07-04 00:23:55 +02:00
ocheja 1a73061761 BAEL-922 Type Erasure Explained (#2100)
* Define beans for handling different message types in a lean chat app

* Add class based spring beans configuration

* Define spring configuration in XML for constructor based bean injection

* Refactor package structure to separate constructor based bean injection code set from setter based bean injection code set

* Define configuration and classes specific to setter-based bean injection.

* Implement tests for constructor-based and setter-based bean injections

* develop codes for explaining type erasure

* Write unit tests for type erasure examples

* Remove evaluation article code

* Modify type erasure examples and unit tests

* Modify type erasure examples and unit tests

* Add expected exception in TypeErasureUnitTest

* Correct grammar in class name
2017-07-03 23:39:12 +02:00
Doha2012 f04ceabcc5 Merge pull request #2199 from eugenp/semaphone_ref
Semaphores refactor
2017-07-03 21:01:50 +02:00
eugenp bbad26d601 including the sso module into the build 2017-07-03 21:14:50 +03:00
Grzegorz Piwowarek aecdf6d5c7 Semaphores refactor 2017-07-03 17:39:45 +02:00
Doha2012 20669dc6a1 semaphores (#2198)
* minor logging fix

* spring security sso

* use basic auth

* use form login

* cleanup

* cleanup

* final cleanup

* second client app for sso

* spring boot bootstrap

* add logic

* cleanup

* add simple controller

* add thymeleaf and security

* minor fix

* minor fix

* add more boot properties

* fix live test

* fix live test

* minor fix

* semaphores
2017-07-03 17:34:41 +02:00
slavisa-baeldung 7c6a08746e Merge pull request #2182 from eugenp/bael-835-gc-limit-exceed
bael-835-gc-limit-exceed
2017-07-03 11:15:25 +02:00
slavisa-baeldung 84f0d7de4b Merge pull request #2197 from eugenp/bael-965-collection-util
bael-965
2017-07-03 11:13:54 +02:00
slavisa-baeldung 0f49c26335 Merge branch 'master' into bael-965 2017-07-03 09:07:13 +01:00
slavisa-baeldung 469495d2ef BAEL-965 - removing deprecated methods 2017-07-03 09:06:48 +01:00
Anand kumar d2880044df Spring Web Contexts (BAEL-82) (#2113)
* spring web contexts example

* applicationContext util added

* java based configuration added

* bean name fixed
2017-07-03 08:55:31 +02:00
Andrew 806c17b41b BAEL-878 [2] (#2194)
* code snippets for the `Java 9 Stream API improvements` article

* code snippets for the `Java 9 Stream API improvements` article [2 attempt]

* removed the first attempt

* the Spring 5 WebClient

* delted stream features test

* HttpMediaTypeNotAcceptableExceptionExampleController [0]

* reactive web client service was removed

* new WebClient

* new WebClient [2]
2017-07-03 08:35:38 +02:00
Eunice A. Obugyei ad5696a8b5 Spring Security for a Java EE Application (#2195)
* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Removed unnecessary comment

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]
Added Exception test cases

* Applied baeldung formatter in Eclipse

* Merged from https://github.com/eugenp/tutorials
Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Revert "Merged from https://github.com/eugenp/tutorials"

This reverts commit 74447a163b9e3f244a2578315fbdb525d20cd16b.

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Introduction to JAX-WS[http://jira.baeldung.com/browse/BAEL-611]

* Spring Security for a Java EE Application[http://jira.baeldung.com/browse/BAEL-884]

* Updated spring-security version to 4.2.3.RELEASE
2017-07-02 21:18:41 +02:00
maibin 612b9a137d Updated guest article (#2189)
* Create memory-leaks module

* Memory Leaks

* Added str.intern()

* Memory Leaks updated

* Updated guest article

* Memory Leaks update

* Remove unused resource

* Updated Memory Leaks Article
2017-07-02 09:57:33 -05:00