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

Misc improvements to handlers and web api #326

Merged
merged 3 commits into from
Feb 28, 2024
Merged

Conversation

dluc
Copy link
Collaborator

@dluc dluc commented Feb 27, 2024

Motivation and Context (Why the change? What's the scenario?)

Simplify some dev scenarios.

High level description (Approach, Design)

  • Revisit how handlers are loaded when using MemoryService and MemoryServerless, simplify code and allow to load by type.
  • Remove OpenAPI dependency from Core. The library is used only by the Web Service and consumers for the Core package won't need the extra assembly.
  • Add shortcuts to Persistent and Volatile simple* configs, e.g.
    • new SimpleFileStorageConfig { StorageType = FileSystemTypes.Disk } => SimpleFileStorageConfig.Persistent
    • new SimpleFileStorageConfig { StorageType = FileSystemTypes.Volatile } => SimpleFileStorageConfig.Volatile
    • same for SimpleVectorDbConfig, SimpleQueuesConfig and SimpleTextDbConfig
  • Allow to inject generic filters into the Service WebAPI
  • Allow to inject no auth filter into the Service WebAPI
  • Update notebooks to latest packages
  • Reorganize examples and update docs
  • Bump Core version to 0.30

Remove OpenAPI dependency in Core, it’s used only in Service
Add Shortcuts for Volatile/Persistent configs
Allow to inject generic filters in WebAPI
Allow to inject no auth filter in WebAPI
Reorganize examples and update docs.
Update notebooks with latest packages.
Bump version to 0.30
@dluc dluc merged commit ce588be into microsoft:main Feb 28, 2024
2 checks passed
@dluc dluc deleted the improvements2402 branch February 28, 2024 00:33
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