Skip to content

Commit 82bdfc2

Browse files
authored
Merge pull request #263233 from MicrosoftDocs/main
1/16 11:00 AM IST Publish
2 parents 4f34857 + cfec13a commit 82bdfc2

20 files changed

+479
-282
lines changed

articles/aks/howto-deploy-java-liberty-app.md

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,24 @@ This article is intended to help you quickly get to deployment. Before going to
3838
* Install a Java SE implementation, version 17 or later. (for example, [Eclipse Open J9](https://www.eclipse.org/openj9/)).
3939
* Install [Maven](https://maven.apache.org/download.cgi) 3.5.0 or higher.
4040
* Install [Docker](https://docs.docker.com/get-docker/) for your OS.
41-
* Make sure you've been assigned either the `Owner` role or the `Contributor` and `User Access Administrator` roles in the subscription. You can verify it by following steps in [List role assignments for a user or group](../role-based-access-control/role-assignments-list-portal.md#list-role-assignments-for-a-user-or-group).
41+
* Make sure you're assigned either the `Owner` role or the `Contributor` and `User Access Administrator` roles in the subscription. You can verify it by following steps in [List role assignments for a user or group](../role-based-access-control/role-assignments-list-portal.md#list-role-assignments-for-a-user-or-group).
4242

4343
## Create a Liberty on AKS deployment using the portal
4444

45-
The following steps guide you to create a Liberty runtime on AKS. After completing these steps, you'll have an Azure Container Registry and an Azure Kubernetes Service cluster for the sample application.
45+
The following steps guide you to create a Liberty runtime on AKS. After completing these steps, you have an Azure Container Registry and an Azure Kubernetes Service cluster for deploying your containerized application.
4646

4747
1. Visit the [Azure portal](https://portal.azure.com/). In the search box at the top of the page, type *IBM WebSphere Liberty and Open Liberty on Azure Kubernetes Service*. When the suggestions start appearing, select the one and only match that appears in the **Marketplace** section. If you prefer, you can go directly to the offer with this shortcut link: [https://aka.ms/liberty-aks](https://aka.ms/liberty-aks).
4848
1. Select **Create**.
49-
1. In the **Basics** pane, create a new resource group. Because resource groups must be unique within a subscription, pick a unique name. An easy way to have unique names is to use a combination of your initials, today's date, and some identifier. For example, `ejb0913-java-liberty-project-rg`.
50-
1. Select *East US* as **Region**.
51-
1. Select **Next: Configure cluster**.
52-
1. This section allows you to select an existing AKS cluster and Azure Container Registry (ACR), instead of causing the deployment to create a new one, if desired. This capability enables you to use the sidecar pattern, as shown in the [Azure architecture center](/azure/architecture/patterns/sidecar). You can also adjust the settings for the size and number of the virtual machines in the AKS node pool. Leave all other values at the defaults and select **Next: Networking**.
53-
1. Next to **Connect to Azure Application Gateway?** select **Yes**. This pane lets you customize the following deployment options.
49+
1. In the **Basics** pane, create a new resource group. Because resource groups must be unique within a subscription, pick a unique name. An easy way to have unique names is to use a combination of your initials, today's date, and some identifier. For example, `ejb0913-java-liberty-project-rg`. Select *East US* as **Region**. Select **Next** to **AKS** pane.
50+
1. This pane allows you to select an existing AKS cluster and Azure Container Registry (ACR), instead of causing the deployment to create a new one, if desired. This capability enables you to use the sidecar pattern, as shown in the [Azure architecture center](/azure/architecture/patterns/sidecar). You can also adjust the settings for the size and number of the virtual machines in the AKS node pool. Leave all other values at the defaults and select **Next** to **Load balancing** pane.
51+
1. Next to **Connect to Azure Application Gateway?** select **Yes**. This section lets you customize the following deployment options.
5452
1. You can customize the virtual network and subnet into which the deployment will place the resources. Leave these values at their defaults.
5553
1. You can provide the TLS/SSL certificate presented by the Azure Application Gateway. Leave the values at the default to cause the offer to generate a self-signed certificate. Don't go to production using a self-signed certificate. For more information about self-signed certificates, see [Create a self-signed public certificate to authenticate your application](../active-directory/develop/howto-create-self-signed-certificate.md).
5654
1. You can enable cookie based affinity, also known as sticky sessions. We want sticky sessions enabled for this article, so ensure this option is selected.
5755
![Screenshot of the enable cookie-based affinity checkbox.](./media/howto-deploy-java-liberty-app/enable-cookie-based-affinity.png)
56+
1. Select **Next** to **Operator and application** pane. This quickstart uses all defaults in this pane. However, it lets you customize the following deployment options.
57+
1. You can deploy WebSphere Liberty Operator by selecting **Yes** for option **IBM supported?**. Leaving the default **No** deploys Open Liberty Operator.
58+
1. You can deploy an application for your selected Operator by selecting **Yes** for option **Deploy an application?**. Leaving the default **No** doesn't deploy any application.
5859
1. Select **Review + create** to validate your selected options.
5960
1. When you see the message **Validation Passed**, select **Create**. The deployment may take up to 20 minutes.
6061

@@ -80,6 +81,11 @@ If you navigated away from the **Deployment is in progress** page, the following
8081

8182
These values will be used later in this article. Note that several other useful commands are listed in the outputs.
8283

84+
> [!NOTE]
85+
> You may notice a similar output named **appDeploymentYaml**. The difference between output *appDeploymentTemplateYaml* and *appDeploymentYaml* is:
86+
> * *appDeploymentTemplateYaml* is populated if and only if the deployment **does not include** an application.
87+
> * *appDeploymentYaml* is populated if and only if the deployment **does include** an application.
88+
8389
## Create an Azure SQL Database
8490

8591
The following steps guide you through creating an Azure SQL Database single database for use with your app.
@@ -92,10 +98,6 @@ The following steps guide you through creating an Azure SQL Database single data
9298
> At the **Networking** step, set **Connectivity method** to **Public endpoint**, **Allow Azure services and resources to access this server** to **Yes**, and **Add current client IP address** to **Yes**.
9399
>
94100
> ![Screenshot of configuring SQL database networking.](./media/howto-deploy-java-liberty-app/create-sql-database-networking.png)
95-
>
96-
> Also at the **Networking** step, under **Encrypted connections**, set the **Minimum TLS version** to **TLS 1.0**.
97-
>
98-
> ![Screenshot of configuring SQL database networking TLS 1.0.](./media/howto-deploy-java-liberty-app/sql-database-minimum-TLS-version.png)
99101
100102
Now that the database and AKS cluster have been created, we can proceed to preparing AKS to host your Open Liberty application.
101103

@@ -112,7 +114,7 @@ There are a few samples in the repository. We'll use *java-app/*. Here's the fil
112114
```azurecli-interactive
113115
git clone https://github.com/Azure-Samples/open-liberty-on-aks.git
114116
cd open-liberty-on-aks
115-
git checkout 20230830
117+
git checkout 20240109
116118
```
117119

118120
If you see a message about being in "detached HEAD" state, this message is safe to ignore. It just means you have checked out a tag.
@@ -123,6 +125,9 @@ java-app
123125
│ ├─ aks/
124126
│ │ ├─ db-secret.yaml
125127
│ │ ├─ openlibertyapplication-agic.yaml
128+
│ │ ├─ openlibertyapplication.yaml
129+
│ │ ├─ webspherelibertyapplication-agic.yaml
130+
│ │ ├─ webspherelibertyapplication.yaml
126131
│ ├─ docker/
127132
│ │ ├─ Dockerfile
128133
│ │ ├─ Dockerfile-wlp
@@ -136,7 +141,9 @@ java-app
136141

137142
The directories *java*, *resources*, and *webapp* contain the source code of the sample application. The code declares and uses a data source named `jdbc/JavaEECafeDB`.
138143

139-
In the *aks* directory, we placed three deployment files. *db-secret.xml* is used to create [Kubernetes Secrets](https://kubernetes.io/docs/concepts/configuration/secret/) with DB connection credentials. The file *openlibertyapplication-agic.yaml* is used to deploy the application image. In the *docker* directory, there are two files to create the application image with either Open Liberty or WebSphere Liberty.
144+
In the *aks* directory, there are five deployment files. *db-secret.xml* is used to create [Kubernetes Secrets](https://kubernetes.io/docs/concepts/configuration/secret/) with DB connection credentials. The file *openlibertyapplication-agic.yaml* is used in this quickstart to deploy the Open Liberty Application with AGIC. If desired, you can deploy the application without AGIC using the file *openlibertyapplication.yaml*. Use the file *webspherelibertyapplication-agic.yaml* or *webspherelibertyapplication.yaml* to deploy the WebSphere Liberty Application with or without AGIC if you deployed WebSphere Liberty Operator in section [Create a Liberty on AKS deployment using the portal](#create-a-liberty-on-aks-deployment-using-the-portal).
145+
146+
In the *docker* directory, there are two files to create the application image with either Open Liberty or WebSphere Liberty. These files are *Dockerfile* and *Dockerfile-wlp*, respectively. You use the file *Dockerfile* to build the application image with Open Liberty in this quickstart. Similarly, use the file *Dockerfile-wlp* to build the application image with WebSphere Liberty if you deployed WebSphere Liberty Operator in section [Create a Liberty on AKS deployment using the portal](#create-a-liberty-on-aks-deployment-using-the-portal).
140147

141148
In directory *liberty/config*, the *server.xml* file is used to configure the DB connection for the Open Liberty and WebSphere Liberty cluster.
142149

@@ -183,11 +190,7 @@ You can now run the `docker build` command to build the image.
183190
```bash
184191
cd <path-to-your-repo>/java-app/target
185192

186-
# If you're running with Open Liberty
187193
docker build -t javaee-cafe:v1 --pull --file=Dockerfile .
188-
189-
# If you're running with WebSphere Liberty
190-
docker build -t javaee-cafe:v1 --pull --file=Dockerfile-wlp .
191194
```
192195

193196
### (Optional) Test the Docker image locally
@@ -234,7 +237,7 @@ The following steps deploy and test the application.
234237
kubectl apply -f db-secret.yaml
235238
```
236239

237-
You'll see the output `secret/db-secret-postgres created`.
240+
You'll see the output `secret/db-secret-sql created`.
238241

239242
1. Apply the deployment file.
240243

@@ -289,6 +292,8 @@ az group delete --name <db-resource-group> --yes --no-wait
289292

290293
## Next steps
291294

295+
You can learn more from the following references:
296+
292297
* [Azure Kubernetes Service](https://azure.microsoft.com/free/services/kubernetes-service/)
293298
* [Open Liberty](https://openliberty.io/)
294299
* [Open Liberty Operator](https://github.com/OpenLiberty/open-liberty-operator)
272 Bytes
Loading

articles/azure-web-pubsub/howto-enable-geo-replication.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,4 @@ To ensure effective failover management, it is recommended to set each replica's
197197

198198
For more performance evaluation, refer to [Performance](concept-performance.md).
199199

200-
## Breaking issues
201-
* **Using replica and event handler together**
202-
203-
If you use the Web PubSub event handler with Web PubSub C# server SDK or an Azure Function that utilizes the Web PubSub extension, you might encounter issues with the abuse protection once replicas are enabled. To address this, you can either **disable the abuse protection** or **upgrade to the latest SDK/extension versions**.
204-
205-
For a detailed explanation and potential solutions, please refer to this [issue](https://github.com/Azure/azure-webpubsub/issues/598).
206200

articles/healthcare-apis/fhir/import-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Content-Type:application/fhir+json
6969
| ----------- | ----------- | ----------- | ----------- |
7070
| type | Resource type of input file | 1..1 | A valid [FHIR resource type](https://www.hl7.org/fhir/resourcelist.html) that matches the input file. |
7171
|URL | Azure storage url of input file | 1..1 | URL value of the input file that can't be modified. |
72-
| etag | Etag of the input file on Azure storage used to verify the file content hasn't changed. | 0..1 | Etag value of the input file that can't be modified. |
72+
| etag | Etag of the input file on Azure storage; used to verify the file content has not changed after $import registration. | 0..1 | Etag value of the input file. |
7373

7474
**Sample body for import:**
7575

articles/healthcare-apis/fhir/toc.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,13 @@ items:
4646
- name: Configuration
4747
expanded: true
4848
items:
49-
- name: Customer-managed keys best practices
50-
href: customer-managed-keys.md
51-
- name: Configure customer-managed keys
52-
href: configure-customer-managed-keys.md
49+
- name: Customer-managed keys
50+
expanded: false
51+
items:
52+
- name: Configure customer-managed keys
53+
href: configure-customer-managed-keys.md
54+
- name: Customer-managed keys best practices
55+
href: customer-managed-keys.md
5356
- name: Configure CORS
5457
href: configure-cross-origin-resource-sharing.md
5558
- name: Enable diagnostic settings in the FHIR service
@@ -97,7 +100,7 @@ items:
97100
items:
98101
- name: Configure settings for bulk-import
99102
href: configure-import-data.md
100-
- name: Use bulk-import
103+
- name: Import FHIR data
101104
href: import-data.md
102105
- name: $member-match
103106
href: tutorial-member-match.md

0 commit comments

Comments
 (0)