Skip to content

Component: Smrt.CloudProviders.Contracts

Canonical source: SmrtApps/src/Smrt.CloudProviders.Contracts/README.md (mirrored below)


Smrt.CloudProviders.Contracts

Overview & Responsibilities

Smrt.CloudProviders.Contracts defines the shared, cross-component contracts used by SmrtHub provider routing and connection testing.

Responsibilities: - Provide canonical IDs for vendors, services, and capabilities. - Provide request/selection contracts used by routers and feature components. - Provide structured result contracts for connection tests.

Non-Responsibilities

  • Does not perform routing or connection tests.
  • Does not store config/state or secrets.

Public Surface / Entry Points

Primary types (non-exhaustive): - VendorId - ServiceIds - CapabilityId - CapabilityRequest - ServiceDescriptor - ConnectionTestResult / ConnectionTestStatus - CloudProviderDiagnosticCodes / CloudProviderDiagnosticCatalog

Dependencies / Integrations

  • Intended to be referenced by:
  • Smrt.CloudProviders
  • Feature libraries that request capabilities (for example, chat and extraction components)
  • UI layers that need vendor/service IDs for display or targeting

Configuration, Operational Data, and Paths

  • This contracts package does not read/write configuration or state.

Observability and Diagnostics

  • This contracts package does not perform logging.

Testing & Validation

  • Not documented yet.

Support Bundle

  • Not applicable (no runtime state).
  • vNext plan checklist: README.Files/SmrtHub-vNext-Architecture/Plans/Smrt.CloudProviders.plan.md
  • Cloud Providers core: SmrtApps/src/Smrt.CloudProviders/README.md