From 11281a79a2b5442914a7709969a3427a8ba81417 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Thu, 6 Jun 2024 08:25:52 +0000 Subject: [PATCH] Bug 37043: Update the base URL for the Counter Registry API Test plan: 1) prove t/db_dependent/api/v1/erm_sushi_services.t 2) t/db_dependent/api/v1/erm_counter_registries.t --- Koha/REST/V1/ERM/EUsage/CounterRegistry.pm | 2 +- .../vue/components/ERM/UsageStatisticsDataProvidersFormAdd.vue | 2 +- t/db_dependent/api/v1/erm_sushi_services.t | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Koha/REST/V1/ERM/EUsage/CounterRegistry.pm b/Koha/REST/V1/ERM/EUsage/CounterRegistry.pm index d29ebd29a8..3804b79749 100644 --- a/Koha/REST/V1/ERM/EUsage/CounterRegistry.pm +++ b/Koha/REST/V1/ERM/EUsage/CounterRegistry.pm @@ -47,7 +47,7 @@ sub list { my $search_string = $query_params_array[0]->{name}; - my $url = 'https://registry.projectcounter.org/api/v1/platform/'; + my $url = 'https://registry.countermetrics.org/api/v1/platform/'; my $request = HTTP::Request->new( GET => $url, ); diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersFormAdd.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersFormAdd.vue index 3c4437a921..a935459249 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersFormAdd.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersFormAdd.vue @@ -338,7 +338,7 @@ {{ $__("Please refer to the ") }} - {{ + {{ $__("COUNTER registry") }} {{ $__("for more information.") }} sub { plan tests => 5; - my $service_url = "https://registry.projectcounter.org/api/v1/sushi-service/b94bc981-fa16-4bf6-ba5f-6c113f7ffa0b/"; + my $service_url = "https://registry.countermetrics.org/api/v1/sushi-service/b94bc981-fa16-4bf6-ba5f-6c113f7ffa0b/"; my @expected_fields = ( "api_key_info", "api_key_required", -- 2.39.3 (Apple Git-146)