Skip to content

Commit 1d7acc7

Browse files
committed
Sync documentation of main branch
1 parent a7200d6 commit 1d7acc7

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

_versions/main/guides/context-propagation.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ them to the client as JSON using xref:rest-json.adoc[Jackson or JSON-B]:
135135
// Create a REST client to the Star Wars API
136136
WebClient client = WebClient.create(vertx,
137137
new WebClientOptions()
138-
.setDefaultHost("swapi.dev")
138+
.setDefaultHost("swapi.net")
139139
.setDefaultPort(443)
140140
.setSsl(true));
141141
// get the list of Star Wars people, with context capture

_versions/main/guides/mongodb-dev-services.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ https://github.com/quarkusio/quarkus/tree/main/docs/src/main/asciidoc
66
= Dev Services for MongoDB
77

88
Quarkus supports a feature called Dev Services that allows you to create various datasources without any config. In the case of MongoDB this support extends to the default MongoDB connection.
9-
What that means practically, is that if you have not configured `quarkus.mongodb.connection-string`, Quarkus will automatically start a MongoDB container when running tests or in dev mode,
10-
and automatically configure the connection.
9+
What that means practically, is that if you have not configured `quarkus.mongodb.connection-string` nor `quarkus.mongodb.hosts`, Quarkus will automatically start a MongoDB container when
10+
running tests or in dev mode, and automatically configure the connection.
1111

1212
MongoDB Dev Services is based on link:https://www.testcontainers.org/modules/databases/mongodb/[Testcontainers MongoDB module] that will start a single node replicaset.
1313

_versions/main/guides/security-oidc-code-flow-authentication.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1923,12 +1923,12 @@ public class CodeFlowAuthorizationTest {
19231923
// the test REST endpoint listens on '/code-flow'
19241924
HtmlPage page = webClient.getPage("http://localhost:8081/code-flow");
19251925
1926-
HtmlForm form = page.getFormByName("form");
1926+
HtmlForm form = page.getForms().get(0);
19271927
// user 'alice' has the 'user' role
19281928
form.getInputByName("username").type("alice");
19291929
form.getInputByName("password").type("alice");
19301930
1931-
page = form.getInputByValue("login").click();
1931+
page = form.getButtonByName("login").click();
19321932
19331933
assertEquals("alice", page.getBody().asNormalizedText());
19341934
}

_versions/main/guides/security-openid-connect-multitenancy.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -501,9 +501,9 @@ public class CodeFlowTest {
501501
loginForm.getInputByName("username").setValueAttribute("alice");
502502
loginForm.getInputByName("password").setValueAttribute("alice");
503503
504-
page = loginForm.getInputByName("login").click();
504+
page = loginForm.getButtonByName("login").click();
505505
506-
assertTrue(page.asText().contains("tenant"));
506+
assertTrue(page.asNormalizedText().contains("tenant"));
507507
}
508508
}
509509
@@ -519,9 +519,9 @@ public class CodeFlowTest {
519519
loginForm.getInputByName("username").setValueAttribute("alice");
520520
loginForm.getInputByName("password").setValueAttribute("alice");
521521
522-
page = loginForm.getInputByName("login").click();
522+
page = loginForm.getButtonByName("login").click();
523523
524-
assertTrue(page.asText().contains("[email protected]"));
524+
assertTrue(page.asNormalizedText().contains("[email protected]"));
525525
}
526526
}
527527

0 commit comments

Comments
 (0)