Skip to content

Instantly share code, notes, and snippets.

Avatar

Antonio Agudo keyboardsamurai

View GitHub Profile
View gist:109941b5a6710de88fee9eb00037c886
hKRib2R5hqhkZXRhY2hlZMOpaGFzaF90eXBlCqNrZXnEIwEgjy/0W2crxA+zMfkS4fBelPyuL+FusAmVbOIpNyd/M5YKp3BheWxvYWTFA0h7ImJvZHkiOnsia2V5Ijp7ImVsZGVzdF9raWQiOiIwMTIwOGYyZmY0NWI2NzJiYzQwZmIzMzFmOTEyZTFmMDVlOTRmY2FlMmZlMTZlYjAwOTk1NmNlMjI5MzcyNzdmMzM5NjBhIiwiaG9zdCI6ImtleWJhc2UuaW8iLCJraWQiOiIwMTIwOGYyZmY0NWI2NzJiYzQwZmIzMzFmOTEyZTFmMDVlOTRmY2FlMmZlMTZlYjAwOTk1NmNlMjI5MzcyNzdmMzM5NjBhIiwidWlkIjoiYzc2ZjQ5MWVjMWQxZjE1OWUwYjI4YTFkYzAxMjdmMTkiLCJ1c2VybmFtZSI6ImFudG9uaW9hZ3VkbyJ9LCJtZXJrbGVfcm9vdCI6eyJjdGltZSI6MTUwNjAxNjE1MiwiaGFzaCI6IjMyMTdhOTQ2OWFkZTQyZjZkYjcyZGFkMjQ1ODk1NmNmOTUxNTFiMjEwZTljZjdmNmE4M2ZhMDVmNmNkMTE5MmFkYTQwYTBjZTc3MDNjYjk0M2U4ODg3YTQ2ZWQ1NzcwYzFmODMzZjEzZmRlZTJiNjMyMDJjMGE1MDJmMDYzMmExIiwiaGFzaF9tZXRhIjoiY2M4ZWViNTg1NzI5YjZhZjIxYmRhNTM4MzA0YWExZTkyODE3NTczODBmMjJkNjI0YWQ4MDMxMGQyZjM3OWFmYyIsInNlcW5vIjoxNDM5MTU2fSwic2VydmljZSI6eyJuYW1lIjoiZ2l0aHViIiwidXNlcm5hbWUiOiJrZXlib2FyZHNhbXVyYWkifSwidHlwZSI6IndlYl9zZXJ2aWNlX2JpbmRpbmciLCJ2ZXJzaW9uIjoxfSwiY2xpZW50Ijp7Im5hbWUiOiJrZXliYXNlLmlvIGdvIGNsaWVudCIsInZlcnNpb24iOiIx
@keyboardsamurai
keyboardsamurai / pom.xml
Last active May 26, 2017
pom.xml of the cloud contract project
View pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.acme.foobar.core</groupId>
<artifactId>foobar-gizmo-service</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
@keyboardsamurai
keyboardsamurai / gist:a3202b8132c9173531c79ea87f9fa597
Created May 26, 2017
Maven cloud contract plugin configuration
View gist:a3202b8132c9173531c79ea87f9fa597
<plugin>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-contract-maven-plugin</artifactId>
<version>1.1.0.RELEASE</version>
<extensions>true</extensions>
<configuration>
<testMode>EXPLICIT</testMode>
<packageWithBaseClasses>com.acme.foobar.core.service.config</packageWithBaseClasses>
<baseClassForTests>ContractVerifierBase</baseClassForTests>
</configuration>
@keyboardsamurai
keyboardsamurai / gist:0b2424679c60c1ec048b028c7ad5922e
Created May 26, 2017
Command line result of deploying a service with a cloud contract stub through 'mvn deploy'
View gist:0b2424679c60c1ec048b028c7ad5922e
Uploading: https://artifactory.acme.com/artifactory/libs-snapshot-local/com/acme/foobar/core/foobar-gizmo-service/0.0.1-SNAPSHOT/maven-metadata.xml
Uploaded: https://artifactory.acme.com/artifactory/libs-snapshot-local/com/acme/foobar/core/foobar-gizmo-service/0.0.1-SNAPSHOT/maven-metadata.xml (1.0 kB at 3.4 kB/s)
Uploading: https://artifactory.acme.com/artifactory/libs-snapshot-local/com/acme/foobar/core/foobar-gizmo-service/0.0.1-SNAPSHOT/maven-metadata.xml
Uploaded: https://artifactory.acme.com/artifactory/libs-snapshot-local/com/acme/foobar/core/foobar-gizmo-service/0.0.1-SNAPSHOT/maven-metadata.xml (1.0 kB at 3.6 kB/s)
Uploading: https://artifactory.acme.com/artifactory/libs-snapshot-local/com/acme/foobar/core/foobar-gizmo-service/0.0.1-SNAPSHOT/maven-metadata.xml
Uploaded: https://artifactory.acme.com/artifactory/libs-snapshot-local/com/acme/foobar/core/foobar-gizmo-service/0.0.1-SNAPSHOT/maven-metadata.xml (1.0 kB at 3.5 kB/s)
Uploading: https://artifactory.acme.com/artifactory/libs-snapshot-local/com/