GithubHelp home page GithubHelp logo

Comments (17)

vbatts avatar vbatts commented on June 26, 2024 1

from grafeas.

R2wenD2 avatar R2wenD2 commented on June 26, 2024 1

grpc is in progress. Sorry for the delay - I think its probably worth waiting for. I'm hoping to have the issues worked out by end of week or early next week.

from grafeas.

R2wenD2 avatar R2wenD2 commented on June 26, 2024

@chen-keinan and @vbatts I mentioned this to both of you privately - Can you review give feedback here?

Thanks!

from grafeas.

bitvector2 avatar bitvector2 commented on June 26, 2024

+1 for GRPC!

from grafeas.

chen-keinan avatar chen-keinan commented on June 26, 2024

I'm in favor for GRPC, it's much flexible, faster and simplifies the programming paradigm.

from grafeas.

dnascimento avatar dnascimento commented on June 26, 2024

+1 for GRPC

from grafeas.

R2wenD2 avatar R2wenD2 commented on June 26, 2024

#61

Introduced proto - need to update ref impl to use proto and generate files as well.

from grafeas.

vbatts avatar vbatts commented on June 26, 2024

@R2wenD2 how is your protoc installed your build host?
On master (2ff2bea) I'm getting:

[vbatts@getdown] {master *} ~/src/github.com/grafeas/grafeas$ make build                                                                                                                      
go get -u -v github.com/golang/protobuf/protoc-gen-go
github.com/golang/protobuf (download)
protoc \
        -I. \
        -I ./vendor/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
        -I ./vendor/github.com/googleapis/googleapis \
        --go_out=. \
        v1alpha1/proto/grafeas.proto && \
        touch .protoc_middleman_go
google/protobuf/empty.proto: File not found.
google/protobuf/descriptor.proto: File not found.
google/api/annotations.proto: Import "google/protobuf/descriptor.proto" was not found or had errors.
google/api/annotations.proto:28:8: "google.protobuf.MethodOptions" is not defined.
google/protobuf/timestamp.proto: File not found.
google/protobuf/any.proto: File not found.
google/rpc/status.proto: Import "google/protobuf/any.proto" was not found or had errors.
google/rpc/status.proto:91:12: "google.protobuf.Any" is not defined.
google/longrunning/operations.proto: Import "google/api/annotations.proto" was not found or had errors.
google/longrunning/operations.proto: Import "google/protobuf/any.proto" was not found or had errors.
google/longrunning/operations.proto: Import "google/protobuf/empty.proto" was not found or had errors.
google/longrunning/operations.proto: Import "google/rpc/status.proto" was not found or had errors.
google/longrunning/operations.proto:92:3: "google.protobuf.Any" is not defined.
google/longrunning/operations.proto:104:5: "google.rpc.Status" is not defined.
google/longrunning/operations.proto:114:5: "google.protobuf.Any" is not defined.
google/longrunning/operations.proto:61:56: "google.protobuf.Empty" is not defined.
google/longrunning/operations.proto:75:56: "google.protobuf.Empty" is not defined.
google/devtools/source/v1/source_context.proto: Import "google/api/annotations.proto" was not found or had errors.
v1alpha1/proto/grafeas.proto: Import "google/protobuf/empty.proto" was not found or had errors.
v1alpha1/proto/grafeas.proto: Import "google/api/annotations.proto" was not found or had errors.
v1alpha1/proto/grafeas.proto: Import "google/protobuf/timestamp.proto" was not found or had errors.
v1alpha1/proto/grafeas.proto: Import "google/longrunning/operations.proto" was not found or had errors.
v1alpha1/proto/grafeas.proto: Import "google/devtools/source/v1/source_context.proto" was not found or had errors.
v1alpha1/proto/grafeas.proto:176:14: "google.longrunning.Operation" is not defined.
v1alpha1/proto/grafeas.proto:185:5: "google.longrunning.Operation" is not defined.
v1alpha1/proto/grafeas.proto:195:5: "google.longrunning.Operation" is not defined.
v1alpha1/proto/grafeas.proto:201:5: "google.protobuf.Timestamp" is not defined.
v1alpha1/proto/grafeas.proto:203:5: "google.protobuf.Timestamp" is not defined.
v1alpha1/proto/grafeas.proto:473:9: "google.longrunning.Operation" is not defined.
v1alpha1/proto/grafeas.proto:564:5: "google.protobuf.Timestamp" is not defined.
v1alpha1/proto/grafeas.proto:568:5: "google.protobuf.Timestamp" is not defined.
v1alpha1/proto/grafeas.proto:572:5: "google.protobuf.Timestamp" is not defined.
v1alpha1/proto/grafeas.proto:622:5: "google.protobuf.Timestamp" is not defined.
v1alpha1/proto/grafeas.proto:625:5: "google.protobuf.Timestamp" is not defined.
v1alpha1/proto/grafeas.proto:801:5: "google.devtools.source.v1.ExtendedSourceContext" is not defined.
v1alpha1/proto/grafeas.proto:807:14: "google.devtools.source.v1.ExtendedSourceContext" is not defined.
v1alpha1/proto/grafeas.proto:1014:14: "google.protobuf.Empty" is not defined.
v1alpha1/proto/grafeas.proto:1058:48: "google.protobuf.Empty" is not defined.
v1alpha1/proto/grafeas.proto:1090:14: "google.longrunning.Operation" is not defined.
v1alpha1/proto/grafeas.proto:1101:14: "google.longrunning.Operation" is not defined.
make: *** [Makefile:25: .protoc_middleman_go] Error 1
[vbatts@getdown] {master *} ~/src/github.com/grafeas/grafeas$ protoc --version
libprotoc 3.2.0

from grafeas.

vbatts avatar vbatts commented on June 26, 2024

oh. bugger. the fedora protobuf package doesn't have them, but they're in the -devel subpackage. Sorry for noise. :-|

from grafeas.

vbatts avatar vbatts commented on June 26, 2024

I opened #64 to clean things up a bit. Though I'm looking at the go source is the compiler is not passing through comments.
Looks like kubernetes is using https://github.com/gogo/protobuf which does seem to pass through the comments, allowing for more consumable golang source. Thoughts?

from grafeas.

R2wenD2 avatar R2wenD2 commented on June 26, 2024

I'm fine with using gogo/probuf in place of the other generated files.

from grafeas.

vbatts avatar vbatts commented on June 26, 2024

from grafeas.

vbatts avatar vbatts commented on June 26, 2024

https://github.com/grpc-ecosystem/grpc-gateway seems to be a popular enough grpc REST bridge

from grafeas.

furuholm avatar furuholm commented on June 26, 2024

What's the status of this? I was planning to implement project listing (#74) but I'm not sure if I should complete the implementation using the swagger generator or if I should wait until the gprc infrastructure is in place. Suggestions and thoughts?

from grafeas.

R2wenD2 avatar R2wenD2 commented on June 26, 2024

@vbatts I'm going to get grpc-gateway setup before closing this issue.

from grafeas.

vbatts avatar vbatts commented on June 26, 2024

@R2wenD2 right on

from grafeas.

vbatts avatar vbatts commented on June 26, 2024

looks like we're just about here, for this issue. Now even with a swagger representation of the protobuf JSON bridge. Should we delete ./v1alpha1/grafeas.json and close this issue?

from grafeas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.