So I began looking at Angular and TypeScript the other week and decided to use the most excellent editor Visual Studio Code for my work. Very quickly though the explorer in the sidebar started to fill up with all these extra files that I really didn’t need to see. All I was interested in was […]
What is HoverFly?
HoverFly is a service virtualization tool that can emulate other services by recording requests and responses and then playing them back. It’s set as a proxy between your system and the services you want to emulate.
That way you can for instance test your system without using real dependencies, which increases the reliability of the tests.
When to use it
A service virtualization tool is often used as a complement or replacement for a mock or a stub. In my personal opinion, mocks work best when there are complex interactions with a few services and stubs are effective when there are simple
Devoxx UK sparkade igång för femte gången, en konferens som blir större och större för varje år. I år med en lineup bestående av 1200+ besökare, 80+ sessions inom lika spår och 12 hands-on-labs.
Konferensen inleds med 3 sub-keynotes inom olika spår, med en skön blandning av vad vi lyckats med inom Quantum computing, hur vi ser på smart AI inom gaming och frågestund med chefsarkitekt för Java Platform Group, Mark Reinhold.
Devoxx UK bjöd på ett gäng olika spår i
Today we hosted the GothPy meetup about generators in Python. It was a really interesting meetup with an interesting presentation, great discussions, pizza and a code kata exercise where we got a chance to try out different solutions using generators. Overall a great evening!
Recommended reading, in the clickbait century: Java Champions respond to respond to Register Article on Oracle Pursuit of Java SE Licensing Fees.
Using Oracle’s Java SE for developing programs and running them in production on general purpose computing machinery is free of financial obligation to Oracle. In the area of value-add tooling, distribution, and non-general hardware, please carefully review the distribution and licensing conditions from Oracle.
GitLab CI is an CI/CD tool integrated directly into GitLab.com. GitLab CI uses a distributed approach for running its jobs and offers shared runners running on Digital Ocean. They also have Docker support and even an integrated Docker registry for each project. This short (four source files) tutorial will show how you can deploy your own […]
Ever lost sleep over all the amazing things you are going to do the next day to save the world only to wake up and realize you just have to finish that new 8 season netflix show first? Ever read something during the day that got you so inspired to create the next facebook only to find yourself snoring in the sofa at 18:00 (that’s 6 pm for you americanos)? Well, I have, and that is why I got attracted when I got a notification about a new meetup – Bring Your Own Project Gothenburg
The first BYOP meetup (picture stolen from Erik Larkö)
In the first part of Automating with Ansible we had a look at how you can utilize Ansibles inventory-file and the ping module to communicate with the different machines in your environment. This time we’ll have a look of how to utilize Ansibles Playbooks to leave the command line and automate our IT even further
Ansible utilizes the concept of playbooks to organize and execute tasks for us. A playbook is a simple yml-file with tasks (instructions). Let’s have a look at work/playbooks/touchfile.yml in the repository:
The first thing we do in our playbook is to define which hosts the playbook should target. As seen above, we aim to execute this playbook on all of our hosts.
On the next line we define our first task. The task
Automating tasks for installing new machines or managing your different environments is a must in the days of Continous Delivery. Most often I have seen these solutions done by chef or puppet. When I’ve worked in those projects many of the tasks/recipes has already been setup and whenever I’ve gone in and update those I’ve felt that it’s a bit of a jungle with a steep learning curve. I was therefore very interested when I got introduced to Ansible by a colleague.
What is Ansible?
Ansible is an IT automation tool to orchestrate, provision, deploy or install your infrastructure. Their goal is to be “simple” as in easy to use, yet very powerful in its features.
As an example, let’s say that you have an application that has a lot of prerequired steps to be installed on a fresh environment. In a delivery pipeline you would have to automate those preqrequired steps so