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

Feature Request : [Implementing features as plugins] Implement GraphQL queries and Mutations for Plugin Architecture #731

Closed
7 tasks done
SiddheshKukade opened this issue Jul 24, 2022 · 1 comment · Fixed by #730
Assignees

Comments

@SiddheshKukade
Copy link
Member

SiddheshKukade commented Jul 24, 2022

This issue is associated with Google Summer of Code 2022 Project link

Is your feature request related to a problem? Please describe.

Latent features in the mobile app should be enabled by installing plugins via the Admin web portal. The API would need to detect the existence of a plugin, and automatically query the plugin for authorization to do some action. When authorized, the mobile app will display new capabilities. This project has two parts:

  • The design and development of the plugin architecture

  • The creation of a donations plugin to prove the concept

Describe the solution you'd like
I would like to create GraphQL Mutations for the Plugins

  • Create new Model for plugin
  • GraphQL Query : to get list of plugins getPlugins
/**
 * @name pluginSchema
 * @description Schema for MongoDB database
 * @param  {string} pluginName Name of the plugin preferred having underscores "_"
 * @param {string} pluginCreatedBy name of the plugin creator ex.John Doe
 * @param {string} pluginDesc brief description of the plugin and it's features
 * @param {Boolean} pluginInstallStatus shows if the plugin is enabled or not
 * @param {String[]} installedOrgs list of orgIDs on which the plugin is enabled
 */
  • GraphQL Mutation: to add new plugin in database createPlugin
  • GraphQL Mutation : Updating the install status of the plugin updatePluginStatus
  • GraphQL Mutation : Updating the installed Organizations List of plugin updatePluginInstalledOrgs

Describe alternatives you've considered
Currently, I don't have decided on any other alternatives

Approach to be followed (optional)
A clear and concise description of the approach to be followed.

Additional context
Screenshots of the solution are available in #730

@SiddheshKukade
Copy link
Member Author

SiddheshKukade commented Jul 24, 2022

@palisadoes This issue can be assigned to me

@github-actions github-actions bot added the unapproved Unapproved for Pull Request label Jul 24, 2022
@SiddheshKukade SiddheshKukade changed the title Feature Request : Implementing features as plugins Feature Request : [Implementing features as plugins] Implement GraphQL queries and Mutations for Plugin Architecture Jul 24, 2022
@palisadoes palisadoes removed the unapproved Unapproved for Pull Request label Jul 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants