Skip to content

Commit

Permalink
Azure Functions + Resteasy Extension
Browse files Browse the repository at this point in the history
root path

docs

fix imports

fix poms and typos

doc suggestions

Add mp rest-client tck configuration

Introduce handling for mp/uri in accordance to spec

Fixes: quarkusio#2795

Remove misleading sentence from Kubernetes / ap4k guide

The guide will updated when dekorateio/dekorate#227
is implemented and the new version included into Quarkus

Implement mock mailer by default on dev/test

fix(quarkusio#2789): fix Jackson version issue

The oder of import in the bom is important, we need to import Jackson first before RESTEasy.
After this, exluding and importing Jackson in the quarkus-smallrye-openapi extention is useless.

Arc - correct circular dependency check to detect self-injection as well, added test.

feat(openapi): Allows OpenAPI path to contain segments e.g /api/openapi/

Fixes quarkusio#2756

Arc - Implement inheritance of scopes for beans.

register reflective classes from bean archive index by providing the index as part of the reflective class build item

Document InjectionPointTransformer.

Arc - register certain CDI components under BuildContext so extensions can use that.
Modify SpringDIProcessor to make use of this.

Subclasses/client proxies - skip delegation if not constructed yet

- resolves quarkusio#2774

Docs - CDI guide - remove unnecessary dummy constructor

feat(agroal): Adds a configuration option to enable datasource metrics

Fixes quarkusio#2820

Quarkus bypasses Nexus and downloads artefacts directly from maven central

Fix title levels in Undertow reference guide

Remove two ArC injection warnings

Update to smallrye-jwt-1.1

Moved common stuff to panache-common-deployment, ported `@GenerateBridge` to non-rx panache

Added two finals

Skip racey TCK test

This is due to eclipse/microprofile-rest-client#203

Undertow 2.0.21.Final

Better error reporting if test resource fails to start

Remove license headers
  • Loading branch information
patriot1burke committed Jun 14, 2019
1 parent ca52194 commit 1ff231b
Show file tree
Hide file tree
Showing 1,304 changed files with 3,008 additions and 20,475 deletions.
59 changes: 32 additions & 27 deletions bom/pom.xml
Original file line number Diff line number Diff line change
@@ -1,19 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2018 Red Hat, Inc.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Expand All @@ -37,7 +22,7 @@
<opentracing-tracerresolver.version>0.1.5</opentracing-tracerresolver.version>
<opentracing-concurrent.version>0.2.0</opentracing-concurrent.version>
<jaeger.version>0.34.0</jaeger.version>
<undertow.version>2.0.19.Final</undertow.version>
<undertow.version>2.0.21.Final</undertow.version>
<xnio.version>3.7.1.Final</xnio.version>
<jboss-servlet-api_4.0_spec.version>1.0.0.Final</jboss-servlet-api_4.0_spec.version>
<microprofile-config-api.version>1.3</microprofile-config-api.version>
Expand All @@ -50,7 +35,7 @@
<smallrye-open-api.version>1.1.3</smallrye-open-api.version>
<smallrye-opentracing.version>1.3.0</smallrye-opentracing.version>
<smallrye-fault-tolerance.version>2.0.4</smallrye-fault-tolerance.version>
<smallrye-jwt.version>1.1.4</smallrye-jwt.version>
<smallrye-jwt.version>1.0.0</smallrye-jwt.version>
<smallrye-context-propagation.version>1.0.7</smallrye-context-propagation.version>
<smallrye-reactive-streams-operators.version>1.0.4</smallrye-reactive-streams-operators.version>
<smallrye-converter-api.version>1.0.4</smallrye-converter-api.version>
Expand Down Expand Up @@ -145,6 +130,7 @@
<aws-lambda-java.version>1.1.0</aws-lambda-java.version>
<aws-lambda-java-events.version>2.2.5</aws-lambda-java-events.version>
<aws-lambda-serverless-java-container.version>1.3.1</aws-lambda-serverless-java-container.version>
<azure-functions-java-library.version>1.3.0</azure-functions-java-library.version>
<kotlin.version>1.3.31</kotlin.version>
<camel.version>3.0.0-M2</camel.version>
<ap4k.version>0.4.0</ap4k.version>
Expand Down Expand Up @@ -178,15 +164,6 @@
<scope>import</scope>
</dependency>

<!-- RESTEasy dependencies, imported as a BOM -->
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-bom</artifactId>
<version>${resteasy.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<!-- Jackson dependencies, imported as a BOM -->
<dependency>
<groupId>com.fasterxml.jackson</groupId>
Expand All @@ -195,6 +172,24 @@
<scope>import</scope>
<type>pom</type>
</dependency>
<!-- The Jackson BOM imports version 2.9.0 and we want all the versions to be in sync.
Especially, 2.9.1 adds an automatic module name. -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson.version}</version>
</dependency>


<!-- RESTEasy dependencies, imported as a BOM -->
<!-- As RESTEasy also imports Jackson, we need to import its BOM after the Jackson BOM -->
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-bom</artifactId>
<version>${resteasy.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<!-- JUnit 5 dependencies, imported as a BOM -->
<dependency>
Expand Down Expand Up @@ -428,6 +423,11 @@
<artifactId>quarkus-resteasy</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-azure-functions-resteasy</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-jsonb</artifactId>
Expand Down Expand Up @@ -994,7 +994,7 @@
</dependency>
<dependency>
<groupId>io.smallrye</groupId>
<artifactId>smallrye-jwt</artifactId>
<artifactId>smallrye-jwt-1.1</artifactId>
<version>${smallrye-jwt.version}</version>
<exclusions>
<exclusion>
Expand Down Expand Up @@ -1889,6 +1889,11 @@
<artifactId>aws-serverless-java-container-core</artifactId>
<version>${aws-lambda-serverless-java-container.version}</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure.functions</groupId>
<artifactId>azure-functions-java-library</artifactId>
<version>${azure-functions-java-library.version}</version>
</dependency>

<dependency>
<groupId>org.apache.maven.shared</groupId>
Expand Down
26 changes: 11 additions & 15 deletions build-parent/pom.xml
Original file line number Diff line number Diff line change
@@ -1,19 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2018 Red Hat, Inc.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Expand Down Expand Up @@ -63,6 +48,7 @@
<!-- MicroProfile TCK versions -->
<microprofile-health-api.version>1.0</microprofile-health-api.version>
<microprofile-config-api.version>1.3</microprofile-config-api.version>
<microprofile-rest-client-api.version>1.2.1</microprofile-rest-client-api.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -450,6 +436,16 @@
<artifactId>quarkus-resteasy-deployment</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-azure-functions-resteasy-deployment</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-azure-functions-resteasy</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-server-common</artifactId>
Expand Down
16 changes: 0 additions & 16 deletions core/builder/pom.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2018 Red Hat, Inc.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Expand Down
16 changes: 0 additions & 16 deletions core/builder/src/main/java/io/quarkus/builder/BuildChain.java
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
* Copyright 2018 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.quarkus.builder;

import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
* Copyright 2018 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.quarkus.builder;

import java.io.BufferedWriter;
Expand Down
16 changes: 0 additions & 16 deletions core/builder/src/main/java/io/quarkus/builder/BuildContext.java
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
* Copyright 2018 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.quarkus.builder;

import static io.quarkus.builder.Execution.*;
Expand Down
16 changes: 0 additions & 16 deletions core/builder/src/main/java/io/quarkus/builder/BuildException.java
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
* Copyright 2018 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.quarkus.builder;

import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
* Copyright 2018 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.quarkus.builder;

import java.util.ArrayList;
Expand Down
16 changes: 0 additions & 16 deletions core/builder/src/main/java/io/quarkus/builder/BuildProvider.java
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
* Copyright 2018 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.quarkus.builder;

import java.util.ServiceLoader;
Expand Down
16 changes: 0 additions & 16 deletions core/builder/src/main/java/io/quarkus/builder/BuildResult.java
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
* Copyright 2018 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.quarkus.builder;

import java.util.ArrayList;
Expand Down
16 changes: 0 additions & 16 deletions core/builder/src/main/java/io/quarkus/builder/BuildStep.java
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
* Copyright 2018 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.quarkus.builder;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
* Copyright 2018 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.quarkus.builder;

import java.util.HashMap;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
* Copyright 2018 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.quarkus.builder;

/**
Expand Down
Loading

0 comments on commit 1ff231b

Please sign in to comment.