Skip to content

Instantly share code, notes, and snippets.

View lbroudoux's full-sized avatar

Laurent Broudoux lbroudoux

View GitHub Profile
@lbroudoux
lbroudoux / scram-cluster.yml
Last active October 18, 2021 08:17
Strimzi cluster with scram-sha authentication #strimzi #openshift
apiVersion: kafka.strimzi.io/v1beta2
kind: Kafka
metadata:
name: scram-cluster
spec:
entityOperator:
topicOperator: {}
userOperator: {}
kafka:
config:
@lbroudoux
lbroudoux / README.md
Last active August 16, 2021 09:29
[Install Microcks Async with docker-compose] Install Microcks Async with docker-compose

Go to a temporary folder and remove previously downloaded latest images:

$ cd ~/Development/temp
$ docker rmi quay.io/microcks/microcks:latest quay.io/microcks/microcks-async-minion:latest quay.io/microcks/microcks-postman-runtime:latest

Close a fresh copy of Microcks Git repository:

@lbroudoux
lbroudoux / asyncapi-ce.yaml
Last active April 13, 2021 12:43
CloudEvents Asyncapi example #yaml
asyncapi: '2.0.0'
id: 'urn:io.microcks.example.user-signedup'
info:
title: User signed-up CloudEvents API binary
version: 0.1.3
channels:
user/signedup:
subscribe:
message:
bindings:
@lbroudoux
lbroudoux / asyncapi-ce.yaml
Last active April 13, 2021 12:43
CloudEvents AsyncAPI binary sample #yaml
asyncapi: '2.0.0'
id: 'urn:io.microcks.example.user-signedup'
info:
title: User signed-up CloudEvents API binary
version: 0.1.3
channels:
user/signedup:
subscribe:
message:
bindings:
@lbroudoux
lbroudoux / asyncapi-ce.yaml
Last active April 13, 2021 12:44
CloudEvent AsyncAPI structured sample #yaml
asyncapi: '2.0.0'
id: 'urn:io.microcks.example.user-signedup'
info:
title: User signed-up CloudEvents API structured
version: 0.1.3
defaultContentType: application/json
channels:
user/signedup:
subscribe:
message:
@lbroudoux
lbroudoux / asyncapi.yml
Created March 12, 2021 14:49
AsyncAPI sample #yaml
asyncapi: 2.0.0
id: urn:com.asyncapi.examples.user
info:
title: User signed-up event
version: 0.1.1
channels:
user/signedup:
publish:
message:
payload:
@lbroudoux
lbroudoux / cloudevent.json
Created March 12, 2021 14:45
CloudEvent sample #json
{
"specversion" : "1.0.1",
"type" : "com.github.pull.create",
"source" : "https://github.com/cloudevents/spec/pull/123",
"id" : "A234-1234-1234",
"time" : "2020-04-05T17:31:00Z",
"comexampleextension1" : "value",
"comexampleextension2" : {
"othervalue": 5
},
@lbroudoux
lbroudoux / weather-forecast-1.0.0-openapi.yaml
Last active July 29, 2022 20:17
WeatherForecat API #yaml
---
openapi: 3.0.2
info:
title: WeatherForecast API
version: 1.0.0
description: A simple API for demonstrating dispatching capabilities in Microcks
contact:
name: Laurent Broudoux
url: https://github.com/lbroudoux
email: laurent.broudoux@gmail.com
@lbroudoux
lbroudoux / DispatcherTest-1.0.0.yaml
Created October 29, 2020 16:16
[DispatcherTest OpenAPI] API for DispatcherTests #microcks
---
openapi: 3.0.2
info:
title: DispatcherTest
version: 1.0.0
paths:
/tests/{id}:
get:
responses:
"200":
@lbroudoux
lbroudoux / with-agent-deployment.yml
Last active March 13, 2020 12:57
secured-fruits-catalog-k8s-with-agent-deployment.yml #openshift #vault
apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
[...]
spec:
template:
metadata:
annotations:
vault.hashicorp.com/agent-inject: "true"
vault.hashicorp.com/agent-init-first: "true"
vault.hashicorp.com/agent-inject-status: "update"