Sandeep Pamidamarri

Sign in

In this particular post, we will learn to create a single React js single page application. React JS uses JSX — it helps us in keeping code simpler and elegant when writing large pieces of code. The popularity of React JS is well known for providing component-driven rich user interfaces. Nowadays most of the tools and respective applications are coming with reusable React components.

This exercise page will have a button to retrieve the random user from an API. It helps to understand the basics of React JS and the usage of API communication within it.

  1. Codesandbox — To develop…

In a cluster environment, where we have the node classification feature — the nodes that are classified as **Search** type will store the elastic search files.

These nodes are managed via the Index Management landing page. Search nodes are synched via the port 5432 range. The cluster communication happens through the PEGA default **HazelCast** approach or through an **Apache Ignite** client-server model.

In the class __Rule-Obj-Report-Definition__, there is a process API activity ***pxRetrieveSearchData** that executes the passed report definition name on the elastic search files. Invoke this through activity and pass the required report definition name as a parameter.

__Note:__…


In this particular post, we will learn to create a simple messaging app using Google Cloud Pub-Sub Service.

Pub-Sub is a simple messaging service — with a Publisher and Subscriber. The event-driven architecture breaks down the complexity of the application. Multiple subscribers can listen to the publisher's event through topics.

In this post, we will see a publisher python script to send a message and a subscriber python script to receive a message.

Pre-requisites

  1. Google Cloud Login
  2. VS Code

Step 1: Enable the Google Cloud Pub-Sub Service

Navigate to the https://console.cloud.google.com and enabled the Cloud Pub-Sub Service.

Click Enable


In this particular post, we will learn to configure Cosmos React-based UI components in PEGA 8.5. Cosmos is PEGA recommended design system developed using React JS libraries. It improves client-browser performance, interactivity, mobile-friendly and provides a rich user experience. React Component UI architecture provides a better contextual experience.

We can leverage Cosmos in two different ways:

  1. Create a new application with ReactJS run-time architecture [PEGA 8.6+]
  2. Create a new application with Theme-Cosmos as Built-On Application [PEGA 8.5+]

Let us explore the second approach for the table component

Pre-requisites:

  1. PEGA Environment Access

Step 1: Create a section with a Table Component


In this particular post, we will learn how to provide OAuth authentication for REST service in PEGA. We will use Postman to test the same.

OAuth provides a secure way of data transfer between the applications without revealing the user’s identity or credentials. It is a token-based authentication to access a resource. For example, Google, Facebook, Amazon uses OAuth authentication for their users to provide third-party merchant applications.

Pre-requisites

  1. Access to the PEGA product
  2. Postman

Step 1: Register as an OAuth Client

In PEGA -> DEV Studio, access the Security -> OAuth Client 2.0 Client Registration records


What is Data Encryption in PEGA?

If the critical information is getting saved in PEGA Database as an exposed property in the work tables, then the preferred approach is as follows:

1. Create a cipher class pointing the database using the PEGA media files that comes with product 
2. Using the same cipher generator PEGA media files, upload the generated JAR into the PEGA database tables
3. Navigate to the Data Encrption landing page, refer to the generated cipher class and activate the Data Encryption

What is the Access Control Policy and Access Control Policy Condition?

Access Control Policy or Attribute-based access control is used to restrict the user to access the specific instance of a class…


BASIC Authentication is used to store the external service provided user name and password in an Authentication profile and refer to the same in the connect rule forms.

OAuth Authentication is a two-step process verification

Step 1: Register the OAuth2.0 Client Registration rule with the service provider Client ID and Client Secret Key.

Step 2: Retrieve the token using the OAuth Service Provider service.

How does it work?

Connect Service will retrieve the token using the provided Client ID and Client Secret Key, then the token is passed as part of the actual service call in the header. Token will…


In this particular post, we will learn to deploy a Tensorflow JS predictive model as a web app using google cloud run. Tensorflow JS executes the ML predictive models in the client browser. It helps to reduce the Server API calls and provides a real-time user experience. Web and mobile apps can leverage this Tensorflow JS for the low resource-intensive model executions.

Pre-requisites

  1. Set-up google cloud account
  2. Install node

Step 1: Download the TensorflowJS Model

Refer to the below link on how to generate a Tensorflow JS predictive model

https://clincher.medium.com/how-to-create-an-image-classifier-predictive-model-without-a-single-line-of-code-8ed6b1402f6b

Download the generated model as below into a folder

Note…


In this particular post, we will learn how to develop an image classifier predictive model using the teachable machine google project. This google project helps anyone to develop a machine learning model without ML expertise. Web and mobile apps can use these generated models.

We will use a flower data-set to develop an image classification.

Access the flower data-set in the Kaggle site

Pre-requisites

Step 1: Date preparation for image classification

In this example, we will select different flowers — Rose, Sunflower, tulip from the dataset.

Click on the Image project


If the critical information is getting saved in PEGA Database as an exposed property in the work tables, then the preferred approach is as follows:

1. Create a cipher class pointing the database using the PEGA media files that comes with product 2. Using the same cipher generator PEGA media files, upload the generated JAR into the PEGA database tables 3. Navigate to the Data Encrption landing page, refer to the generated cipher class and activate the Data Encryption

Access Control Policy or Attribute-based access control is used to restrict the user to access the specific instance of a class…

Sandeep Pamidamarri

Pega Architect | Cloud Practitioner | Data Science Enthusiast

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store