Skip to content

feat: Registry v2 artifact searcher#874

Open
BackendBits wants to merge 1 commit intomainfrom
feature/registry-v2-artifact-searcher
Open

feat: Registry v2 artifact searcher#874
BackendBits wants to merge 1 commit intomainfrom
feature/registry-v2-artifact-searcher

Conversation

@BackendBits
Copy link
Collaborator

  • feat: Add RegDef V2 validation with version detection

Detect version field in RegDef files and validate against V2 schema when version is 2.0. Use logger for validation messages and move schema paths to constants.

  • feat: Add V2 cloud registry support for artifact searcher
  • Add AuthConfig model for V2 authentication configuration
  • Add version and auth_config fields to Registry model
  • Add V2 routing in check_artifact_async with fallback to V1
  • Add CloudAuthHelper for AWS/GCP cloud registry authentication
  • Add environment credential loading for V2 cloud registries
  • Add V2 cloud registry dependencies (boto3, google-auth)
  • Add comprehensive tests for V2 models and routing

Preserves all V1 functionality including:

  • Nexus detection and URL conversion
  • Snapshot version resolution
  • URL-based artifact search
  • fix: V2 artifact searcher cleanup and improvements
  • Simplified retry logic (2 retries, 5s fixed delay)

  • Reduced timeouts to reasonable values (60s search, 120s download)

  • Removed debug/diagnostic code

  • Removed unnecessary test files

  • Clean up code style

  • fix: minor issues on v2

  • fix: changes for v2 working with Auth_config as null or empty for Artifacotry/nexus

Pull Request

Summary

Provide a concise description of what this pull request does and why it is needed.

Issue

Link to the issue(s) this PR addresses (e.g., Fixes #123 or Closes #456). If no issue exists, explain why this change is necessary.

Breaking Change?

  • Yes
  • No

If yes, describe the breaking change and its impact (e.g., API changes, behavior changes, or required updates for users).

Scope / Project

Specify the component, module, or project area affected by this change (e.g., docs, actions, workflows).

Implementation Notes

Provide details on how the change was implemented, including any technical considerations, trade-offs, or notable design decisions. Leave blank if not applicable.

Tests / Evidence

Describe how the changes were verified, including:

  • Tests added or updated (e.g., unit, integration, end-to-end)
  • Manual testing steps or results
  • Screenshots, logs, or other evidence (if applicable)

Additional Notes

Include any extra information, such as:

  • Dependencies introduced
  • Future work or follow-up tasks
  • Reviewer instructions or context
  • References to related PRs or discussions

Leave blank if not applicable.

* feat: Add RegDef V2 validation with version detection

Detect version field in RegDef files and validate against V2 schema when version is 2.0.
Use logger for validation messages and move schema paths to constants.

* feat: Add V2 cloud registry support for artifact searcher

- Add AuthConfig model for V2 authentication configuration
- Add version and auth_config fields to Registry model
- Add V2 routing in check_artifact_async with fallback to V1
- Add CloudAuthHelper for AWS/GCP cloud registry authentication
- Add environment credential loading for V2 cloud registries
- Add V2 cloud registry dependencies (boto3, google-auth)
- Add comprehensive tests for V2 models and routing

Preserves all V1 functionality including:
- Nexus detection and URL conversion
- Snapshot version resolution
- URL-based artifact search

* fix: V2 artifact searcher cleanup and improvements

- Simplified retry logic (2 retries, 5s fixed delay)

- Reduced timeouts to reasonable values (60s search, 120s download)

- Removed debug/diagnostic code

- Removed unnecessary test files

- Clean up code style

* fix: minor issues on v2

* fix: changes for v2 working with Auth_config as null or empty for Artifacotry/nexus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants