Guest User

Untitled

a guest
Feb 17th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. syntax = "proto3";
  2.  
  3. package model;
  4.  
  5. option java_package = "de.digitalfrontiers.protobuf.deployment.model";
  6. option java_outer_classname = "DeploymentEventProto";
  7.  
  8. message DeploymentEvents {
  9. repeated DeploymentEvent deploymentEvent = 1;
  10. }
  11.  
  12. message DeploymentEvent {
  13. int32 id = 1;
  14. Target target = 2;
  15. string technology = 3;
  16. string product = 4;
  17. string version = 5;
  18. Status status = 6;
  19.  
  20. enum Target {
  21. DEVELOPMENT = 0;
  22. TEST = 1;
  23. ACCEPTANCE = 2;
  24. PRODUCTION = 3;
  25. }
  26.  
  27. enum Status {
  28. SUCCESSFUL = 0;
  29. FAILED = 1;
  30. ABORTED = 2;
  31. }
  32. }
Add Comment
Please, Sign In to add comment