Skip to content

Commit

Permalink
Merge pull request #47 from iLert/feature/deployment-pipeline
Browse files Browse the repository at this point in the history
Feature/deployment pipeline
  • Loading branch information
STLVRTX authored Nov 17, 2024
2 parents 0a56cb6 + 6721b66 commit 9c41c7c
Show file tree
Hide file tree
Showing 5 changed files with 420 additions and 45 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 07.11.2024, Version 3.11.0

- add new resource deployment pipeline [#47](https://github.com/iLert/ilert-go/pull/47)

## 01.10.2024, Version 3.10.1

- fix to ensure backwards compatibility when using conditions field [#46](https://github.com/iLert/ilert-go/pull/46)
Expand Down
90 changes: 46 additions & 44 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,51 +222,53 @@ func getGenericAPIError(response *resty.Response, expectedStatusCode ...int) err

// apiRoutes defines api routes
var apiRoutes = struct {
alerts string
alertActions string
alertSources string
automationRules string
connections string
connectors string
escalationPolicies string
events string
heartbeats string
incidents string
incidentTemplates string
metrics string
metricDataSources string
numbers string
schedules string
series string
services string
statusPages string
supportHours string
uptimeMonitors string
users string
teams string
alerts string
alertActions string
alertSources string
automationRules string
connections string
connectors string
deploymentPipelines string
escalationPolicies string
events string
heartbeats string
incidents string
incidentTemplates string
metrics string
metricDataSources string
numbers string
schedules string
series string
services string
statusPages string
supportHours string
uptimeMonitors string
users string
teams string
}{
alerts: "/api/alerts",
alertActions: "/api/alert-actions",
alertSources: "/api/alert-sources",
automationRules: "/api/automation-rules",
connections: "/api/v1/connections",
connectors: "/api/connectors",
escalationPolicies: "/api/escalation-policies",
events: "/api/events",
heartbeats: "/api/heartbeats",
incidents: "/api/incidents",
incidentTemplates: "/api/incident-templates",
metrics: "/api/metrics",
metricDataSources: "/api/metric-data-sources",
numbers: "/api/numbers",
schedules: "/api/schedules",
series: "/api/series",
services: "/api/services",
statusPages: "/api/status-pages",
supportHours: "/api/support-hours",
uptimeMonitors: "/api/uptime-monitors",
users: "/api/users",
teams: "/api/teams",
alerts: "/api/alerts",
alertActions: "/api/alert-actions",
alertSources: "/api/alert-sources",
automationRules: "/api/automation-rules",
connections: "/api/v1/connections",
connectors: "/api/connectors",
deploymentPipelines: "/api/deployment-pipelines",
escalationPolicies: "/api/escalation-policies",
events: "/api/events",
heartbeats: "/api/heartbeats",
incidents: "/api/incidents",
incidentTemplates: "/api/incident-templates",
metrics: "/api/metrics",
metricDataSources: "/api/metric-data-sources",
numbers: "/api/numbers",
schedules: "/api/schedules",
series: "/api/series",
services: "/api/services",
statusPages: "/api/status-pages",
supportHours: "/api/support-hours",
uptimeMonitors: "/api/uptime-monitors",
users: "/api/users",
teams: "/api/teams",
}

func getEnv(key string) *string {
Expand Down
Loading

0 comments on commit 9c41c7c

Please sign in to comment.