Skip to content

Rename RPCs that act on Components#103

Merged
tiyash-basu-frequenz merged 1 commit intofrequenz-floss:v0.x.xfrom
tiyash-basu-frequenz:rename_methods
Aug 11, 2023
Merged

Rename RPCs that act on Components#103
tiyash-basu-frequenz merged 1 commit intofrequenz-floss:v0.x.xfrom
tiyash-basu-frequenz:rename_methods

Conversation

@tiyash-basu-frequenz
Copy link
Copy Markdown
Contributor

@tiyash-basu-frequenz tiyash-basu-frequenz commented Aug 10, 2023

Previously, these RPCs did not specify that these act on Components, which was a critical feature of these RPCs. This change adds Component to these RPCs, making them easier to read.

Here are the details of the RPCs that got renamed:
AddExclusionBounds -> AddComponentExclusionBounds
AddInclusionBounds -> AddComponentInclusionBounds
SetPowerActive -> SetComponentPowerActive
SetPowerReactive -> SetComponentPowerReactive
Start -> StartComponent
HotStandby -> HotStandbyComponent
ColdStandby -> ColdStandbyComponent
Stop -> StopComponent
ErrorAck -> AckComponentError

@tiyash-basu-frequenz tiyash-basu-frequenz added this to the v0.16.0 milestone Aug 10, 2023
@tiyash-basu-frequenz tiyash-basu-frequenz self-assigned this Aug 10, 2023
@tiyash-basu-frequenz tiyash-basu-frequenz requested a review from a team as a code owner August 10, 2023 15:33
@tiyash-basu-frequenz tiyash-basu-frequenz linked an issue Aug 10, 2023 that may be closed by this pull request
@github-actions github-actions Bot added part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files labels Aug 10, 2023
@matthias-wende-frequenz
Copy link
Copy Markdown

What about ErrorAck?

@tiyash-basu-frequenz
Copy link
Copy Markdown
Contributor Author

What about ErrorAck?

Was missing in the docs. Thanks for pointing out. Added.

Comment thread RELEASE_NOTES.md Outdated
Previously, these RPCs did not specify that these act on Components, which
was a critical feature of these RPCs. This change adds `Component` to
these RPCs, making them easier to read.

Here are the details of the RPCs that got renamed:
  `AddExclusionBounds`  -> `AddComponentExclusionBounds`
  `AddInclusionBounds`  -> `AddComponentInclusionBounds`
  `SetPowerActive`      -> `SetComponentPowerActive`
  `SetPowerReactive`    -> `SetComponentPowerReactive`
  `Start`               -> `StartComponent`
  `HotStandby`          -> `HotStandbyComponent`
  `ColdStandby`         -> `ColdStandbyComponent`
  `Stop`                -> `StopComponent`
  `ErrorAck`            -> `AckComponentError`

Signed-off-by: Tiyash Basu <tiyash.basu@frequenz.com>
Comment thread proto/frequenz/api/microgrid/microgrid.proto
@tiyash-basu-frequenz
Copy link
Copy Markdown
Contributor Author

I will wait for 10 more minutes for people to look into the changes here. If there are no further comments, will merge.

@tiyash-basu-frequenz tiyash-basu-frequenz added this pull request to the merge queue Aug 11, 2023
Merged via the queue into frequenz-floss:v0.x.x with commit 782737e Aug 11, 2023
@tiyash-basu-frequenz tiyash-basu-frequenz deleted the rename_methods branch August 11, 2023 09:25
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Component to methods that act on components

4 participants