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

Rename control components. #704

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Rename control components. #704

merged 1 commit into from
Jan 8, 2024

Conversation

ghemawat
Copy link
Collaborator

@ghemawat ghemawat commented Jan 8, 2024

  1. Rename the control.Controller component to control.WeaverControl (to distinguish it from the DeployerControl component). Consistently rename corresponding types in other packages.
  2. Introduce a control.DeployerControl component that will hold methods implemented by deployers. Remove the logger component and move LogBatch into control.DeployerControl.
  3. Do not make the multi deployer provide a full component implementation (by using "weaver generate"). Instead, just export its override under the non-overridden component name.

1. Rename the control.Controller component to control.WeaverControl
   (to distinguish it from the DeployerControl component). Consistently
   rename corresponding types in other packages.
2. Introduce a control.DeployerControl component that will hold
   methods implemented by deployers. Remove the logger component
   and move LogBatch into control.DeployerControl.
3. Do not make the multi deployer provide a full component implementation
   (by using "weaver generate"). Instead, just export its override
   under the non-overridden component name.
@ghemawat ghemawat requested a review from mwhittaker January 8, 2024 18:00
Copy link
Member

@mwhittaker mwhittaker left a comment

Choose a reason for hiding this comment

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

Nice!

@ghemawat ghemawat merged commit 7c8a152 into ServiceWeaver:main Jan 8, 2024
7 checks passed
@ghemawat ghemawat deleted the rename branch January 8, 2024 18:19
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.

2 participants