8000 refactor: vhost and mappings infra impl & more by ntorga · Pull Request #236 · goinfinite/os · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

refactor: vhost and mappings infra impl & more #236

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

Merged
merged 121 commits into from
Apr 1, 2025
Merged

refactor: vhost and mappings infra impl & more #236

merged 121 commits into from
Apr 1, 2025

Conversation

ntorga
Copy link
Contributor
@ntorga ntorga commented Apr 1, 2025

No description provided.

ntorga added 30 commits March 26, 2025 12:14
@ntorga ntorga requested a review from Copilot April 1, 2025 20:30
Copy link
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the virtual host, mapping, and SSL infrastructure by updating repository interfaces, entities, and DTOs to support new domain requirements. Key changes include:

  • Consolidation of query methods in the mapping repository and removal of redundant commands.
  • Updates to the VirtualHost, SslPair, and Mapping entities to incorporate new fields such as primary/wildcard flags, creation timestamps, and marketplace information.
  • Introduction of new and updated DTOs for virtual host operations, mappings retrieval, and service creation, along with enhancements to pagination handling.

Reviewed Changes

Copilot reviewed 121 out of 123 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/domain/repository/mappingQueryRepo.go Updated interface methods for mapping queries.
src/domain/repository/mappingCmdRepo.go Removed obsolete methods.
src/domain/entity/virtualHost.go Added new fields for primary, wildcard, alias hostnames and created time.
src/domain/entity/sslPair.go and sslPair_test.go Refactored SslPair signature to use a single main hostname instead of a slice.
src/domain/entity/mapping.go Added marketplace fields and timestamps.
src/domain/dto/* New and updated DTOs supporting virtual host and mapping operations.
CHANGELOG.md Updated to reflect the new features and refactoring changes.
Files not reviewed (2)
  • .vscode/settings.json: Language not supported
  • container/nginx/root/nginx.conf: Language not supported
Comments suppressed due to low confidence (1)

src/domain/entity/virtualHost.go:12

  • [nitpick] Consider renaming 'AliasesHostnames' to 'aliasHostnames' to improve clarity and consistency with typical naming conventions.
AliasesHostnames []valueObject.Fqdn          `json:"aliasesHostnames"`

@ntorga ntorga merged commit 4c52d92 into main Apr 1, 2025
@ntorga ntorga deleted the v0-2-1 branch April 1, 2025 20:50
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
0