Skip to content

Commit

Permalink
Merge pull request #188 from OpenCatalogi/feature/WOO-183/federation-…
Browse files Browse the repository at this point in the history
…endpoint-installationjson

Set federationProxies for federated endpoint with installation.json
  • Loading branch information
WilcoLouwerse authored Jun 17, 2024
2 parents 7574331 + 6fc6810 commit 021f0e3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 26 deletions.
26 changes: 0 additions & 26 deletions Installation/Endpoint/federation.endpoint.json

This file was deleted.

29 changes: 29 additions & 0 deletions Installation/installation.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,35 @@
"methods": ["GET"]
}
],
"sources": [
{
"$id": "https://opencatalogi.nl/endpoints/federation.endpoint.json",
"name": "OpenCatalogi Federated endpoint",
"description": "Endpoint that does a federated search over multiple OpenCatalogi sources",
"path": [
"oc",
"federation",
"{route}"
],
"pathRegex": "^oc/federation/?[^.*]*?$",
"methods": [
"GET"
],
"version": "0.0.1",
"loggingConfig": {
"headers": [
"authorization"
]
},
"operationType": "GET",
"defaultContentType": "application/json",
"reference": "https://opencatalogi.nl/sources/oc.developeroverheid.federated.source.json",
"federationProxies": [
"https://opencatalogi.nl/sources/oc.developeroverheid.federated.source.json",
"https://opencatalogi.nl/sources/oc.componentencatalogus.federated.source.json"
]
}
],
"schemas": [
{
"reference": "https://opencatalogi.nl/oc.component.schema.json",
Expand Down

0 comments on commit 021f0e3

Please sign in to comment.