Creating REST Service and REST Connector: Pega How-to Guide

Sample Chapters (Will be posted progressively)



[Official Launch: 9th Sep 2019]
ISBN:9789811703171 (How-to Version)
ISBN: 9789811703188 (Master Beaver Version)
Title: Pega How-to Guide: Creating REST Service and REST Connector 


Main Distributor (Paperback) [How-to Version / Master Beaver Version
Google Play (eBook) [How-to Version / Master Beaver Version]
Amazon (Paperback) [How-to Version / Master Beaver Version]

 Contents
Copyright Notice
Disclaimer
Dedication & Acknowledgements
Contents
Who Is This Book For?
Preface

* Why Create A Pega How-To Guide?
* How Should I Categorise The Pega How-To Guide?
* How Should I Organise Each How-To Guide?
Versions Of Pega How-To Guide
* Which Version Should I Get?
** Online Version
** How-To Version
** Master Beaver Edition
Author’s Profile
Why Not Do This At Pega Community?
* Limited And Lack Of Control
* Lack Of Details
* I Want To Teach And Have Students Who Want To Learn
Introduction
Approach Used For This Guide
Part 1: Completing The Groundwork
Create A New Application
Create Sample Test User

* Creating New Users For The Application
** Testing The Dbeaver User
* Granting Existing User With Access To The New Application
Part 2: Creating The REST Service And REST Connector
Introduction To REST Service

* REST Package
* Service REST
* Service REST Activity
Creating The REST Package
Creating The Service REST
Implementing HelloWorld Service REST GET Method

* Creating The Service Activity
* Specifying The Request And Response
* Implementing The Service Activity For GET Method
** Pages & Classes Tab
** Steps Tab
Testing The REST GET Method
Implementing HelloWorld Service REST POST Method

* Creating The Service Activity
* Specifying The Request And Response
* Implementing The Service Activity For POST Method
** Create MyRequest & MyResponse Page Properties
** Pages & Classes Tab
** Steps Tab
Testing The REST POST Method
Implementing REST Connector

* Using The Wizard Tool For Testing
** Testing The REST GET Method
** Testing The REST POST Method
* Different REST Responses For Different Scenario
* REST Service Is In Development And Would Be Changed Later
* Limitation Of The Length Of The Identifier
Manually Creating A REST Connector
* Service Tab
* Methods Tab
** GET Method
** POST Method
Invoking A REST Connector Using Datapage
* Datapage Configuration
* Request Mapping Configuration
** Parameters Tab
** Definition Tab
* Response Mapping Configuration
** Definition Tab
* Running The Datapage
Part 3: Further Discussions (Master Beaver Version)
Introduction To Master Beaver Version
Discussion On The Various REST Methods

* GET Method
* POST Method
* PUT Method
* DELETE Method
* PATCH Method
* Enough Confusion? Here Is More
Implementing Error Handling
* Changes To The Service REST
** Method Tab
** Service Activity
* Testing The REST POST Method Again
Check For Errors From Datapage
* Simulating Errors
Invoke Datapage Using Data Transform
* Parameters Tab
* Pages & Classes Tab
* Definition Tab
* Running The Data Transform
Invoke Datapage Using Activity
* Parameters Tab
* Pages & Classes Tab
* Definition Tab
** Step 1:
** Step 2:
** Step 3:
** Step 4:
* Running The Activity
** Failure Scenario
** Happy Path Testing
Should I Enable Run On Data Page Option?
* Generated Response Data Transform
* Differences In The Mapping Logic
* Differences In The Datapage Output
Leveraging OOTB Error Handling
* Without Error Handling
* Adding Error Handling
** Enable The Block Of “When pxDataPageHasErrors”
** Copy The Default “pxErrorHandlingTemplate”
** Enable 2 Lines Of Codes
* Testing With Error Handling
Using Actual Classes
* Page Definition To Be Replaced
* Creating The New Classes
* Defining Properties For MyRequest
* Defining Properties For MyResponse
* Viewing The Properties In The Explorer
* Using The New Page Definition
* Create MyNewRequest Property
* Create MyNewResponse Property
* Viewing The New Properties In The Explorer
* Implementing The PUT Method
** Update The DoDBTestPUT By Searching
** Update The Service REST
** Testing The PUT Method
* Problem With pxObjClass
Removing pxObjClass
* Definition Tab
* Settings Tab
* Testing The Removal
Testing Using External Tool –  Postman
* Why Bother Using An External Tool?
* Using Postman
** Invoking Via “GET” Method
** Invoking Via “POST” Method
Adding Security To REST Service
* Turning On REST Service Security
Conclusion
Other Books In The Collections
 

No comments:

Post a Comment