From f946868fdac2697573a618bc8816c8f5042c339f Mon Sep 17 00:00:00 2001 From: Dawid Dzhafarov Date: Mon, 18 Mar 2024 07:14:42 +0000 Subject: [PATCH] DXE-3554 Update edgegrid-golang version to v8 --- .github/workflows/checks.yml | 1 + README.md | 10 +++++----- go.mod | 2 +- pkg/appsec/activations_test.go | 2 +- .../advanced_settings_attack_payload_logging.go | 2 +- ...dvanced_settings_attack_payload_logging_test.go | 2 +- .../advanced_settings_evasive_path_match_test.go | 2 +- pkg/appsec/advanced_settings_logging_test.go | 2 +- pkg/appsec/advanced_settings_pii_learning.go | 2 +- pkg/appsec/advanced_settings_pii_learning_test.go | 2 +- pkg/appsec/advanced_settings_pragma_test.go | 2 +- pkg/appsec/advanced_settings_prefetch_test.go | 2 +- pkg/appsec/advanced_settings_request_body.go | 2 +- pkg/appsec/advanced_settings_request_body_test.go | 2 +- pkg/appsec/api_constraints_protection_test.go | 2 +- pkg/appsec/api_endpoints_test.go | 2 +- .../api_hostname_coverage_match_targets_test.go | 2 +- .../api_hostname_coverage_overlapping_test.go | 2 +- pkg/appsec/api_hostname_coverage_test.go | 2 +- pkg/appsec/api_request_constraints_test.go | 2 +- pkg/appsec/appsec.go | 2 +- pkg/appsec/appsec_test.go | 4 ++-- pkg/appsec/attack_group_test.go | 2 +- pkg/appsec/configuration_clone_test.go | 2 +- pkg/appsec/configuration_test.go | 2 +- pkg/appsec/configuration_version_clone_test.go | 2 +- pkg/appsec/configuration_version_test.go | 2 +- pkg/appsec/custom_deny_test.go | 2 +- pkg/appsec/custom_rule_action_test.go | 2 +- pkg/appsec/custom_rule_test.go | 2 +- pkg/appsec/errors.go | 2 +- pkg/appsec/errors_test.go | 2 +- pkg/appsec/eval_group_test.go | 2 +- pkg/appsec/eval_penalty_box_conditions_test.go | 2 +- pkg/appsec/eval_penalty_box_test.go | 2 +- pkg/appsec/eval_rule_test.go | 2 +- pkg/appsec/eval_test.go | 2 +- pkg/appsec/export_configuration_test.go | 2 +- pkg/appsec/failover_hostnames_test.go | 2 +- pkg/appsec/ip_geo_protection_test.go | 2 +- pkg/appsec/ip_geo_test.go | 2 +- pkg/appsec/malware_policy_action_test.go | 2 +- pkg/appsec/malware_policy_test.go | 2 +- pkg/appsec/malware_protection_test.go | 2 +- pkg/appsec/match_target_sequence_test.go | 2 +- pkg/appsec/match_target_test.go | 2 +- pkg/appsec/penalty_box_conditions.go | 2 +- pkg/appsec/penalty_box_conditions_test.go | 2 +- pkg/appsec/penalty_box_test.go | 2 +- pkg/appsec/rate_policy_action_test.go | 2 +- pkg/appsec/rate_policy_test.go | 2 +- pkg/appsec/rate_protection_test.go | 2 +- pkg/appsec/reputation_analysis_test.go | 2 +- pkg/appsec/reputation_profile_action_test.go | 2 +- pkg/appsec/reputation_profile_test.go | 2 +- pkg/appsec/reputation_protection_test.go | 2 +- pkg/appsec/rule_test.go | 2 +- pkg/appsec/rule_upgrade_test.go | 2 +- pkg/appsec/security_policy.go | 2 +- pkg/appsec/security_policy_clone_test.go | 2 +- pkg/appsec/security_policy_protections_test.go | 2 +- pkg/appsec/security_policy_test.go | 2 +- pkg/appsec/selectable_hostnames_test.go | 2 +- pkg/appsec/selected_hostname_test.go | 2 +- pkg/appsec/siem_settings_test.go | 2 +- pkg/appsec/slow_post_protection_setting_test.go | 2 +- pkg/appsec/slowpost_protection_test.go | 2 +- pkg/appsec/threat_intel_test.go | 2 +- pkg/appsec/tuning_recommendations_test.go | 2 +- pkg/appsec/version_notes_test.go | 2 +- pkg/appsec/waf_mode_test.go | 2 +- pkg/appsec/waf_protection_test.go | 2 +- pkg/appsec/wap_bypass_network_lists_test.go | 2 +- pkg/appsec/wap_selected_hostnames_test.go | 2 +- pkg/botman/akamai_bot_category_action_test.go | 2 +- pkg/botman/akamai_bot_category_test.go | 2 +- pkg/botman/akamai_defined_bot_test.go | 2 +- pkg/botman/bot_analytics_cookie_test.go | 2 +- pkg/botman/bot_analytics_cookie_values_test.go | 2 +- pkg/botman/bot_category_exception_test.go | 2 +- pkg/botman/bot_detection_action_test.go | 2 +- pkg/botman/bot_detection_test.go | 2 +- pkg/botman/bot_endpoint_coverage_report_test.go | 2 +- pkg/botman/bot_management_setting_test.go | 2 +- pkg/botman/botman.go | 2 +- pkg/botman/botman_test.go | 4 ++-- pkg/botman/challenge_action_test.go | 2 +- pkg/botman/challenge_injection_rules.go | 2 +- pkg/botman/challenge_injection_rules_test.go | 2 +- pkg/botman/challenge_interception_rules_test.go | 2 +- pkg/botman/client_side_security_test.go | 2 +- pkg/botman/conditonal_action_test.go | 2 +- pkg/botman/custom_bot_category_action_test.go | 2 +- pkg/botman/custom_bot_category_sequence_test.go | 2 +- pkg/botman/custom_bot_category_test.go | 2 +- pkg/botman/custom_client_sequence.go | 2 +- pkg/botman/custom_client_sequence_test.go | 2 +- pkg/botman/custom_client_test.go | 2 +- pkg/botman/custom_code_test.go | 2 +- pkg/botman/custom_defined_bot_test.go | 2 +- pkg/botman/custom_deny_action_test.go | 2 +- pkg/botman/errors.go | 2 +- pkg/botman/errors_test.go | 2 +- pkg/botman/javascript_injection_test.go | 2 +- .../recategorized_akamai_defined_bot_test.go | 2 +- pkg/botman/response_action_test.go | 2 +- pkg/botman/serve_alternate_action_test.go | 2 +- .../transactional_endpoint_protection_test.go | 2 +- pkg/botman/transactional_endpoint_test.go | 2 +- pkg/clientlists/client_list.go | 2 +- pkg/clientlists/client_list_activation.go | 2 +- pkg/clientlists/client_list_activation_test.go | 2 +- pkg/clientlists/client_list_test.go | 4 ++-- pkg/clientlists/clientlists.go | 2 +- pkg/clientlists/clientlists_test.go | 4 ++-- pkg/clientlists/errors.go | 2 +- pkg/clientlists/errors_test.go | 2 +- pkg/cloudlets/cloudlets.go | 2 +- pkg/cloudlets/cloudlets_test.go | 4 ++-- pkg/cloudlets/errors.go | 2 +- pkg/cloudlets/errors_test.go | 2 +- pkg/cloudlets/loadbalancer.go | 2 +- pkg/cloudlets/loadbalancer_activation.go | 2 +- pkg/cloudlets/loadbalancer_activation_test.go | 2 +- pkg/cloudlets/loadbalancer_version.go | 2 +- pkg/cloudlets/loadbalancer_version_test.go | 2 +- pkg/cloudlets/match_rule.go | 2 +- pkg/cloudlets/match_rule_test.go | 2 +- pkg/cloudlets/policy_property.go | 2 +- pkg/cloudlets/policy_test.go | 2 +- pkg/cloudlets/policy_version.go | 2 +- pkg/cloudlets/policy_version_activation.go | 2 +- pkg/cloudlets/policy_version_test.go | 2 +- pkg/cloudlets/v3/cloudlets.go | 2 +- pkg/cloudlets/v3/cloudlets_test.go | 4 ++-- pkg/cloudlets/v3/errors.go | 2 +- pkg/cloudlets/v3/errors_test.go | 2 +- pkg/cloudlets/v3/match_rule.go | 2 +- pkg/cloudlets/v3/match_rule_test.go | 2 +- pkg/cloudlets/v3/policy.go | 2 +- pkg/cloudlets/v3/policy_activation.go | 2 +- pkg/cloudlets/v3/policy_property.go | 2 +- pkg/cloudlets/v3/policy_test.go | 2 +- pkg/cloudlets/v3/policy_version.go | 2 +- pkg/cloudlets/v3/policy_version_test.go | 2 +- pkg/cloudwrapper/cloudwrapper.go | 2 +- pkg/cloudwrapper/cloudwrapper_test.go | 4 ++-- pkg/cloudwrapper/configurations.go | 2 +- pkg/cloudwrapper/configurations_test.go | 2 +- pkg/cloudwrapper/errors.go | 2 +- pkg/cloudwrapper/errors_test.go | 2 +- pkg/cloudwrapper/multi_cdn.go | 2 +- pkg/cloudwrapper/properties.go | 2 +- pkg/cps/change_management_info.go | 2 +- pkg/cps/change_management_info_test.go | 4 ++-- pkg/cps/cps.go | 2 +- pkg/cps/cps_test.go | 4 ++-- pkg/cps/deployment_schedules_test.go | 2 +- pkg/cps/deployments.go | 6 +++--- pkg/cps/deployments_test.go | 14 +++++++------- pkg/cps/enrollments_test.go | 2 +- pkg/cps/errors_test.go | 2 +- pkg/cps/third_party_csr.go | 2 +- pkg/datastream/ds.go | 2 +- pkg/datastream/ds_test.go | 4 ++-- pkg/datastream/errors.go | 2 +- pkg/datastream/errors_test.go | 2 +- pkg/datastream/properties_test.go | 2 +- pkg/datastream/stream_test.go | 2 +- pkg/dns/dns.go | 2 +- pkg/dns/dns_test.go | 4 ++-- pkg/dns/errors.go | 2 +- pkg/dns/errors_test.go | 2 +- pkg/dns/record_lookup_test.go | 2 +- pkg/dns/zone_test.go | 2 +- pkg/edgeworkers/edgekv_groups.go | 2 +- pkg/edgeworkers/edgekv_namespaces_test.go | 2 +- pkg/edgeworkers/edgeworkers.go | 2 +- pkg/edgeworkers/edgeworkers_test.go | 4 ++-- pkg/edgeworkers/errors.go | 2 +- pkg/edgeworkers/errors_test.go | 2 +- pkg/edgeworkers/report_test.go | 2 +- pkg/gtm/asmap_test.go | 2 +- pkg/gtm/cidrmap_test.go | 2 +- pkg/gtm/datacenter_test.go | 2 +- pkg/gtm/domain_test.go | 2 +- pkg/gtm/errors.go | 2 +- pkg/gtm/errors_test.go | 2 +- pkg/gtm/geomap_test.go | 2 +- pkg/gtm/gtm.go | 2 +- pkg/gtm/gtm_test.go | 4 ++-- pkg/gtm/property.go | 2 +- pkg/gtm/property_test.go | 4 ++-- pkg/gtm/resource_test.go | 2 +- pkg/hapi/edgehostname.go | 2 +- pkg/hapi/errors.go | 2 +- pkg/hapi/errors_test.go | 2 +- pkg/hapi/hapi.go | 2 +- pkg/hapi/hapi_test.go | 4 ++-- pkg/iam/errors.go | 2 +- pkg/iam/errors_test.go | 2 +- pkg/iam/iam.go | 2 +- pkg/iam/iam_test.go | 4 ++-- pkg/iam/user_test.go | 2 +- pkg/imaging/errors.go | 2 +- pkg/imaging/errors_test.go | 2 +- pkg/imaging/imaging.go | 2 +- pkg/imaging/imaging_test.go | 4 ++-- pkg/imaging/policy.go | 2 +- pkg/imaging/policy_test.go | 2 +- pkg/imaging/policyset.go | 2 +- pkg/networklists/activations_test.go | 2 +- pkg/networklists/errors.go | 2 +- pkg/networklists/errors_test.go | 2 +- pkg/networklists/network_list_description_test.go | 2 +- pkg/networklists/network_list_subscription_test.go | 2 +- pkg/networklists/network_list_test.go | 2 +- pkg/networklists/networklists.go | 2 +- pkg/networklists/networklists_test.go | 4 ++-- pkg/papi/cpcode_test.go | 2 +- pkg/papi/edgehostname.go | 2 +- pkg/papi/errors.go | 2 +- pkg/papi/errors_test.go | 4 ++-- pkg/papi/include.go | 2 +- pkg/papi/include_activations.go | 4 ++-- pkg/papi/include_rule.go | 2 +- pkg/papi/include_rule_test.go | 2 +- pkg/papi/include_test.go | 2 +- pkg/papi/include_versions.go | 2 +- pkg/papi/papi.go | 2 +- pkg/papi/papi_test.go | 4 ++-- pkg/papi/property.go | 2 +- pkg/papi/property_test.go | 2 +- pkg/papi/propertyversion.go | 2 +- pkg/papi/propertyversion_test.go | 2 +- pkg/papi/rule.go | 2 +- pkg/papi/rule_test.go | 2 +- pkg/session/request_test.go | 2 +- pkg/session/session.go | 4 ++-- pkg/session/session_test.go | 4 ++-- 240 files changed, 275 insertions(+), 274 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 0f5ed269..7538a57a 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -11,6 +11,7 @@ on: - v4 - v5 - v6 + - v7 - master jobs: test: diff --git a/README.md b/README.md index 4d812792..1dd3e2fa 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -# Akamai OPEN EdgeGrid for GoLang v7 +# Akamai OPEN EdgeGrid for GoLang v8 ![Build Status](https://github.com/akamai/akamaiOPEN-edgegrid-golang/actions/workflows/checks.yml/badge.svg) -[![Go Report Card](https://goreportcard.com/badge/github.com/akamai/AkamaiOPEN-edgegrid-golang/v7)](https://goreportcard.com/report/github.com/akamai/AkamaiOPEN-edgegrid-golang/v7) +[![Go Report Card](https://goreportcard.com/badge/github.com/akamai/AkamaiOPEN-edgegrid-golang/v8)](https://goreportcard.com/report/github.com/akamai/AkamaiOPEN-edgegrid-golang/v8) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/akamai/akamaiOPEN-edgegrid-golang) [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -[![GoDoc](https://pkg.go.dev/badge/github.com/akamai/akamaiOPEN-edgegrid-golang?utm_source=godoc)](https://pkg.go.dev/github.com/akamai/AkamaiOPEN-edgegrid-golang/v7) +[![GoDoc](https://pkg.go.dev/badge/github.com/akamai/akamaiOPEN-edgegrid-golang?utm_source=godoc)](https://pkg.go.dev/github.com/akamai/AkamaiOPEN-edgegrid-golang/v8) This module is presently in active development and provides Akamai REST API support for the Akamai Terraform Provider. @@ -12,7 +12,7 @@ This module is presently in active development and provides Akamai REST API supp This module is not backward compatible with the version `v1`. -Originally branch `master` was representing version `v1`. Now it is representing the latest version `v7` and +Originally branch `master` was representing version `v1`. Now it is representing the latest version `v8` and version `v1` was moved to dedicated `v1` branch. @@ -23,6 +23,6 @@ The packages of library can be imported alongside the `v1` library versions with ``` import ( papiv1 "github.com/akamai/AkamaiOPEN-edgegrid-golang/papi-v1" - papi "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/papi" + papi "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/papi" ) ``` diff --git a/go.mod b/go.mod index 67b0a8cd..81a39787 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/akamai/AkamaiOPEN-edgegrid-golang/v7 +module github.com/akamai/AkamaiOPEN-edgegrid-golang/v8 go 1.21 diff --git a/pkg/appsec/activations_test.go b/pkg/appsec/activations_test.go index a7347abc..a6bdb983 100644 --- a/pkg/appsec/activations_test.go +++ b/pkg/appsec/activations_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/advanced_settings_attack_payload_logging.go b/pkg/appsec/advanced_settings_attack_payload_logging.go index cf8f7ae6..8698acd2 100644 --- a/pkg/appsec/advanced_settings_attack_payload_logging.go +++ b/pkg/appsec/advanced_settings_attack_payload_logging.go @@ -6,7 +6,7 @@ import ( "fmt" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/appsec/advanced_settings_attack_payload_logging_test.go b/pkg/appsec/advanced_settings_attack_payload_logging_test.go index a0fe95a4..19e70960 100644 --- a/pkg/appsec/advanced_settings_attack_payload_logging_test.go +++ b/pkg/appsec/advanced_settings_attack_payload_logging_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/advanced_settings_evasive_path_match_test.go b/pkg/appsec/advanced_settings_evasive_path_match_test.go index 016f114e..e4aea961 100644 --- a/pkg/appsec/advanced_settings_evasive_path_match_test.go +++ b/pkg/appsec/advanced_settings_evasive_path_match_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/advanced_settings_logging_test.go b/pkg/appsec/advanced_settings_logging_test.go index b776940a..f4c6570d 100644 --- a/pkg/appsec/advanced_settings_logging_test.go +++ b/pkg/appsec/advanced_settings_logging_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/advanced_settings_pii_learning.go b/pkg/appsec/advanced_settings_pii_learning.go index 4fe8fa11..c6649efa 100644 --- a/pkg/appsec/advanced_settings_pii_learning.go +++ b/pkg/appsec/advanced_settings_pii_learning.go @@ -5,7 +5,7 @@ import ( "fmt" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/appsec/advanced_settings_pii_learning_test.go b/pkg/appsec/advanced_settings_pii_learning_test.go index eab6fe4d..4d80ab4e 100644 --- a/pkg/appsec/advanced_settings_pii_learning_test.go +++ b/pkg/appsec/advanced_settings_pii_learning_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/advanced_settings_pragma_test.go b/pkg/appsec/advanced_settings_pragma_test.go index db842962..6826a8d8 100644 --- a/pkg/appsec/advanced_settings_pragma_test.go +++ b/pkg/appsec/advanced_settings_pragma_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/advanced_settings_prefetch_test.go b/pkg/appsec/advanced_settings_prefetch_test.go index 0523f687..9ad00a7f 100644 --- a/pkg/appsec/advanced_settings_prefetch_test.go +++ b/pkg/appsec/advanced_settings_prefetch_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/advanced_settings_request_body.go b/pkg/appsec/advanced_settings_request_body.go index 34a1c98a..c36e92c1 100644 --- a/pkg/appsec/advanced_settings_request_body.go +++ b/pkg/appsec/advanced_settings_request_body.go @@ -5,7 +5,7 @@ import ( "fmt" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/appsec/advanced_settings_request_body_test.go b/pkg/appsec/advanced_settings_request_body_test.go index 21e746da..92dc1588 100644 --- a/pkg/appsec/advanced_settings_request_body_test.go +++ b/pkg/appsec/advanced_settings_request_body_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/api_constraints_protection_test.go b/pkg/appsec/api_constraints_protection_test.go index 3ec4b01f..1fdca331 100644 --- a/pkg/appsec/api_constraints_protection_test.go +++ b/pkg/appsec/api_constraints_protection_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/api_endpoints_test.go b/pkg/appsec/api_endpoints_test.go index 8b7970bf..e86c8434 100644 --- a/pkg/appsec/api_endpoints_test.go +++ b/pkg/appsec/api_endpoints_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/api_hostname_coverage_match_targets_test.go b/pkg/appsec/api_hostname_coverage_match_targets_test.go index f2600480..75745d47 100644 --- a/pkg/appsec/api_hostname_coverage_match_targets_test.go +++ b/pkg/appsec/api_hostname_coverage_match_targets_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/api_hostname_coverage_overlapping_test.go b/pkg/appsec/api_hostname_coverage_overlapping_test.go index d79fe41d..e7901175 100644 --- a/pkg/appsec/api_hostname_coverage_overlapping_test.go +++ b/pkg/appsec/api_hostname_coverage_overlapping_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/api_hostname_coverage_test.go b/pkg/appsec/api_hostname_coverage_test.go index e0cb79d0..ef345e44 100644 --- a/pkg/appsec/api_hostname_coverage_test.go +++ b/pkg/appsec/api_hostname_coverage_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/api_request_constraints_test.go b/pkg/appsec/api_request_constraints_test.go index 5a182142..b39feae6 100644 --- a/pkg/appsec/api_request_constraints_test.go +++ b/pkg/appsec/api_request_constraints_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/appsec.go b/pkg/appsec/appsec.go index 57f1172a..cf935b83 100644 --- a/pkg/appsec/appsec.go +++ b/pkg/appsec/appsec.go @@ -4,7 +4,7 @@ package appsec import ( "errors" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" ) var ( diff --git a/pkg/appsec/appsec_test.go b/pkg/appsec/appsec_test.go index 1c9442a8..268ab76b 100644 --- a/pkg/appsec/appsec_test.go +++ b/pkg/appsec/appsec_test.go @@ -12,8 +12,8 @@ import ( "net/url" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/attack_group_test.go b/pkg/appsec/attack_group_test.go index bf4e0029..7c46d2b3 100644 --- a/pkg/appsec/attack_group_test.go +++ b/pkg/appsec/attack_group_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/configuration_clone_test.go b/pkg/appsec/configuration_clone_test.go index 5680d137..04e8eeb9 100644 --- a/pkg/appsec/configuration_clone_test.go +++ b/pkg/appsec/configuration_clone_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/configuration_test.go b/pkg/appsec/configuration_test.go index 7ddda6ed..c3571d37 100644 --- a/pkg/appsec/configuration_test.go +++ b/pkg/appsec/configuration_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/configuration_version_clone_test.go b/pkg/appsec/configuration_version_clone_test.go index 04646e19..a42e60dd 100644 --- a/pkg/appsec/configuration_version_clone_test.go +++ b/pkg/appsec/configuration_version_clone_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/configuration_version_test.go b/pkg/appsec/configuration_version_test.go index ea9f3c36..a604f7d3 100644 --- a/pkg/appsec/configuration_version_test.go +++ b/pkg/appsec/configuration_version_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/custom_deny_test.go b/pkg/appsec/custom_deny_test.go index be1d4ce6..2abfadd3 100644 --- a/pkg/appsec/custom_deny_test.go +++ b/pkg/appsec/custom_deny_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/custom_rule_action_test.go b/pkg/appsec/custom_rule_action_test.go index e28c0a6f..c28b166e 100644 --- a/pkg/appsec/custom_rule_action_test.go +++ b/pkg/appsec/custom_rule_action_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/custom_rule_test.go b/pkg/appsec/custom_rule_test.go index bf399167..ff2f98ab 100644 --- a/pkg/appsec/custom_rule_test.go +++ b/pkg/appsec/custom_rule_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/errors.go b/pkg/appsec/errors.go index 760896c0..77bf0f4c 100644 --- a/pkg/appsec/errors.go +++ b/pkg/appsec/errors.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/errs" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/errs" ) var ( diff --git a/pkg/appsec/errors_test.go b/pkg/appsec/errors_test.go index 06aba76e..9f5c6f68 100644 --- a/pkg/appsec/errors_test.go +++ b/pkg/appsec/errors_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/require" "github.com/tj/assert" ) diff --git a/pkg/appsec/eval_group_test.go b/pkg/appsec/eval_group_test.go index a2409412..19c36874 100644 --- a/pkg/appsec/eval_group_test.go +++ b/pkg/appsec/eval_group_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/eval_penalty_box_conditions_test.go b/pkg/appsec/eval_penalty_box_conditions_test.go index 04b3d85c..59f22b86 100644 --- a/pkg/appsec/eval_penalty_box_conditions_test.go +++ b/pkg/appsec/eval_penalty_box_conditions_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/eval_penalty_box_test.go b/pkg/appsec/eval_penalty_box_test.go index ca5ee658..ccb1eb1c 100644 --- a/pkg/appsec/eval_penalty_box_test.go +++ b/pkg/appsec/eval_penalty_box_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/eval_rule_test.go b/pkg/appsec/eval_rule_test.go index 41c2d1f9..16267999 100644 --- a/pkg/appsec/eval_rule_test.go +++ b/pkg/appsec/eval_rule_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/eval_test.go b/pkg/appsec/eval_test.go index f332d424..2aa50739 100644 --- a/pkg/appsec/eval_test.go +++ b/pkg/appsec/eval_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/export_configuration_test.go b/pkg/appsec/export_configuration_test.go index 6353b3ad..5cf0c104 100644 --- a/pkg/appsec/export_configuration_test.go +++ b/pkg/appsec/export_configuration_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/failover_hostnames_test.go b/pkg/appsec/failover_hostnames_test.go index ae5a2b68..328f866b 100644 --- a/pkg/appsec/failover_hostnames_test.go +++ b/pkg/appsec/failover_hostnames_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/ip_geo_protection_test.go b/pkg/appsec/ip_geo_protection_test.go index eb6b79f1..bac1fa93 100644 --- a/pkg/appsec/ip_geo_protection_test.go +++ b/pkg/appsec/ip_geo_protection_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/ip_geo_test.go b/pkg/appsec/ip_geo_test.go index a24ae984..a0dea382 100644 --- a/pkg/appsec/ip_geo_test.go +++ b/pkg/appsec/ip_geo_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/malware_policy_action_test.go b/pkg/appsec/malware_policy_action_test.go index c178b801..17816941 100644 --- a/pkg/appsec/malware_policy_action_test.go +++ b/pkg/appsec/malware_policy_action_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/malware_policy_test.go b/pkg/appsec/malware_policy_test.go index 17a2a5e7..6046dd65 100644 --- a/pkg/appsec/malware_policy_test.go +++ b/pkg/appsec/malware_policy_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/malware_protection_test.go b/pkg/appsec/malware_protection_test.go index c31988ae..21e79d49 100644 --- a/pkg/appsec/malware_protection_test.go +++ b/pkg/appsec/malware_protection_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/match_target_sequence_test.go b/pkg/appsec/match_target_sequence_test.go index 7a45b473..75e6b023 100644 --- a/pkg/appsec/match_target_sequence_test.go +++ b/pkg/appsec/match_target_sequence_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/match_target_test.go b/pkg/appsec/match_target_test.go index 0331d4a0..74edbc99 100644 --- a/pkg/appsec/match_target_test.go +++ b/pkg/appsec/match_target_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/penalty_box_conditions.go b/pkg/appsec/penalty_box_conditions.go index 9e079528..ddb1894c 100644 --- a/pkg/appsec/penalty_box_conditions.go +++ b/pkg/appsec/penalty_box_conditions.go @@ -5,7 +5,7 @@ import ( "fmt" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/appsec/penalty_box_conditions_test.go b/pkg/appsec/penalty_box_conditions_test.go index 0d7c3c57..94a8ae17 100644 --- a/pkg/appsec/penalty_box_conditions_test.go +++ b/pkg/appsec/penalty_box_conditions_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/penalty_box_test.go b/pkg/appsec/penalty_box_test.go index b4b36577..b583a338 100644 --- a/pkg/appsec/penalty_box_test.go +++ b/pkg/appsec/penalty_box_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/rate_policy_action_test.go b/pkg/appsec/rate_policy_action_test.go index be334893..6ac39d21 100644 --- a/pkg/appsec/rate_policy_action_test.go +++ b/pkg/appsec/rate_policy_action_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/rate_policy_test.go b/pkg/appsec/rate_policy_test.go index 35f97d15..1ed7ae9a 100644 --- a/pkg/appsec/rate_policy_test.go +++ b/pkg/appsec/rate_policy_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/rate_protection_test.go b/pkg/appsec/rate_protection_test.go index 75b757a5..fab78eb0 100644 --- a/pkg/appsec/rate_protection_test.go +++ b/pkg/appsec/rate_protection_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/reputation_analysis_test.go b/pkg/appsec/reputation_analysis_test.go index 6763bc84..37ba4902 100644 --- a/pkg/appsec/reputation_analysis_test.go +++ b/pkg/appsec/reputation_analysis_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/reputation_profile_action_test.go b/pkg/appsec/reputation_profile_action_test.go index 398ef5dc..985a3c6a 100644 --- a/pkg/appsec/reputation_profile_action_test.go +++ b/pkg/appsec/reputation_profile_action_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/reputation_profile_test.go b/pkg/appsec/reputation_profile_test.go index 821f032b..0369cfa0 100644 --- a/pkg/appsec/reputation_profile_test.go +++ b/pkg/appsec/reputation_profile_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/reputation_protection_test.go b/pkg/appsec/reputation_protection_test.go index 497b2395..49624695 100644 --- a/pkg/appsec/reputation_protection_test.go +++ b/pkg/appsec/reputation_protection_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/rule_test.go b/pkg/appsec/rule_test.go index c84eb286..77a392b4 100644 --- a/pkg/appsec/rule_test.go +++ b/pkg/appsec/rule_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/rule_upgrade_test.go b/pkg/appsec/rule_upgrade_test.go index 0dd273aa..10d4272f 100644 --- a/pkg/appsec/rule_upgrade_test.go +++ b/pkg/appsec/rule_upgrade_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/security_policy.go b/pkg/appsec/security_policy.go index 462314d5..983a3677 100644 --- a/pkg/appsec/security_policy.go +++ b/pkg/appsec/security_policy.go @@ -5,7 +5,7 @@ import ( "fmt" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/appsec/security_policy_clone_test.go b/pkg/appsec/security_policy_clone_test.go index ef96cd70..a2641353 100644 --- a/pkg/appsec/security_policy_clone_test.go +++ b/pkg/appsec/security_policy_clone_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/security_policy_protections_test.go b/pkg/appsec/security_policy_protections_test.go index a5a014f1..60c0ca6d 100644 --- a/pkg/appsec/security_policy_protections_test.go +++ b/pkg/appsec/security_policy_protections_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/security_policy_test.go b/pkg/appsec/security_policy_test.go index 0e39b255..be104ed0 100644 --- a/pkg/appsec/security_policy_test.go +++ b/pkg/appsec/security_policy_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/selectable_hostnames_test.go b/pkg/appsec/selectable_hostnames_test.go index cdc4d0f3..1f10fe64 100644 --- a/pkg/appsec/selectable_hostnames_test.go +++ b/pkg/appsec/selectable_hostnames_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/selected_hostname_test.go b/pkg/appsec/selected_hostname_test.go index 0ba22228..cb16f4fa 100644 --- a/pkg/appsec/selected_hostname_test.go +++ b/pkg/appsec/selected_hostname_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/siem_settings_test.go b/pkg/appsec/siem_settings_test.go index 42d9c323..d834319d 100644 --- a/pkg/appsec/siem_settings_test.go +++ b/pkg/appsec/siem_settings_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/slow_post_protection_setting_test.go b/pkg/appsec/slow_post_protection_setting_test.go index ce4fd812..0aafcdee 100644 --- a/pkg/appsec/slow_post_protection_setting_test.go +++ b/pkg/appsec/slow_post_protection_setting_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/slowpost_protection_test.go b/pkg/appsec/slowpost_protection_test.go index a07b2eae..723f45a6 100644 --- a/pkg/appsec/slowpost_protection_test.go +++ b/pkg/appsec/slowpost_protection_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/threat_intel_test.go b/pkg/appsec/threat_intel_test.go index 51df3179..93f394d3 100644 --- a/pkg/appsec/threat_intel_test.go +++ b/pkg/appsec/threat_intel_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/tuning_recommendations_test.go b/pkg/appsec/tuning_recommendations_test.go index 7f4dbef6..4ff76065 100644 --- a/pkg/appsec/tuning_recommendations_test.go +++ b/pkg/appsec/tuning_recommendations_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/version_notes_test.go b/pkg/appsec/version_notes_test.go index 46aada61..2f2cf363 100644 --- a/pkg/appsec/version_notes_test.go +++ b/pkg/appsec/version_notes_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/waf_mode_test.go b/pkg/appsec/waf_mode_test.go index 56ad6eba..72039ec9 100644 --- a/pkg/appsec/waf_mode_test.go +++ b/pkg/appsec/waf_mode_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/waf_protection_test.go b/pkg/appsec/waf_protection_test.go index 9dca5d08..47e64983 100644 --- a/pkg/appsec/waf_protection_test.go +++ b/pkg/appsec/waf_protection_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/wap_bypass_network_lists_test.go b/pkg/appsec/wap_bypass_network_lists_test.go index 11a65c03..26475963 100644 --- a/pkg/appsec/wap_bypass_network_lists_test.go +++ b/pkg/appsec/wap_bypass_network_lists_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/appsec/wap_selected_hostnames_test.go b/pkg/appsec/wap_selected_hostnames_test.go index 65c312ea..14e7d349 100644 --- a/pkg/appsec/wap_selected_hostnames_test.go +++ b/pkg/appsec/wap_selected_hostnames_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/akamai_bot_category_action_test.go b/pkg/botman/akamai_bot_category_action_test.go index e6800ad9..9f2debe8 100644 --- a/pkg/botman/akamai_bot_category_action_test.go +++ b/pkg/botman/akamai_bot_category_action_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/akamai_bot_category_test.go b/pkg/botman/akamai_bot_category_test.go index 4dfb1a37..b202d4fb 100644 --- a/pkg/botman/akamai_bot_category_test.go +++ b/pkg/botman/akamai_bot_category_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/akamai_defined_bot_test.go b/pkg/botman/akamai_defined_bot_test.go index d1ab078f..54eeb483 100644 --- a/pkg/botman/akamai_defined_bot_test.go +++ b/pkg/botman/akamai_defined_bot_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/bot_analytics_cookie_test.go b/pkg/botman/bot_analytics_cookie_test.go index aa24d009..823db04c 100644 --- a/pkg/botman/bot_analytics_cookie_test.go +++ b/pkg/botman/bot_analytics_cookie_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/bot_analytics_cookie_values_test.go b/pkg/botman/bot_analytics_cookie_values_test.go index 34090fa0..c4f08a19 100644 --- a/pkg/botman/bot_analytics_cookie_values_test.go +++ b/pkg/botman/bot_analytics_cookie_values_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/bot_category_exception_test.go b/pkg/botman/bot_category_exception_test.go index a48e24a6..2b1bbbe1 100644 --- a/pkg/botman/bot_category_exception_test.go +++ b/pkg/botman/bot_category_exception_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/pkg/botman/bot_detection_action_test.go b/pkg/botman/bot_detection_action_test.go index 91fce3f3..ec06a913 100644 --- a/pkg/botman/bot_detection_action_test.go +++ b/pkg/botman/bot_detection_action_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/bot_detection_test.go b/pkg/botman/bot_detection_test.go index bcf5b88e..9e5454e9 100644 --- a/pkg/botman/bot_detection_test.go +++ b/pkg/botman/bot_detection_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/bot_endpoint_coverage_report_test.go b/pkg/botman/bot_endpoint_coverage_report_test.go index 4ce951d3..75c5ef5d 100644 --- a/pkg/botman/bot_endpoint_coverage_report_test.go +++ b/pkg/botman/bot_endpoint_coverage_report_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/bot_management_setting_test.go b/pkg/botman/bot_management_setting_test.go index 740281c5..cd7231f3 100644 --- a/pkg/botman/bot_management_setting_test.go +++ b/pkg/botman/bot_management_setting_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/pkg/botman/botman.go b/pkg/botman/botman.go index 50dff4f1..5c062114 100644 --- a/pkg/botman/botman.go +++ b/pkg/botman/botman.go @@ -4,7 +4,7 @@ package botman import ( "errors" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" ) var ( diff --git a/pkg/botman/botman_test.go b/pkg/botman/botman_test.go index 1f9a46d4..b30a12ee 100644 --- a/pkg/botman/botman_test.go +++ b/pkg/botman/botman_test.go @@ -12,8 +12,8 @@ import ( "net/url" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/challenge_action_test.go b/pkg/botman/challenge_action_test.go index 7f27fdb6..f017d8f2 100644 --- a/pkg/botman/challenge_action_test.go +++ b/pkg/botman/challenge_action_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/challenge_injection_rules.go b/pkg/botman/challenge_injection_rules.go index 3d4d24e8..9d455a5d 100644 --- a/pkg/botman/challenge_injection_rules.go +++ b/pkg/botman/challenge_injection_rules.go @@ -6,7 +6,7 @@ import ( "fmt" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/botman/challenge_injection_rules_test.go b/pkg/botman/challenge_injection_rules_test.go index 66f4fbd4..0d4f4743 100644 --- a/pkg/botman/challenge_injection_rules_test.go +++ b/pkg/botman/challenge_injection_rules_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/challenge_interception_rules_test.go b/pkg/botman/challenge_interception_rules_test.go index baf2a138..0f757cd3 100644 --- a/pkg/botman/challenge_interception_rules_test.go +++ b/pkg/botman/challenge_interception_rules_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/client_side_security_test.go b/pkg/botman/client_side_security_test.go index aa1355bd..3fbcc949 100644 --- a/pkg/botman/client_side_security_test.go +++ b/pkg/botman/client_side_security_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/conditonal_action_test.go b/pkg/botman/conditonal_action_test.go index f7225c95..0feaeddb 100644 --- a/pkg/botman/conditonal_action_test.go +++ b/pkg/botman/conditonal_action_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/custom_bot_category_action_test.go b/pkg/botman/custom_bot_category_action_test.go index cd12fc49..ec230c50 100644 --- a/pkg/botman/custom_bot_category_action_test.go +++ b/pkg/botman/custom_bot_category_action_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/custom_bot_category_sequence_test.go b/pkg/botman/custom_bot_category_sequence_test.go index 4263189d..c7c7719b 100644 --- a/pkg/botman/custom_bot_category_sequence_test.go +++ b/pkg/botman/custom_bot_category_sequence_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/custom_bot_category_test.go b/pkg/botman/custom_bot_category_test.go index 0f83e137..20508a48 100644 --- a/pkg/botman/custom_bot_category_test.go +++ b/pkg/botman/custom_bot_category_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/custom_client_sequence.go b/pkg/botman/custom_client_sequence.go index 299b6de2..5fbfc96b 100644 --- a/pkg/botman/custom_client_sequence.go +++ b/pkg/botman/custom_client_sequence.go @@ -5,7 +5,7 @@ import ( "fmt" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/botman/custom_client_sequence_test.go b/pkg/botman/custom_client_sequence_test.go index 21b11158..6b18b426 100644 --- a/pkg/botman/custom_client_sequence_test.go +++ b/pkg/botman/custom_client_sequence_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/custom_client_test.go b/pkg/botman/custom_client_test.go index 10c1b5f7..d5cd2758 100644 --- a/pkg/botman/custom_client_test.go +++ b/pkg/botman/custom_client_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/custom_code_test.go b/pkg/botman/custom_code_test.go index 31c44fd9..e0d43ba3 100644 --- a/pkg/botman/custom_code_test.go +++ b/pkg/botman/custom_code_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/custom_defined_bot_test.go b/pkg/botman/custom_defined_bot_test.go index 120837a5..ce4885cf 100644 --- a/pkg/botman/custom_defined_bot_test.go +++ b/pkg/botman/custom_defined_bot_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/custom_deny_action_test.go b/pkg/botman/custom_deny_action_test.go index 99e68e2d..68fcabc2 100644 --- a/pkg/botman/custom_deny_action_test.go +++ b/pkg/botman/custom_deny_action_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/errors.go b/pkg/botman/errors.go index 55173b63..c2c1a306 100644 --- a/pkg/botman/errors.go +++ b/pkg/botman/errors.go @@ -8,7 +8,7 @@ import ( "net/http" "strings" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/errs" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/errs" ) type ( diff --git a/pkg/botman/errors_test.go b/pkg/botman/errors_test.go index 1e3acc0b..4efa1882 100644 --- a/pkg/botman/errors_test.go +++ b/pkg/botman/errors_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/require" "github.com/tj/assert" diff --git a/pkg/botman/javascript_injection_test.go b/pkg/botman/javascript_injection_test.go index a9831636..f7f5f900 100644 --- a/pkg/botman/javascript_injection_test.go +++ b/pkg/botman/javascript_injection_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/recategorized_akamai_defined_bot_test.go b/pkg/botman/recategorized_akamai_defined_bot_test.go index a9444932..b51696bc 100644 --- a/pkg/botman/recategorized_akamai_defined_bot_test.go +++ b/pkg/botman/recategorized_akamai_defined_bot_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/response_action_test.go b/pkg/botman/response_action_test.go index 9a18ad06..47744a23 100644 --- a/pkg/botman/response_action_test.go +++ b/pkg/botman/response_action_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/serve_alternate_action_test.go b/pkg/botman/serve_alternate_action_test.go index a6519d0d..f9c1ead8 100644 --- a/pkg/botman/serve_alternate_action_test.go +++ b/pkg/botman/serve_alternate_action_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/transactional_endpoint_protection_test.go b/pkg/botman/transactional_endpoint_protection_test.go index 0d572e37..d8120e06 100644 --- a/pkg/botman/transactional_endpoint_protection_test.go +++ b/pkg/botman/transactional_endpoint_protection_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/botman/transactional_endpoint_test.go b/pkg/botman/transactional_endpoint_test.go index 80bb2cfc..5541c8f5 100644 --- a/pkg/botman/transactional_endpoint_test.go +++ b/pkg/botman/transactional_endpoint_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/clientlists/client_list.go b/pkg/clientlists/client_list.go index 2ac065a6..bae14f21 100644 --- a/pkg/clientlists/client_list.go +++ b/pkg/clientlists/client_list.go @@ -7,7 +7,7 @@ import ( "net/url" "strconv" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/clientlists/client_list_activation.go b/pkg/clientlists/client_list_activation.go index 90511773..b29ae558 100644 --- a/pkg/clientlists/client_list_activation.go +++ b/pkg/clientlists/client_list_activation.go @@ -5,7 +5,7 @@ import ( "fmt" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/clientlists/client_list_activation_test.go b/pkg/clientlists/client_list_activation_test.go index 5d852594..2c9d807e 100644 --- a/pkg/clientlists/client_list_activation_test.go +++ b/pkg/clientlists/client_list_activation_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/require" "github.com/tj/assert" ) diff --git a/pkg/clientlists/client_list_test.go b/pkg/clientlists/client_list_test.go index 6abebb10..373457f8 100644 --- a/pkg/clientlists/client_list_test.go +++ b/pkg/clientlists/client_list_test.go @@ -9,8 +9,8 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/require" "github.com/tj/assert" ) diff --git a/pkg/clientlists/clientlists.go b/pkg/clientlists/clientlists.go index 1ea40582..b358c3c2 100644 --- a/pkg/clientlists/clientlists.go +++ b/pkg/clientlists/clientlists.go @@ -6,7 +6,7 @@ package clientlists import ( "errors" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" ) var ( diff --git a/pkg/clientlists/clientlists_test.go b/pkg/clientlists/clientlists_test.go index e6576215..7e36a309 100644 --- a/pkg/clientlists/clientlists_test.go +++ b/pkg/clientlists/clientlists_test.go @@ -12,8 +12,8 @@ import ( "net/url" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/require" "github.com/tj/assert" ) diff --git a/pkg/clientlists/errors.go b/pkg/clientlists/errors.go index 173c208a..5095c72e 100644 --- a/pkg/clientlists/errors.go +++ b/pkg/clientlists/errors.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/errs" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/errs" ) type ( diff --git a/pkg/clientlists/errors_test.go b/pkg/clientlists/errors_test.go index ca5015d7..a5bb704d 100644 --- a/pkg/clientlists/errors_test.go +++ b/pkg/clientlists/errors_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/require" "github.com/tj/assert" diff --git a/pkg/cloudlets/cloudlets.go b/pkg/cloudlets/cloudlets.go index 692243c0..407e3894 100644 --- a/pkg/cloudlets/cloudlets.go +++ b/pkg/cloudlets/cloudlets.go @@ -4,7 +4,7 @@ package cloudlets import ( "errors" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" ) var ( diff --git a/pkg/cloudlets/cloudlets_test.go b/pkg/cloudlets/cloudlets_test.go index cf694e53..341e0394 100644 --- a/pkg/cloudlets/cloudlets_test.go +++ b/pkg/cloudlets/cloudlets_test.go @@ -8,8 +8,8 @@ import ( "net/url" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/cloudlets/errors.go b/pkg/cloudlets/errors.go index 942c44ad..993c011b 100644 --- a/pkg/cloudlets/errors.go +++ b/pkg/cloudlets/errors.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/errs" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/errs" ) type ( diff --git a/pkg/cloudlets/errors_test.go b/pkg/cloudlets/errors_test.go index 11d4d711..9511d89e 100644 --- a/pkg/cloudlets/errors_test.go +++ b/pkg/cloudlets/errors_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/require" "github.com/tj/assert" ) diff --git a/pkg/cloudlets/loadbalancer.go b/pkg/cloudlets/loadbalancer.go index 84b4b2a7..0f9e0b6f 100644 --- a/pkg/cloudlets/loadbalancer.go +++ b/pkg/cloudlets/loadbalancer.go @@ -7,7 +7,7 @@ import ( "net/http" "net/url" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/cloudlets/loadbalancer_activation.go b/pkg/cloudlets/loadbalancer_activation.go index 02a62fb7..269f9574 100644 --- a/pkg/cloudlets/loadbalancer_activation.go +++ b/pkg/cloudlets/loadbalancer_activation.go @@ -8,7 +8,7 @@ import ( "net/url" "strconv" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/cloudlets/loadbalancer_activation_test.go b/pkg/cloudlets/loadbalancer_activation_test.go index 043ed1ba..54ffc9fb 100644 --- a/pkg/cloudlets/loadbalancer_activation_test.go +++ b/pkg/cloudlets/loadbalancer_activation_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/pkg/cloudlets/loadbalancer_version.go b/pkg/cloudlets/loadbalancer_version.go index 11775f65..8859b21f 100644 --- a/pkg/cloudlets/loadbalancer_version.go +++ b/pkg/cloudlets/loadbalancer_version.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/cloudlets/loadbalancer_version_test.go b/pkg/cloudlets/loadbalancer_version_test.go index 345f3b2b..21914e24 100644 --- a/pkg/cloudlets/loadbalancer_version_test.go +++ b/pkg/cloudlets/loadbalancer_version_test.go @@ -9,7 +9,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/stretchr/testify/require" diff --git a/pkg/cloudlets/match_rule.go b/pkg/cloudlets/match_rule.go index 5fb1fff5..766f0496 100644 --- a/pkg/cloudlets/match_rule.go +++ b/pkg/cloudlets/match_rule.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/cloudlets/match_rule_test.go b/pkg/cloudlets/match_rule_test.go index 0edbb669..bb1586d9 100644 --- a/pkg/cloudlets/match_rule_test.go +++ b/pkg/cloudlets/match_rule_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" "github.com/tj/assert" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" ) func TestUnmarshalJSONMatchRules(t *testing.T) { diff --git a/pkg/cloudlets/policy_property.go b/pkg/cloudlets/policy_property.go index 83c60271..dd466fa0 100644 --- a/pkg/cloudlets/policy_property.go +++ b/pkg/cloudlets/policy_property.go @@ -7,7 +7,7 @@ import ( "net/http" "net/url" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/cloudlets/policy_test.go b/pkg/cloudlets/policy_test.go index 4ed3e82b..80233ea1 100644 --- a/pkg/cloudlets/policy_test.go +++ b/pkg/cloudlets/policy_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/require" "github.com/tj/assert" diff --git a/pkg/cloudlets/policy_version.go b/pkg/cloudlets/policy_version.go index caa18fa3..42777378 100644 --- a/pkg/cloudlets/policy_version.go +++ b/pkg/cloudlets/policy_version.go @@ -8,7 +8,7 @@ import ( "net/url" "strconv" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/cloudlets/policy_version_activation.go b/pkg/cloudlets/policy_version_activation.go index 77bf3bef..1b2ce15b 100644 --- a/pkg/cloudlets/policy_version_activation.go +++ b/pkg/cloudlets/policy_version_activation.go @@ -8,7 +8,7 @@ import ( "net/http" "net/url" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/cloudlets/policy_version_test.go b/pkg/cloudlets/policy_version_test.go index 1b61c652..57786a96 100644 --- a/pkg/cloudlets/policy_version_test.go +++ b/pkg/cloudlets/policy_version_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/require" "github.com/tj/assert" diff --git a/pkg/cloudlets/v3/cloudlets.go b/pkg/cloudlets/v3/cloudlets.go index 8f14eee9..c9aa5bd3 100644 --- a/pkg/cloudlets/v3/cloudlets.go +++ b/pkg/cloudlets/v3/cloudlets.go @@ -5,7 +5,7 @@ import ( "context" "errors" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" ) var ( diff --git a/pkg/cloudlets/v3/cloudlets_test.go b/pkg/cloudlets/v3/cloudlets_test.go index 59905a49..1075b301 100644 --- a/pkg/cloudlets/v3/cloudlets_test.go +++ b/pkg/cloudlets/v3/cloudlets_test.go @@ -8,8 +8,8 @@ import ( "net/url" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/cloudlets/v3/errors.go b/pkg/cloudlets/v3/errors.go index 0d9e9b61..860f7664 100644 --- a/pkg/cloudlets/v3/errors.go +++ b/pkg/cloudlets/v3/errors.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/errs" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/errs" ) // Error is a cloudlets error interface. diff --git a/pkg/cloudlets/v3/errors_test.go b/pkg/cloudlets/v3/errors_test.go index bd9ba2c7..b3e3f28c 100644 --- a/pkg/cloudlets/v3/errors_test.go +++ b/pkg/cloudlets/v3/errors_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/require" "github.com/tj/assert" ) diff --git a/pkg/cloudlets/v3/match_rule.go b/pkg/cloudlets/v3/match_rule.go index 1ab2a0fd..65d12e13 100644 --- a/pkg/cloudlets/v3/match_rule.go +++ b/pkg/cloudlets/v3/match_rule.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/cloudlets/v3/match_rule_test.go b/pkg/cloudlets/v3/match_rule_test.go index 2f44d941..68ea0637 100644 --- a/pkg/cloudlets/v3/match_rule_test.go +++ b/pkg/cloudlets/v3/match_rule_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" "github.com/tj/assert" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" ) func TestUnmarshalJSONMatchRules(t *testing.T) { diff --git a/pkg/cloudlets/v3/policy.go b/pkg/cloudlets/v3/policy.go index bdc860cf..98e64516 100644 --- a/pkg/cloudlets/v3/policy.go +++ b/pkg/cloudlets/v3/policy.go @@ -10,7 +10,7 @@ import ( "strconv" "time" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/cloudlets/v3/policy_activation.go b/pkg/cloudlets/v3/policy_activation.go index fd52e42c..d3492886 100644 --- a/pkg/cloudlets/v3/policy_activation.go +++ b/pkg/cloudlets/v3/policy_activation.go @@ -9,7 +9,7 @@ import ( "strconv" "time" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/cloudlets/v3/policy_property.go b/pkg/cloudlets/v3/policy_property.go index 98b9e9d4..19869897 100644 --- a/pkg/cloudlets/v3/policy_property.go +++ b/pkg/cloudlets/v3/policy_property.go @@ -8,7 +8,7 @@ import ( "net/url" "strconv" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/cloudlets/v3/policy_test.go b/pkg/cloudlets/v3/policy_test.go index aa3ed6d6..5e0931a9 100644 --- a/pkg/cloudlets/v3/policy_test.go +++ b/pkg/cloudlets/v3/policy_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/cloudlets/v3/policy_version.go b/pkg/cloudlets/v3/policy_version.go index 17f00661..eaf7abf9 100644 --- a/pkg/cloudlets/v3/policy_version.go +++ b/pkg/cloudlets/v3/policy_version.go @@ -8,7 +8,7 @@ import ( "net/url" "time" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/cloudlets/v3/policy_version_test.go b/pkg/cloudlets/v3/policy_version_test.go index 35b377de..4f45a457 100644 --- a/pkg/cloudlets/v3/policy_version_test.go +++ b/pkg/cloudlets/v3/policy_version_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/require" "github.com/tj/assert" ) diff --git a/pkg/cloudwrapper/cloudwrapper.go b/pkg/cloudwrapper/cloudwrapper.go index 1125da47..46b8bbcf 100644 --- a/pkg/cloudwrapper/cloudwrapper.go +++ b/pkg/cloudwrapper/cloudwrapper.go @@ -4,7 +4,7 @@ package cloudwrapper import ( "errors" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" ) var ( diff --git a/pkg/cloudwrapper/cloudwrapper_test.go b/pkg/cloudwrapper/cloudwrapper_test.go index 8f48bdd6..1922f35e 100644 --- a/pkg/cloudwrapper/cloudwrapper_test.go +++ b/pkg/cloudwrapper/cloudwrapper_test.go @@ -8,8 +8,8 @@ import ( "net/url" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/cloudwrapper/configurations.go b/pkg/cloudwrapper/configurations.go index 39f34a9b..6d47041b 100644 --- a/pkg/cloudwrapper/configurations.go +++ b/pkg/cloudwrapper/configurations.go @@ -8,7 +8,7 @@ import ( "net/url" "strconv" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/cloudwrapper/configurations_test.go b/pkg/cloudwrapper/configurations_test.go index 93347435..9f5cc7ed 100644 --- a/pkg/cloudwrapper/configurations_test.go +++ b/pkg/cloudwrapper/configurations_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/cloudwrapper/errors.go b/pkg/cloudwrapper/errors.go index aa0c15e9..428b2b9b 100644 --- a/pkg/cloudwrapper/errors.go +++ b/pkg/cloudwrapper/errors.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/errs" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/errs" ) type ( diff --git a/pkg/cloudwrapper/errors_test.go b/pkg/cloudwrapper/errors_test.go index 478fdc94..aa030f54 100644 --- a/pkg/cloudwrapper/errors_test.go +++ b/pkg/cloudwrapper/errors_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/require" "github.com/tj/assert" ) diff --git a/pkg/cloudwrapper/multi_cdn.go b/pkg/cloudwrapper/multi_cdn.go index 3326d2db..8824ea2e 100644 --- a/pkg/cloudwrapper/multi_cdn.go +++ b/pkg/cloudwrapper/multi_cdn.go @@ -7,7 +7,7 @@ import ( "net/http" "net/url" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/cloudwrapper/properties.go b/pkg/cloudwrapper/properties.go index fd5d3720..e4b12f89 100644 --- a/pkg/cloudwrapper/properties.go +++ b/pkg/cloudwrapper/properties.go @@ -8,7 +8,7 @@ import ( "net/url" "strconv" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/cps/change_management_info.go b/pkg/cps/change_management_info.go index 68cf2eeb..4e3c222f 100644 --- a/pkg/cps/change_management_info.go +++ b/pkg/cps/change_management_info.go @@ -131,7 +131,7 @@ func (c *cps) GetChangeDeploymentInfo(ctx context.Context, params GetChangeReque if err != nil { return nil, fmt.Errorf("%w: failed to create request: %s", ErrGetChangeDeploymentInfo, err) } - req.Header.Set("Accept", "application/vnd.akamai.cps.deployment.v7+json") + req.Header.Set("Accept", "application/vnd.akamai.cps.deployment.v8+json") var result ChangeDeploymentInfoResponse resp, err := c.Exec(req, &result) diff --git a/pkg/cps/change_management_info_test.go b/pkg/cps/change_management_info_test.go index c5ad5a30..9e1bc348 100644 --- a/pkg/cps/change_management_info_test.go +++ b/pkg/cps/change_management_info_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" @@ -258,7 +258,7 @@ func TestGetChangeDeploymentInfo(t *testing.T) { mockServer := httptest.NewTLSServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { assert.Equal(t, test.expectedPath, r.URL.String()) assert.Equal(t, http.MethodGet, r.Method) - assert.Equal(t, "application/vnd.akamai.cps.deployment.v7+json", r.Header.Get("Accept")) + assert.Equal(t, "application/vnd.akamai.cps.deployment.v8+json", r.Header.Get("Accept")) w.WriteHeader(test.responseStatus) _, err := w.Write([]byte(test.responseBody)) assert.NoError(t, err) diff --git a/pkg/cps/cps.go b/pkg/cps/cps.go index bbef90ff..c8166158 100644 --- a/pkg/cps/cps.go +++ b/pkg/cps/cps.go @@ -4,7 +4,7 @@ package cps import ( "errors" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" ) var ( diff --git a/pkg/cps/cps_test.go b/pkg/cps/cps_test.go index f4b4b313..40aea834 100644 --- a/pkg/cps/cps_test.go +++ b/pkg/cps/cps_test.go @@ -8,8 +8,8 @@ import ( "net/url" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/cps/deployment_schedules_test.go b/pkg/cps/deployment_schedules_test.go index 492fe4f2..4f145882 100644 --- a/pkg/cps/deployment_schedules_test.go +++ b/pkg/cps/deployment_schedules_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/cps/deployments.go b/pkg/cps/deployments.go index dd74c9d9..b89f9ec1 100644 --- a/pkg/cps/deployments.go +++ b/pkg/cps/deployments.go @@ -119,7 +119,7 @@ func (c *cps) ListDeployments(ctx context.Context, params ListDeploymentsRequest if err != nil { return nil, fmt.Errorf("%w: failed to create request: %s", ErrListDeployments, err) } - req.Header.Set("Accept", "application/vnd.akamai.cps.deployments.v7+json") + req.Header.Set("Accept", "application/vnd.akamai.cps.deployments.v8+json") var result ListDeploymentsResponse resp, err := c.Exec(req, &result) @@ -148,7 +148,7 @@ func (c *cps) GetProductionDeployment(ctx context.Context, params GetDeploymentR if err != nil { return nil, fmt.Errorf("%w: failed to create request: %s", ErrGetProductionDeployment, err) } - req.Header.Set("Accept", "application/vnd.akamai.cps.deployment.v7+json") + req.Header.Set("Accept", "application/vnd.akamai.cps.deployment.v8+json") var result GetProductionDeploymentResponse resp, err := c.Exec(req, &result) @@ -177,7 +177,7 @@ func (c *cps) GetStagingDeployment(ctx context.Context, params GetDeploymentRequ if err != nil { return nil, fmt.Errorf("%w: failed to create request: %s", ErrGetStagingDeployment, err) } - req.Header.Set("Accept", "application/vnd.akamai.cps.deployment.v7+json") + req.Header.Set("Accept", "application/vnd.akamai.cps.deployment.v8+json") var result GetStagingDeploymentResponse resp, err := c.Exec(req, &result) diff --git a/pkg/cps/deployments_test.go b/pkg/cps/deployments_test.go index 0151679b..385a6989 100644 --- a/pkg/cps/deployments_test.go +++ b/pkg/cps/deployments_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) @@ -99,7 +99,7 @@ func TestListDeployments(t *testing.T) { }`, expectedPath: "/cps/v2/enrollments/10/deployments", expectedHeaders: map[string]string{ - "Accept": "application/vnd.akamai.cps.deployments.v7+json", + "Accept": "application/vnd.akamai.cps.deployments.v8+json", }, expectedResponse: &ListDeploymentsResponse{ Production: &Deployment{ @@ -186,7 +186,7 @@ func TestListDeployments(t *testing.T) { }`, expectedPath: "/cps/v2/enrollments/500/deployments", expectedHeaders: map[string]string{ - "Accept": "application/vnd.akamai.cps.deployments.v7+json", + "Accept": "application/vnd.akamai.cps.deployments.v8+json", }, withError: func(t *testing.T, err error) { want := &Error{ @@ -274,7 +274,7 @@ func TestGetProductionDeployment(t *testing.T) { }`, expectedPath: "/cps/v2/enrollments/10/deployments/production", expectedHeaders: map[string]string{ - "Accept": "application/vnd.akamai.cps.deployment.v7+json", + "Accept": "application/vnd.akamai.cps.deployment.v8+json", }, expectedResponse: &GetProductionDeploymentResponse{ OCSPStapled: tools.BoolPtr(false), @@ -324,7 +324,7 @@ func TestGetProductionDeployment(t *testing.T) { }`, expectedPath: "/cps/v2/enrollments/500/deployments/production", expectedHeaders: map[string]string{ - "Accept": "application/vnd.akamai.cps.deployment.v7+json", + "Accept": "application/vnd.akamai.cps.deployment.v8+json", }, withError: func(t *testing.T, err error) { want := &Error{ @@ -418,7 +418,7 @@ func TestGetStagingDeployment(t *testing.T) { }`, expectedPath: "/cps/v2/enrollments/10/deployments/staging", expectedHeaders: map[string]string{ - "Accept": "application/vnd.akamai.cps.deployment.v7+json", + "Accept": "application/vnd.akamai.cps.deployment.v8+json", }, expectedResponse: &GetStagingDeploymentResponse{ @@ -469,7 +469,7 @@ func TestGetStagingDeployment(t *testing.T) { }`, expectedPath: "/cps/v2/enrollments/500/deployments/staging", expectedHeaders: map[string]string{ - "Accept": "application/vnd.akamai.cps.deployment.v7+json", + "Accept": "application/vnd.akamai.cps.deployment.v8+json", }, withError: func(t *testing.T, err error) { want := &Error{ diff --git a/pkg/cps/enrollments_test.go b/pkg/cps/enrollments_test.go index a8efb6a2..451f02fc 100644 --- a/pkg/cps/enrollments_test.go +++ b/pkg/cps/enrollments_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/cps/errors_test.go b/pkg/cps/errors_test.go index b9d94abc..416df6db 100644 --- a/pkg/cps/errors_test.go +++ b/pkg/cps/errors_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/require" "github.com/tj/assert" ) diff --git a/pkg/cps/third_party_csr.go b/pkg/cps/third_party_csr.go index 4f1383fa..fba00799 100644 --- a/pkg/cps/third_party_csr.go +++ b/pkg/cps/third_party_csr.go @@ -6,7 +6,7 @@ import ( "fmt" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/datastream/ds.go b/pkg/datastream/ds.go index 1e907b3b..e89ceca2 100644 --- a/pkg/datastream/ds.go +++ b/pkg/datastream/ds.go @@ -6,7 +6,7 @@ package datastream import ( "errors" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" ) var ( diff --git a/pkg/datastream/ds_test.go b/pkg/datastream/ds_test.go index 947e906f..495df802 100644 --- a/pkg/datastream/ds_test.go +++ b/pkg/datastream/ds_test.go @@ -8,8 +8,8 @@ import ( "net/url" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/require" "github.com/tj/assert" ) diff --git a/pkg/datastream/errors.go b/pkg/datastream/errors.go index 386c99df..97d30292 100644 --- a/pkg/datastream/errors.go +++ b/pkg/datastream/errors.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/errs" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/errs" ) type ( diff --git a/pkg/datastream/errors_test.go b/pkg/datastream/errors_test.go index b84dc82d..98e99a1f 100644 --- a/pkg/datastream/errors_test.go +++ b/pkg/datastream/errors_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/datastream/properties_test.go b/pkg/datastream/properties_test.go index 171a5989..5542f767 100644 --- a/pkg/datastream/properties_test.go +++ b/pkg/datastream/properties_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/datastream/stream_test.go b/pkg/datastream/stream_test.go index f59b0b70..63d7731a 100644 --- a/pkg/datastream/stream_test.go +++ b/pkg/datastream/stream_test.go @@ -9,7 +9,7 @@ import ( "reflect" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/dns/dns.go b/pkg/dns/dns.go index b53dc5d7..7f3b3316 100644 --- a/pkg/dns/dns.go +++ b/pkg/dns/dns.go @@ -6,7 +6,7 @@ package dns import ( "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" ) type ( diff --git a/pkg/dns/dns_test.go b/pkg/dns/dns_test.go index 84e520c9..f839d33f 100644 --- a/pkg/dns/dns_test.go +++ b/pkg/dns/dns_test.go @@ -8,8 +8,8 @@ import ( "net/url" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/dns/errors.go b/pkg/dns/errors.go index bcd8b1cc..a82ebf23 100644 --- a/pkg/dns/errors.go +++ b/pkg/dns/errors.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/errs" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/errs" ) var ( diff --git a/pkg/dns/errors_test.go b/pkg/dns/errors_test.go index 34fd599c..d3c41c8d 100644 --- a/pkg/dns/errors_test.go +++ b/pkg/dns/errors_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/require" "github.com/tj/assert" diff --git a/pkg/dns/record_lookup_test.go b/pkg/dns/record_lookup_test.go index 621dcd26..8d939b58 100644 --- a/pkg/dns/record_lookup_test.go +++ b/pkg/dns/record_lookup_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/dns/zone_test.go b/pkg/dns/zone_test.go index efab0897..e9e9b0e6 100644 --- a/pkg/dns/zone_test.go +++ b/pkg/dns/zone_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/edgeworkers/edgekv_groups.go b/pkg/edgeworkers/edgekv_groups.go index e100f900..a951ee80 100644 --- a/pkg/edgeworkers/edgekv_groups.go +++ b/pkg/edgeworkers/edgekv_groups.go @@ -6,7 +6,7 @@ import ( "fmt" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/edgeworkers/edgekv_namespaces_test.go b/pkg/edgeworkers/edgekv_namespaces_test.go index 7620b85b..8b18321a 100644 --- a/pkg/edgeworkers/edgekv_namespaces_test.go +++ b/pkg/edgeworkers/edgekv_namespaces_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/edgeworkers/edgeworkers.go b/pkg/edgeworkers/edgeworkers.go index 5d915a4d..2d643ac8 100644 --- a/pkg/edgeworkers/edgeworkers.go +++ b/pkg/edgeworkers/edgeworkers.go @@ -4,7 +4,7 @@ package edgeworkers import ( "errors" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" ) var ( diff --git a/pkg/edgeworkers/edgeworkers_test.go b/pkg/edgeworkers/edgeworkers_test.go index 4dd9b5ff..3f26db9c 100644 --- a/pkg/edgeworkers/edgeworkers_test.go +++ b/pkg/edgeworkers/edgeworkers_test.go @@ -8,8 +8,8 @@ import ( "net/url" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/edgeworkers/errors.go b/pkg/edgeworkers/errors.go index 70aa883a..b26e913e 100644 --- a/pkg/edgeworkers/errors.go +++ b/pkg/edgeworkers/errors.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/errs" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/errs" ) type ( diff --git a/pkg/edgeworkers/errors_test.go b/pkg/edgeworkers/errors_test.go index ff8910cb..c39e3272 100644 --- a/pkg/edgeworkers/errors_test.go +++ b/pkg/edgeworkers/errors_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/require" "github.com/tj/assert" ) diff --git a/pkg/edgeworkers/report_test.go b/pkg/edgeworkers/report_test.go index 4ec8a7fc..4ca380cc 100644 --- a/pkg/edgeworkers/report_test.go +++ b/pkg/edgeworkers/report_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/gtm/asmap_test.go b/pkg/gtm/asmap_test.go index 5b122a56..7a322f30 100644 --- a/pkg/gtm/asmap_test.go +++ b/pkg/gtm/asmap_test.go @@ -9,7 +9,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/gtm/cidrmap_test.go b/pkg/gtm/cidrmap_test.go index 53259dd2..17fa558d 100644 --- a/pkg/gtm/cidrmap_test.go +++ b/pkg/gtm/cidrmap_test.go @@ -9,7 +9,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/gtm/datacenter_test.go b/pkg/gtm/datacenter_test.go index 22e53067..b6f894c8 100644 --- a/pkg/gtm/datacenter_test.go +++ b/pkg/gtm/datacenter_test.go @@ -9,7 +9,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/gtm/domain_test.go b/pkg/gtm/domain_test.go index 1e2fe9e3..ec0f8ef6 100644 --- a/pkg/gtm/domain_test.go +++ b/pkg/gtm/domain_test.go @@ -10,7 +10,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/gtm/errors.go b/pkg/gtm/errors.go index 1801a154..0f956b6d 100644 --- a/pkg/gtm/errors.go +++ b/pkg/gtm/errors.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/errs" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/errs" ) var ( diff --git a/pkg/gtm/errors_test.go b/pkg/gtm/errors_test.go index 6641b0bf..354b2f97 100644 --- a/pkg/gtm/errors_test.go +++ b/pkg/gtm/errors_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/require" "github.com/tj/assert" diff --git a/pkg/gtm/geomap_test.go b/pkg/gtm/geomap_test.go index 290a4c41..6c00645b 100644 --- a/pkg/gtm/geomap_test.go +++ b/pkg/gtm/geomap_test.go @@ -9,7 +9,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/gtm/gtm.go b/pkg/gtm/gtm.go index 725ddfa8..5903788c 100644 --- a/pkg/gtm/gtm.go +++ b/pkg/gtm/gtm.go @@ -6,7 +6,7 @@ package gtm import ( "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" ) type ( diff --git a/pkg/gtm/gtm_test.go b/pkg/gtm/gtm_test.go index e0510143..813e7383 100644 --- a/pkg/gtm/gtm_test.go +++ b/pkg/gtm/gtm_test.go @@ -10,8 +10,8 @@ import ( "net/url" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/gtm/property.go b/pkg/gtm/property.go index 2e85364b..86bb5322 100644 --- a/pkg/gtm/property.go +++ b/pkg/gtm/property.go @@ -5,7 +5,7 @@ import ( "fmt" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/gtm/property_test.go b/pkg/gtm/property_test.go index abf89091..90e7beeb 100644 --- a/pkg/gtm/property_test.go +++ b/pkg/gtm/property_test.go @@ -9,8 +9,8 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/gtm/resource_test.go b/pkg/gtm/resource_test.go index 52a4f259..56bae885 100644 --- a/pkg/gtm/resource_test.go +++ b/pkg/gtm/resource_test.go @@ -9,7 +9,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/hapi/edgehostname.go b/pkg/hapi/edgehostname.go index bb9ed7cc..05dc1d2b 100644 --- a/pkg/hapi/edgehostname.go +++ b/pkg/hapi/edgehostname.go @@ -10,7 +10,7 @@ import ( "net/http" "strings" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/hapi/errors.go b/pkg/hapi/errors.go index 41c1077b..bd00273b 100644 --- a/pkg/hapi/errors.go +++ b/pkg/hapi/errors.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/errs" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/errs" ) type ( diff --git a/pkg/hapi/errors_test.go b/pkg/hapi/errors_test.go index df779f4e..5145e184 100644 --- a/pkg/hapi/errors_test.go +++ b/pkg/hapi/errors_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/require" "github.com/tj/assert" ) diff --git a/pkg/hapi/hapi.go b/pkg/hapi/hapi.go index 69396b09..d3959ac0 100644 --- a/pkg/hapi/hapi.go +++ b/pkg/hapi/hapi.go @@ -6,7 +6,7 @@ package hapi import ( "errors" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" ) var ( diff --git a/pkg/hapi/hapi_test.go b/pkg/hapi/hapi_test.go index c4679afa..723a152f 100644 --- a/pkg/hapi/hapi_test.go +++ b/pkg/hapi/hapi_test.go @@ -8,8 +8,8 @@ import ( "net/url" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/iam/errors.go b/pkg/iam/errors.go index b14bb58d..b2563e96 100644 --- a/pkg/iam/errors.go +++ b/pkg/iam/errors.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/errs" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/errs" ) type ( diff --git a/pkg/iam/errors_test.go b/pkg/iam/errors_test.go index 48233bb4..b1e435b7 100644 --- a/pkg/iam/errors_test.go +++ b/pkg/iam/errors_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/require" "github.com/tj/assert" ) diff --git a/pkg/iam/iam.go b/pkg/iam/iam.go index 88c9423e..622ef8c0 100644 --- a/pkg/iam/iam.go +++ b/pkg/iam/iam.go @@ -4,7 +4,7 @@ package iam import ( "errors" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" ) var ( diff --git a/pkg/iam/iam_test.go b/pkg/iam/iam_test.go index 8109e652..84a3a631 100644 --- a/pkg/iam/iam_test.go +++ b/pkg/iam/iam_test.go @@ -8,8 +8,8 @@ import ( "net/url" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/iam/user_test.go b/pkg/iam/user_test.go index 269abd2d..ff5ce976 100644 --- a/pkg/iam/user_test.go +++ b/pkg/iam/user_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/require" "github.com/tj/assert" ) diff --git a/pkg/imaging/errors.go b/pkg/imaging/errors.go index be7b8e5b..9eb00c6d 100644 --- a/pkg/imaging/errors.go +++ b/pkg/imaging/errors.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/errs" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/errs" ) type ( diff --git a/pkg/imaging/errors_test.go b/pkg/imaging/errors_test.go index cd516b43..19001aa2 100644 --- a/pkg/imaging/errors_test.go +++ b/pkg/imaging/errors_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/require" "github.com/tj/assert" ) diff --git a/pkg/imaging/imaging.go b/pkg/imaging/imaging.go index 0616c248..f8e701b7 100644 --- a/pkg/imaging/imaging.go +++ b/pkg/imaging/imaging.go @@ -4,7 +4,7 @@ package imaging import ( "errors" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" ) var ( diff --git a/pkg/imaging/imaging_test.go b/pkg/imaging/imaging_test.go index e3f01757..94138655 100644 --- a/pkg/imaging/imaging_test.go +++ b/pkg/imaging/imaging_test.go @@ -8,8 +8,8 @@ import ( "net/url" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/imaging/policy.go b/pkg/imaging/policy.go index 8f9b4f34..58365590 100644 --- a/pkg/imaging/policy.go +++ b/pkg/imaging/policy.go @@ -7,7 +7,7 @@ import ( "fmt" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/imaging/policy_test.go b/pkg/imaging/policy_test.go index 8684cdf2..5be95c58 100644 --- a/pkg/imaging/policy_test.go +++ b/pkg/imaging/policy_test.go @@ -9,7 +9,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/imaging/policyset.go b/pkg/imaging/policyset.go index ba0d82ec..5e846a56 100644 --- a/pkg/imaging/policyset.go +++ b/pkg/imaging/policyset.go @@ -7,7 +7,7 @@ import ( "net/http" "net/url" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/networklists/activations_test.go b/pkg/networklists/activations_test.go index a04740fe..507f24dc 100644 --- a/pkg/networklists/activations_test.go +++ b/pkg/networklists/activations_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/networklists/errors.go b/pkg/networklists/errors.go index 3e439796..d6e0c900 100644 --- a/pkg/networklists/errors.go +++ b/pkg/networklists/errors.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/errs" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/errs" ) var ( diff --git a/pkg/networklists/errors_test.go b/pkg/networklists/errors_test.go index b6a4f28c..c49cb97e 100644 --- a/pkg/networklists/errors_test.go +++ b/pkg/networklists/errors_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/require" "github.com/tj/assert" ) diff --git a/pkg/networklists/network_list_description_test.go b/pkg/networklists/network_list_description_test.go index 340d8bbe..a2487030 100644 --- a/pkg/networklists/network_list_description_test.go +++ b/pkg/networklists/network_list_description_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/networklists/network_list_subscription_test.go b/pkg/networklists/network_list_subscription_test.go index 92fb5111..215ef255 100644 --- a/pkg/networklists/network_list_subscription_test.go +++ b/pkg/networklists/network_list_subscription_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/networklists/network_list_test.go b/pkg/networklists/network_list_test.go index 860ff695..27b5ffcf 100644 --- a/pkg/networklists/network_list_test.go +++ b/pkg/networklists/network_list_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/networklists/networklists.go b/pkg/networklists/networklists.go index a136b163..752a5044 100644 --- a/pkg/networklists/networklists.go +++ b/pkg/networklists/networklists.go @@ -6,7 +6,7 @@ package networklists import ( "errors" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" ) var ( diff --git a/pkg/networklists/networklists_test.go b/pkg/networklists/networklists_test.go index 46172087..4e9a9a2d 100644 --- a/pkg/networklists/networklists_test.go +++ b/pkg/networklists/networklists_test.go @@ -12,8 +12,8 @@ import ( "net/url" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/papi/cpcode_test.go b/pkg/papi/cpcode_test.go index 10e86492..45c09406 100644 --- a/pkg/papi/cpcode_test.go +++ b/pkg/papi/cpcode_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/papi/edgehostname.go b/pkg/papi/edgehostname.go index 2c4bd5b4..6fce8a78 100644 --- a/pkg/papi/edgehostname.go +++ b/pkg/papi/edgehostname.go @@ -7,7 +7,7 @@ import ( "net/http" "strings" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/papi/errors.go b/pkg/papi/errors.go index c3c73023..5e04a1da 100644 --- a/pkg/papi/errors.go +++ b/pkg/papi/errors.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/errs" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/errs" ) type ( diff --git a/pkg/papi/errors_test.go b/pkg/papi/errors_test.go index 0fa936d8..94b53934 100644 --- a/pkg/papi/errors_test.go +++ b/pkg/papi/errors_test.go @@ -8,8 +8,8 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/require" "github.com/tj/assert" ) diff --git a/pkg/papi/include.go b/pkg/papi/include.go index 2e2a457f..47c73df2 100644 --- a/pkg/papi/include.go +++ b/pkg/papi/include.go @@ -7,7 +7,7 @@ import ( "net/http" "net/url" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/papi/include_activations.go b/pkg/papi/include_activations.go index 2de7fad2..09a68eb0 100644 --- a/pkg/papi/include_activations.go +++ b/pkg/papi/include_activations.go @@ -9,8 +9,8 @@ import ( "net/url" "strings" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/papi/include_rule.go b/pkg/papi/include_rule.go index 445ab36c..7fcdd21a 100644 --- a/pkg/papi/include_rule.go +++ b/pkg/papi/include_rule.go @@ -8,7 +8,7 @@ import ( "net/url" "strconv" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/papi/include_rule_test.go b/pkg/papi/include_rule_test.go index 3bed2942..b47ed227 100644 --- a/pkg/papi/include_rule_test.go +++ b/pkg/papi/include_rule_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/pkg/papi/include_test.go b/pkg/papi/include_test.go index a544aaa9..d47b2658 100644 --- a/pkg/papi/include_test.go +++ b/pkg/papi/include_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/pkg/papi/include_versions.go b/pkg/papi/include_versions.go index 8c57d886..e0a6b829 100644 --- a/pkg/papi/include_versions.go +++ b/pkg/papi/include_versions.go @@ -8,7 +8,7 @@ import ( "net/url" "strconv" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/papi/papi.go b/pkg/papi/papi.go index ae52104c..6c31b961 100644 --- a/pkg/papi/papi.go +++ b/pkg/papi/papi.go @@ -5,7 +5,7 @@ import ( "errors" "net/http" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/spf13/cast" ) diff --git a/pkg/papi/papi_test.go b/pkg/papi/papi_test.go index c2cbed7c..eb4b55f1 100644 --- a/pkg/papi/papi_test.go +++ b/pkg/papi/papi_test.go @@ -8,8 +8,8 @@ import ( "net/url" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/papi/property.go b/pkg/papi/property.go index 8bd069eb..88d8280f 100644 --- a/pkg/papi/property.go +++ b/pkg/papi/property.go @@ -7,7 +7,7 @@ import ( "net/http" "net/url" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/papi/property_test.go b/pkg/papi/property_test.go index ebce8867..83bf1236 100644 --- a/pkg/papi/property_test.go +++ b/pkg/papi/property_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/papi/propertyversion.go b/pkg/papi/propertyversion.go index 66dd9bbc..8c881fea 100644 --- a/pkg/papi/propertyversion.go +++ b/pkg/papi/propertyversion.go @@ -9,7 +9,7 @@ import ( "net/url" "strconv" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/papi/propertyversion_test.go b/pkg/papi/propertyversion_test.go index 347fb729..5730570b 100644 --- a/pkg/papi/propertyversion_test.go +++ b/pkg/papi/propertyversion_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/pkg/papi/rule.go b/pkg/papi/rule.go index 81ee2d19..dd5de22e 100644 --- a/pkg/papi/rule.go +++ b/pkg/papi/rule.go @@ -7,7 +7,7 @@ import ( "net/http" "regexp" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegriderr" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegriderr" validation "github.com/go-ozzo/ozzo-validation/v4" ) diff --git a/pkg/papi/rule_test.go b/pkg/papi/rule_test.go index eb83f266..a33e795d 100644 --- a/pkg/papi/rule_test.go +++ b/pkg/papi/rule_test.go @@ -9,7 +9,7 @@ import ( "net/http/httptest" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/session/request_test.go b/pkg/session/request_test.go index f6cc462a..7e32c057 100644 --- a/pkg/session/request_test.go +++ b/pkg/session/request_test.go @@ -9,7 +9,7 @@ import ( "net/url" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/session/session.go b/pkg/session/session.go index 041779df..02c1913e 100644 --- a/pkg/session/session.go +++ b/pkg/session/session.go @@ -7,7 +7,7 @@ import ( "runtime" "strings" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" "github.com/apex/log" "github.com/apex/log/handlers/discard" ) @@ -63,7 +63,7 @@ var ( const ( // Version is the client version - Version = "7.0.0" + Version = "8.0.0" ) // New returns a new session diff --git a/pkg/session/session_test.go b/pkg/session/session_test.go index 38a79931..1802bee4 100644 --- a/pkg/session/session_test.go +++ b/pkg/session/session_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" "github.com/apex/log" "github.com/apex/log/handlers/discard" "github.com/stretchr/testify/require" @@ -28,7 +28,7 @@ func TestNew(t *testing.T) { signer: &edgegrid.Config{}, log: log.Log, trace: false, - userAgent: "Akamai-Open-Edgegrid-golang/7.0.0 golang/" + strings.TrimPrefix(runtime.Version(), "go"), + userAgent: "Akamai-Open-Edgegrid-golang/8.0.0 golang/" + strings.TrimPrefix(runtime.Version(), "go"), }, }, "with options provided": {