Skip to content

Conversation

shreyamalviya
Copy link
Contributor

What does this PR do?

Adds pydantic models AgentPluginRepositoryIndex and AgentPluginMetadata
Fixes #3413

PR Checklist

  • Have you added an explanation of what your changes do and why you'd like to include them?
  • Is the TravisCI build passing?
  • Was the CHANGELOG.md updated to reflect the changes?
  • Was the documentation framework updated to reflect the changes?
  • Have you checked that you haven't introduced any duplicate code?

Testing Checklist

  • Added relevant unit tests?
  • Do all unit tests pass?
  • Do all end-to-end tests pass?
  • Any other testing performed?

    Tested by {Running the Monkey locally with relevant config/running Island/...}

  • If applicable, add screenshots or log transcripts of the feature working

Attributes:
:param name: Plugin name
:param type: Plugin type
:param resource_path: Path of the plugin file in the AWS S3 bucket
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This data structure shouldn't make assumptions about what service is used to serve it.

shreyamalviya and others added 21 commits August 2, 2023 12:04
…oryIndex

- Allow arbitrary types in both
- Fix plugin sorting logic in AgentPluginRepositoryIndex
The AgentPluginMetadata class shouldn't make assumptions about how
plugins are stored.
@mssalvatore mssalvatore force-pushed the 3413-plugin-repository-index branch from 7387331 to 8863427 Compare August 2, 2023 16:04
@mssalvatore mssalvatore merged commit 480cf17 into develop Aug 2, 2023
@mssalvatore mssalvatore deleted the 3413-plugin-repository-index branch August 2, 2023 16:04
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.

Define a Plugin repository index schema
2 participants