How to build a container – a short teaser video

I recorded a new 3-minute video for my “Let’s get started with cloud native Java applications on Kubernetes hands-on workshop” teaser video series on youtube.

This short 3-minute teaser video is about: how build a container for a miroservice in context of the cloud native starter project and workshop on GitHub.

Check it out:

You can get more detailed information about How to build a container in one of my blog posts.

Continue reading

Let’s get started with cloud native Java applications on Kubernetes

Getting started with cloud native development using Microservices and Java can still be challenging. Kubernetes and Microservices are not new, but there are still a lot of possibilities to move existing or build new applications to be cloud native, especially for Java.

For this reason @Niklas and @Harald started to create an open source project, to get started with cloud native Java applications on Kubernetes. I am also contributing to this cloud native GitHub project that contains a hands-on workshop. By the way it is also released as series on IBM Developer.

In the image below you can see the stars ⭐️ of the project.

cns-likes

The sample Microservices application is not too simple and not too complex for an introduction to cloud native development with Java.

The awesome project has ongoing growing content and it already has 139 stars ⭐️ on GitHub.

I created a youtube video as a teaser of the workshop and the core project, to give a fast  3 min overview about the current state.

By the way, this video is the first 3-minute YouTube video of the teaser videos series “Let’s get started with cloud native Java applications on Kubernetes hands-on workshop” I plan to record.

Continue reading

 “cf push – experience” saying

The “cf push – experience” saying is related to simplify some of cloud native development tasks for developers. I haven’t found an official definition for that “cf push – experience” saying, so I just define one by myself. Of course, I found videos and longer implicit  descriptions and one awesome description you can find in the YouTube video Kube Your Enthusiasm — Bringing the `CF Push` Experience to Kubernetes Operators (Project Eirini) and Onsi Fakhouri did also a tweet cf push haiku a long time ago in 2015 related to cf push.

But here is my personal definition:

cf-push

The Developers “cf push –  experience” is: Developers can focus on implementing functional requirements in a programming language and they don’t wasting additional time to extra define network or container configuration to deploy an executable application into the cloud.”

Continue reading

CallForCode weather API in Node-RED

I notice there are some changes in the usage of the weather API. For that reason I created a very simple sample with Node-RED to access the weather forecast. The Node-RED flow implements the access to the weather API you can use during your CallForCode challenge.

Here is what you need to do, to get access to the weather API:

  1. Register on Welcome to The Weather Company API Platform Site Powering the best Weather Apps & Sites
  2. You will get a mail with the apikey
  3. Then you can use the documentation to access the APIweather-api-doc-2019

Please ensure you have following simple settings for your REST API request in place:

  1. The HTTP header must contain Accept-Encoding: gzip
    The reason for that is, that all responses of the weather API requests are compressed. The Supported encoding format is: gzip
  2. Use the parameter apiKey

The following picture shows a simple postman this request:

postman-weather

Inside the flow you have to replace the text YOUR_WEATHER_APIKEY  with the apiKey you got in your mail. Beware you have to install node-red-contrib-gzip in your Node-RED to use the sample. You can get the Node-RED flow from GitHub.

In the following gif you can see the usage of the flow:

node-red-weather

For a more detailed understanding, how the weather service can be used in real world UseCases, please visit that awesome blog post from Va Barbosa All for code the weather company and you .

I hope this was useful for you and let’s see what’s next?

Greetings,

Thomas

PS: By the way, you can use the IBM Cloud for free, if you simply create an IBM Lite account. Here you only need an e-mail address.

#IBMDeveloper, #CallForCode, #Node-RED, #WeatherAPI

 

 

Hot topics on hot days @DevOpsCon in Berlin

Hot topics on hot days @DevOpsCon in Berlin

These two days were really hot and that’s why I created that motto 😉

Here are a few pictures and a brief impression of the DevOpsCon conference in Berlin. The DevOpsCon Expo in Berlin on 11 – 14 June 2019 had approximately 800 participants and provided a full program on different technologies and methods for them.

