You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: create Elastic SAN volume snapshot adapter (#4209)
<img width="2934" height="1992" alt="image"
src="https://github.com/user-attachments/assets/b29c553f-4169-478a-8f1a-04f4b5caf8b1"
/>
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Medium Risk**
> Introduces a new Azure resource adapter and changes GET query parsing
for Azure to accept full resource IDs, which could affect query behavior
for Azure adapters if path-key mappings are missing or incorrect.
>
> **Overview**
> Adds a new Azure adapter for Elastic SAN volume snapshots, including
an Azure SDK client wrapper, lookups/linking to parent Elastic
SAN/volume group (and source volume when available), Terraform mappings,
and unit tests/mocks.
>
> Extends the core `standardAdapterCore.Get` path parsing to accept full
Azure resource IDs (e.g. from Terraform mappings) by extracting query
parts based on per-type path key definitions, returning explicit query
errors when unsupported.
>
> Also updates dependencies (`armelasticsan`), registers the new adapter
in `azure/manual/adapters.go`, adds ElasticSAN item types/resources +
resourceID path-key mapping, tightens k8s `Endpoints` staticcheck
suppressions, and makes multiple tests safer by returning after
`t.Fatal`/`t.Fatalf` to avoid nil dereferences.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
c7e10ad43d6ec2031feae80015364980a25527af. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
GitOrigin-RevId: 97899d2e8b23eae053e5a6612affd3df5d872e73
funcEndpointsExtractor(resource*v1.Endpoints, scopestring) ([]*sdp.LinkedItemQuery, error) {//nolint:staticcheck,nolintlint // SA1019: v1.Endpoints deprecated; see note at top of file
0 commit comments