Skip to content

Add option for on-demand importing #5

@zpriddy

Description

@zpriddy

To optimize Lambda speed we should have an option for GLaDOS to only import on demand for plugins.

To support this the following changes are required:

  • Plugins should have a routes.json file
    • routes.json needs to know the routes, plugin name, and bot name
    • plugins need to know the name of the bot that it is going to run as. This is required for some of the routing
  • Plugins should be able to self generate the routes.json file. However this should be generated before deployment/commit
  • GLaDOS Core needs an option to run on-demand
  • GLaDOS needs different execution functions when running on-demand. These functions need to be able to import plugins at run time

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions