JavaForFun
7 years agoConfiguration and Javadoc improvements
Gustavo Martin Morcuende [Sun, 19 Feb 2017 22:03:30 +0000 (23:03 +0100)]
Configuration and Javadoc improvements

7 years agoDoubts about offsetUpdateTimeWindow option in consumers
Gustavo Martin Morcuende [Sun, 19 Feb 2017 22:02:41 +0000 (23:02 +0100)]
Doubts about offsetUpdateTimeWindow option in consumers

7 years agoUpdate Kafka consumer configuration
Gustavo Martin Morcuende [Sun, 19 Feb 2017 19:25:01 +0000 (20:25 +0100)]
Update Kafka consumer configuration

7 years agoImproving consumer configuration
Gustavo Martin Morcuende [Sun, 19 Feb 2017 18:03:49 +0000 (19:03 +0100)]
Improving consumer configuration

7 years agospring-cloud-starter-parent: Camden.SR5
Gustavo Martin Morcuende [Sun, 19 Feb 2017 17:15:58 +0000 (18:15 +0100)]
spring-cloud-starter-parent: Camden.SR5

7 years agogradle, task list, less and colors mess :(
Gustavo Martin Morcuende [Tue, 7 Feb 2017 19:42:22 +0000 (20:42 +0100)]
gradle, task list, less and colors mess :(

7 years agoWarning about where are declared the plugins versions.
Gustavo Martin Morcuende [Sun, 5 Feb 2017 12:09:19 +0000 (13:09 +0100)]
Warning about where are declared the plugins versions.

They are located in paren pom spring-boot-dependencies

7 years agoUpdate README file
Gustavo Martin Morcuende [Tue, 31 Jan 2017 23:01:43 +0000 (00:01 +0100)]
Update README file

7 years agoUpdate README
Gustavo Martin Morcuende [Tue, 31 Jan 2017 23:01:15 +0000 (00:01 +0100)]
Update README

7 years agoUpdate README
Gustavo Martin Morcuende [Tue, 31 Jan 2017 23:01:08 +0000 (00:01 +0100)]
Update README

7 years agoUpdate README
Gustavo Martin Morcuende [Tue, 31 Jan 2017 22:58:54 +0000 (23:58 +0100)]
Update README

7 years agoFirst steps with Spring Schema Registry
Gustavo Martin Morcuende [Tue, 31 Jan 2017 22:44:55 +0000 (23:44 +0100)]
First steps with Spring Schema Registry

Waiting for Dalston.M1 because of this issue: https://github.com/spring-cloud/spring-cloud-stream/issues/686

7 years agoUsing Spring Schema Registry
Gustavo Martin Morcuende [Tue, 31 Jan 2017 21:31:29 +0000 (22:31 +0100)]
Using Spring Schema Registry

7 years agoUsing binders health indicator
Gustavo Martin Morcuende [Tue, 31 Jan 2017 21:14:37 +0000 (22:14 +0100)]
Using binders health indicator

7 years agoMaking work integration tests
Gustavo Martin Morcuende [Tue, 31 Jan 2017 21:04:21 +0000 (22:04 +0100)]
Making work integration tests

7 years agoTrying to make work the integration tests
Gustavo Martin Morcuende [Tue, 31 Jan 2017 01:15:34 +0000 (02:15 +0100)]
Trying to make work the integration tests

7 years agoRenaming tests
Gustavo Martin Morcuende [Tue, 31 Jan 2017 01:02:10 +0000 (02:02 +0100)]
Renaming tests

7 years agoUsing versions from parent project
Gustavo Martin Morcuende [Tue, 31 Jan 2017 01:01:38 +0000 (02:01 +0100)]
Using versions from parent project

7 years agoRenaming modules in SpringCloudStream
Gustavo Martin Morcuende [Tue, 31 Jan 2017 00:52:29 +0000 (01:52 +0100)]
Renaming modules in SpringCloudStream

7 years agoUsing my own Schema Registry Server
Gustavo Martin Morcuende [Mon, 30 Jan 2017 01:44:19 +0000 (02:44 +0100)]
Using my own Schema Registry Server

See: http://docs.spring.io/spring-cloud-stream/docs/current/reference/html/contenttypemanagement.html#_schema_registry_server

7 years agoIntegration tests with Kafka
Gustavo Martin Morcuende [Mon, 30 Jan 2017 01:24:31 +0000 (02:24 +0100)]
Integration tests with Kafka

7 years agoVersion values are provided by POM parent
Gustavo Martin Morcuende [Mon, 30 Jan 2017 01:23:53 +0000 (02:23 +0100)]
Version values are provided by POM parent

7 years agoMany thoughts about MyCustomMessageConverter
Gustavo Martin Morcuende [Sun, 29 Jan 2017 21:29:41 +0000 (22:29 +0100)]
Many thoughts about MyCustomMessageConverter

IMHO Spring Cloud Stream is a bit messy. Be careful when using it and trying
to connect to systems not using Spring :(

7 years agoRequired default constructor for Jackson deserialization.
Gustavo Martin Morcuende [Sun, 29 Jan 2017 18:55:59 +0000 (19:55 +0100)]
Required default constructor for Jackson deserialization.

7 years agoKafka working with application/json
Gustavo Martin Morcuende [Sun, 29 Jan 2017 17:38:06 +0000 (18:38 +0100)]
Kafka working with application/json

Working around JavaClassMimeTypeConversion.mimeTypeFromObject

7 years agoMissing required EnableBinding(Source.class)
Gustavo Martin Morcuende [Sun, 29 Jan 2017 10:43:21 +0000 (11:43 +0100)]
Missing required EnableBinding(Source.class)

7 years agoImproving code
Gustavo Martin Morcuende [Sun, 29 Jan 2017 10:28:18 +0000 (11:28 +0100)]
Improving code

7 years agoThoughts about debugging Spring Boot applications
Gustavo Martin Morcuende [Sun, 29 Jan 2017 10:27:55 +0000 (11:27 +0100)]
Thoughts about debugging Spring Boot applications

7 years agoUsing Kafka 0.10.1.1
Gustavo Martin Morcuende [Sun, 29 Jan 2017 09:55:07 +0000 (10:55 +0100)]
Using Kafka 0.10.1.1

7 years agoSpring Stream Kafka, improvements
Gustavo Martin Morcuende [Sun, 29 Jan 2017 08:44:06 +0000 (09:44 +0100)]
Spring Stream Kafka, improvements

7 years agoKafka: using spring cloud stream and binders.
Gustavo Martin Morcuende [Sun, 29 Jan 2017 08:11:33 +0000 (09:11 +0100)]
Kafka: using spring cloud stream and binders.

7 years agoRemoving bad code
Gustavo Martin Morcuende [Thu, 26 Jan 2017 13:11:50 +0000 (14:11 +0100)]
Removing bad code

7 years agoTrying to make sense of how works spring-boot-gradle-plugin
Gustavo Martin Morcuende [Thu, 26 Jan 2017 09:07:08 +0000 (10:07 +0100)]
Trying to make sense of how works spring-boot-gradle-plugin

7 years agoFixing errors.
Gustavo Martin Morcuende [Thu, 26 Jan 2017 00:26:59 +0000 (01:26 +0100)]
Fixing errors.

7 years agoSpring Kafka, swapping directories
Gustavo Martin Morcuende [Wed, 25 Jan 2017 22:04:46 +0000 (23:04 +0100)]
Spring Kafka, swapping directories

7 years agoSpring Kafka, fixing some errors
Gustavo Martin Morcuende [Wed, 25 Jan 2017 22:02:20 +0000 (23:02 +0100)]
Spring Kafka, fixing some errors

7 years agoSpring Kafka
Gustavo Martin Morcuende [Wed, 25 Jan 2017 18:57:18 +0000 (19:57 +0100)]
Spring Kafka

7 years agoGiving a name with meaning to our container
Gustavo Martin Morcuende [Wed, 25 Jan 2017 18:24:19 +0000 (19:24 +0100)]
Giving a name with meaning to our container

7 years agoCleaning up build-BOM-1.0-SNAPSHOT.gradle file
Gustavo Martin Morcuende [Tue, 24 Jan 2017 12:04:45 +0000 (13:04 +0100)]
Cleaning up build-BOM-1.0-SNAPSHOT.gradle file

7 years agoUsing gradle.properties file for declaring group and version
Gustavo Martin Morcuende [Tue, 24 Jan 2017 11:31:23 +0000 (12:31 +0100)]
Using gradle.properties file for declaring group and version

7 years agoName for main project.
Gustavo Martin Morcuende [Tue, 24 Jan 2017 11:01:27 +0000 (12:01 +0100)]
Name for main project.

7 years agoBig build-BOM.gradle file.
Gustavo Martin Morcuende [Mon, 23 Jan 2017 11:58:44 +0000 (12:58 +0100)]
Big build-BOM.gradle file.

7 years agoMaking clear why I had to write a custom pom.withXml :(
Gustavo Martin Morcuende [Mon, 23 Jan 2017 08:25:55 +0000 (09:25 +0100)]
Making clear why I had to write a custom pom.withXml :(

7 years agoUnit test example
Gustavo Martin Morcuende [Mon, 23 Jan 2017 08:04:52 +0000 (09:04 +0100)]
Unit test example

7 years agoDo not fail if not found integration tests
Gustavo Martin Morcuende [Mon, 23 Jan 2017 08:02:30 +0000 (09:02 +0100)]
Do not fail if not found integration tests

7 years agoUpdate README file
Gustavo Martin Morcuende [Mon, 23 Jan 2017 07:00:48 +0000 (08:00 +0100)]
Update README file

7 years agoJavadoc does not see group and version declared in gradle.properties file :/
Gustavo Martin Morcuende [Mon, 23 Jan 2017 06:56:01 +0000 (07:56 +0100)]
Javadoc does not see group and version declared in gradle.properties file :/

7 years agodocker-compose is not in my PATH
Gustavo Martin Morcuende [Mon, 23 Jan 2017 06:44:17 +0000 (07:44 +0100)]
docker-compose is not in my PATH

7 years agogradle BOM file
Gustavo Martin Morcuende [Mon, 23 Jan 2017 06:38:02 +0000 (07:38 +0100)]
gradle BOM file

7 years agoGradle: maven publish generated pom, dependencies with scope runtime instead of compile
Gustavo Martin Morcuende [Mon, 23 Jan 2017 06:10:22 +0000 (07:10 +0100)]
Gradle: maven publish generated pom, dependencies with scope runtime instead of compile

https://discuss.gradle.org/t/maven-publish-plugin-generated-pom-making-dependency-scope-runtime/7494/13

7 years agoRemoving useless BOM module (by default Gradle does not work with BOM maven files)
Gustavo Martin Morcuende [Sun, 22 Jan 2017 20:30:59 +0000 (21:30 +0100)]
Removing useless BOM module (by default Gradle does not work with BOM maven files)

7 years agoMANIFEST file in WAR
Gustavo Martin Morcuende [Sun, 22 Jan 2017 20:22:14 +0000 (21:22 +0100)]
MANIFEST file in WAR

7 years agoComments in Gradle build files
Gustavo Martin Morcuende [Sun, 22 Jan 2017 19:59:08 +0000 (20:59 +0100)]
Comments in Gradle build files

7 years agoREADME file
Gustavo Martin Morcuende [Sun, 22 Jan 2017 19:38:10 +0000 (20:38 +0100)]
README file

7 years agoPublishin javadoc, sources, jar and war files from gradle
Gustavo Martin Morcuende [Sun, 22 Jan 2017 19:37:05 +0000 (20:37 +0100)]
Publishin javadoc, sources, jar and war files from gradle

7 years agoImproving JAR manifest file
Gustavo Martin Morcuende [Sun, 22 Jan 2017 17:29:26 +0000 (18:29 +0100)]
Improving JAR manifest file

7 years agoMaking nicer settings.gradle file
Gustavo Martin Morcuende [Sun, 22 Jan 2017 17:17:18 +0000 (18:17 +0100)]
Making nicer settings.gradle file

7 years agoDefault start date mysql
Gustavo Martin Morcuende [Sun, 22 Jan 2017 17:16:56 +0000 (18:16 +0100)]
Default start date mysql

7 years agoCreating war file
Gustavo Martin Morcuende [Sun, 22 Jan 2017 17:16:35 +0000 (18:16 +0100)]
Creating war file

7 years agoFixing jacoco reports directory and adding Javadoc plugin
Gustavo Martin Morcuende [Sun, 22 Jan 2017 16:55:03 +0000 (17:55 +0100)]
Fixing jacoco reports directory and adding Javadoc plugin

7 years agogralde multi module, adding spring-jpa-resources module
Gustavo Martin Morcuende [Sun, 22 Jan 2017 15:26:58 +0000 (16:26 +0100)]
gralde multi module, adding spring-jpa-resources module

7 years agoGradle multi module, adding spring-jpa-services module
Gustavo Martin Morcuende [Sun, 22 Jan 2017 14:43:23 +0000 (15:43 +0100)]
Gradle multi module, adding spring-jpa-services module

7 years agoUsing properties for versioning
Gustavo Martin Morcuende [Sat, 21 Jan 2017 17:34:21 +0000 (18:34 +0100)]
Using properties for versioning

7 years agoRenaming integration tests for making them work with SonarQube
Gustavo Martin Morcuende [Sat, 21 Jan 2017 17:33:51 +0000 (18:33 +0100)]
Renaming integration tests for making them work with SonarQube

7 years agoUsing utf8mb4 :)
Gustavo Martin Morcuende [Thu, 19 Jan 2017 13:09:01 +0000 (14:09 +0100)]
Using utf8mb4 :)

It is available since MySQL 5.5.3

http://dev.mysql.com/doc/refman/5.7/en/charset-unicode-utf8mb4.html

7 years agoUsing utf8mb4 :)
Gustavo Martin Morcuende [Thu, 19 Jan 2017 10:17:50 +0000 (11:17 +0100)]
Using utf8mb4 :)

It is available since MySQL 5.5.3

http://dev.mysql.com/doc/refman/5.7/en/charset-unicode-utf8mb4.html

7 years agoMaking work SonarQube with integration tests in different directory
Gustavo Martin Morcuende [Wed, 18 Jan 2017 21:56:23 +0000 (22:56 +0100)]
Making work SonarQube with integration tests in different directory

7 years agogradle multi project, WIP
Gustavo Martin Morcuende [Wed, 18 Jan 2017 21:44:00 +0000 (22:44 +0100)]
gradle multi project, WIP

7 years agoSonar scanner, properties file for Gradle project
Gustavo Martin Morcuende [Tue, 17 Jan 2017 19:40:36 +0000 (20:40 +0100)]
Sonar scanner, properties file for Gradle project

7 years agoGradle getting ready for multi project configuration
Gustavo Martin Morcuende [Sun, 8 Jan 2017 23:22:07 +0000 (00:22 +0100)]
Gradle getting ready for multi project configuration

7 years agoThought about Exceptions, RxJava and Spring
Gustavo Martin Morcuende [Sun, 1 Jan 2017 16:23:47 +0000 (17:23 +0100)]
Thought about Exceptions, RxJava and Spring

7 years agoMaking work integration tests
Gustavo Martin Morcuende [Sun, 1 Jan 2017 16:01:16 +0000 (17:01 +0100)]
Making work integration tests

7 years agoRequired call to onCompleted()
Gustavo Martin Morcuende [Sun, 1 Jan 2017 13:16:57 +0000 (14:16 +0100)]
Required call to onCompleted()

7 years agoRxJava, Spring REST example
Gustavo Martin Morcuende [Sun, 1 Jan 2017 11:42:14 +0000 (12:42 +0100)]
RxJava, Spring REST example

7 years agoGradle test task in its own file.
Gustavo Martin Morcuende [Fri, 30 Dec 2016 08:53:39 +0000 (09:53 +0100)]
Gradle test task in its own file.

7 years agoJacoco configuration for integration tests.
Gustavo Martin Morcuende [Fri, 30 Dec 2016 08:52:58 +0000 (09:52 +0100)]
Jacoco configuration for integration tests.

7 years agoGradle integTest task depending on default check task
Gustavo Martin Morcuende [Fri, 30 Dec 2016 05:06:53 +0000 (06:06 +0100)]
Gradle integTest task depending on default check task

7 years agoUsing another gradle file for integTest task
Gustavo Martin Morcuende [Thu, 29 Dec 2016 14:17:06 +0000 (15:17 +0100)]
Using another gradle file for integTest task

7 years agoDebugging H2 with TRACE_LEVEL_SYSTEM_OUT=3
Gustavo Martin Morcuende [Thu, 29 Dec 2016 10:10:36 +0000 (11:10 +0100)]
Debugging H2 with TRACE_LEVEL_SYSTEM_OUT=3

7 years agoFlyway, configuration example and thoughts :(
Gustavo Martin Morcuende [Wed, 28 Dec 2016 16:58:55 +0000 (17:58 +0100)]
Flyway, configuration example and thoughts :(

7 years agoUpdate build.gradle
Gustavo Martin Morcuende [Wed, 28 Dec 2016 12:12:20 +0000 (13:12 +0100)]
Update build.gradle

7 years agoHow to debug with H2
Gustavo Martin Morcuende [Wed, 28 Dec 2016 08:48:00 +0000 (09:48 +0100)]
How to debug with H2

7 years agodocker-compose-gradle-plugin requires docker-compose in PATH
Gustavo Martin Morcuende [Wed, 28 Dec 2016 02:23:57 +0000 (03:23 +0100)]
docker-compose-gradle-plugin requires docker-compose in PATH

7 years agoUsing random port from docker-compose-gradle-plugin
Gustavo Martin Morcuende [Wed, 28 Dec 2016 02:23:26 +0000 (03:23 +0100)]
Using random port from docker-compose-gradle-plugin

7 years agoRenaming to spring-configuration-h2-test
Gustavo Martin Morcuende [Wed, 28 Dec 2016 01:45:46 +0000 (02:45 +0100)]
Renaming to spring-configuration-h2-test

7 years agoFixing time zones for WEST
Gustavo Martin Morcuende [Sun, 25 Dec 2016 23:30:02 +0000 (00:30 +0100)]
Fixing time zones for WEST

7 years agoUsing docker-compose-gradle-plugin for integration tests
Gustavo Martin Morcuende [Sun, 25 Dec 2016 23:10:29 +0000 (00:10 +0100)]
Using docker-compose-gradle-plugin for integration tests

7 years agoDDL: fixing timestamp default value and contraints
Gustavo Martin Morcuende [Sun, 25 Dec 2016 22:39:25 +0000 (23:39 +0100)]
DDL: fixing timestamp default value and contraints

7 years agoIntegration test with docker-compose-rule
Gustavo Martin Morcuende [Sun, 25 Dec 2016 21:27:15 +0000 (22:27 +0100)]
Integration test with docker-compose-rule

7 years agoAdRespositoryShould, changing method names
Gustavo Martin Morcuende [Sun, 25 Dec 2016 21:26:43 +0000 (22:26 +0100)]
AdRespositoryShould, changing method names

7 years agoUsing H2 for data base integrationt tests
Gustavo Martin Morcuende [Sun, 25 Dec 2016 18:26:06 +0000 (19:26 +0100)]
Using H2 for data base integrationt tests

7 years agoRight directory for Spring test files
Gustavo Martin Morcuende [Sun, 25 Dec 2016 17:41:58 +0000 (18:41 +0100)]
Right directory for Spring test files

7 years agoUpdate to right dependencies
Gustavo Martin Morcuende [Sun, 25 Dec 2016 16:44:29 +0000 (17:44 +0100)]
Update to right dependencies

7 years agoFixing OneToMany and ManyToOne annotations
Gustavo Martin Morcuende [Sat, 24 Dec 2016 02:15:53 +0000 (03:15 +0100)]
Fixing OneToMany and ManyToOne annotations

Also making work auditory for AdDescription :)

7 years agoIntegration test task
Gustavo Martin Morcuende [Sat, 24 Dec 2016 01:49:39 +0000 (02:49 +0100)]
Integration test task

7 years agoFixing OneToMany and ManyToOne annotations
Gustavo Martin Morcuende [Sat, 24 Dec 2016 00:49:50 +0000 (01:49 +0100)]
Fixing OneToMany and ManyToOne annotations

Also making work auditory for AdDescription :)

7 years agoImproving test
Gustavo Martin Morcuende [Sat, 24 Dec 2016 00:48:59 +0000 (01:48 +0100)]
Improving test

7 years agoChanging name of gradle project
Gustavo Martin Morcuende [Fri, 23 Dec 2016 22:31:48 +0000 (23:31 +0100)]
Changing name of gradle project

7 years agoA few improvements in my unit tests
Gustavo Martin Morcuende [Fri, 23 Dec 2016 20:46:15 +0000 (21:46 +0100)]
A few improvements in my unit tests

7 years agoUsing jacoco
Gustavo Martin Morcuende [Fri, 23 Dec 2016 20:23:00 +0000 (21:23 +0100)]
Using jacoco