OpenSPP / openspp-modules

GNU Lesser General Public License v3.0
24 stars 4 forks source link

Integrate Open-Fn with OpenSPP #248

Closed jeremi closed 3 days ago

jeremi commented 11 months ago

What is OpenFn?

Digital Public Good for workflow automation–a platform.

Video link explaining how OpenFN works

Official documentation

OpenFn v1 iPaaS will be used to integrate with OpenSPP.

registrant_id is from: https://github.com/OpenSPP/openspp-registry/issues/247

Implement the methods:

nhatnm0612 commented 10 months ago

@jeremi https://community.openfn.org/t/testing-new-adaptor-on-local-environment-with-lightning/331/2 there is no way to test local adaptor on local Lightning running, confirmed by OpenFN employee. I gonna switch to the only way is writing automated tests and running that.

jeremi commented 9 months ago

ok

dasunhegoda commented 9 months ago

Left to be done,

jeremi commented 9 months ago

How can I test it manually?

nhatnm0612 commented 9 months ago

@jeremi we can not, only testing using unittest code via pnpm, and in term of unittest, I mean mocking test response from Odoo as well.

dasunhegoda commented 9 months ago

@nhatnm0612 will raise the PR today.

jeremi commented 9 months ago

but @nhatnm0612 can we install it locally and run it (not automated tests)?

nhatnm0612 commented 9 months ago

but @nhatnm0612 can we install it locally and run it (not automated tests)?

@jeremi no, it is confirmed by OpenFN employee

dasunhegoda commented 8 months ago

@nhatnm0612 will setup OpenFN on local to be utilized with OpenSPP repo.

dasunhegoda commented 7 months ago

@nhatnm0612 has raised a PR in the OpenFN repo. https://github.com/OpenFn/adaptors/pull/409

dasunhegoda commented 7 months ago

The methods mentioned in the description have been implemented.

dasunhegoda commented 7 months ago

@nhatnm0612 will list down the steps to setup on local.

nhatnm0612 commented 6 months ago

steps for setting up local OpenFN:

  1. Requirements:
  1. Pre-installed:

After Pre-installed step, basically, you can boost up OpenFn Lightning with this command: iex -S mix phx.server

  1. Installing new adaptor locally:
nhatnm0612 commented 6 months ago

@dasunhegoda due to requests from OpenFN side, I need a rectangle image [png, 512*190px] of OpenSPP for the adaptor logos. [link]. Also, they asked me to create test jobs with OpenSPP sandbox server's credentials [link]

I made some changes last weekend and all the feedbacks are positive now except these 2.

dasunhegoda commented 6 months ago

@nhatnm0612 : You can use the logo on our web and resize it as per requirement. If additional help is required, Lit usually helps us with this. We can use the openspp demo env as the sandbox.

jeremi commented 6 months ago

@nhatnm0612 ask Lit for it. He will prepare it for you.

jeremi commented 6 months ago

Can you add the methods:

nhatnm0612 commented 5 months ago

link to slack message