Bugzilla – Attachment 167525 Details for
Bug 37043
Counter registry has a new API base URL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37043: Update the base URL for the Counter Registry API
Bug-37043-Update-the-base-URL-for-the-Counter-Regi.patch (text/plain), 2.71 KB, created by
Matt Blenkinsop
on 2024-06-06 08:27:35 UTC
(
hide
)
Description:
Bug 37043: Update the base URL for the Counter Registry API
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2024-06-06 08:27:35 UTC
Size:
2.71 KB
patch
obsolete
>From 11281a79a2b5442914a7709969a3427a8ba81417 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >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 @@ > </li> > <span > >{{ $__("Please refer to the ") }} >- <a href="https://registry.projectcounter.org/">{{ >+ <a href="https://registry.countermetrics.org/">{{ > $__("COUNTER registry") > }}</a> > {{ $__("for more information.") }}</span >diff --git a/t/db_dependent/api/v1/erm_sushi_services.t b/t/db_dependent/api/v1/erm_sushi_services.t >index 8f254cb435..097dfc7f73 100755 >--- a/t/db_dependent/api/v1/erm_sushi_services.t >+++ b/t/db_dependent/api/v1/erm_sushi_services.t >@@ -42,7 +42,7 @@ t::lib::Mocks::mock_preference( 'RESTBasicAuth', 1 ); > subtest 'get() tests' => 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)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37043
: 167525