You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/main/asciidoc/extension-authors-guide.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,7 +163,7 @@ Configuration in Quarkus is based on SmallRye Config, an implementation of the M
163
163
All of the standard features of MP-Config are supported; in addition, there are several extensions which are made available
164
164
by the SmallRye Config project as well as by Quarkus itself.
165
165
166
-
The value of these properties is configured in a `META-INF/microprofile-config.properties` file that conforms to the MicroProfile config format.
166
+
The value of these properties is configured in a `application.properties` file that follows the MicroProfile config format.
167
167
168
168
Configuration of Quarkus extensions is injection-based, using annotations.
169
169
@@ -344,7 +344,7 @@ key type.
344
344
<2> The `@ConfigRoot` annotation indicates that this object is a configuration root group, whose property names will have a parent only of `quarkus.`. In this case the properties within the group will begin with `quarkus.log.*`.
345
345
<3> Here the `LoggingProcessor` injects a `LogConfiguration` instance automatically by detecting the `@ConfigRoot` annotation.
346
346
347
-
A corresponding `META-INF/microprofile-config.properties` file for the `File` values could be:
347
+
A corresponding `application.properties` file for the `File` values could be:
348
348
[source%nowrap,properties]
349
349
----
350
350
quarkus.log.file.enable=true
@@ -496,13 +496,13 @@ public class PersistenceAndQuarkusConfigTest {
Copy file name to clipboardExpand all lines: docs/src/main/asciidoc/rest-client-guide.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -172,7 +172,7 @@ It will allow to narrow down the number of JAX-RS providers (which can be seen a
172
172
173
173
== Create the configuration
174
174
175
-
In order to determine the base URL to which REST calls will be made, the REST Client uses configuration from `META-INF/microprofile-config.properties`.
175
+
In order to determine the base URL to which REST calls will be made, the REST Client uses configuration from `application.properties`.
176
176
The name of the property needs to follow a certain convention which is best displayed in the following code:
Copy file name to clipboardExpand all lines: docs/src/main/asciidoc/security-guide.adoc
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ The property files realm supports mapping of users to password and users to role
85
85
|quarkus.security.file.roles|roles.properties|Classpath resource name of properties file containing user to role mappings; see <<Roles.properties>>
86
86
|===
87
87
88
-
.example microprofile-config.properties file section for property files realm
88
+
.example application.properties file section for property files realm
89
89
[source,properties]
90
90
--
91
91
quarkus.security.file.enabled=true
@@ -127,7 +127,7 @@ noadmin=user
127
127
Given these role mappings, only user `scott` would be allowed to access the `/subject/secured` endpoint from the <<SubjectExposingResource Example>>.
128
128
129
129
### Embedded Realm Configuration
130
-
The embedded realm also supports mapping of users to password and users to roles. It uses the main microprofile-config.properties Quarkus configuration file to embed this information. To enable and configure it, the following configuration properties are used:
130
+
The embedded realm also supports mapping of users to password and users to roles. It uses the main application.properties Quarkus configuration file to embed this information. To enable and configure it, the following configuration properties are used:
131
131
132
132
|===
133
133
|Property Name|Default|Description
@@ -138,9 +138,9 @@ The embedded realm also supports mapping of users to password and users to roles
138
138
|quarkus.security.embedded.roles.*|none|Prefix for the properties that specify user to role mappings; see <<Embedded Roles>>
139
139
|===
140
140
141
-
The following is an example microprofile-config.properties file section illustrating the embedded realm configuration:
141
+
The following is an example application.properties file section illustrating the embedded realm configuration:
142
142
143
-
.example microprofile-config.properties file section for embedded realm
143
+
.example application.properties file section for embedded realm
The user to password mappings are specified in the microprofile-config.properties by property names of the form `quarkus.security.embedded.users.<user>=<password>`. The following <<Example Passwords>> illustrates the syntax with the 4 user to password mappings shown in lines 2-5:
159
+
The user to password mappings are specified in the `application.properties` file by property names of the form `quarkus.security.embedded.users.<user>=<password>`. The following <<Example Passwords>> illustrates the syntax with the 4 user to password mappings shown in lines 2-5:
The user to role mappings are specified in the microprofile-config.properties by property names of the form `quarkus.security.embedded.roles.<user>=role1[,role2[,role3[,...]]]`. The following <<Example Roles>> illustrates the syntax with the 4 user to role mappings shown in lines 6-9:
178
+
The user to role mappings are specified in the `application.properties` file by property names of the form `quarkus.security.embedded.roles.<user>=role1[,role2[,role3[,...]]]`. The following <<Example Roles>> illustrates the syntax with the 4 user to role mappings shown in lines 6-9:
Copy file name to clipboardExpand all lines: docs/src/main/asciidoc/spring-di-guide.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ public class NoOpSingleStringFunction implements StringFunction {
119
119
----
120
120
121
121
{project-name} also provides support for injecting configuration values using Spring's `@Value` annotation.
122
-
To see that in action, first edit the `src/main/resources/META-INF/microprofile-config.properties` with the following content:
122
+
To see that in action, first edit the `src/main/resources/application.properties` with the following content:
123
123
124
124
[source]
125
125
----
@@ -189,7 +189,7 @@ public class GreeterBean {
189
189
----
190
190
191
191
In the code above, we see that both field injection and constructor injection are being used (note that constructor injection does not need the `@Autowired` annotation since there is a single constructor).
192
-
Furthermore, the `@Value` annotation on `suffix` has also a default value defined, which in this case will be used since we have not defined `greeting.suffix` in `microprofile-config.properties`.
192
+
Furthermore, the `@Value` annotation on `suffix` has also a default value defined, which in this case will be used since we have not defined `greeting.suffix` in `application.properties`.
0 commit comments