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

feat: enable Rest api using grpc-gateway #834

Merged
merged 17 commits into from
Feb 17, 2024
Merged

Conversation

sbadla1
Copy link
Contributor

@sbadla1 sbadla1 commented Jan 4, 2024

Closes #

πŸ“‘ Description

enable Rest api using grpc-gateway. This is related to PR k8sgpt-ai/schemas#20

βœ… Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

β„Ή Additional Information

Signed-off-by: Sahil Badla <sahil_badla@intuit.com>
Signed-off-by: Sahil Badla <sahil_badla@intuit.com>
@sbadla1 sbadla1 requested review from a team as code owners January 4, 2024 19:16
cmd/serve/serve.go Outdated Show resolved Hide resolved
Copy link
Contributor

@thschue thschue left a comment

Choose a reason for hiding this comment

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

I like the possibility to have a rest/http-api, made some suggestions for naming and I think you need to rebase

Thank you for this contribution!

cmd/serve/serve.go Outdated Show resolved Hide resolved
cmd/serve/serve.go Outdated Show resolved Hide resolved
cmd/serve/serve.go Outdated Show resolved Hide resolved
cmd/serve/serve.go Outdated Show resolved Hide resolved
sahilbadla and others added 5 commits January 16, 2024 10:07
Signed-off-by: Sahil Badla <sahil_badla@intuit.com>
Signed-off-by: Sahil Badla <sahil_badla@intuit.com>
Signed-off-by: Sahil Badla <sahil_badla@intuit.com>
Signed-off-by: Sahil Badla <sahil_badla@intuit.com>
Signed-off-by: Sahil Badla <146279034+sbadla1@users.noreply.github.com>
@sbadla1 sbadla1 changed the title feat: Enable Rest api using grpc-gateway feat: enable Rest api using grpc-gateway Jan 16, 2024
@sbadla1
Copy link
Contributor Author

sbadla1 commented Jan 16, 2024

@AlexsJones @thschue Thanks for the review. Please note that my changes need to reference methods(example) generated by grpc-gateway. Grpc-gateway changes and code generation part is in this PR

@AlexsJones
Copy link
Member

Sorry for this @sbadla1 going to get this sorted out today, updating our schemas

Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
@AlexsJones
Copy link
Member

I have updated and resolved issues with the code but RegisterServerServiceHandlerFromEndpoint is a missing method

AlexsJones and others added 8 commits February 8, 2024 17:45
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
Signed-off-by: Sahil Badla <sahil_badla@intuit.com>
Signed-off-by: Sahil Badla <sahil_badla@intuit.com>
Signed-off-by: Sahil Badla <sahil_badla@intuit.com>
Signed-off-by: Sahil Badla <sahil_badla@intuit.com>
Signed-off-by: Sahil Badla <sahil_badla@intuit.com>
Signed-off-by: Sahil Badla <sahil_badla@intuit.com>
@AlexsJones AlexsJones merged commit f2138c7 into k8sgpt-ai:main Feb 17, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants