Skip to content

Instantly share code, notes, and snippets.

Avatar

Marcin Grzejszczak marcingrzejszczak

View GitHub Profile
View fraud_dashboard.json
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
@marcingrzejszczak
marcingrzejszczak / README.adoc
Created Jul 8, 2019
How to replicate Gradle not loading extension modules
View README.adoc

The problem

spring-cloud-contract-spec-groovy contains extension modules to the spring-cloud-contract-spec-java classes. The spring-cloud-contract-spec module includes both the groovy and the java modules together.

The whole project is being built and tested successfully apart from the integration with Gradle.

How to replicate

Clone the project, checkout the branch and build the whole thing without running tests:

View cloudpipelines.adoc

Title:

Spring Cloud Pipelines to Cloud Pipelines Migration

Text:

Spring Cloud Pipelines

Spring Cloud Pipelines is a GitHub project that tries to solve the following problems:

View IDEA_PACKAGE_SCOPE.md
@marcingrzejszczak
marcingrzejszczak / sc-contract-polyglot.adoc
Last active Feb 13, 2018
Spring Cloud Contract Polyglot Support
View sc-contract-polyglot.adoc

Spring Cloud Contract Polyglot Support

Table of contents

  • What is Contract Testing

    • different types of tests - all about fast feedback

    • end to end testing as a potential solution to integration testing

    • brittlness and slowness as a source of frustration

    • contract testing as a potential solution to the problem

  • Introduction to the maven nomenclature

@marcingrzejszczak
marcingrzejszczak / sleuth_brave.md
Last active Jan 11, 2018
Notes on Sleuth to Brave migration
View sleuth_brave.md

Notes

TODO:

  • Messaging
  • Baggage

Discuss what do we do with the TraceKeys in callables / runnables

Done:

@marcingrzejszczak
marcingrzejszczak / replacement.sh
Created Jul 10, 2017
Bash mustache replacement
View replacement.sh
#!/bin/bash
echo "the number is {{i}} and the dog's name is {{name}}" > file.txt
cat file.txt
# the number is {{i}} and the dog's name is {{name}}
sed -i 's/{{i}}/5/;s/{{name}}/foo/' file.txt
cat file.txt
# the number is 5 and the dog's name is foo
@marcingrzejszczak
marcingrzejszczak / dashboard.json
Last active Apr 21, 2017
Grafana & Prometheus - Spring Cloud Pipelines demo
View dashboard.json
{
"annotations": {
"list": []
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"hideControls": false,
"id": 2,
"links": [],
@marcingrzejszczak
marcingrzejszczak / deploy_version_to_static.sh
Created Aug 18, 2016
Automatically deploys the docs for the given tag to spring-cloud-static; requires /tmp/ghpages.sh file downloaded
View deploy_version_to_static.sh
#!/bin/bash -x
version=$1
git checkout v${version} && mvn -s .settings.xml clean install -P docs -DskipTests -pl docs && /tmp/ghpages.sh -v ${version} -d ~/repo/all-cloud/spring-cloud-static && git reset --hard
You can’t perform that action at this time.