You can translate the question and the replies:

Incremental cache mode

Hello team, i have a blocking point regarding the incremental cache. as i red on the manual the full incremental is only used on base views , in my case my base view needs a token to be lanched , so whenever a schdeuled the cache the acces token is needed to run the request. we have sysmoddate field that we will use to campare to lastupodatedcache date. thank you in advance for the help.
user
28-10-2021 13:29:32 -0400
code

1 Answer

Hi, To access data from source with access tokens, you can configure the data source with **OAuth 2.0 authentication**. For scheduling incremental cache loads for base views with token validation, you could follow the below steps: 1. Create a [JSON](https://community.denodo.com/docs/html/browse/8.0/en/vdp/administration/creating_data_sources_and_base_views/json_sources/json_sources#json-sources) or [XML](https://community.denodo.com/docs/html/browse/8.0/en/vdp/administration/creating_data_sources_and_base_views/xml_sources/xml_sources) data source with Data route as **HTTP Client** and under the **Authentication section**, configure OAuth 2.0. You can take a look at the [HTTP Path](https://community.denodo.com/docs/html/browse/8.0/en/vdp/administration/creating_data_sources_and_base_views/path_types_in_virtual_dataport/http_path#authentication-in-http-paths) section of the Virtual DataPort VQL Guide for more information on configuring OAuth or other types of authentication. 1. Create a [base view](https://community.denodo.com/docs/html/browse/8.0/en/vdp/administration/creating_data_sources_and_base_views/json_sources/json_sources#creating-a-json-base-view) and configure the[ incremental cache mode](https://community.denodo.com/docs/html/browse/8.0/en/vdp/administration/cache_module/cache_modes/incremental_mode) with the condition like **‘last_modified’ > ‘@LASTCACHEREFRESH’**. 1. Then in the Scheduler Administration tool, create a [VDPcache](https://community.denodo.com/docs/html/browse/8.0/en/scheduler/administration/creating_and_scheduling_jobs/configuring_new_jobs/vdpcache_extraction_section) job to perform the cache load. Additionally, if you need further assistance and if you are a user with valid support access, create a support case in [Denodo Support Site](https://support.denodo.com/) so that our support team will assist you. Hope this helps!
Denodo Team
29-10-2021 08:26:45 -0400
code
You must sign in to add an answer. If you do not have an account, you can register here