Skip to content

Commit

Permalink
Resolver input/error handling and logging (#228)
Browse files Browse the repository at this point in the history
* remove old

Signed-off-by: Matt Siwiec <[email protected]>

* loadbalancer error logs, do no expose internals

Signed-off-by: Matt Siwiec <[email protected]>

* origin error logs, do no expose internals

Signed-off-by: Matt Siwiec <[email protected]>

* handle invalid gidx

Signed-off-by: Matt Siwiec <[email protected]>

* pool error logs, do no expose internals

Signed-off-by: Matt Siwiec <[email protected]>

* port error logs, do no expose internals

Signed-off-by: Matt Siwiec <[email protected]>

* provider error logs, do no expose internals

Signed-off-by: Matt Siwiec <[email protected]>

* minor logging additions

Signed-off-by: Matt Siwiec <[email protected]>

* rollback error log

Signed-off-by: Matt Siwiec <[email protected]>

* last look

Signed-off-by: Matt Siwiec <[email protected]>

---------

Signed-off-by: Matt Siwiec <[email protected]>
  • Loading branch information
rizzza authored Oct 6, 2023
1 parent 9935d1c commit 0218550
Show file tree
Hide file tree
Showing 19 changed files with 510 additions and 451 deletions.
45 changes: 0 additions & 45 deletions examples/01_ssh-service-one-pool/input.json

This file was deleted.

31 changes: 0 additions & 31 deletions examples/01_ssh-service-one-pool/result.cfg

This file was deleted.

58 changes: 0 additions & 58 deletions examples/02_ssh-service-two-pools/input.json

This file was deleted.

33 changes: 0 additions & 33 deletions examples/02_ssh-service-two-pools/result.cfg

This file was deleted.

53 changes: 0 additions & 53 deletions examples/03_http-and-https/input.json

This file was deleted.

39 changes: 0 additions & 39 deletions examples/03_http-and-https/result.cfg

This file was deleted.

22 changes: 0 additions & 22 deletions examples/blank.cfg

This file was deleted.

33 changes: 0 additions & 33 deletions examples/datplaneapi.hcl

This file was deleted.

31 changes: 15 additions & 16 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ require (
github.com/hashicorp/go-multierror v1.1.1
github.com/hasura/go-graphql-client v0.10.0
github.com/labstack/echo/v4 v4.11.1
github.com/labstack/gommon v0.4.0
github.com/lib/pq v1.10.9
github.com/mattn/go-sqlite3 v1.14.17
github.com/mitchellh/go-homedir v1.1.0
Expand Down Expand Up @@ -67,7 +66,7 @@ require (
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.2 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/golang-lru/v2 v2.0.3 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
Expand All @@ -86,6 +85,7 @@ require (
github.com/labstack/echo v3.3.10+incompatible // indirect
github.com/labstack/echo-contrib v0.15.0 // indirect
github.com/labstack/echo-jwt/v4 v4.2.0 // indirect
github.com/labstack/gommon v0.4.0 // indirect
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
Expand All @@ -106,7 +106,7 @@ require (
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.1.0-rc4 // indirect
github.com/opencontainers/runc v1.1.7 // indirect
github.com/pelletier/go-toml/v2 v2.0.9 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
Expand All @@ -132,18 +132,17 @@ require (
github.com/vmihailenco/tagparser v0.1.2 // indirect
github.com/yusufpapurcu/wmi v1.2.3 // indirect
github.com/zclconf/go-cty v1.8.0 // indirect
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho v0.42.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.42.0 // indirect
go.opentelemetry.io/otel v1.16.0 // indirect
go.opentelemetry.io/otel/exporters/jaeger v1.16.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.16.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.16.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.16.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.16.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.16.0 // indirect
go.opentelemetry.io/otel/metric v1.16.0 // indirect
go.opentelemetry.io/otel/sdk v1.16.0 // indirect
go.opentelemetry.io/otel/trace v1.16.0 // indirect
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho v0.44.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.44.0 // indirect
go.opentelemetry.io/otel v1.18.0 // indirect
go.opentelemetry.io/otel/exporters/jaeger v1.17.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.18.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.18.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.18.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.18.0 // indirect
go.opentelemetry.io/otel/metric v1.18.0 // indirect
go.opentelemetry.io/otel/sdk v1.18.0 // indirect
go.opentelemetry.io/otel/trace v1.18.0 // indirect
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
go.step.sm/crypto v0.35.1 // indirect
go.uber.org/multierr v1.11.0 // indirect
Expand All @@ -157,7 +156,7 @@ require (
golang.org/x/tools v0.13.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230815205213-6bfd019c3878 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230815205213-6bfd019c3878 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230911183012-2d3300fd4832 // indirect
google.golang.org/grpc v1.58.1 // indirect
google.golang.org/protobuf v1.31.0 // indirect
Expand Down
Loading

0 comments on commit 0218550

Please sign in to comment.