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

[Feature] Add support to auto generate client whenever SpaceCloud's RPC provider gets updated #1681

Open
YourTechBud opened this issue Jun 3, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request p/low
Milestone

Comments

@YourTechBud
Copy link
Collaborator

The problem faced currently?

I need to manually run the spacectl client gen whenever I want consume the latest published APIs. This required me to perform the following steps:

  • Dowload the openapi.json file from SC
  • Run the client gen command

How can we solve it?

  • Use the pubsub provider of SC to generate events whenever RPC provider updates.
  • Create a spacectl client sync --url <SC URL> command to:
    • Subscribes to RPC provider provisioned event
    • On event received generate the client based on the openapi present in the event payload

If you want this feature to be implemented, give it a thumbs up reaction, so that we can determine which features are important to you.
👍

@YourTechBud YourTechBud added the enhancement New feature or request label Jun 3, 2023
@YourTechBud YourTechBud added this to the v0.22.0 milestone Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p/low
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants