Skip to content

feat(proto): add SetAdapterEnabled RPC#62

Merged
Bugs5382 merged 1 commit into
mainfrom
feat/proto-set-adapter-enabled
Jul 20, 2026
Merged

feat(proto): add SetAdapterEnabled RPC#62
Bugs5382 merged 1 commit into
mainfrom
feat/proto-set-adapter-enabled

Conversation

@Bugs5382

Copy link
Copy Markdown
Contributor

What

Adds a SetAdapterEnabled RPC to FleetService. It toggles an enrollment protocol adapter's enabled state, matched by adapter name (the store primary key), and returns the updated EnrollmentAdapter.

  • SetAdapterEnabledRequest{ string name = 1; bool enabled = 2 }
  • SetAdapterEnabledResponse{ EnrollmentAdapter adapter = 1 }
  • Regenerated Go stubs (fleet.pb.go, fleet_grpc.pb.go, fleetv1connect) and TypeScript (fleet_pb.ts).

This persists intent only; the protocol engines that serve enrollment requests ship in a later program, so an enabled adapter does not yet answer requests.

Closes #61
Part of #24

Verification

  • Lint clean (task lint)
  • Tests pass (task test)
  • License headers verified (task license)
  • Stubs regenerated via task generate

How this was verified

Ran task fmt, task lint, task generate, task test, and task license locally; confirmed the generated fleetv1connect client/handler and TS message types gained SetAdapterEnabled.

@Bugs5382 Bugs5382 added this to the v1.0.0 milestone Jul 20, 2026
@Bugs5382 Bugs5382 added the enhancement New feature (feat). Minor version bump. label Jul 20, 2026
@Bugs5382 Bugs5382 self-assigned this Jul 20, 2026
@Bugs5382
Bugs5382 merged commit df0d76f into main Jul 20, 2026
12 checks passed
@Bugs5382
Bugs5382 deleted the feat/proto-set-adapter-enabled branch July 20, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature (feat). Minor version bump.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(proto): add SetAdapterEnabled RPC

1 participant