Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
seizadi committed Jan 16, 2020
1 parent e8eae55 commit 148c77c
Show file tree
Hide file tree
Showing 7 changed files with 391 additions and 303 deletions.
15 changes: 15 additions & 0 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.

9 changes: 9 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.

606 changes: 308 additions & 298 deletions pkg/pb/cmdb.pb.go

Large diffs are not rendered by default.

41 changes: 39 additions & 2 deletions pkg/pb/cmdb.pb.gorm.go

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

10 changes: 10 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.

9 changes: 6 additions & 3 deletions pkg/pb/cmdb.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1114,14 +1114,17 @@ message ApplicationInstance {
// Custom configuration
string config_yaml = 5;

// ChartVersion for the ApplicationInstance
ChartVersion chart_version = 6 [(gorm.field).belongs_to = {}];

// Reference to the ChartVersion
atlas.rpc.Identifier chart_version_id = 6 [(gorm.field) = {reference_of: "ChartVersion", tag: {type: "integer"}}];
atlas.rpc.Identifier chart_version_id = 7 [(gorm.field) = {reference_of: "ChartVersion", tag: {type: "integer"}}];

// Reference to the Environment
atlas.rpc.Identifier environment_id = 7 [(gorm.field) = {reference_of: "Environment", tag: {type: "integer"}}];
atlas.rpc.Identifier environment_id = 8 [(gorm.field) = {reference_of: "Environment", tag: {type: "integer"}}];

// Reference to the Application
atlas.rpc.Identifier application_id = 8 [(gorm.field) = {reference_of: "Application", tag: {type: "integer"}}];
atlas.rpc.Identifier application_id = 9 [(gorm.field) = {reference_of: "Application", tag: {type: "integer"}}];
}

message CreateApplicationInstanceRequest {
Expand Down
4 changes: 4 additions & 0 deletions pkg/pb/cmdb.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2948,6 +2948,10 @@
"description": "The resource identifier.",
"type": "string"
},
"chart_version": {
"title": "ChartVersion for the ApplicationInstance",
"$ref": "#/definitions/cmdbChartVersion"
},
"chart_version_id": {
"description": "The resource identifier.",
"type": "string"
Expand Down

0 comments on commit 148c77c

Please sign in to comment.