It’s important to keep a cool head on the mission-critical topic of DevOps and make the right decisions how to deploy and deliver the optimal to achieve speed of innovation. It was awesome to see that DevOps teaming works for companies, because often we had developers and operations of one company at same time at our booth.

Continue reading

„Let’s get started with cloud native Java applications on Kubernetes“ Our hands-on workshop is ready to rumble!

Our hands-on workshop: „Let’s get started with cloud native Java applications on Kubernetes“ , is ready to rumble!

cns-workshop

After all the effort Niklas and Harald did to deliver that awesome and valuable content of the “Cloud Native Starter” open sourced GitHub project, I contribute to that (ongoing) project with this hands-on workshop based on all the given great materials of blog posts, manuals and documentation which is available in the internet.

The outcome is an easy to consume hands-on workshop. The workshop  provides a wide but concentrated introduction to Java development with MicroProfile, Kubernetes, Containers, REST APIs, Traffic management, and Resiliency that is relevant for developers who want more hands-on practical cloud native development introduction of the usage of these technologies.

I would say, this workshop is a must have for beginners who start with cloud native Java applications on Kubernetes. We all put a lot of effort in this project to make that easy to consume.

Continue reading

Watson Studio project restriction for collaborators

When we create a Watson Studio project, we should pay attention on the collaborator restriction! We cannot change it later.

This is just a blog post about a common pitfall for new Watson Studio users , when they are creating a new Watson Studio project.

The step five in the documentation of the project creation tells us about restrict who can be a collaborator for our project. This configuration has a huge impact for our user access management later, by just checking this small box.

watson-studio-restiction

Step five says:  Select the Restrict who can be a collaborator check box to restrict collaborators to members of your organization or integrate with a catalog. The check box is selected by default if you are a member of a catalog. You can’t change this setting after you create the project.

This is not the end of the world, we can easily create new projects, and configure them. Even I would say, this is a good opportunity to get familiar with the user management of IBM Cloud anyway.

Continue reading

State management, modal dialog and simple spinner in VUE

This blog post is about how to use state managementspinner with conditions, and modal dialogs when saving data in VUE. How these works, we will explore along an implementation in the #BlueCloudMirror project. Maybe this can save you some time, if you plan to do the same.

Let’s start with my motivation, we want to improve our #BlueCloudMirror game UI. If you saved your scores data in the previous version, you were routed back to start game page. You received no information, if storing your data was successful in the highscores list.

In the new UI you can see the saving progress and you get confirmation when your data is saved, as you can see in the gif below.

blue-cloud-mirror-save

To understand how this works in VUE, we need to touch the following topics:

We will use the Results.vue and State.ts source code files from the #BlueCloudMirror github project, to see how it works in the #BlueCloudMirror  game.

Continue reading

How to create an interactive YouTube Video selection in VUE

In this blog post I want to share my observations during my implementation of an interactive YouTube Video selection in VUE. Maybe this can save you some time, if you plan to do the same.

Let’s start with my motivation, it came from the improvements of the #BlueCloudMirror game UI. We decided to provide the #BlueCloudMirror users a recorded YouTube LiveStream of us. This video provides an awesome overview of our  major technologies.

The video takes approximately 50 minutes. This is a long time to watch, so we want to provide the user a new interactive architecture page, as you can see below. A user should have the ability to select the topic he is interested in. To do this, we needed the position selection for the YouTube video. In the gif you can see the result.

vue-youtube-selection

Topics of this blog post:

  • How to define dynamic values in a VUE template
  • How to configure autostart for YouTube videos
  • How to avoid SAMEORI problem with the YouTube video

Continue reading

Cors and Node-RED using a simple forwarding server

When you use Node-RED on IBM Cloud during hackathons you will notice REST calls in flows cannot be directly invoked from a web application. The reason for this is mostly that cors (cross-origin resource sharing) is not enabled for the Node-RED server. This blog post is a simple workaround for this problem.

By the way, you can use the IBM Cloud for free, if you simply create an IBM Lite account. Here you only need an e-mail address.

I developed this workaround to have full control and be very flexible during a hackathon, when using Node-RED for prototyping and building integrations to services and web-applications, without changing Node-RED settings or using cors browser enabler.

Continue reading