Skip to content

Commit

Permalink
Merge pull request #186 from OpenCatalogi/feature/GW-1596/test-symfony54
Browse files Browse the repository at this point in the history
Add federated endpoint
  • Loading branch information
rjzondervan authored Apr 26, 2024
2 parents 71a95be + 710daa6 commit 35132f7
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Installation/Endpoint/federation.endpoint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"title": "Federated endpoint",
"description": "Endpoint that does a federated search over multiple sources",
"$id": "https://opencatalogi.nl/endpoints/federation.endpoint.json",
"$schema": "https://docs.commongateway.nl/schemas/Endpoint.schema.json",
"version": "0.0.1",
"pathRegex": "^oc/federation/?[^.*]*?$",
"methods": ["GET"],
"path": [
"oc",
"federation",
"{route}"
],
"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"
]
}
11 changes: 11 additions & 0 deletions Installation/Source/oc.componentencatalogus.federated.source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"title": "componentencatalogus opencatalogi",
"$id": "https://opencatalogi.nl/source/oc.componentencatalogus.federated.source.json",
"$schema": "https://docs.commongateway.nl/schemas/Gateway.schema.json",
"version": "0.0.1",
"description": "componentencatalogus opencatalogi",
"location": "https://oc-componentencatalogus.test.common-gateway.commonground.nu/api",
"headers": {
"accept" : "application/json"
}
}
11 changes: 11 additions & 0 deletions Installation/Source/oc.developerOverheid.federated.source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"title": "developerOverheid opencatalogi",
"$id": "https://opencatalogi.nl/source/oc.developerOverheid.federated.source.json",
"$schema": "https://docs.commongateway.nl/schemas/Gateway.schema.json",
"version": "0.0.1",
"description": "developerOverheid federated",
"location": "https://oc-developeroverheid.test.common-gateway.commonground.nu/api",
"headers": {
"accept" : "application/json"
}
}

0 comments on commit 35132f7

Please sign in to comment.