We are creating a new product and it's strategic for us to deploy it using Docker. The first option was to use AWS Elastic Beanstalk, choosing the option to deploy dockers. The deploy works perfectly. The problem is the re-deploy. We don't know the root cause but sometimes when we re-deploy a container we get … Continue reading A brief story of Docker deployment at AWS
Tip #019: Easy way to reuse code in Gradle
In this tutorial, we will show how to reuse code in Gradle, using a class that is available only for the Gradle files. Please take a look at the source code and explanations here: https://github.com/topera/gradle-reusing-code Enjoy!
Continuous Deployment with Travis and AWS Elastic Beanstalk
Our problem We, at TeraHorse, are willing to have full CI/CD environment and we started with our next product, the Fobit Game. To finish the Continuous Deployment implementation we need to tell Travis-CI to deploy our game at AWS Elastic Beanstalk. This can be done in at least 2 ways: Gradle or using the Travis-CI Elastic Beanstalk … Continue reading Continuous Deployment with Travis and AWS Elastic Beanstalk
Tip #005: Rest Server with SpringBoot and Gradle
In this tutorial, we will show how to create a simple rest server with SpringBoot. Gradle is used as the automation tool. Please take a look at the source code here: https://github.com/topera/gradle-rest-server-spring Enjoy!
Tip #004: Spock with Gradle
In this tutorial we will show to to create unit tests using Spock. Spock is a test frameworking similiar to jUnit but uses the Groovy, a JVM language that makes your life easier 🙂 Gradle is used as automation tool. Please take at look at the source code here: https://github.com/topera/gradle-spock Enjoy
Tip #003: Rest Server with Jersey (JAX-RS) – Gradle
In this tutorial, we will show how to generate a WAR file to deploy a simple rest server, written in Java and built with Gradle. Please check it out on our GitHub page: https://github.com/topera/gradle-rest-server-jaxrs Enjoy!
Tip #002: Rest Server with Jersey (JAX-RS)
In this simple hello world we show how to create a simple rest server using the reference implementation of JAX-RS, called Jersey. The dependencies are managed by Maven. Please see the code for a working example here https://github.com/topera/maven-rest-server-jaxrs
Tip #001: Rest Server + Rest Client
The first tutorial released! In this GitHub repository, we'll show how to create a simple Rest Server and Rest Client using Java + JAX-RS (implementation with Jersey) + Maven. The Rest Client will be our application, that will get some playlists from the Deezer music stream service. Then the content will be delivered by our application, as … Continue reading Tip #001: Rest Server + Rest Client