Skip to content

Commit

Permalink
Merge pull request #65 from IBM/go-sdk-corefromv4tov5
Browse files Browse the repository at this point in the history
potential security vulnerabilities fix for go-sdk-core from core to v5
  • Loading branch information
shivaleelac authored Oct 19, 2021
2 parents 72adc2a + 496340d commit 1e94371
Show file tree
Hide file tree
Showing 29 changed files with 35 additions and 31 deletions.
2 changes: 1 addition & 1 deletion cachingapiv1/caching_api_v1_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"os"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/cachingapiv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
Expand Down
2 changes: 1 addition & 1 deletion cisipapiv1/cis_ip_api_v1.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"context"
"encoding/json"
"fmt"
"github.com/IBM/go-sdk-core/v4/core"
"github.com/IBM/go-sdk-core/v5/core"
common "github.com/IBM/networking-go-sdk/common"
"net/http"
"reflect"
Expand Down
4 changes: 2 additions & 2 deletions cisipapiv1/cis_ip_api_v1_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (
"fmt"
"os"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/cisipapiv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
. "github.com/IBM/networking-go-sdk/cisipapiv1"
)

const configFile = "../cis.env"
Expand Down
2 changes: 1 addition & 1 deletion custompagesv1/custom_pages_v1_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"os"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/custompagesv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
Expand Down
2 changes: 1 addition & 1 deletion dnsrecordbulkv1/dns_record_bulk_v1_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"strings"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
"github.com/IBM/networking-go-sdk/dnsrecordbulkv1"
"github.com/IBM/networking-go-sdk/dnsrecordsv1"
"github.com/joho/godotenv"
Expand Down
2 changes: 1 addition & 1 deletion dnsrecordsv1/dns_records_v1_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"strings"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/dnsrecordsv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
Expand Down
2 changes: 1 addition & 1 deletion filtersv1/filters_v1_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"os"
"strconv"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/filtersv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"os"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/firewallaccessrulesv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
Expand Down
2 changes: 1 addition & 1 deletion firewallapiv1/firewall_api_v1_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"os"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/firewallapiv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
Expand Down
2 changes: 1 addition & 1 deletion firewallrulesv1/firewall_rules_v1_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"os"
"strconv"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (
"fmt"
"os"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/globalloadbalancereventsv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
. "github.com/IBM/networking-go-sdk/globalloadbalancereventsv1"
)

const configFile = "../cis.env"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strconv"
"strings"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
"github.com/IBM/networking-go-sdk/globalloadbalancermonitorv1"
. "github.com/IBM/networking-go-sdk/globalloadbalancerpoolsv0"
"github.com/joho/godotenv"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strconv"
"strings"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
"github.com/IBM/networking-go-sdk/globalloadbalancermonitorv1"
"github.com/IBM/networking-go-sdk/globalloadbalancerpoolsv0"
. "github.com/IBM/networking-go-sdk/globalloadbalancerv1"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.14
require (
github.com/IBM/go-sdk-core v1.1.0
github.com/IBM/go-sdk-core/v4 v4.9.0
github.com/IBM/go-sdk-core/v5 v5.4.5
github.com/IBM/go-sdk-core/v5 v5.6.5
github.com/go-openapi/strfmt v0.20.1
github.com/google/uuid v1.1.1
github.com/joho/godotenv v1.3.0
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ github.com/IBM/go-sdk-core v1.1.0 h1:pV73lZqr9r1xKb3h08c1uNG3AphwoV5KzUzhS+pfEqY
github.com/IBM/go-sdk-core v1.1.0/go.mod h1:2pcx9YWsIsZ3I7kH+1amiAkXvLTZtAq9kbxsfXilSoY=
github.com/IBM/go-sdk-core/v4 v4.9.0 h1:OkSg5kaEfVoNuBA4IsIOz8Ur5rbGHbWxmWCZ7nK/oc0=
github.com/IBM/go-sdk-core/v4 v4.9.0/go.mod h1:DbQ+3pFoIjxGGTEiA9zQ2V0cemMNmFMkLBBnR729HKg=
github.com/IBM/go-sdk-core/v4 v4.10.0 h1:aLoKusSFVsxMJeKHf8csj9tBWt4Y50kVvfxoKh6scN0=
github.com/IBM/go-sdk-core/v4 v4.10.0/go.mod h1:0uz2ca0MZ2DwsBRGl9Jp3EaCTqxmKZTdvV/CkCB7JnI=
github.com/IBM/go-sdk-core/v5 v5.4.5 h1:fP/SLOMxRzhHaqS+I5XN+1CWrAAWn8fdzWuZvbR5KxE=
github.com/IBM/go-sdk-core/v5 v5.4.5/go.mod h1:Sn+z+qTDREQvCr+UFa22TqqfXNxx3o723y8GsfLV8e0=
github.com/IBM/go-sdk-core/v5 v5.6.5 h1:zXlt5x/udqZTD617SKUQzPDON4x5y0+22vNxsdCGYpg=
github.com/IBM/go-sdk-core/v5 v5.6.5/go.mod h1:tt/B9rxLkRtglE7pvqLuYikgCXaZFL3btdruJaoUeek=
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef h1:46PFijGLmAjMPwCCCo7Jf0W6f9slllCkkv7vyc1yOSg=
github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw=
Expand Down
2 changes: 1 addition & 1 deletion pageruleapiv1/page_rule_api_v1_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"os"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/pageruleapiv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"os"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/rangeapplicationsv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
Expand Down
2 changes: 1 addition & 1 deletion routingv1/routing_v1__integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"os"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/routingv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"os"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/securityeventsapiv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"os"
"time"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/sslcertificateapiv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"os"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/useragentblockingrulesv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
Expand Down
2 changes: 1 addition & 1 deletion wafapiv1/waf_api_v1_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"os"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/wafapiv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"os"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/wafrulegroupsapiv1"
"github.com/IBM/networking-go-sdk/wafrulepackagesapiv1"
"github.com/joho/godotenv"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"os"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/wafrulepackagesapiv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
Expand Down
2 changes: 1 addition & 1 deletion wafrulesapiv1/waf_rules_api_v1_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"os"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
"github.com/IBM/networking-go-sdk/wafrulepackagesapiv1"
. "github.com/IBM/networking-go-sdk/wafrulesapiv1"
"github.com/joho/godotenv"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"os"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/zonefirewallaccessrulesv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
Expand Down
2 changes: 1 addition & 1 deletion zonelockdownv1/zone_lockdown_v1_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"os"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/zonelockdownv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
Expand Down
2 changes: 1 addition & 1 deletion zoneratelimitsv1/zone_rate_limits_v1_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"os"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/zoneratelimitsv1"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
Expand Down
4 changes: 2 additions & 2 deletions zonesv1/zones_v1_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import (
"os"
"strings"

"github.com/IBM/go-sdk-core/core"
"github.com/IBM/go-sdk-core/v5/core"
. "github.com/IBM/networking-go-sdk/zonesv1"
guuid "github.com/google/uuid"
"github.com/joho/godotenv"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
. "github.com/IBM/networking-go-sdk/zonesv1"
)

const configFile = "../cis.env"
Expand Down

0 comments on commit 1e94371

Please sign in to comment.