[ckan-dev] CKAN-API does not retrurn the last dataset added in CKAN platform (only after a 30 minutes !! ) ( Cache setting ??)

hassine el arbi elarbihassine at gmail.com
Fri Apr 5 12:49:02 UTC 2019


Hello,
I have just joined the ckan dev list dev.
thanks a lot.

Le ven. 5 avr. 2019 à 10:45, <ckan-dev-owner at lists.okfn.org> a écrit :

> Only list members can post to the ckan-dev mailing list. Please join
> the list to post.
>
>
>
>
> ---------- Forwarded message ----------
> From: hassine el arbi <elarbihassine at gmail.com>
> To: ckan-dev at lists.okfn.org
> Cc:
> Bcc:
> Date: Fri, 5 Apr 2019 10:45:09 +0100
> Subject: CKAN-API does not retrurn the last dataset added in CKAN platform
> (only after a 30 minutes !! ) ( Cache setting ??)
> Hi ckan team;
>
> I have installed the last version of Ckan (installation from package) on a
> ubuntu server.
>
> I am developping a Java/J2EE application (data portal). I am using
> CKAN-API in order to interact with CKAN Platform to manage the dataset,
> organisation, storedfile and datastore...
>
> When I create a new dataset from my own application : ==> call the
> ckan-api service : api/3/action/package_list/package_create) ==> the
> dataset is created in the ckan database,
>
> but when calling the ckan-api service : api/3/action/package_list, to show
> all the dataset created, ==> it does not return the last one created, but
> after 30 minutes, the last datset is returned !!!
>
> For information, when calling the service "api/3/action/package_list" from
> a browser , all the dataset are returned immediatly !! but when the same
> request is called from another application, or from POSTMAN, the list
> returned lack the last dataset created !!!
>
> Please, I want to know if there is a configuration problem , or cache
> configuration that I have missing.
>
> NOTE : I have tried the same use case from "https://demo.ckan.org/" there
> is no problem of getting the last dataset or organization created !!
> Best regards for all
> --
> EL ARBI Hassine
> Architecte Système d'information.
> Banque & Assurance
> Tel: +33 06 85 87 06 97
> Please consider the environment before printing this email.
> <http://thinkbeforeprinting.org/>
>
>

-- 
EL ARBI Hassine
Architecte Système d'information.
Banque & Assurance
Tel: +33 06 85 87 06 97
Please consider the environment before printing this email.
<http://thinkbeforeprinting.org/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190405/e2134c61/attachment.html>


More information about the ckan-dev mailing list