You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ztefanie opened this issue
Nov 7, 2024
· 4 comments
· May be fixed by #1902
Assignees
Labels
backendTask involves making changes to the backendbayernrelated to ehrenamtskarte bayernblockedTask or user story can not be continued at the momentTaskwebTask involves making changes to the administration module
For this feature #1751
To be able to push data to freinet (application/card data) we need an agencyId and accessKey
We have an api from freinet where we can fetch this information and map it via the regionIdentifiers (ars) to our regions
Fetch the freinet agencyId and accessKey in regular cycles and the maybe (or not) save them to our system. Evaluate if caching is enough or not. Updates in the freinet system are possible and need to lead to updates in our system, e.g. if a region is added to freinet.
show the agencyId and the accessKey in the region settings if they are available
The text was updated successfully, but these errors were encountered:
Since we need the agencyId for mapping accepting stores and for pushing data application data to freinet i think it makes sense to call the freinet api on backend start and store the agencyId in the regions table
This id will not change frequently, so i think on release to refetch it, it should be enough
seluianova
added
web
Task involves making changes to the administration module
backend
Task involves making changes to the backend
labels
Feb 3, 2025
@ztefanie can you explain what bullet point 2 and 3 mean?
I think we just fetch this ids and i see no point in adding them manually?
Or do you mean if we cannot find any match?
yes, i think the idea was to map the freinet region ids with the eak region id's manually. But sure, if this can be done automatically, it is even better.
Currently there are lots of wrong ars numbers so we can only map 40 regions, so far. I contacted freinet to check that.
In total we only get 50 regions out of 93 which is not sufficient :/
Since this xml won't change frequently i would rather hardcode the xml file from the api and read that instead of fetching it on every start. agencyIds and ars shouldn't change.
f1sh1918
changed the title
Add freinet client id to region settings
Add freinet agency information
Feb 10, 2025
backendTask involves making changes to the backendbayernrelated to ehrenamtskarte bayernblockedTask or user story can not be continued at the momentTaskwebTask involves making changes to the administration module
For this feature #1751
To be able to push data to freinet (application/card data) we need an
agencyId
andaccessKey
We have an api from freinet where we can fetch this information and map it via the
regionIdentifiers
(ars) to our regionsagencyId
andaccessKey
in regular cycles and the maybe (or not) save them to our system. Evaluate if caching is enough or not. Updates in the freinet system are possible and need to lead to updates in our system, e.g. if a region is added to freinet.agencyId
and theaccessKey
in the region settings if they are availableThe text was updated successfully, but these errors were encountered: