milibrasil.blogg.se

Mood board app
Mood board app






mood board app
  1. #Mood board app how to#
  2. #Mood board app code#

Process and StateĮxecute the app as one or more stateless processes (12 factor) if you're using Spring, the other techniques we'll go through below are framework agnostic and therefore preferable.

mood board app

Spring also provides config as a service via Spring Cloud Config - this goes well beyond just storing config in the environment the process is running within - it enables the discovery of application properties via a service running on a different part of the network.

#Mood board app code#

$ curl -X PUT -H "Content-Type: text/plain " -d "happy " $ curl Įnvironment variables are easy to change and independent of programming language and development framework, and having configuration external to the code enables the same version of the binary to be deployed to each environment, just with different runtime configurations. The mood service is the beginnings of a simple agile scrum moodboard, it's a middle tier that exposes the following RESTful end-points to set and get the mood of the given user:

  • Defining resources available to a process.
  • Declaring dependencies to other services.
  • Retrofit redis container so service container can connect to it.
  • Running the (mood app) service on docker.
  • Sidebar: Back to redis-cli to check contents of store.
  • Take a bit of time up-front to read the introductions to Docker containers and Kubernetes, whilst lots of links to more specifics are scattered throughout the blog.
  • JDK and maven are installed (along with a decent IDE like IntelliJ).
  • It's hands-on-keyboard, with exercises to work through, technical prerequisites:

    #Mood board app how to#

    This is a practical look at 12 factor apps and how to engineer them for real.Ī simple Java microservice is evolved architecturally, from a single process app, to a multi process Docker containerised app leveraging a redis cache, first running on the container orchestration platform Kubernetes, and then rolled out to Red Hat OpenShift.








    Mood board app