Commit Graph

78 Commits

Author SHA1 Message Date
Alessio Stalla 64ba651582 #BAEL-693 tests and code examples. (#5091) 2018-08-27 22:32:15 +02:00
Dhawal Kapil 206b70328c BAEL-8142 create parent for kotlin projects
-Added new kotlin parent -> parent-kotlin
-Added dependency of other kotlin projects on parent-kotlin
2018-08-26 01:09:18 +05:30
Tom Hombergs 3d3dfd7970
Merge pull request #4760 from MajewskiKrzysztof/master
BAEL-1912
2018-08-19 16:41:59 +02:00
Grzegorz Piwowarek cb86a05efd
Kotlin Builder example refactor (#4895)
* encoding

* Refactor builder

* Usage

* Builder as data class
2018-08-18 14:01:01 +02:00
Patryk 061d1191f1 Bael 1704 (#4973)
* BAEL-1704: Non-Trivial Work in Kotlin vs Java

* BAEL-1704: Non-Trivial Work in Kotlin vs Java

Renaming one test class

* BAEL-1704: Kotlin vs Java

* BAEL-1704: Kotlin vs Java

The files moved to the guest branch.
2018-08-17 08:00:08 -05:00
Loredana Crusoveanu fad21ead40
Merge pull request #4979 from dkapil/task/BAEL-8231
BAEL-8231 Disabled "is working" statement in a test case in Coroutine…
2018-08-16 22:47:39 +03:00
Dhawal Kapil cecb8f2c2c BAEL-8231 Disabled "is working" statement in a test case in CoroutinesTest.kt 2018-08-17 00:19:06 +05:30
Juan Moreno 74e3e7ff95 Kotlin Nested and Inner Classes Code SampleCode
Issue: BAEL-1759
2018-08-13 17:33:36 -06:00
Kacper 4cd349f533 Kotlin constructors (#4933) 2018-08-10 21:10:15 +02:00
eelhazati 570e33dc1a move sse-jaxrs module under apache-cxf module. 2018-08-10 11:59:44 -07:00
Krzysztof Majewski 83cba874f2 Merge branch 'master' of https://github.com/eugenp/tutorials 2018-08-10 09:30:51 +02:00
charlesgonzales 671bf20fe8 add/fix links - team BAEL-7962 (#4891)
* 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

* 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

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md
2018-08-05 20:30:25 +02:00
amit2103 d268ffa5c9 [BAEL-7670] Added logback.xml in missing modules in src/main/resources 2018-08-05 18:40:49 +05:30
Patryk cae67c041e BAEL-1704: Non-Trivial Work in Kotlin vs Java (#4861)
* BAEL-1704: Non-Trivial Work in Kotlin vs Java

* BAEL-1704: Non-Trivial Work in Kotlin vs Java

Renaming one test class
2018-08-04 17:51:01 -05:00
freddyaott 4aa77eb55d BAEL-1840 Builder Pattern in Kotlin (#4730)
* builder pattern in kotlin

* builder pattern in kotlin new-line

* deleted Sandbox, added unit test

* add other tests

* named and default parameters builder

* Make FoodOrderNamed a data class
2018-08-03 03:11:35 +01:00
Tom Hombergs 02d0b127a2
added link 2018-07-28 22:51:29 +02:00
charlesgonzales f431a4c3ff add links (#4804)
* 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

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-07-24 19:21:55 +02:00
Krzysztof Majewski 9b05faa15f BAEL-1912 fix 2018-07-23 07:54:10 +02:00
Alessio Stalla 416a88eae5 BAEL-1838 (#4692)
* #BAEL-1838 code samples. Renamed LambdaKotlinTest to have the build succeed.

* #BAEL-1838 code samples w/inheritance.

* #BAEL-1838 renamed logger helper function to getLogger to avoid confusion.

* #BAEL-1838 renamed logger helper function to getLogger to avoid confusion.
2018-07-20 07:16:13 +02:00
Krzysztof Majewski 182a883742 BAEL-1912 2018-07-19 10:13:30 +02:00
Dhawal Kapil 5a5ac7bca0 BAEL-1987 Fix Tests and Compilation In All Projects (#4699)
* BAEL-1987 Fix Tests and Compilation In All Projects

-Fixed test failure in core-kotlin project, include core-kotlin back in parent pom

* Update pom.xml

* BAEL-1987 Fix tests and libraries

-Commented out failing assertion
2018-07-13 17:49:11 +02:00
charlesgonzales 7e16275bd7 BAEL-7390 - add/fix links (#4697)
* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Create README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md
2018-07-13 06:57:45 +02:00
Dhawal Kapil 8270c6d61a BAEL-1987 Fix Tests and Compilation In All Projects (#4693)
* BAEL-1987 Fix Tests and Compilation In All Projects

-Fixed various compilation issues, test assertions throughout the project.

* Update pom.xml
2018-07-13 00:07:27 +02:00
Sanjay Patel cddf858c05 BAEL-5246: pom cleanup (#4620)
* BAEL-5246: round 1 of pom cleanup - upto "jersey" project

* BAEL-5246: Initial pass for pom cleanup - upto spring-cloud

* BAEL-5246: pom cleanup upto testing-modules/junit5

* BAEL-5246: pom cleanup - upto xstream

* BAEL-5246: pom cleanup - last round (before review)
2018-07-12 09:04:54 +02:00
Loredana Crusoveanu 7ab2a2c181 moven kotlin-maven project 2018-07-11 22:28:11 +03:00
Tom Hombergs 34842504a5
added link 2018-07-08 20:05:09 +02:00
Tom Hombergs e8a739642e
Merge pull request #4618 from smmansoor/master
[BAEL-1753] Moved kotlin-ktor to core-kotlin
2018-07-06 19:33:55 +02:00
Rokon Uddin Ahmed f086ae7814 BAEL-7217 (#4637)
* 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

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md
2018-07-06 09:25:49 +02:00
Syed Mansoor 34bb168cd2 Updated gitignore 2018-07-03 21:28:03 +10:00
Syed Mansoor 66f06873a2 removed unwanted files 2018-07-03 21:26:36 +10:00
Syed Mansoor a5f2fd1d62 removed unwanted files 2018-07-03 21:25:32 +10:00
Syed Mansoor 396df6fdca [BAEL-1753] Moved Kotlin-ktor in core-kotlin module 2018-07-03 21:16:12 +10:00
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