1 of 1 people found this helpful
Please explain more on Requirement 1, preferably with examples. From what I understand, it might not be possible to achieve this use case if you are using a single REST web service reading from the same resources because when Authentication is enabled for the web service, the same authentication applies to the entire web service.
Regarding implementing pagination, there is no inbuilt feature in the product where start & size conditions can be specified. The only thing you can perhaps do is to have records filtered as per a start and end record id ( or something similar ) using greater than or less than operators. Refer: Filter Data in Resource Mappings .
There might ( or might not ) be another way of implementing this using transformations in custom resource mapping but I cannot think of anything straightforward right now.
As pagination functionality is not in-built, we also do not have the concept of limiting the output w.r.t number of records but we do have a property to limit the output based on the number of characters. Refer Output Precision here - Web Service Properties .
Also, Data as a Service topic is generally for DaaS products offered by Informatica such as AD Cloud, Email & Phone Validation etc. Please also consider posting in Data Quality Topic for better visibility.
Filter data based on User. Ex. we have data with country code. User1 should get data related to few country X. User 2 should get data related to country Y. I understand that we can't do. So, we are planning to create multiple logical object and multiple webservices
As we don't have direct feature for pagination. We have added a logic in Exp to assign page number by dividing by the limit and added to Response and made a key. Now we can able to retrieve the records using page number in URL.
Now, customer is expecting us to add header kind of ..to show total number of records and total pages.
Tried#1 - Create a output/response as Total_records and Total_Page in cardinality 1 and created Response Element and moved all the required elements along with page number ..Its not working, gives error
Tried#2 - Create a output/response as Total_records ,Total_Page & Page in cardinality 1 and created Response Element and moved all the required elements..Its workin, but not applying the filter