From 49946323056943a09cfc3da8cd2d143910c1b8e5 Mon Sep 17 00:00:00 2001 From: "Carlos E. Feria Vila" Date: Tue, 1 Aug 2023 19:45:41 +0200 Subject: [PATCH] task: Upgrade to Quarkus 3.2.2.Final (#130) --- .github/workflows/ci.yml | 4 ++-- core/pom.xml | 6 ++++++ .../openubl/xsender/camel/routes/SunatRouteBuilder.java | 6 +----- pom.xml | 6 +++--- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d35f1d1..adf9681c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,7 +56,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - quarkus-version: [ 3.0.1.Final ] + quarkus-version: [ 3.0.1.Final, 3.2.2.Final ] fail-fast: false steps: - uses: actions/checkout@v3 @@ -96,7 +96,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - springboot-version: [ 3.0.0 ] + springboot-version: [ 3.0.0, 3.1.2 ] fail-fast: false steps: - uses: actions/checkout@v3 diff --git a/core/pom.xml b/core/pom.xml index f5273992..4bd82c0a 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -100,6 +100,12 @@ camel-jackson + + commons-codec + commons-codec + 1.16.0 + + org.apache.camel camel-test-main-junit5 diff --git a/core/src/main/java/io/github/project/openubl/xsender/camel/routes/SunatRouteBuilder.java b/core/src/main/java/io/github/project/openubl/xsender/camel/routes/SunatRouteBuilder.java index e8e822d2..54c14efc 100644 --- a/core/src/main/java/io/github/project/openubl/xsender/camel/routes/SunatRouteBuilder.java +++ b/core/src/main/java/io/github/project/openubl/xsender/camel/routes/SunatRouteBuilder.java @@ -147,11 +147,7 @@ public void configure() { .setBody(exchange -> { List body = exchange.getIn().getBody(List.class); Map map = (Map) body.get(1); - try { - return URISupport.createQueryString(map); - } catch (URISyntaxException e) { - throw new RuntimeException(e); - } + return URISupport.createQueryString(map); }) .to("https://api-seguridad.sunat.gob.pe") .unmarshal(new JacksonDataFormat(ResponseAccessTokenSuccessDto.class)) diff --git a/pom.xml b/pom.xml index 6fd1512c..18bbc6c9 100644 --- a/pom.xml +++ b/pom.xml @@ -45,9 +45,9 @@ ${basedir} 1.18.26 - 3.0.2.Final - 4.0.0-M3 - 3.0.6 + 3.2.2.Final + 4.0.0-RC2 + 3.1.2 https://project-openubl.github.io/