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

Make AddComponentBounds more consistent with other RPCs #270

Open
wants to merge 2 commits into
base: v0.x.x
Choose a base branch
from

Conversation

llucax
Copy link
Contributor

@llucax llucax commented Nov 7, 2024

The AddComponentBoundsRequest.validity_duration field was replaced by AddComponentBoundsRequest.request_lifetime to match the fields in SetComponentPowerActiveRequest and SetComponentPowerReactiveRequest. The default value was also changed from 5 to 60 seconds.

The AddComponentBoundsResponse.ts field was renamed to AddComponentBoundsResponse.valid_until for extra clarity and also to match the fields in SetComponentPowerActiveResponse and SetComponentPowerReactiveResponse.

Fixes #269.

The `AddComponentBoundsRequest.validity_duration` field was replaced by
`AddComponentBoundsRequest.request_lifetime` to match the fields in
`SetComponentPowerActiveRequest` and `SetComponentPowerReactiveRequest`.

The default value was also changed from 5 to 60 seconds.

Signed-off-by: Leandro Lucarella <[email protected]>
The `AddComponentBoundsResponse.ts` field was renamed to
`AddComponentBoundsResponse.valid_until` for extra clarity and also to
match the fields in `SetComponentPowerActiveResponse` and
`SetComponentPowerReactiveResponse`.

Signed-off-by: Leandro Lucarella <[email protected]>
@llucax llucax requested a review from a team as a code owner November 7, 2024 08:55
@llucax llucax requested review from tiyash-basu-frequenz and removed request for a team November 7, 2024 08:55
@github-actions github-actions bot added part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files labels Nov 7, 2024
@llucax
Copy link
Contributor Author

llucax commented Nov 7, 2024

I updated the defaults to match the ones in SetComponentPower*, but I'm not sure we really want to do that, it is a big difference.

@llucax llucax self-assigned this Nov 7, 2024
@llucax llucax added scope:breaking-change Breaking change, users will need to update their code type:enhancement New feature or enhancement visitble to users labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files scope:breaking-change Breaking change, users will need to update their code type:enhancement New feature or enhancement visitble to users
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use new field for AddComponentBounds request and response
1 participant