-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
commcare
add function
#528
Comments
Note from mtuchi: we may want to rename "application name" to "domain" to better reflect commcare's own language. Also app id and name are probably optional, and may not be needed in each request We should consider fixing both of these |
Hi @aleksa-krolls, How important is this ticket? I am thinking about asking Hunter to do it now as she's already working on the commcare adaptor. Make sense to me to pack a few features in while shes in the headspace for it. After a quick chat with @mtuchi , I would suggest we expose general
or
Then later we can think about adding special Sound cool? |
@josephjclark I think extra time spent here to get it right is well spent. There are handful of customers integrating with Commcare, but using http ... so I want to get them using this adaptor. Plus we have a big CommCare integration project kicking off end of month that will need this too :) |
Great - we'll invest a couple of days into this then and have a shiny new release for you next week. Thanks! |
@christad92 just a heads up that we'd like Hunter to tackle this issue after she's done the current commcare one |
cool and fyi @AishaHassen will be able to provide QA and implementation feedback :) |
@hunterachieng I want to check on the estimate here. I'm seeing |
Hmm. I wouldn't want to give you a number in hours, but I don't think this is a very big job. We need one generalised helper function for this, which should be super easy to add on top of the existing There are a couple of tidyups that Mutchi suggests, but they're only small. There will be a review cycle but in terms of focused working hours that should be low. And again the scope for the work is limited so I don't expect this to be too high. @hunterachieng I'm happy to talk through the exact scoping, but- my feeling is that this is gonna be less than ten hours. |
@aleksa-krolls apologies, I was estimating with 24 hours and not 8 hours. I included extra time for reviews as well but I agree with @josephjclark 's assessment. If its not large then I can change the estimate to 8 hours |
hey @hunterachieng is this what you're working on today? If yes, friendly reminder to move over to the |
@aleksa-krolls I am finalising on a few improvements for commcare then I hit the ground running with this task |
@aleksa-krolls That's my fault - I've got Hunter doing a couple of extra bits on the other PR before she moves on. Want to make sure we're building on stable ground here! |
No problem - ty! Nothing was in |
@aleksa-krolls Sounds good |
I've just spun #562 out of this thread to capture the config schema changes. It's only a small change and we have to do it alongside the upcoming release. |
@aleksa-krolls I have completed the get, just writing tests and testing for all scenarios before I pass it on for review from @josephjclark |
@hunterachieng Just one test on |
@josephjclark Yes I am writing one test. I was just testing the scenarios manually first |
Hey @aleksa-krolls , the generic Do we want a |
@josephjclark yes, please! But let's close out this issue first and track than on another. For the |
Closing this issue as this work has been done (we'll handle Aisha's feedback over in that issue) |
Request
Currently our adaptor does not support extracting
case
,form
,user
,group
andlookup table
data out of CommCare.See CommCare API docs:
Plus we should also ensure that all
http
functions are available in this adaptor, in case users want to send http requests to other api endpoints not listed above.Examples
cases
data example: https://github.com/OpenFn/lwala/blob/master/bulk/bulkGetCases-Person.js#L18-L19form
data example: https://github.com/OpenFn/grassroot-soccer/blob/master/jobs/1.getForms.jsTo test
See LP
CommCare Demo Project
for a credential to ourtest
project.The text was updated successfully, but these errors were encountered: