In its simplest form, there are only 3
things to create in order to implement a Pega REST Service, they are:
1) REST Package 2) Service REST
3) Service REST Activity
REST Package
REST Package basically provides you with a
container for the REST service itself.
In its simplest form, a REST package defines
the IP address, and the base URL of the Service REST.
Service REST
Service REST provides the implementation of
the various methods that you want to provide, such as GET, POST, PUT and
DELETE.
💡
|
Note: In Pega
V8.x, there is a new PATCH method!
|
Service REST Activity
What each of the Service REST method
performs is specified using Pega Activity.
As you can see, it is as simple as that!
💡
|
Note: Of course,
we can always complicate things, but let’s stay focus on getting the REST
service up and running first!
|
No comments:
Post a Comment