OpenFn / adaptors

The new home for OpenFn adaptors; re-usable connectors for the most common DPGs and DPI building blocks.
GNU General Public License v3.0
6 stars 8 forks source link

`DHIS2` new tracker api #754

Open mtuchi opened 1 week ago

mtuchi commented 1 week ago

Description

Since DHIS2 version 2.36, the tracker API has been re-implemented and the old API endpoints will be removed in v2.42 Learn More here

Tracker API Warning

Tasks

josephjclark commented 6 days ago

Maybe duplicate of https://github.com/OpenFn/adaptors/issues/62

josephjclark commented 6 days ago

We should do a patch on 5.x which enforces api version <41, and has clear documentation.

Then we do 6.x, reworking APIs and removing axios. The 6.x adaptor will only work with DHIS2 >= 38, so again we need to warn in the console if using an old version, and clearly document the compatibility.

So implementations using dhis2 37 would not be able to migrate to adaptor 6.x and use any new features from there. Is that OK? Do we mind?