From 4a50e247224f482600564108e48227419ab490ca Mon Sep 17 00:00:00 2001 From: revijay Date: Wed, 27 Nov 2024 20:29:31 +0530 Subject: [PATCH] Incorporated review comments --- posts/2024-11-25-cloudant-with-open-liberty.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/posts/2024-11-25-cloudant-with-open-liberty.adoc b/posts/2024-11-25-cloudant-with-open-liberty.adoc index 9bf4b30e2..439ee413e 100755 --- a/posts/2024-11-25-cloudant-with-open-liberty.adoc +++ b/posts/2024-11-25-cloudant-with-open-liberty.adoc @@ -82,9 +82,9 @@ cloudant.dbname=testdb ---- Instead of using `BasicAuthentication` with a username and password, Cloudant also supports `IAM (Identity and Access Management)` authentication, which allows users and applications to authenticate using secure API keys or IAM tokens. By using IAM authentication, we can avoid the risks associated with managing passwords and ensure that only authorized entities can interact with Cloudant databases. -Follow https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-getting-started-with-cloudant&_ga=2.42518757.1165320250.1604321683-1614077795.1594908456[IBM Cloudant Setup] guide to create a Cloudant instance and API key for accessing it. +Follow the https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-getting-started-with-cloudant&_ga=2.42518757.1165320250.1604321683-1614077795.1594908456[IBM Cloudant Setup] guide to create a Cloudant instance and API key for accessing it. -Bellow code snippet shows how can we create a CDI Producer to inject Cloudant client with IAM authenticator. +The code snippet below shows how can we create a CDI Producer to inject a Cloudant client with IAM authentication. [source, java] ---- @ApplicationScoped @@ -104,7 +104,7 @@ public class CloudantProducer { @Produces public Cloudant createCloudant() { - IamAuthenticator authenticator = new IamAuthenticator.Builder() + IamAuthenticator authenticator = new IamAuthenticator.Builder() .apikey("apikey") .build(); @@ -219,7 +219,7 @@ If you have multiple applications accessing Cloudant, instead of bundling the Cl ---- == Summary -In this blog post, we explored how easy it is to create a CDI producer for Cloudant, and configure it with MicroProfile Config that help you to integrate Cloudant into an Open Liberty-based Java application, leveraging the power of Cloudant's NoSQL database with the flexibility of Open Liberty’s lightweight, cloud-native architecture. -The full sample is available on GitHub here:link:https://github.com/OpenLiberty/sample-cloudant[https://github.com/OpenLiberty/sample-cloudant]. +In this blog post, we explored how easy it is to create a CDI producer for Cloudant, and configure it with MicroProfile Config to help integrate Cloudant into an Open Liberty-based Java application, leveraging the power of Cloudant's NoSQL database with the flexibility of Open Liberty’s lightweight, cloud-native architecture. +The full sample is available on GitHub here: link:https://github.com/OpenLiberty/sample-cloudant[https://github.com/OpenLiberty/sample-cloudant]. By combining the strengths of Cloudant and Open Liberty, developers can create powerful, cloud-native applications that are both flexible and scalable, with minimal infrastructure management. This integration ensures real-time data access, robust data storage, and seamless scaling—all essential for modern, data-driven applications in the cloud. \ No newline at end of file