1. Running standalone pact cli in Docker

    Pact is is a contract testing tool. Contract testing is a way to ensure that services (such as an API provider and a client) can communicate with each other. Without contract testing, the only way to know that services can communicate is by using expensive and brittle integration tests. In…

    on pact docker alpine

  2. Small trick on how to find out AWS payload for lambda for event

    Recently i was writing a lot of different microservices using AWS Lambda. And for quite some time i was strugling to understand what will be the payload that my lambda will receive. Well, only in cases when this payload was coming from other AWS resources, of course :) Anyway, after quite…

    on aws lambda

  3. Fixing AWS "not authorized to perform: ssm:GetParameter" error in Go lambda

    So, i started to lear Go and decided to write some chat bot that for our Slack in order to ask for some routine tasks that we do during testing or development in New10. Before we were using a lot of javascript and serverless, so i took some code snippets…

    on aws go ssm

  4. Find file in Project View in Intellij Idea

    I don't know about you, but i love distraction free mode in Intellij products. I have learned a lot of shortcuts and can't imagine my work life without it. One thing that bothered me a lot was that when i was opening some file, i wanted to find it as…

    on intellij IDEA shortcut

  5. How to groupBy in vanilla javascript

    Currently i need to work with javascript more and more. So, i have to learn how to do same tricks i did in python/java/swift/etc in javascript :) Recenlty I needed to group some data by key and first thing that came to my mind is to use lodash…

    on javascript es6 groupBy

  6. Fixing "io.swagger.client.ApiException: Content type "text/plain" is not supported" problem

    Let's say we have a endpoint definition in swagger like this : /hello: post: summary: Say hello description: '' operationId: sayHello consumes: - text/plain produces: - application/json parameters: - in: body name: body required: false schema: type: string responses: '200': description: successful operation schema: $ref: '#/definitions/Hello' You…

    on swagger-codegen swagger java