Skip to content

Commit

Permalink
Support notify_channel as an escalation path node (#118)
Browse files Browse the repository at this point in the history
* wip

* tidy go mod

* regenerate docs

* parse slack channel metadata properly

* rerun generate too

* use a legit channel ID for the acceptance workspace

* expect the correct fields

---------

Co-authored-by: Rory Bain <[email protected]>
  • Loading branch information
leonore and rorydbain authored Nov 1, 2024
1 parent b34be2a commit cea11f3
Show file tree
Hide file tree
Showing 13 changed files with 7,413 additions and 6,211 deletions.
9 changes: 9 additions & 0 deletions DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ openapi3.json
openapi3.yaml
```

```
# If your core repository is one level up, this would be:
cp ../core/server/api/public/gen/http/openapi.json internal/apischema
cp ../core/server/api/public/gen/http/openapi.yaml internal/apischema
cp ../core/server/api/public/gen/http/openapi3-secret.json internal/apischema
cp ../core/server/api/public/gen/http/openapi3.json internal/apischema
cp ../core/server/api/public/gen/http/openapi3.yaml internal/apischema
```

And then run `make internal/client/client.gen.go`

## Running tests
Expand Down
435 changes: 435 additions & 0 deletions docs/resources/escalation_path.md

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions docs/resources/schedule.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
page_title: "incident_schedule Resource - terraform-provider-incident"
subcategory: ""
description: |-
Beta:
View and manage schedules.
Manage your full schedule of on-call rotations, including the users and rotation configuration.
---

# incident_schedule (Resource)

Beta:
View and manage schedules.
Manage your full schedule of on-call rotations, including the users and rotation configuration.

Expand Down
19 changes: 9 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ require (
github.com/davecgh/go-spew v1.1.1
github.com/deepmap/oapi-codegen v1.12.4
github.com/getkin/kin-openapi v0.114.0
github.com/google/uuid v1.3.0
github.com/hashicorp/go-cleanhttp v0.5.2
github.com/google/uuid v1.5.0
github.com/hashicorp/go-retryablehttp v0.7.7
github.com/hashicorp/terraform-plugin-docs v0.14.1
github.com/hashicorp/terraform-plugin-framework v1.2.0
github.com/hashicorp/terraform-plugin-go v0.15.0
github.com/hashicorp/terraform-plugin-log v0.8.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.25.0
github.com/motemen/go-loghttp v0.0.0-20170804080138-974ac5ceac27
github.com/oapi-codegen/runtime v1.1.1
github.com/oklog/ulid/v2 v2.1.0
github.com/pkg/errors v0.9.1
github.com/samber/lo v1.37.0
Expand All @@ -39,6 +38,7 @@ require (
github.com/google/go-cmp v0.5.9 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
Expand All @@ -57,8 +57,8 @@ require (
github.com/imdario/mergo v0.3.13 // indirect
github.com/invopop/yaml v0.1.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/labstack/echo/v4 v4.9.1 // indirect
github.com/labstack/gommon v0.4.0 // indirect
github.com/labstack/echo/v4 v4.11.4 // indirect
github.com/labstack/gommon v0.4.2 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
Expand All @@ -69,7 +69,6 @@ require (
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
github.com/motemen/go-nuts v0.0.0-20220604134737-2658d0104f31 // indirect
github.com/oklog/run v1.0.0 // indirect
github.com/perimeterx/marshmallow v1.1.4 // indirect
github.com/posener/complete v1.2.3 // indirect
Expand All @@ -82,17 +81,17 @@ require (
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/zclconf/go-cty v1.13.0 // indirect
golang.org/x/crypto v0.6.0 // indirect
golang.org/x/crypto v0.17.0 // indirect
golang.org/x/exp v0.0.0-20220303212507-bbda1eaf7a17 // indirect
golang.org/x/mod v0.8.0 // indirect
golang.org/x/net v0.8.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.8.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/tools v0.6.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect
google.golang.org/grpc v1.54.0 // indirect
google.golang.org/protobuf v1.30.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Expand Down
368 changes: 20 additions & 348 deletions go.sum

Large diffs are not rendered by default.

Loading

0 comments on commit cea11f3

Please sign in to comment.