From a4e92bf71fb05b4b68cb3bb21c7a37ed02b97613 Mon Sep 17 00:00:00 2001 From: Ruben Taelman Date: Tue, 15 Oct 2024 10:18:38 +0200 Subject: [PATCH] Fix retry actor not being configured --- .../config/http/actors-inrupt-solid-client-authn.json | 9 ++++++++- engines/query-sparql-solid/package.json | 2 ++ yarn.lock | 11 +++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/engines/config-query-sparql-solid/config/http/actors-inrupt-solid-client-authn.json b/engines/config-query-sparql-solid/config/http/actors-inrupt-solid-client-authn.json index 6f6109a..8cc3687 100644 --- a/engines/config-query-sparql-solid/config/http/actors-inrupt-solid-client-authn.json +++ b/engines/config-query-sparql-solid/config/http/actors-inrupt-solid-client-authn.json @@ -4,11 +4,18 @@ "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-http-inrupt-solid-client-authn/^4.0.0/components/context.jsonld", "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-http-fetch/^4.0.0/components/context.jsonld", - "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-http-proxy/^4.0.0/components/context.jsonld" + "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-http-proxy/^4.0.0/components/context.jsonld", + "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-http-retry/^4.0.0/components/context.jsonld" ], "@id": "urn:comunica:default:Runner", "@type": "Runner", "actors": [ + { + "@id": "urn:comunica:default:http/actors#retry", + "@type": "ActorHttpRetry", + "mediatorHttp": { "@id": "urn:comunica:default:http/mediators#main" }, + "beforeActors": { "@id": "urn:comunica:default:http/actors#proxy" } + }, { "@id": "urn:comunica:default:http/actors#proxy", "@type": "ActorHttpProxy", diff --git a/engines/query-sparql-solid/package.json b/engines/query-sparql-solid/package.json index 56dd797..ae762f6 100644 --- a/engines/query-sparql-solid/package.json +++ b/engines/query-sparql-solid/package.json @@ -165,6 +165,7 @@ "@comunica/actor-http-fetch": "^4.0.1", "@comunica/actor-http-inrupt-solid-client-authn": "^4.0.1", "@comunica/actor-http-proxy": "^4.0.1", + "@comunica/actor-http-retry": "^4.0.1", "@comunica/actor-http-wayback": "^4.0.1", "@comunica/actor-init-query": "^4.0.1", "@comunica/actor-optimize-query-operation-assign-sources-exhaustive": "^4.0.1", @@ -288,6 +289,7 @@ "@comunica/bus-http-invalidate": "^4.0.1", "@comunica/bus-query-operation": "^4.0.1", "@comunica/config-query-sparql": "^4.0.1", + "@comunica/config-query-sparql-solid": "^4.0.1", "@comunica/context-entries": "^4.0.1", "@comunica/core": "^4.0.1", "@comunica/logger-void": "^4.0.1", diff --git a/yarn.lock b/yarn.lock index fc57e5d..bd185af 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2140,6 +2140,17 @@ "@comunica/mediatortype-time" "^4.0.1" "@comunica/types" "^4.0.1" +"@comunica/actor-http-retry@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@comunica/actor-http-retry/-/actor-http-retry-4.0.1.tgz#f43a6e107325e73f397a5292ccd69160b8794bc2" + integrity sha512-IXh3yB8XoPAe+LgkBAd1uuaX3Er50Ng1WFjcwUGlc2hipXS+ngHcDC0fETq810h6GmGmDdwWUwNsi6jmQgUmNA== + dependencies: + "@comunica/bus-http" "^4.0.1" + "@comunica/bus-http-invalidate" "^4.0.1" + "@comunica/context-entries" "^4.0.1" + "@comunica/core" "^4.0.1" + "@comunica/mediatortype-time" "^4.0.1" + "@comunica/actor-http-wayback@^4.0.1": version "4.0.1" resolved "https://registry.yarnpkg.com/@comunica/actor-http-wayback/-/actor-http-wayback-4.0.1.tgz#3e460bf4758c0111dbc40d93c3bb2379a8d49eee"