From 80c961c50a5e31233a9d49c8708d1af65bdbce3e Mon Sep 17 00:00:00 2001 From: George Gastaldi Date: Wed, 18 Sep 2024 17:28:18 -0300 Subject: [PATCH] Use net.datafaker:datafaker because the original is abandoned - See https://github.com/datafaker-net/datafaker --- .../super-heroes/load-super-heroes/pom.xml | 10 +++++----- .../workshop/superheroes/load/FightScenario.java | 2 +- .../workshop/superheroes/load/HeroScenario.java | 2 +- .../workshop/superheroes/load/ScenarioInvoker.java | 2 +- .../workshop/superheroes/load/VillainScenario.java | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/pom.xml b/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/pom.xml index 91cec6a88..49c5c15e5 100644 --- a/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/pom.xml +++ b/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/pom.xml @@ -25,8 +25,8 @@ Quarkus Workshop :: Super-Heroes :: Load Super Heroes - 11 - 11 + 17 + 17 yyyy-MM-dd UTF-8 UTF-8 @@ -44,9 +44,9 @@ 1.3.2 - com.github.javafaker - javafaker - 1.0.2 + net.datafaker + datafaker + 2.3.1 org.glassfish diff --git a/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/src/main/java/io/quarkus/workshop/superheroes/load/FightScenario.java b/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/src/main/java/io/quarkus/workshop/superheroes/load/FightScenario.java index 451489795..fd374ac2f 100644 --- a/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/src/main/java/io/quarkus/workshop/superheroes/load/FightScenario.java +++ b/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/src/main/java/io/quarkus/workshop/superheroes/load/FightScenario.java @@ -16,7 +16,7 @@ */ package io.quarkus.workshop.superheroes.load; -import com.github.javafaker.Superhero; +import net.datafaker.providers.base.Superhero; import javax.json.Json; import javax.json.JsonObject; diff --git a/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/src/main/java/io/quarkus/workshop/superheroes/load/HeroScenario.java b/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/src/main/java/io/quarkus/workshop/superheroes/load/HeroScenario.java index e7a0fccf6..3b6e29c1d 100644 --- a/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/src/main/java/io/quarkus/workshop/superheroes/load/HeroScenario.java +++ b/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/src/main/java/io/quarkus/workshop/superheroes/load/HeroScenario.java @@ -16,7 +16,7 @@ */ package io.quarkus.workshop.superheroes.load; -import com.github.javafaker.Superhero; +import net.datafaker.providers.base.Superhero; import javax.json.Json; import javax.json.JsonObject; diff --git a/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/src/main/java/io/quarkus/workshop/superheroes/load/ScenarioInvoker.java b/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/src/main/java/io/quarkus/workshop/superheroes/load/ScenarioInvoker.java index 11a98b29a..05fc470f5 100644 --- a/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/src/main/java/io/quarkus/workshop/superheroes/load/ScenarioInvoker.java +++ b/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/src/main/java/io/quarkus/workshop/superheroes/load/ScenarioInvoker.java @@ -16,7 +16,7 @@ */ package io.quarkus.workshop.superheroes.load; -import com.github.javafaker.Faker; +import net.datafaker.Faker; import javax.ws.rs.client.ClientBuilder; import javax.ws.rs.client.WebTarget; diff --git a/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/src/main/java/io/quarkus/workshop/superheroes/load/VillainScenario.java b/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/src/main/java/io/quarkus/workshop/superheroes/load/VillainScenario.java index dd64fdd11..256cac584 100644 --- a/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/src/main/java/io/quarkus/workshop/superheroes/load/VillainScenario.java +++ b/quarkus-workshop-super-heroes/super-heroes/load-super-heroes/src/main/java/io/quarkus/workshop/superheroes/load/VillainScenario.java @@ -16,7 +16,7 @@ */ package io.quarkus.workshop.superheroes.load; -import com.github.javafaker.Superhero; +import net.datafaker.providers.base.Superhero; import javax.json.Json; import javax.json.JsonObject;