diff --git a/go.mod b/go.mod index 38c063fb0..ed17589f8 100644 --- a/go.mod +++ b/go.mod @@ -7,11 +7,13 @@ require ( github.com/dominikbraun/graph v0.23.0 github.com/fxamacker/cbor/v2 v2.5.0 github.com/go-json-experiment/json v0.0.0-20231102232822-2e55bd4e08b0 + github.com/google/go-cmp v0.6.0 github.com/google/uuid v1.3.1 github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.0.0 github.com/hashicorp/consul/sdk v0.16.0 github.com/hashicorp/go-hclog v1.5.0 github.com/hashicorp/go-plugin v1.6.0 + github.com/invopop/jsonschema v0.12.0 github.com/jmoiron/sqlx v1.3.5 github.com/jonboulle/clockwork v0.4.0 github.com/jpillora/backoff v1.0.0 @@ -36,6 +38,7 @@ require ( golang.org/x/mod v0.14.0 google.golang.org/grpc v1.58.3 google.golang.org/protobuf v1.31.0 + sigs.k8s.io/yaml v1.4.0 ) require ( @@ -50,12 +53,10 @@ require ( github.com/go-logr/logr v1.2.4 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/golang/protobuf v1.5.3 // indirect - github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect - github.com/google/go-cmp v0.6.0 + github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect; indirec github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.0.0-rc.3 // indirect github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 // indirect github.com/hashicorp/yamux v0.1.1 // indirect - github.com/invopop/jsonschema v0.12.0 github.com/mailru/easyjson v0.7.7 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.17 // indirect @@ -84,7 +85,6 @@ require ( google.golang.org/genproto/googleapis/api v0.0.0-20230711160842-782d3b101e98 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - sigs.k8s.io/yaml v1.4.0 ) replace ( diff --git a/pkg/workflows/testdata/fixtures/workflows/workflow_schema.json b/pkg/workflows/testdata/fixtures/workflows/workflow_schema.json index f9f9fd886..1c7fbc850 100644 --- a/pkg/workflows/testdata/fixtures/workflows/workflow_schema.json +++ b/pkg/workflows/testdata/fixtures/workflows/workflow_schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://github.com/smartcontractkit/chainlink/v2/core/services/workflows/workflow-spec-yaml", + "$id": "https://github.com/smartcontractkit/chainlink-common/pkg/workflows/workflow-spec-yaml", "$ref": "#/$defs/workflowSpecYaml", "$defs": { "mapping": { @@ -14,7 +14,7 @@ }, { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://github.com/smartcontractkit/chainlink/v2/core/services/workflows/step-definition-table-id", + "$id": "https://github.com/smartcontractkit/chainlink-common/pkg/workflows/step-definition-table-id", "properties": { "name": { "type": "string"