Skip to content

Commit

Permalink
Further improvements (gardener#956)
Browse files Browse the repository at this point in the history
* further performance improvements (run-int-tests)
  • Loading branch information
achimweigel authored Jan 30, 2024
1 parent 763d95d commit 195560b
Show file tree
Hide file tree
Showing 35 changed files with 58 additions and 507 deletions.
2 changes: 2 additions & 0 deletions apis/.schemes/core-v1alpha1-Blueprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,11 @@
"type": "object",
"properties": {
"hasNoSiblingExports": {
"description": "set this on true if the installation does not export data to its siblings or has no siblings at all",
"type": "boolean"
},
"hasNoSiblingImports": {
"description": "set this on true if the installation does not import data from its siblings or has no siblings at all",
"type": "boolean"
}
}
Expand Down
12 changes: 0 additions & 12 deletions apis/core/types_execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ type ExecutionStatus struct {
// +optional
DeployItemCache *DeployItemCache `json:"deployItemCache,omitempty"`

// ExecutionGenerations stores which generation the execution had when it last applied a specific deployitem.
// So in this case, the observedGeneration refers to the executions generation.
ExecutionGenerations []ExecutionGeneration `json:"execGenerations,omitempty"`

// JobID is the ID of the current working request.
JobID string `json:"jobID,omitempty"`

Expand All @@ -108,14 +104,6 @@ type ExecutionStatus struct {
TransitionTimes *TransitionTimes `json:"transitionTimes,omitempty"`
}

// ExecutionGeneration links a deployitem to the generation of the execution when it was applied.
type ExecutionGeneration struct {
// Name is the name of the deployitem this generation refers to.
Name string `json:"name"`
// ObservedGeneration stores the generation which the execution had when it last applied the referenced deployitem.
ObservedGeneration int64 `json:"observedGeneration"`
}

// DeployItemTemplateList is a list of deploy item templates
type DeployItemTemplateList []DeployItemTemplate

Expand Down
2 changes: 2 additions & 0 deletions apis/core/types_shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,8 @@ type DiNamePair struct {

// Optimization contains settings to improve execution preformance
type Optimization struct {
// set this on true if the installation does not import data from its siblings or has no siblings at all
HasNoSiblingImports bool `json:"hasNoSiblingImports,omitempty"`
// set this on true if the installation does not export data to its siblings or has no siblings at all
HasNoSiblingExports bool `json:"hasNoSiblingExports,omitempty"`
}
13 changes: 0 additions & 13 deletions apis/core/v1alpha1/types_execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,6 @@ type ExecutionStatus struct {
// +optional
DeployItemCache *DeployItemCache `json:"deployItemCache,omitempty"`

// ExecutionGenerations stores which generation the execution had when it last applied a specific deployitem.
// So in this case, the observedGeneration refers to the executions generation.
// +optional
ExecutionGenerations []ExecutionGeneration `json:"execGenerations,omitempty"`

// JobID is the ID of the current working request.
JobID string `json:"jobID,omitempty"`

Expand All @@ -213,14 +208,6 @@ type ExecutionStatus struct {
TransitionTimes *TransitionTimes `json:"transitionTimes,omitempty"`
}

// ExecutionGeneration links a deployitem to the generation of the execution when it was applied.
type ExecutionGeneration struct {
// Name is the name of the deployitem this generation refers to.
Name string `json:"name"`
// ObservedGeneration stores the generation which the execution had when it last applied the referenced deployitem.
ObservedGeneration int64 `json:"observedGeneration"`
}

// DeployItemTemplateList is a list of deploy item templates
type DeployItemTemplateList []DeployItemTemplate

Expand Down
2 changes: 2 additions & 0 deletions apis/core/v1alpha1/types_shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@ type DiNamePair struct {

// Optimization contains settings to improve execution preformance
type Optimization struct {
// set this on true if the installation does not import data from its siblings or has no siblings at all
HasNoSiblingImports bool `json:"hasNoSiblingImports,omitempty"`
// set this on true if the installation does not export data to its siblings or has no siblings at all
HasNoSiblingExports bool `json:"hasNoSiblingExports,omitempty"`
}
34 changes: 0 additions & 34 deletions apis/core/v1alpha1/zz_generated.conversion.go

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

21 changes: 0 additions & 21 deletions apis/core/v1alpha1/zz_generated.deepcopy.go

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

21 changes: 0 additions & 21 deletions apis/core/zz_generated.deepcopy.go

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

57 changes: 7 additions & 50 deletions apis/openapi/openapi_generated.go

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

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

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

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

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

Loading

0 comments on commit 195560b

Please sign in to comment.