Skip to content

Commit

Permalink
Merge branch 'release/1.46.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
PauloPortugal committed Aug 4, 2022
2 parents 45978a0 + fd48f0d commit 53c2ce8
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 116 deletions.
5 changes: 3 additions & 2 deletions dimension/dimension.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ import (
"io/ioutil"
"net/http"

"github.com/gorilla/mux"

"github.com/ONSdigital/dp-dataset-api/apierrors"
"github.com/ONSdigital/dp-dataset-api/models"
"github.com/ONSdigital/dp-dataset-api/store"
"github.com/ONSdigital/dp-dataset-api/utils"
dphttp "github.com/ONSdigital/dp-net/v2/http"
dprequest "github.com/ONSdigital/dp-net/v2/request"
"github.com/ONSdigital/log.go/v2/log"
"github.com/gorilla/mux"
)

// Store provides a backend for dimensions
Expand Down Expand Up @@ -389,7 +390,7 @@ func createPatches(reader io.Reader, supportedOps ...dprequest.PatchOp) ([]dpreq
}

for _, patch := range patches {
if err := patch.Validate(supportedOps...); err != nil {
if err := patch.Validate(supportedOps); err != nil {
return []dprequest.Patch{}, err
}
}
Expand Down
40 changes: 20 additions & 20 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ replace github.com/spf13/cobra => github.com/spf13/cobra v1.4.0
exclude github.com/gorilla/sessions v1.2.1

require (
github.com/ONSdigital/dp-api-clients-go/v2 v2.142.0
github.com/ONSdigital/dp-api-clients-go/v2 v2.159.1
github.com/ONSdigital/dp-assistdog v0.0.1
github.com/ONSdigital/dp-authorisation v0.2.0
github.com/ONSdigital/dp-component-test v0.7.0
github.com/ONSdigital/dp-graph/v2 v2.15.0
github.com/ONSdigital/dp-healthcheck v1.3.0
github.com/ONSdigital/dp-kafka/v2 v2.5.0
github.com/ONSdigital/dp-mongodb/v3 v3.0.2
github.com/ONSdigital/dp-net/v2 v2.2.0
github.com/ONSdigital/dp-net/v2 v2.4.0
github.com/ONSdigital/log.go/v2 v2.2.0
github.com/cucumber/godog v0.12.5
github.com/google/go-cmp v0.5.8
Expand All @@ -32,8 +32,8 @@ require (
github.com/pkg/errors v0.9.1
github.com/satori/go.uuid v1.2.0
github.com/smartystreets/goconvey v1.7.2
github.com/stretchr/testify v1.7.4
go.mongodb.org/mongo-driver v1.9.1
github.com/stretchr/testify v1.8.0
go.mongodb.org/mongo-driver v1.10.0
)

require (
Expand All @@ -45,26 +45,25 @@ require (
github.com/ONSdigital/golang-neo4j-bolt-driver v0.0.0-20210408132126-c2323ff08bf1 // indirect
github.com/ONSdigital/graphson v0.2.0 // indirect
github.com/ONSdigital/gremgo-neptune v1.0.2 // indirect
github.com/Shopify/sarama v1.34.1 // indirect
github.com/aws/aws-sdk-go v1.44.38 // indirect
github.com/chromedp/cdproto v0.0.0-20220620034043-93c6adfcda6a // indirect
github.com/chromedp/chromedp v0.8.2 // indirect
github.com/Shopify/sarama v1.35.0 // indirect
github.com/aws/aws-sdk-go v1.44.64 // indirect
github.com/chromedp/cdproto v0.0.0-20220725225757-5988d9195a6c // indirect
github.com/chromedp/chromedp v0.8.3 // indirect
github.com/chromedp/sysutil v1.0.0 // indirect
github.com/cucumber/gherkin-go/v19 v19.0.3 // indirect
github.com/cucumber/messages-go/v16 v16.0.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/eapache/go-resiliency v1.2.0 // indirect
github.com/eapache/go-resiliency v1.3.0 // indirect
github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21 // indirect
github.com/eapache/queue v1.1.0 // indirect
github.com/fatih/color v1.13.0 // indirect
github.com/go-avro/avro v0.0.0-20171219232920-444163702c11 // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/gobwas/httphead v0.1.0 // indirect
github.com/gobwas/pool v0.2.1 // indirect
github.com/gobwas/ws v1.1.0 // indirect
github.com/gofrs/uuid v4.2.0+incompatible // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/gopherjs/gopherjs v0.0.0-20220104163920-15ed2e8cf2bd // indirect
github.com/gopherjs/gopherjs v1.17.2 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
Expand All @@ -75,32 +74,33 @@ require (
github.com/hokaccha/go-prettyjson v0.0.0-20211117102719-0474bc63780f // indirect
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
github.com/jcmturner/gofork v1.0.0 // indirect
github.com/jcmturner/gokrb5/v8 v8.4.2 // indirect
github.com/jcmturner/gofork v1.7.6 // indirect
github.com/jcmturner/gokrb5/v8 v8.4.3 // indirect
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/jtolds/gls v4.20.0+incompatible // indirect
github.com/klauspost/compress v1.15.6 // indirect
github.com/klauspost/compress v1.15.9 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/maxcnunes/httpfake v1.2.4 // indirect
github.com/montanaflynn/stats v0.6.6 // indirect
github.com/pierrec/lz4/v4 v4.1.15 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
github.com/smartystreets/assertions v1.2.1 // indirect
github.com/spf13/afero v1.8.2 // indirect
github.com/smartystreets/assertions v1.13.0 // indirect
github.com/spf13/afero v1.9.2 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/square/mongo-lock v0.0.0-20220601164918-701ecf357cd7 // indirect
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.1.1 // indirect
github.com/xdg-go/stringprep v1.0.3 // indirect
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
golang.org/x/net v0.0.0-20220617184016-355a448f1bc9 // indirect
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f // indirect
golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c // indirect
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa // indirect
golang.org/x/net v0.0.0-20220728153142-1f511ac62c11 // indirect
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 // indirect
golang.org/x/text v0.3.7 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 53c2ce8

Please sign in to comment.