Skip to content

Commit

Permalink
Updated protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
seizadi committed Jan 7, 2020
1 parent 26ab5d4 commit 7d0067b
Show file tree
Hide file tree
Showing 7 changed files with 434 additions and 336 deletions.
25 changes: 19 additions & 6 deletions pkg/pb/cmdb.pb.atlas.query.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions pkg/pb/cmdb.pb.atlas.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

651 changes: 330 additions & 321 deletions pkg/pb/cmdb.pb.go

Large diffs are not rendered by default.

50 changes: 43 additions & 7 deletions pkg/pb/cmdb.pb.gorm.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions pkg/pb/cmdb.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions pkg/pb/cmdb.proto
Original file line number Diff line number Diff line change
Expand Up @@ -364,11 +364,14 @@ message Stage {
// Code defines the various stages e.g. dev, qa, preprod, prod
StageType type = 4;

// Evironments in this Stage
repeated Environment environments = 5;

// Value for this Stage
atlas.rpc.Identifier value_id = 5 [(gorm.field) = {reference_of: "Value", tag: {type: "integer"}}];
atlas.rpc.Identifier value_id = 6 [(gorm.field) = {reference_of: "Value", tag: {type: "integer"}}];

// Region that has this Stage deployed
atlas.rpc.Identifier region_id = 6 [(gorm.field) = {reference_of: "Region", tag: {type: "integer"}}];
atlas.rpc.Identifier region_id = 7 [(gorm.field) = {reference_of: "Region", tag: {type: "integer"}}];

}

Expand Down
7 changes: 7 additions & 0 deletions pkg/pb/cmdb.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3893,6 +3893,13 @@
"type": "string",
"title": "The description of the Stage"
},
"environments": {
"type": "array",
"title": "Evironments in this Stage",
"items": {
"$ref": "#/definitions/cmdbEnvironment"
}
},
"id": {
"description": "The resource identifier.",
"type": "string",
Expand Down

0 comments on commit 7d0067b

Please sign in to comment.