Skip to content

Instantly share code, notes, and snippets.

View sebastienblanc's full-sized avatar

Sebastien Blanc sebastienblanc

View GitHub Profile
Transcript of meeting#1 about "Super cache" feature :
Philippe: "Alright, team, let's get started. Today's meeting is all about pushing the 'Super Cache' feature to production. Mary, can you kick things off with an update on the development progress?"
Mary: "Certainly, Philippe. The 'Super Cache' feature is ready for deployment. All tests have passed, and we're confident in its stability. It's been a collaborative effort, and I'd like to thank Karim for his contributions to the backend optimizations."
Karim: "Thanks, Mary. It was a team effort, and I'm glad to see everything coming together. Before we proceed, Betty, any insights from the QA side on potential issues or concerns?"
Betty: "I've conducted thorough testing, and overall, it looks solid. However, there's a minor UI glitch that we need to address in the next sprint. I'll create a ticket for it, but it shouldn't hinder the 'Super Cache' rollout."
apiVersion: apps/v1
kind: Deployment
metadata:
name: quake
spec:
selector:
matchLabels:
run: quake
replicas: 1
template:
@Incoming("product-in")
public Uni<Void> processProduct(Message<String> message) {
final Serde<Product> serde = DebeziumSerdes.payloadJson(Product.class);
serde.configure(Collections.singletonMap("from.field", "after"), false);
Product product = serde.deserializer().deserialize("product-in", message.getPayload().getBytes());
//Do complicated stuff with product
Log.info(product.getName());
return Uni.createFrom().nullItem();
}
apiVersion: template.openshift.io/v1
kind: Template
metadata:
name: incidents-template
annotations:
description: "A template to deploy the Antennas Incident Service"
tags: "quarkus,service"
iconClass: icon-quarkus
objects:
- apiVersion: v1
apiVersion: apps/v1
kind: Deployment
metadata:
name: quake
spec:
selector:
matchLabels:
run: quake
replicas: 1
template:
oc apply -f customer/kubernetes/Deployment.yml
oc apply -f customer/kubernetes/Service.yml
oc apply -f customer/kubernetes/Gateway.yml
oc apply -f preference/kubernetes/Deployment.yml
oc apply -f preference/kubernetes/Service.yml
oc apply -f recommendation/kubernetes/Deployment.yml
oc apply -f recommendation/kubernetes/Service.yml
version: '2.1'
services:
# Install zookeeper.
zookeeper:
image: quay.io/strimzi/kafka:0.17.0-kafka-2.4.0
command: [
"sh", "-c",
"bin/zookeeper-server-start.sh config/zookeeper.properties"
####
# This Dockerfile is used in order to build a container that runs the Quarkus application in JVM mode
#
# Before building the container image run:
#
# ./mvnw package
#
# Then, build the image with:
#
# docker build -f src/main/docker/Dockerfile.jvm -t quarkus/speech2k8s-jvm .
#!/bin/bash
kubectl cluster-info
while true; do
read -p "Do you want to apply this resource ?" yn
case $yn in
[Yy]* ) kubectl apply -f $1;exit;;
[Nn]* ) exit;;
* ) echo "Please answer yes or no.";;
npm ERR! code 1
npm ERR! path /Users/sblanc/summitkeynote/ship-tracker/frontend/node_modules/node-sass
npm ERR! command failed
npm ERR! command sh -c node scripts/build.js
npm ERR! Building: /usr/local/Cellar/node/15.2.1/bin/node /Users/sblanc/summitkeynote/ship-tracker/frontend/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli '/usr/local/Cellar/node/15.2.1/bin/node',
npm ERR! gyp verb cli '/Users/sblanc/summitkeynote/ship-tracker/frontend/node_modules/node-gyp/bin/node-gyp.js',
npm ERR! gyp verb cli 'rebuild',