Skip to content
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

Plugin Suggested Quantity. via API call example #4814

Draft
wants to merge 2 commits into
base: Plugins-prototype
Choose a base branch
from

Conversation

andreievg
Copy link
Collaborator

Following up from this PR:, another prototype of adding suggested quantity plugin, that uses API call to get quantities:

  • Upload plugin endpoint now accepts json config and url parameter for plugin. name
  • Json config from plugin includes common configurations (which hosts are allowed for http requests) and plugin specific configs (in this case url of the server)
  • Expose suggested quantity calculation as a plugin (refactor slightly, to only be called once for all item ids being processed)
  • Add suggested quantity plugin that queries API for suggested quantities for item (using mock json server)

@andreievg andreievg changed the title Plugin Suggested Quantity vs API call example Plugin Suggested Quantity. via API call example Sep 18, 2024
@andreievg andreievg mentioned this pull request Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant