-
1. Re: Can rules be applied as a web service?
user126898 Jan 21, 2021 7:32 AM (in response to Dorothy Xavier)Currently IDQ can expose DQ rules as API's. CDQ the functionality is slated to be available later this year.
thanks,
Scott
-
2. Re: Can rules be applied as a web service?
Dorothy Xavier Jan 21, 2021 7:47 AM (in response to user126898)Hi Scott,
Can you share documentation for IDQ on how to expose DQ rules as API?
-
3. Re: Can rules be applied as a web service?
Robert Whelan Jan 21, 2021 7:49 AM (in response to Dorothy Xavier)In IDQ you can also deploy a rule as a webservice, just open Developer, right click the rule and deploy as webservice.
The end-point can be found by opening the Admin Console -> DIS you deployed to -> Applications and expand the application you deployed to and select the webservice.
-
4. Re: Can rules be applied as a web service?
user126898 Jan 21, 2021 8:00 AM (in response to user126898) -
5. Re: Can rules be applied as a web service?
Dorothy Xavier Jan 21, 2021 12:23 PM (in response to Robert Whelan)Hi Robert,
Could you please elaborate more on how the rules that are deployed as a web service applied to the data? Can the web service be applied to applications?
-
6. Re: Can rules be applied as a web service?
user126898 Jan 21, 2021 12:50 PM (in response to Dorothy Xavier)The web service is deployed inside an informatica application. The application has different service types.
You deploy a mapplet that contains a DQ transform(s). The mapplet has an input and output. When you deploy it as a web service the inputs become inputs for the API and the outputs the return. So you would use any API interface, postman, python, java....., that can call an API, feed it some data and get back the results.
-
7. Re: Can rules be applied as a web service?
Dorothy Xavier Jan 29, 2021 6:35 AM (in response to user126898)Hi Scott,
Can the rule that is deployed as a web service used for validating SSN etc in a web application? For example if I someone is entering incorrect SSN, will the rule validate the field in the form?
Also can the web service URL be called for validating the data in the data lake?
-
8. Re: Can rules be applied as a web service?
Robert Whelan Jan 29, 2021 7:14 AM (in response to Dorothy Xavier)A simple validation rule will return a binary output e.g. true/false, valid/invalid etc.
It is up to you or the designer of the web application which is used to input the data to determine how you handle the output of the rule which is returned.
On your second question, the webservice URL can be called to validate any data, providing you can create a method to pass the data to the webservice. If you are talking million or billions of rows of data however, a webservice is probably not the optimal method reading the data and passing to a rule.
In that scenario you should be using DQ mappings to read the data, pass to the rule and process the output.