Skip to content

Commit 2248f9c

Browse files
authored
Merge pull request #294067 from JoshTheTechWriter/italics-to-bold-5
First commit of fifth batch of files.
2 parents a842279 + 9202adb commit 2248f9c

18 files changed

+77
-77
lines changed

articles/spring-apps/enterprise/how-to-configure-enterprise-spring-cloud-gateway.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ az spring gateway update \
318318
319319
You must specify the protocol as HTTPS in the route configuration. The following JSON object instructs VMware Spring Cloud Gateway to use the HTTPS protocol for all traffic between the gateway and the app.
320320
321-
1. Create a file named *test-tls-route.json* with the following content:
321+
1. Create a file named **test-tls-route.json** with the following content:
322322
323323
```json
324324
{
@@ -864,7 +864,7 @@ Use the following steps to update the add-on configuration.
864864
865865
### [Azure CLI](#tab/Azure-CLI)
866866
867-
1. Prepare the JSON file for add-on configurations (*\<file-name-of-addon-configs-json\>.json*) with the following content:
867+
1. Prepare the JSON file for add-on configurations (**\<file-name-of-addon-configs-json\>.json**) with the following content:
868868
869869
```json
870870
{

articles/spring-apps/enterprise/how-to-enterprise-configure-apm-integration-and-ca-certificates.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ az spring build-service builder buildpack-binding list \
526526

527527
### Create a binding
528528

529-
Use this command to change the binding from *Unbound* to *Bound* status:
529+
Use this command to change the binding from `Unbound` to `Bound` status:
530530

531531
```azurecli
532532
az spring build-service builder buildpack-binding create \
@@ -572,7 +572,7 @@ For more information on the `properties` and `secrets` parameters for your build
572572

573573
### Delete a binding
574574

575-
Use the following command to change the binding status from *Bound* to *Unbound*.
575+
Use the following command to change the binding status from `Bound` to `Unbound`.
576576

577577
```azurecli
578578
az spring build-service builder buildpack-binding delete \

articles/spring-apps/enterprise/how-to-enterprise-deploy-polyglot-apps.md

Lines changed: 18 additions & 18 deletions
Large diffs are not rendered by default.

articles/spring-apps/enterprise/how-to-enterprise-deploy-static-file.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ The [Paketo buildpacks samples](https://github.com/paketo-buildpacks/samples/tre
228228

229229
- Serving static files with a default server configuration file using `BP_WEB_SERVER` to select either [HTTPD](https://github.com/paketo-buildpacks/samples/blob/main/web-servers/no-config-file-sample/HTTPD.md) or [NGINX](https://github.com/paketo-buildpacks/samples/blob/main/web-servers/no-config-file-sample/NGINX.md).
230230
- Using Node Package Manager to build a [React app](https://github.com/paketo-buildpacks/samples/tree/main/web-servers/react-frontend-sample) into static files that a web server can serve. Use the following steps:
231-
1. Define a script under the `scripts` property of the *package.json* file that builds your production-ready static assets. For React, it's `build`.
231+
1. Define a script under the `scripts` property of the **package.json** file that builds your production-ready static assets. For React, it's `build`.
232232
1. Find out where static assets are stored after the build script runs. For React, static assets are stored in `./build` by default.
233233
1. Set `BP_NODE_RUN_SCRIPTS` to the name of the build script.
234234
1. Set `BP_WEB_SERVER_ROOT` to the build output directory.
@@ -240,10 +240,10 @@ You can use environment variables to modify the autogenerated server configurati
240240

241241
| Environment Variable | Supported Value | Description |
242242
|-----------------------------------|----------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
243-
| `BP_WEB_SERVER` | *nginx* or *httpd* | Specifies the web server type, either *nginx* for Nginx or *httpd* for Apache HTTP server. Required when using the autogenerated server configuration file. |
244-
| `BP_WEB_SERVER_ROOT` | An absolute file path or a file path relative to */workspace*. | Sets the root directory for the static files. The default is `public`. |
245-
| `BP_WEB_SERVER_ENABLE_PUSH_STATE` | *true* or *false* | Enables push state routing for your application. Regardless of the route that is requested, *index.html* is always served. Useful for single-page web applications. |
246-
| `BP_WEB_SERVER_FORCE_HTTPS` | *true* or *false* | Enforces HTTPS for server connections by redirecting all requests to use the HTTPS protocol. |
243+
| `BP_WEB_SERVER` | `nginx` or `httpd` | Specifies the web server type, either `nginx` for Nginx or `httpd` for Apache HTTP server. Required when using the autogenerated server configuration file. |
244+
| `BP_WEB_SERVER_ROOT` | An absolute file path or a file path relative to **/workspace**. | Sets the root directory for the static files. The default is `public`. |
245+
| `BP_WEB_SERVER_ENABLE_PUSH_STATE` | `true` or `false` | Enables push state routing for your application. Regardless of the route that is requested, **index.html** is always served. Useful for single-page web applications. |
246+
| `BP_WEB_SERVER_FORCE_HTTPS` | `true` or `false` | Enforces HTTPS for server connections by redirecting all requests to use the HTTPS protocol. |
247247

248248
The following environment variables aren't supported.
249249

@@ -257,8 +257,8 @@ You can configure web server by using a customized server configuration file. Th
257257

258258
| Web server | Default configuration file path | How to customize server configuration file path |
259259
|-------------|--------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|
260-
| nginx | *nginx.conf* under the root path of your source code. | Use environment variable `BP_NGINX_CONF_LOCATION` to specify the configuration file name. Place the file under the root path of your source code. |
261-
| httpd | *httpd.conf* under the root path of your source code. | Not supported. |
260+
| `nginx` | **nginx.conf** under the root path of your source code. | Use environment variable `BP_NGINX_CONF_LOCATION` to specify the configuration file name. Place the file under the root path of your source code. |
261+
| `httpd` | **httpd.conf** under the root path of your source code. | Not supported. |
262262

263263

264264
Your configuration file must conform to the restrictions described in the following table.
@@ -267,7 +267,7 @@ Your configuration file must conform to the restrictions described in the follow
267267
|----------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------|-----------------------------------------------|
268268
| Listening port | Web server must listen on port 8080. The service checks the port on TCP for readiness and whether it's live. You must use the templated variable `PORT` in the configuration file. The appropriate port number is injected when the web server is launched. | `listen {{PORT}}` | `Listen "${PORT}"` |
269269
| Log path | Config log path to the console. | `access_log /dev/stdout`, `error_log stderr` | `ErrorLog /proc/self/fd/2` |
270-
| File path with write permission | Web server is granted write permission to the */tmp* directory. Configuring the full path requires write permission under the */tmp* directory. | For example: *client_body_temp_path /tmp/client_body_temp* | |
270+
| File path with write permission | Web server is granted write permission to the **/tmp** directory. Configuring the full path requires write permission under the **/tmp** directory. | For example: **client_body_temp_path/tmp/client_body_temp** | |
271271
| Maximum accepted body size of client request | Web server is behind the gateway. The maximum accepted body size of the client request is set to 500 m in the gateway and the value for web server must be less than 500 m. | `client_max_body_size` should be less than 500 m. | `LimitRequestBody` should be less than 500 m. |
272272

273273
## Buildpack bindings
@@ -284,14 +284,14 @@ Your deployment of static files to an Azure Spring Apps Enterprise instance may
284284
- `ERROR: Please check that you're running against the correct path.`
285285
- `ERROR: failed to detect: no buildpacks participating`
286286

287-
The root cause of these errors is that the web server type isn't specified. To resolve these errors, set the environment variable `BP_WEB_SERVER` to *nginx* or *httpd*.
287+
The root cause of these errors is that the web server type isn't specified. To resolve these errors, set the environment variable `BP_WEB_SERVER` to `nginx` or `httpd`.
288288

289289
The following table describes common deployment errors when you deploy static files to Azure Spring Apps Enterprise.
290290

291291
| Error message | Root cause | Solution |
292292
|-----------------------------------------------------------------------------------|---------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
293293
| `112404: Exit code 0: purposely stopped, please refer to https://aka.ms/exitcode` | The web server failed to start. | Validate your server configuration file to see if there's a configuration error. Then, check whether your configuration file conforms to the restrictions described in the [Use a customized server configuration file](#use-a-customized-server-configuration-file) section. |
294-
| `mkdir() "/var/client_body_temp" failed (13: Permission denied)` | The web server doesn't have write permission to the specified path. | Configure the path under the directory */tmp*; for example: */tmp/client_body_temp*. |
294+
| `mkdir() "/var/client_body_temp" failed (13: Permission denied)` | The web server doesn't have write permission to the specified path. | Configure the path under the directory **/tmp**; for example: **/tmp/client_body_temp**. |
295295

296296
## Next steps
297297

articles/spring-apps/enterprise/how-to-enterprise-service-registry.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Next, select **GENERATE** to get a sample project for Spring Boot with the follo
9595

9696
### Confirm the configuration of dependent libraries for the Service Registry client (Eureka client)
9797

98-
Next, confirm that the *pom.xml* file for the project contains the following dependency. Add the dependency if it's missing.
98+
Next, confirm that the **pom.xml** file for the project contains the following dependency. Add the dependency if it's missing.
9999

100100
```xml
101101
<dependency>
@@ -106,7 +106,7 @@ Next, confirm that the *pom.xml* file for the project contains the following dep
106106

107107
### Implement the Service Registry client
108108

109-
Add an `@EnableEurekaClient` annotation to the *SampleServiceAApplication.java* file to configure it as a Eureka Client.
109+
Add an `@EnableEurekaClient` annotation to the **SampleServiceAApplication.java** file to configure it as a Eureka Client.
110110

111111
```java
112112
package com.example.Sample.Service.A;
@@ -127,7 +127,7 @@ public class SampleServiceAApplication {
127127

128128
### Create a REST endpoint for testing
129129

130-
You can now register the service to Service Registry, but you can't verify it until you implement a service endpoint. To create RESTful endpoints that external services can call, add a *ServiceAEndpoint.java* file to your project with the following code.
130+
You can now register the service to Service Registry, but you can't verify it until you implement a service endpoint. To create RESTful endpoints that external services can call, add a **ServiceAEndpoint.java** file to your project with the following code.
131131

132132
```java
133133
package com.example.Sample.Service.A;
@@ -184,7 +184,7 @@ The `--assign-endpoint` argument grants a public IP for validation and enables a
184184

185185
After you create a service instance with Spring Boot and create an application in Azure Spring Apps, you deploy the application and confirm the operation. Before that, however, you must bind your application to the Service Registry so that it can get connection information from the registry.
186186

187-
Typically, a Eureka client needs to write the following connection information settings in the *application.properties* configuration file of a Spring Boot application so that you can connect to the server:
187+
Typically, a Eureka client needs to write the following connection information settings in the **application.properties** configuration file of a Spring Boot application so that you can connect to the server:
188188

189189
```properties
190190
eureka.client.service-url.defaultZone=http://eureka:8761/eureka/
@@ -234,7 +234,7 @@ You can also bind your application to the Service Registry from the Azure portal
234234

235235
### Deploy an application to Azure Spring Apps
236236

237-
Now that you bound your application, deploy the Spring Boot artifact file *Sample-Service-A-A-0.0.1-SNAPSHOT.jar* to Azure Spring Apps. To deploy, use the following command:
237+
Now that you bound your application, deploy the Spring Boot artifact file **Sample-Service-A-A-0.0.1-SNAPSHOT.jar** to Azure Spring Apps. To deploy, use the following command:
238238

239239
```azurecli
240240
az spring app deploy \
@@ -327,7 +327,7 @@ public class SampleServiceBApplication {
327327

328328
### Implement service endpoints in Service B
329329

330-
Next, implement a new service endpoint (`/invoke-serviceA`) that invokes Service A. Add a *ServiceBEndpoint.java* file to your project with the following code.
330+
Next, implement a new service endpoint (`/invoke-serviceA`) that invokes Service A. Add a **ServiceBEndpoint.java** file to your project with the following code.
331331

332332
```java
333333
package com.example.Sample.Service.B;

articles/spring-apps/enterprise/how-to-set-up-sso-with-azure-ad.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ First, you must get the assigned public endpoint for Spring Cloud Gateway and AP
4949

5050
Register your application to establish a trust relationship between your app and the Microsoft identity platform using the following steps:
5151

52-
1. From the *Home* screen, select **Microsoft Entra ID** from the left menu.
53-
1. Select **App Registrations** under *Manage*, then select **New registration**.
54-
1. Enter a display name for your application under *Name*, then select an account type to register under *Supported account types*.
52+
1. From the **Home** screen, select **Microsoft Entra ID** from the left menu.
53+
1. Select **App Registrations** under **Manage**, then select **New registration**.
54+
1. Enter a display name for your application under **Name**, then select an account type to register under **Supported account types**.
5555
1. In *Redirect URI (optional)* select **Web**, then enter the URL from the above section in the text box. The redirect URI is the location where Microsoft Entra ID redirects your client and sends security tokens after authentication.
5656
1. Select **Register** to finish registering the application.
5757

@@ -61,7 +61,7 @@ When registration finishes, you'll see the *Application (client) ID* on the **Ov
6161

6262
You can also add redirect URIs after app registration by following these steps:
6363

64-
1. From your application overview, under *Manage* in the left menu, select **Authentication**.
64+
1. From your application overview, under **Manage** in the left menu, select **Authentication**.
6565
1. Select **Web**, then select **Add URI** under *Redirect URIs*.
6666
1. Add a new redirect URI, then select **Save**.
6767

@@ -73,7 +73,7 @@ For more information on Application Registration, see [Quickstart: Register an a
7373

7474
The application uses a client secret to authenticate itself in SSO workflow. You can add a client secret using the following steps:
7575

76-
1. From your application overview, under *Manage* in the left menu, select **Certificates & secrets**.
76+
1. From your application overview, under **Manage** in the left menu, select **Certificates & secrets**.
7777
1. Select **Client secrets**, then select **New client secret**.
7878
1. Enter a description for the client secret, then set an expiration date.
7979
1. Select **Add**.

articles/spring-apps/enterprise/how-to-use-accelerator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ To view the newly published accelerator, refresh Dev Tools Portal.
284284
285285
### Reference a fragment in your own accelerators
286286

287-
Writing and maintaining accelerators can become repetitive and verbose as new accelerators are added. Some people create new projects by copying existing ones and making modifications, but this process can be tedious and error prone. To make the creation and maintenance of accelerators easier, Application Accelerator supports a feature named Composition that enables the reuse of parts of an accelerator, called *fragments*.
287+
Writing and maintaining accelerators can become repetitive and verbose as new accelerators are added. Some people create new projects by copying existing ones and making modifications, but this process can be tedious and error prone. To make the creation and maintenance of accelerators easier, Application Accelerator supports a feature named *Composition* that enables the reuse of parts of an accelerator, called *fragments*.
288288

289289
Use the following steps to reference a fragment in your accelerator:
290290

articles/spring-apps/enterprise/how-to-use-enterprise-api-portal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ This section describes how to view and try out APIs with schema definitions in A
149149

150150
1. Configure routing rules to apps.
151151

152-
To create rules to access the app in Spring Cloud Gateway for Tanzu route configuration, save the following contents to the *sample.json* file.
152+
To create rules to access the app in Spring Cloud Gateway for Tanzu route configuration, save the following contents to the **sample.json** file.
153153

154154
```json
155155
{

0 commit comments

Comments
 (0)