Skip to content

Commit

Permalink
Merge branch 'main' into jira-plugins-doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ashokdevtron committed Sep 3, 2024
2 parents d9eded9 + 1540271 commit bc2d8b6
Show file tree
Hide file tree
Showing 724 changed files with 17,795 additions and 109,895 deletions.
7 changes: 4 additions & 3 deletions .gitbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ redirects:
setup/upgrade/devtron-upgrade-0.2.x-0.3.x: getting-started/upgrade/devtron-upgrade-0.2.x-0.3.x
setup/global-configurations: user-guide/global-configurations/README.md
setup/global-configurations/gitops: user-guide/global-configurations/gitops.md
setup/global-configurations/custom-charts: user-guide/global-configurations/custom-charts.md
setup/global-configurations/custom-charts: user-guide/global-configurations/deployment-charts.md
setup/global-configurations/user-access: user-guide/global-configurations/authorization/user-access.md
setup/global-configurations/external-links: user-guide/global-configurations/external-links.md
setup/global-configurations/projects: user-guide/global-configurations/projects.md
Expand Down Expand Up @@ -109,7 +109,7 @@ redirects:
getting-started/global-configurations/filter-condition: user-guide/global-configurations/filter-condition.md
getting-started/global-configurations/build-infra: user-guide/global-configurations/build-infra.md
getting-started/global-configurations/gitops: user-guide/global-configurations/gitops.md
getting-started/global-configurations/custom-charts: user-guide/global-configurations/custom-charts.md
getting-started/global-configurations/custom-charts: user-guide/global-configurations/deployment-charts.md
getting-started/global-configurations/external-links: user-guide/global-configurations/external-links.md
getting-started/global-configurations/projects: user-guide/global-configurations/projects.md
getting-started/global-configurations/manage-notification: user-guide/global-configurations/manage-notification.md
Expand All @@ -127,4 +127,5 @@ redirects:
user-guide/clusters: user-guide/resource-browser.md
usage/clusters: user-guide/resource-browser.md
global-configurations/authorization/sso-login/okta: user-guide/global-configurations/authorization/sso/okta.md
usage/applications/creating-application/ci-pipeline/ci-build-pre-post-plugins: user-guide/creating-application/workflow/ci-build-pre-post-plugins.md
usage/applications/creating-application/ci-pipeline/ci-build-pre-post-plugins: user-guide/creating-application/workflow/ci-build-pre-post-plugins.md
global-configurations/custom-charts: user-guide/global-configurations/deployment-charts.md
8 changes: 8 additions & 0 deletions Wire.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ import (
"github.com/devtron-labs/devtron/pkg/chart/gitOpsConfig"
chartRepoRepository "github.com/devtron-labs/devtron/pkg/chartRepo/repository"
"github.com/devtron-labs/devtron/pkg/commonService"
"github.com/devtron-labs/devtron/pkg/configDiff"
delete2 "github.com/devtron-labs/devtron/pkg/delete"
deployment2 "github.com/devtron-labs/devtron/pkg/deployment"
"github.com/devtron-labs/devtron/pkg/deployment/common"
Expand Down Expand Up @@ -711,6 +712,13 @@ func InitializeApp() (*App, error) {
scopedVariable.NewScopedVariableRestHandlerImpl,
wire.Bind(new(scopedVariable.ScopedVariableRestHandler), new(*scopedVariable.ScopedVariableRestHandlerImpl)),

router.NewDeploymentConfigurationRouter,
wire.Bind(new(router.DeploymentConfigurationRouter), new(*router.DeploymentConfigurationRouterImpl)),
restHandler.NewDeploymentConfigurationRestHandlerImpl,
wire.Bind(new(restHandler.DeploymentConfigurationRestHandler), new(*restHandler.DeploymentConfigurationRestHandlerImpl)),
configDiff.NewDeploymentConfigurationServiceImpl,
wire.Bind(new(configDiff.DeploymentConfigurationService), new(*configDiff.DeploymentConfigurationServiceImpl)),

router.NewTelemetryRouterImpl,
wire.Bind(new(router.TelemetryRouter), new(*router.TelemetryRouterImpl)),
restHandler.NewTelemetryRestHandlerImpl,
Expand Down
3 changes: 3 additions & 0 deletions api/bean/AppView.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ type AppEnvironmentContainer struct {
type DeploymentDetailContainer struct {
InstalledAppId int `json:"installedAppId,omitempty"`
AppId int `json:"appId,omitempty"`
PcoId int `json:"pcoId"`
CdPipelineId int `json:"cdPipelineId,omitempty"`
TriggerType string `json:"triggerType,omitempty"`
ParentEnvironmentName string `json:"parentEnvironmentName"`
Expand Down Expand Up @@ -183,6 +184,8 @@ type DeploymentDetailContainer struct {
HelmPackageName string `json:"helmPackageName"`
HelmReleaseInstallStatus string `json:"-"`
DeploymentConfig *bean.DeploymentConfig `json:"-"`
IsPipelineTriggered bool `json:"isPipelineTriggered"`
ReleaseMode string `json:"releaseMode"`
}

type AppDetailContainer struct {
Expand Down
1 change: 1 addition & 0 deletions api/cluster/wire_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
var ClusterWireSet = wire.NewSet(
repository.NewClusterRepositoryImpl,
wire.Bind(new(repository.ClusterRepository), new(*repository.ClusterRepositoryImpl)),
cluster.NewClusterServiceImpl,
cluster.NewClusterServiceImplExtended,
wire.Bind(new(cluster.ClusterService), new(*cluster.ClusterServiceImplExtended)),

Expand Down
Loading

0 comments on commit bc2d8b6

Please sign in to comment.