Commit Graph

96 Commits

Author SHA1 Message Date
Andrey Shcherbakov 0e97b9d21b Add the code snippets of the Kotlin String Template article (#4541) 2018-06-26 13:37:43 -07:00
Graham Cox d1e092b850 Examples of Reflection in Kotlin (#4483)
* Examples of Reflection in Kotlin

* Some article updates to make better use of Assert

* Replaced printlines with log statements

* Added @Ignore to so tests with no assertions
2018-06-26 07:30:55 +01:00
Grzegorz Piwowarek 6dad233602 BAEL-1758 Idiomatic Kotlin usage in enum (#4434) 2018-06-09 11:29:35 +02:00
Devesh Chanchlani 8080f07c6c BAEL-1758: removing helper class and adding static functions to the Kotlin Enum example (#4419) 2018-06-07 08:18:48 +02:00
Devesh Chanchlani be608ae4fb BAEL-1758: Working with Enums in Kotlin (#4413) 2018-06-06 01:20:26 +02:00
KevinGilmore efd8b18790
Add link to article (#4391)
* BAEL-1612: Update README

* BAEL-1562: Update README

* BAEL-1562: Update README

* BAEL-1679: Update README

* BAEL-1701: Update README

* Added article links to README files

* BAEL-1787 update README

* BAEL-1399: add article link to README
2018-06-02 14:22:41 -05:00
Rokon Uddin Ahmed 50f5cba9da BAEL-6634 (#4376)
* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Create README.md

* Create README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-06-01 14:04:12 +02:00
Juan Moreno 4308468c60 Sample code for BAEL-1399 (#4165)
* Squashed commit of the following:

commit b31955df9638a6217a804e61faa230d8eacb293b
Author: Juan Moreno <earth001@gmail.com>
Date:   Wed Feb 21 22:45:52 2018 -0300

    Sample code for BAEL-1159 - Working with Kotlin and JPA - earth001@gmail.com

* Squashed commit of the following:

commit 4e6e27c914a401ee6bc599c7ffe913384137646a
Author: Juan Moreno <earth001@gmail.com>
Date:   Wed Feb 21 23:26:20 2018 -0300

    Fix package names

commit b31955df9638a6217a804e61faa230d8eacb293b
Author: Juan Moreno <earth001@gmail.com>
Date:   Wed Feb 21 22:45:52 2018 -0300

    Sample code for BAEL-1159 - Working with Kotlin and JPA - earth001@gmail.com

* Added sample with null fields

* Removed unused dependency

* BAEL-1159 - Simplified example

* Code sample to BAEL-1399

* Code sample to BAEL-1399

* Sample code for BAEL-1399

* Sample code for BAEL-1399

* Sample code for BAEL-1399

* Upgrade to Klaxon 3.0.2, polish test

* Added sample with annotations

* Upgrade dependencies

* Ugrade library version, added JSON Path sample

* Reverted changes
2018-05-26 11:19:25 -05:00
collaboratewithakash c022781ced Back-link added (#4303)
* Back-link added

* Back-link added

* Back-link added

* Back-link name corrected

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link corrected

* Back-link added

* Back-link added

* Back-link added

* Back-link added
2018-05-23 16:55:32 +02:00
Graham Cox b677208899 Examples for Spek article (#4106)
* Examples for BAEL-1169

* Examples for Spek
2018-05-11 14:35:04 +02:00
amit2103 05b7e933bd Bael 5247 (#4175)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* Added new parent pom

* initial clean up of child poms

* Added new parent pom

* [BAEL-5247] - New Parents in the tutorials repo
2018-05-05 22:30:00 +02:00
José Carlos Valero Sánchez 2a61d6473b
Merge pull request #4029 from theawesomenayak/BAEL-1675
[BAEL-1675] Write to a File in Kotlin
2018-05-05 14:13:49 +01:00
Siben Nayak c2d89c8679 Fixed unit test cases and formatting 2018-05-05 18:24:13 +05:30
collaboratewithakash fad99fe44b Back-links added (#4119)
* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link corrected

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link corrected

* Back-link corrected

* Back-link corrected

* Back-link correct

* Back-link corrected

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link corrected

* Back-link added

* Back-link corrected

* Back-link corrected

* Back-link corrected
2018-05-02 09:41:08 +02:00
pauljervis c5af483a8d Kotlin Lambda Article Code (#4100)
* Add Kotlin lambdas and tests from Java and Kotlin

* Add the actual code under test

* Add different types of lambdas performing the same action.
2018-05-01 12:56:40 +02:00
amit2103 f2128ad054 Bael 5249 cleanup (#4108)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-5249] - 21.02 - pom cleanup - formatted pom.xml
2018-04-26 14:37:47 +02:00
amit2103 ba1ba8455d Bael 5249 (#4052)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* Defined the integration profile in the parent

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* Spring-dependency injection

* BAEL-1683-Guide to Java Clock class

* BAEL-1683-Guide to Java Clock class

* added article link

* added article link

* fixed link

* refactoring packages and using generics

* BAEL-717: Singleton Session Bean. (#4046)

* BAEL-717: Singleton EJB Bean

Files for BAEL-717:Singleton EJB Bean.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Changed artifactId value.

* BAEL-717: Singleton EJB Bean.

Added module for Singleton EJB Bean.

* BAEL-717: Singleton EJB Bean. 

Removed Singleton EJB Bean Module.

* BAEL-717: Singleton EJB Bean

Changed the JNDI Lookup name.

* BAEL-717: Singleton EJB Bean. 

Added the "singleton-ejb-bean" module.

* BAEL-717: Singleton EJB Bean.

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean.

Corrected Indentation.

* BAEL-717: Singleton EJB Bean.

Corrected Indentation.

* BAEL-717:Singleton EJB Bean.

Corrected Indentation.

* BAEL-717:Singleton EJB Bean.

Corrected Indentation.

* BAEL-717: Singleton Session Bean.

Added class for Bean-Managed concurrrency.
Changed class name from CountryStateCacheBean to CountryStateContainerManagedBean.

* BAEL-717: Singleton Session Bean.

Changing the name of the class to CountryStateContainerManagedBean.

* BAEL-717: Singleton Session Bean.

Added method to test Bean-Managed concurrency.

* Get Latest.

* deleting CountryStateBeanManagedBean for new file.

* deleting CountryStateCacheBean for new file.

* deleting CountryStateContainerManagedBean for new file.

* BAEL-717: Singleton Session Bean.

Adding file for Bean with Bean-Managed concurrency.
Changing file name for original file to CountryStateContainerManagedBean with Container-Managed concurrency.

* Deleting file for new checkin.

* BAEL-717: Singleton Session Bean.

Added test case for Bean-Manged concurrency.
Change in JNDI names.

* BAEL-717: Singleton Session Bean.

Changed the assert method parameter order and null check in test cases.

* BAEL-717:Singleton Session Bean

Removed volatile keyword for the variable countryStatesMap. Marking it as final.

* [BAEL-1641] Find all pairs of numbers in an array that add up to a given sum (#3890)

* [BAEL-1641] Find all pairs of numbers in an array that add up to a given sum

* Commiting editor's suggested changes

* Commiting article Spring Data Reactive Mongo DB microservice in Kotlin

* Revert commit for BAEL 1687 - Moving those files to a new branch

* Use AssertJ and BDD-style on unit testing

* BAEL 1639: added singleton examples and test. (#3977)

* BAEL-1701 (#4012)

* BAEL-1701: Create SQSApplication, add most functionality (still need to format, and add queue monitoring)

* BAEL-1701: Complete examples

* added article links

* removed folder "SpringDependencyInjection"
e Please enter the commit message for your changes. Lines starting

* BAEL-1706 - optional parameters in java (#4050)

* BAEL-1706 - optional parameters in java

* minor adjustments per review

* add tests
* fix formatting
* fix constructor issue with MultiVitaminOverloading

* BAEL-1706 Test name change, formatting

* working with booleans in thymeleaf (#4061)

* BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit (#4058)

* BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit

* updated test cases

* Update README.md

* Demonstration of Java assert

* 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

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* spring-data final

* service locator pattern

* service locator pattern

* variable name changes

* Spring MVC @PathVariable dot (.) get truncated

* testing changes

* Update README files (#4065)

* BAEL-1612: Update README

* BAEL-1562: Update README

* BAEL-1562: Update README

* BAEL-1369

* BAEL-1369

* BAEL-1369

* remove comments

* Back-link corrected (#4071)

* Back-link corrected (#4073)

* Back-link added (#4074)

* Back-link added (#4075)

* Back-link added (#4076)

* Back-link added (#4077)

* Back-link added (#4078)

* Back-link added (#4080)

* Back-link added (#4081)

* Back-link added (#4083)

* Back-link corrected (#4086)

* Back-link added (#4087)

* Back-link added (#4091)

* Back-link added (#4089)

* added example code for Java mail (#4101)

* Back-link added (#4099)

* Back-link added (#4088)

* Back-link added (#4082)

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup
2018-04-26 08:50:35 +02:00
collaboratewithakash 29e7690bb7 Back-link added (#4075) 2018-04-25 10:16:47 +02:00
amit2103 86cebe51d7 Bael 5926 (#4023)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* Aligned and Defined the common plugins in the parents

* Removed dependency-reduced-pom.xml from undertow module

* Reverting test fail modules with surefire testFailureIgnore ture

* Reverted wrong push with org.hsqldb
2018-04-18 08:04:50 +02:00
pauljervis ce5113c48c Bael 1404 kotlin (#4033)
* add article files

* update kotlin version in pom

* IntelliJ added binary folder to all the .gitignores

* IntelliJ added binary folder to all the .gitignores

* update test function names

* Expand tests and add more code for more meaningful content within the article.
Remove core-kotlin from parent pom again for eclipse to work.

* adjust for issues with custom-pmd

* rename test

* Revert "IntelliJ added binary folder to all the .gitignores"

This reverts commit 0850a2acd5162499540231146c795cfda9ffcfc5.

* Revert "IntelliJ added binary folder to all the .gitignores"

This reverts commit 2b17cf2ff3624ecbe37f07bb9985ecfd3a977e01.

* renamed test to match article
2018-04-17 17:37:14 +02:00
pauljervis d7eaa00804 Bael 1601 kotlin (#4016)
* add article files

* update kotlin version in pom

* IntelliJ added binary folder to all the .gitignores

* IntelliJ added binary folder to all the .gitignores

* update test function names

* Expand tests and add more code for more meaningful content within the article.
Remove core-kotlin from parent pom again for eclipse to work.

* adjust for issues with custom-pmd

* rename test

* Revert "IntelliJ added binary folder to all the .gitignores"

This reverts commit 0850a2acd5162499540231146c795cfda9ffcfc5.

* Revert "IntelliJ added binary folder to all the .gitignores"

This reverts commit 2b17cf2ff3624ecbe37f07bb9985ecfd3a977e01.
2018-04-17 14:09:34 +02:00
Tom Hombergs c6b0bb04d1
added article link 2018-04-15 20:48:51 +02:00
Grzegorz Piwowarek b284c29a43
Fix FileReaderTest (#3996) 2018-04-14 10:00:24 +02:00
Grzegorz Piwowarek 64e9b41aef
FileReader idiomatic refactor (#3936) 2018-04-11 12:20:33 +02:00
Rokon Uddin Ahmed 5da2ea995c 08.04.2018 (#3954)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md
2018-04-11 07:33:18 +02:00
KevinGilmore c2034ca7cc
Update README (#3953)
* BAEL-973: updated README

* BAEL-1069: Updated README

* BAEL-817: add README file

* BAEL-1084: README update

* BAEL-960: Update README

* BAEL-1155: updated README

* BAEL-1041: updated README

* BAEL-973: Updated README

* BAEL-1187: updated README

* BAEL-1183: Update README

* BAEL-1133: Updated README

* BAEL-1098: README update

* BAEL-719: add README.md

* BAEL-1272: README update

* BAEL-1272: README update

* BAEL-1196: Update README

* BAEL-1328: Updated README

* BAEL-1371: Update README.md

* BAEL-1371: Update README.md

* BAEL-1278: Update README

* BAEL-1326: Update README

* BAEL-399: Update README

* BAEL-1297: Update README

* BAEL-1218: README

* BAEL-1148 README update

* BAEL-113 README

* BAEL-1158 README

* BAEL-1539: Update README

* BAEL-1507 README update

* BAEL-1178 README updated

* BAEL-1462 README

* BAEL-1491 README update

* BAEL-1612: README update

* BAEL-1510: Updated README

* BAEL-1169 README

* BAEL-1598: README update
2018-04-10 09:16:10 -05:00
Siben Nayak 5db1c3d8f3 [BAEL-1675] Write to a File in Kotlin 2018-04-09 09:59:24 +05:30
Graham Cox 1b454b7267 Examples for BAEL-1169 (#3934) 2018-04-06 06:08:33 -05:00
Siben Nayak 6fadb8bdef Change StandardCharsets to Charsets 2018-04-02 16:34:35 +05:30
Siben Nayak b3064e448e Kotlin Read from File 2018-04-01 00:47:42 +05:30
KevinGilmore 24cc2e05bf
BAEL-1462 README update (#3793)
* BAEL-973: updated README

* BAEL-1069: Updated README

* BAEL-817: add README file

* BAEL-1084: README update

* BAEL-960: Update README

* BAEL-1155: updated README

* BAEL-1041: updated README

* BAEL-973: Updated README

* BAEL-1187: updated README

* BAEL-1183: Update README

* BAEL-1133: Updated README

* BAEL-1098: README update

* BAEL-719: add README.md

* BAEL-1272: README update

* BAEL-1272: README update

* BAEL-1196: Update README

* BAEL-1328: Updated README

* BAEL-1371: Update README.md

* BAEL-1371: Update README.md

* BAEL-1278: Update README

* BAEL-1326: Update README

* BAEL-399: Update README

* BAEL-1297: Update README

* BAEL-1218: README

* BAEL-1148 README update

* BAEL-113 README

* BAEL-1158 README

* BAEL-1539: Update README

* BAEL-1507 README update

* BAEL-1178 README updated

* BAEL-1462 README
2018-03-09 22:40:11 -06:00
Rokon Uddin Ahmed c10cb80823 02.03 (#3747)
* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-03-02 18:40:04 +02:00
Denis ef1b033b78 BAEL-1462 Kotlin DI with Kodein (#3544)
* BAEL-1462 Kotlin DI with Kodein

* BAEL-1462 Kotlin DI with Kodein

* applied editor's suggestions
* removed unnecessary curly braces

* Moved kodein files into core-kotlin as per editor's review

* Using assertj instead of junit assertions as per editor's instruction
2018-02-26 19:51:55 -06:00
KevinGilmore c54a1f9e11
BAEL-1158 Update README (#3702)
* BAEL-973: updated README

* BAEL-1069: Updated README

* BAEL-817: add README file

* BAEL-1084: README update

* BAEL-960: Update README

* BAEL-1155: updated README

* BAEL-1041: updated README

* BAEL-973: Updated README

* BAEL-1187: updated README

* BAEL-1183: Update README

* BAEL-1133: Updated README

* BAEL-1098: README update

* BAEL-719: add README.md

* BAEL-1272: README update

* BAEL-1272: README update

* BAEL-1196: Update README

* BAEL-1328: Updated README

* BAEL-1371: Update README.md

* BAEL-1371: Update README.md

* BAEL-1278: Update README

* BAEL-1326: Update README

* BAEL-399: Update README

* BAEL-1297: Update README

* BAEL-1218: README

* BAEL-1148 README update

* BAEL-113 README

* BAEL-1158 README
2018-02-21 07:26:39 -06:00
Graham Cox 65267041c3 Examples for Infix Functions article (#3606) 2018-02-09 06:11:19 -06:00
Alessio Stalla 8b279673c4 Code for BAEL-894 - regular expressions in Kotlin (#3618) 2018-02-08 14:05:13 -08:00
Alessio Stalla 7000fca197 BAEL-1398 Code for the article: HTTP Requests with Kotlin and khttp 2018-01-22 15:12:11 +01:00
Rokon Uddin Ahmed c3e8ba4a70 Pull request 17.01 (#3442)
* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md
2018-01-17 21:53:17 +01:00
Alessio Stalla ee3c3a6237 BAEL-1402 code for the article: Try-with-resources in Kotlin (#3418) 2018-01-14 16:32:47 -08:00
Doha2012 962dfd228f make sure modules using java8 (#3313) 2017-12-28 15:30:01 +01:00
Graham Cox f00c95f4fc Examples of writing Extension Methods 2017-12-01 14:05:24 +00:00
KevinGilmore 2e7d254adb
BAEL-1133 README (#2962)
* BAEL-973: updated README

* BAEL-1069: Updated README

* BAEL-817: add README file

* BAEL-1084: README update

* BAEL-960: Update README

* BAEL-1155: updated README

* BAEL-1041: updated README

* BAEL-973: Updated README

* BAEL-1187: updated README

* BAEL-1183: Update README

* BAEL-1133: Updated README
2017-11-05 14:06:25 -06:00
Shubham 5f795ca5e5 Added Kotlin datetime package and test cases for BAEL-896 2017-10-29 08:32:29 +05:30
Graham Cox 6ac536861e Updated test names (#2856) 2017-10-25 21:30:53 -05:00
Graham Cox f8db7b02c5 Kotlin junit5 (#2672)
* Fixed the core-kotlin module to build, and set it up to run JUnit 5 tests using Failsafe

* Example JUnit5 tests in Kotlin
2017-10-10 20:44:50 -05:00
Doha2012 1852438f6a rename kotlin to core-kotlin (#2651)
* fix spring config

* fix spring config

* fix spring config

* minor fix

* fix spring-boot module

* fix pom

* upgrade jackson

* minor fix

* java concurrency

* cleanup

* fix conflict

* java 8

* clean up

* add core-java-8 to main pom

* rename kotlin to core-kotlin
2017-09-20 16:15:22 +02:00