Closed falcorocks closed 3 years ago
Hey and thanks for telling us here! This is a concept we've been working on for a long time, but we don't know whether it's understandable yet. This may have to do with me being lazy and not writing documentation for it yet :fire_extinguisher:
Before getting into specifics, I'd like to say that we WANT to focus on OpenAPI. This is because I have had too many problems with product lock-in in the past, and that OpenAPI specifications makes it possible to use what you make outside Shuffle as well.
Anyway, you're on point with there being three areas:
Here's an image of an app made manually (Shuffle Tools). Take note it does NOT have the "download" button. This is because the download button is for OpenAPI only.
If you are looking at an API, they may have examples. Try pasting them in here, and it will build out the action based on the curl statement!
When done, you click "Save", and you'll get access to the app in any workflow! This can be hotloaded as well, meaning if you update the app, you can still use the old one, but if you drag in the app again, it will have the new actions you may have added. You can also export them, as seen above.
Hope this helps :D
Thank you very much for the quick and super exhaustive reply! For my use case, I will probably go with the first option you listed, manually creating the python code.
The thirds workflow is still intriguing to me though, because I may want to deploy my app in other projects as a standard Flask app. Correct me if I'm wrong:
If I understand it correctly and it works like this then:
I will just try by myself what I wrote above, but I will report back as I believe it could help others ;)
BTW what you are doing here is really great. My team is using your tool for a project. I hope we can contribute back soon!
Extended docs have been added for both creation and management:
https://shuffler.io/docs/app_creation https://shuffler.io/docs/apps
Closing this, as it would be ideal if everything goes through there.
Hi @frikky , I'm pretty new to openapi development workflow, so bear with me. I'm pretty confused. I understand what openapi does, but I just don't understand what is the suggested workflow with using it within shuffle. I more or less understood how to use openapi normally and how to use it to make custom shuffle apps. What I don't understand is how (if possible at all) to use openapi specifications on their own. Maybe this issue could come up useful for other superbeginners like myself 😅
Normal openapi workflow:
Normal shuffle app workflow:
from walkoff_app_sdk.app_base import AppBase
and to look like your examplefrikky/shuffle
docker image as by exampleOpenapi shuffle app workflow
As I wrote this, I started to think that:
My questions, if the above is correct, is then: