Skip to content

Commit

Permalink
Merge pull request #236 from Sgitario/upgrade_quarkus_2_2_2_Final
Browse files Browse the repository at this point in the history
Upgrade Quarkus to 2.2.2.Final
  • Loading branch information
mjurc authored Sep 8, 2021
2 parents 2f06db3 + fa77195 commit 880ec43
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ jobs:
git clone https://github.com/quarkusio/quarkus.git
cd quarkus
git checkout 2.2
mvn versions:set -DnewVersion=2.2.1.Final -DgenerateBackupPoms=false -pl .,build-parent,devtools/cli
mvn versions:set -DnewVersion=2.2.2.Final -DgenerateBackupPoms=false -pl .,build-parent,devtools/cli
cd devtools/cli
mvn -B -s ../../../.github/mvn-settings.xml clean install -Dquickly
- name: Install Quarkus CLI
run: |
cat <<EOF > ./quarkus-dev-cli
#!/bin/bash
java -jar $PWD/quarkus/devtools/cli/target/quarkus-cli-2.2.1.Final-runner.jar "\$@"
java -jar $PWD/quarkus/devtools/cli/target/quarkus-cli-2.2.2.Final-runner.jar "\$@"
EOF
chmod +x ./quarkus-dev-cli
- name: Build with Maven
Expand Down Expand Up @@ -98,14 +98,14 @@ jobs:
git clone https://github.com/quarkusio/quarkus.git
cd quarkus
git checkout 2.2
mvn versions:set -DnewVersion=2.2.1.Final -DgenerateBackupPoms=false -pl .,build-parent,devtools/cli
mvn versions:set -DnewVersion=2.2.2.Final -DgenerateBackupPoms=false -pl .,build-parent,devtools/cli
cd devtools/cli
mvn -B -s ../../../.github/mvn-settings.xml clean install -Dquickly
- name: Install Quarkus CLI
run: |
cat <<EOF > ./quarkus-dev-cli
#!/bin/bash
java -jar $PWD/quarkus/devtools/cli/target/quarkus-cli-2.2.1.Final-runner.jar "\$@"
java -jar $PWD/quarkus/devtools/cli/target/quarkus-cli-2.2.2.Final-runner.jar "\$@"
EOF
chmod +x ./quarkus-dev-cli
- id: files
Expand Down
2 changes: 1 addition & 1 deletion lifecycle-application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</property>
</activation>
<properties>
<quarkus.platform.version>2.2.1.Final</quarkus.platform.version>
<quarkus.platform.version>2.2.2.Final</quarkus.platform.version>
</properties>
<repositories>
<repository>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
<failsafe-plugin.version>2.22.2</failsafe-plugin.version>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
<quarkus.platform.version>2.2.1.Final</quarkus.platform.version>
<quarkus.platform.version>2.2.2.Final</quarkus.platform.version>
<quarkus-plugin.version>${quarkus.platform.version}</quarkus-plugin.version>
<quarkus.qe.framework.version>0.0.8</quarkus.qe.framework.version>
<quarkus-qpid-jms.version>0.27.0</quarkus-qpid-jms.version>
<quarkus-ide-config.version>2.2.1.Final</quarkus-ide-config.version>
<quarkus-ide-config.version>2.2.2.Final</quarkus-ide-config.version>
<apache-httpclient-fluent.version>4.5.13</apache-httpclient-fluent.version>
<apicurio.registry.utils.serde.version>1.3.2.Final</apicurio.registry.utils.serde.version>
<quarkiverse.apicurio.registry.client.version>0.0.2</quarkiverse.apicurio.registry.client.version>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package io.quarkus.ts.spring.cloud.config;

import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;

@Path("/custom-mapping/hello")
public class ConfigMappingGreetingResource {

// TODO Disabled because https://github.com/quarkusio/quarkus/issues/19448
// @Inject
@Inject
CustomMessageConfig config;

@GET
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package io.quarkus.ts.spring.cloud.config;

// TODO Disabled because https://github.com/quarkusio/quarkus/issues/19448
// @ConfigMapping(prefix = "custom")
import io.smallrye.config.ConfigMapping;

@ConfigMapping(prefix = "custom")
public interface CustomMessageConfig {

String message();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import static org.hamcrest.Matchers.is;

import org.apache.http.HttpStatus;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;

Expand All @@ -24,8 +25,9 @@ public class SpringCloudConfigIT {
.withProperty("quarkus.profile", "SpringCloudConfigIT")
.withProperty("quarkus.spring-cloud-config.url", () -> spring.getHost() + ":" + spring.getPort());

@Tag("QUARKUS-1218")
@ParameterizedTest
@ValueSource(strings = { "/jaxrs", "/spring" }) // TODO Disabled because https://github.com/quarkusio/quarkus/issues/19448: "/custom-mapping" })
@ValueSource(strings = { "/jaxrs", "/spring", "/custom-mapping" })
public void shouldGetExpectedHelloMessage(String rootPath) {
app.given().get(rootPath + "/hello").then()
.statusCode(HttpStatus.SC_OK)
Expand Down

0 comments on commit 880ec43

Please sign in to comment.