Skip to content

Instantly share code, notes, and snippets.

View aureamunoz's full-sized avatar

Aurea Muñoz Hernández aureamunoz

View GitHub Profile
Fatal error: com.oracle.graal.pointsto.util.AnalysisError$ParsingError: Error encountered while parsing io.smallrye.stork.servicediscovery.kubernetes.KubernetesServiceDiscovery$$Lambda$18404488dbb958346aa42961da2ebb823fbd8c35.handle(java.lang.Object) 
Parsing context:
   at io.smallrye.stork.servicediscovery.kubernetes.KubernetesServiceDiscovery$$Lambda$1558/0x00000007c2011430.handle(Unknown Source)
   at io.quarkus.vertx.http.runtime.filters.QuarkusRequestWrapper.done(QuarkusRequestWrapper.java:72)
   at io.quarkus.vertx.http.runtime.filters.QuarkusRequestWrapper$ResponseWrapper$3.handle(QuarkusRequestWrapper.java:142)
   at io.quarkus.vertx.http.runtime.filters.QuarkusRequestWrapper$ResponseWrapper$3.handle(QuarkusRequestWrapper.java:139)
   at io.vertx.core.http.impl.Http1xServerResponse.end(Http1xServerResponse.java:420)
   at io.vertx.core.http.impl.Http1xServerResponse.end(Http1xServerResponse.java:388)
./demo.sh  ✔  14:16:14
+ NC='\033[0m'
+ RED='\033[0;31m'
+ YELLOW='\033[0;33m'
+ GREEN='\033[0;32m'
+ BLUE='\033[0;34m'
+ MAGENTA='\033[0;35m'
+ CYAN='\033[0;36m'
+ WHITE='\033[0;37m'
+ newline='

How to reproduce

  • Get the project [email protected]:quarkus-qe/quarkus-test-suite.git

  • Remove the workaround to make it fail: Comment out the following line in quarkus-test-suite/service-discovery/stork/src/main/resources/application.properties:

#quarkus.native.additional-build-args=--allow-incomplete-classpath, --initialize-at-run-time=io.fabric8.kubernetes.client.internal.CertUtils, --enable-url-protocols=https

Kubernetes Service Discovery

Kubernetes has a built-in support for service discovery and load-balancing. However, you may need more flexibility to carefully select the service instance you want.

This page explains how Stork can use the Kubernetes API to handle the service discovery.

Dependency

First, you need to add the Stork Kubernetes Service Discovery provider:

Kubernetes Service Discovery

Kubernetes has a built-in support for service discovery and load-balancing. However, you may need more flexibility to carefully select the service instance you want.

This page explains how Stork can use the Kubernetes API to handle the service discovery.

Dependency

First, you need to add the Stork Kubernetes Service Discovery provider:

uite des commandes à exécuter pour avoir l'erreur en partant de la situation ou l'interface br-*a été supprimée ainsi que le docker network kind et que tu redémarré aussi le docker service

09:54:47 ~$ kind get clusters
kind
knative
testcluster19
@aureamunoz
aureamunoz / Steps.md
Last active June 14, 2021 14:08
Docker wrong installation Fedora 32

I followed the steps bellow from the official article:

Uninstall old versions/Remove conflicts

 sudo dnf remove docker-*
 sudo dnf config-manager --disable docker-*

Check

@aureamunoz
aureamunoz / spring-on-quarkus.md
Created July 2, 2020 08:25
Spring-on-Quarkus live coding

spring-on-quarkus-demo project

This project uses Quarkus, the Supersonic Subatomic Java Framework. This project has been used to present Quarkus in several conferences and meetups. The slides are available here.

This project is the result of following the Quarkus Spring Web and Quarkus Spring Data JPA guides.

If you want to learn more about Quarkus, please visit its website: https://quarkus.io/ .

@aureamunoz
aureamunoz / getting-started.md
Last active July 2, 2020 08:24
Quarkus getting-started live coding

getting-started project

This project uses Quarkus, the Supersonic Subatomic Java Framework. This project has been used to present Quarkus in Codemotion Madrid 2019. The slides are available [here](Codemotion 2019 Descubriendo Quarkus%2C java sub-atómico en acción.pdf).

This project is the result of following the Quarkus getting started guide.

If you want to learn more about Quarkus, please visit its website: https://quarkus.io/ .

Spring JPA on Quarkus

TODO : Define what is the goal of this demo

Table of contents

How to play locally