-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33784 from patriot1burke/azf-http
Azure Function HTTP refactored
- Loading branch information
Showing
29 changed files
with
224 additions
and
226 deletions.
There are no files selected for viewing
3 changes: 0 additions & 3 deletions
3
...odestarts/quarkus/examples/azure-functions-http-example/base/README.tpl.qute.md
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...rc/main/resources/codestarts/quarkus/examples/azure-functions-http-example/base/host.json
This file was deleted.
Oops, something went wrong.
67 changes: 0 additions & 67 deletions
67
.../resources/codestarts/quarkus/examples/azure-functions-http-example/base/pom.tpl.qute.xml
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...us/examples/azure-functions-http-example/base/src/main/resources/application.tpl.qute.yml
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...esources/codestarts/quarkus/extension-codestarts/azure-functions-codestart/base/host.json
This file was deleted.
Oops, something went wrong.
File renamed without changes.
5 changes: 5 additions & 0 deletions
5
...odestarts/azure-functions-http-codestart/base/src/main/resources/application.tpl.qute.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
quarkus: | ||
http: | ||
root-path: {root-context-path} | ||
azure-functions: | ||
app-name: {project.artifact-id}-{gen-info.time} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...rts/azure-functions-http-codestart/java/src/integrationTest/java/org/acme/GreetingIT.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.acme; | ||
|
||
import io.quarkus.test.junit.QuarkusIntegrationTest; | ||
import org.junit.jupiter.api.Test; | ||
import static io.restassured.RestAssured.given; | ||
import static org.hamcrest.CoreMatchers.is; | ||
|
||
@QuarkusIntegrationTest | ||
public class GreetingIT { | ||
|
||
@Test | ||
public void testIt() { | ||
given() | ||
.when().get("/hello") | ||
.then() | ||
.statusCode(200) | ||
.body(is("hello")); | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.