Book a Demo

Author Topic: Protobuf .proto generation from a class diagram  (Read 6646 times)

shiroryu

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Protobuf .proto generation from a class diagram
« on: August 27, 2018, 06:47:46 pm »
Hello,

Do you know of any UML profile or plugin able to generate a .proto3 (Google Protocol Buffers) from a datamodel class diagram ?

Thanks in advance
Regards

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Protobuf .proto generation from a class diagram
« Reply #1 on: August 27, 2018, 06:48:55 pm »
Never heard of it.

I'm pretty sure it doesn't exist.

Geert

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Protobuf .proto generation from a class diagram
« Reply #2 on: August 28, 2018, 09:23:34 am »
Looks equivalent to xsd, json schemas etc. You could generate it using code generation templates. I'd also consider the API for the schema composer.

Like Geert, I'm not aware that anything already exists.

shiroryu

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Protobuf .proto generation from a class diagram
« Reply #3 on: August 28, 2018, 09:38:42 pm »
Yes, that is what I could do in the end…

While searching on the forum, I found that someone here did develop an addin for protobuf, but I don't know how to contact this person (he does not seem to respond to PM)

https://www.sparxsystems.com/forums/smf/index.php/topic,2389.msg112405.html#msg112405

Regards