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

ks-146 standard capability framework #514

Merged
merged 1 commit into from
Jun 3, 2024
Merged

Conversation

ettec
Copy link
Contributor

@ettec ettec commented May 15, 2024

No description provided.

}
c.resources = append(c.resources, errorLogRes)

pipelineRunnerID, pipelineRunnerRes, err := c.ServeNew("PipelineRunner", func(s *grpc.Server) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need a pipeline runner?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My understanding is that the standard capability is analogous to a generic plugin, and thus should have the same resources available to it, one of those being pipeline runner. IIRC I did raise this specific question regarding pipeline runner with Cedric to check (same as for keyvalue store). As I understand it the idea is that we give the capability/plugin writers as much functionality as possible to avoid them having to write custom implementations that would have to access core code directly.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we plan to use this for any existing capabilities? If not, is it worth considering keeping the API surface small if there is a way to extend the API in a non-breaking way later?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we plan to use this for any existing capabilities? If not, is it worth considering keeping the API surface small if there is a way to extend the API in a non-breaking way later?

Nvm, we actually need it for the Consensus capability.

}
c.resources = append(c.resources, telemetryRes)

keyValueStoreID, keyValueStoreRes, err := c.ServeNew("KeyValueStore", func(s *grpc.Server) {
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we need a KV store?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

(see answer wrt pipeline runner)

krehermann
krehermann previously approved these changes May 16, 2024
@ettec ettec merged commit 5f1f41a into main Jun 3, 2024
8 checks passed
@ettec ettec deleted the ks-146/standard-capability branch June 3, 2024 16:01
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.

None yet

5 participants