Objective :
In ICS we know REST is the preferred protocol due to the flexibility of message provided by the service and performance. This post talks about how to create a integration which can be invoked as a rest service.
REST Integration
you need to create a rest connection as given in the previous post. Once connection is created, prerequisite are ready and we can proceed with integration creation.
1. Go to integration screen and click on create option. It will open a popup to create a integration based on the option available, for this usecase select "App Driven Orchestration" . Please click on select.
2. Now integration will ask for some mandatory parameter, please provide the name and package. Other options will either be filled based on the name. Once done click on create option. Please remember cant change the name post this.
3. This screen will open and now select the first activity and click on edit. This will open a popup for the configurations.
4. First screen will ask you basic information like name and then second line will ask about the operation this rest service will provide. You can choose get, post, patch, merge. Also please select for the parameter for request and response based on the requirement.
6. Now provide the response parameter, response parameter will be sent to caller post execution of the ICS process.
In ICS we know REST is the preferred protocol due to the flexibility of message provided by the service and performance. This post talks about how to create a integration which can be invoked as a rest service.
REST Integration
you need to create a rest connection as given in the previous post. Once connection is created, prerequisite are ready and we can proceed with integration creation.
1. Go to integration screen and click on create option. It will open a popup to create a integration based on the option available, for this usecase select "App Driven Orchestration" . Please click on select.
2. Now integration will ask for some mandatory parameter, please provide the name and package. Other options will either be filled based on the name. Once done click on create option. Please remember cant change the name post this.
4. First screen will ask you basic information like name and then second line will ask about the operation this rest service will provide. You can choose get, post, patch, merge. Also please select for the parameter for request and response based on the requirement.
5. Now provide the parameter for the query, I have provided 2 parameter. You can provide single of multiple based on your requirement.
6. Now provide the response parameter, response parameter will be sent to caller post execution of the ICS process.
7. Now everything is done review things been configure here. once done then you are finished with a integration need to be invoked with 2 parameter. If you have changed then your parameter will be different.
8. OIC require a set of tracking parameters, to provide one tracking parameter is mandatory in ICS. Click on the tracking.
9. Now from the available parameters, we can choose the parameter which we want to track for the integration, once done close the window.
No comments:
Post a Comment