-
Notifications
You must be signed in to change notification settings - Fork 4
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
CRUD for taskers #2
Comments
(do we need CRUD for webhooks?) |
For webhooks I currently don't see the need as is mostly a set and forget from my perspective.It seems like configuration done at setup, e.g. when I create the link between my app and Flack/Flor just as the authentication token. |
Playing the "advocatus diaboli", but aren't taskers also "configuration done at setup"? You'd simply reconfigure then restart to add/remove taskers? |
In our use case we are expecting the taskers to be managed by our application (just as the workflows) but I wasn't considering whether it needs a restart or not. The thing is, at some point we're expecting clients to access an Internet-web-based catalog of workflows which comes with their dependencies, e.g. the tackers. Isn't it simply a matter of adding a directory in the right domain directory structure, the config file and the actual script or does it need to be loaded on startup? Regarding the other question, are you suggesting the webhook could be configured by the service himself, e.g. dynamically post-authentication? |
Hey, that's a grand idea. Let me walk through your idea from my current standpoint. I have this configuration structure. I don't use
Following your idea, I could repackage the "ta" process (flow + taskers) as a subdir:
We could even package That all clicks into place or am I misunderstanding? |
Currently, there is only one webhook, the Now, the How about some "https://example.com/flack/webhooks/:id" endpoint? One that you can GET or POST or PUT to and that correlates and translates incoming requests into flor 'receive' messages, so that the "real" taskers, across the gulf of the web, don't have to work hard to produce complete JSON flor messages. For example, a tasker would be given a simple "https://example.com/flack/webhooks/1234" endpoint and GET it to signify its work is done, or it could POST (with a JSON payload) there when it's done. We could go with "https://example.com/flack/webhooks/{exid}/{nid}" unless it's too "transparent". |
That make perfect sense. I'll describe our needs in greater details in #3. |
Provide a way to manage taskers.
The text was updated successfully, but these errors were encountered: