-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: initial broker server model * feat: broker connector page
- Loading branch information
1 parent
1fd31e9
commit cefde2e
Showing
42 changed files
with
711 additions
and
388 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{ | ||
"availableFilters": {"fields": []}, | ||
"availableSortings": [ | ||
{"sorting": "MOST_RECENT", "title": "Most Recent"}, | ||
{"sorting": "TITLE", "title": "By Title"}, | ||
{"sorting": "ORIGINATOR", "title": "By Connector"} | ||
], | ||
"paginationMetadata": { | ||
"numTotal": 1, | ||
"numVisible": 1, | ||
"pageOneBased": 1, | ||
"pageSize": 1 | ||
}, | ||
"dataOffers": [ | ||
{ | ||
"assetId": "urn:artifact:my-asset", | ||
"connectorEndpoint": "http://my-connector/ids/data", | ||
"connectorOnlineStatus": "ONLINE", | ||
"connectorOfflineSinceOrLastUpdatedAt": "2023-05-31T12:02:41+02:00", | ||
"createdAt": "2023-05-26T12:02:41+02:00", | ||
"updatedAt": "2023-05-31T12:02:41+02:00", | ||
"properties": { | ||
"asset:prop:id": "urn:artifact:db-rail-network-2023-jan", | ||
"asset:prop:name": "Rail Network DB 2023 January", | ||
"asset:prop:version": "1.1", | ||
"asset:prop:originator": "https://example-connector.rail-mgmt.bahn.de/api/v1/ids/data", | ||
"asset:prop:originatorOrganization": "Deutsche Bahn AG", | ||
"asset:prop:keywords": "db, bahn, rail, Rail-Designer", | ||
"asset:prop:contenttype": "application/json", | ||
"asset:prop:description": "Train Network Map released on 10.01.2023, valid until 31.02.2023. \nFile format is xyz as exported by Rail-Designer.", | ||
"asset:prop:language": "https://w3id.org/idsa/code/EN", | ||
"asset:prop:publisher": "https://my.cool-api.gg/about", | ||
"asset:prop:standardLicense": "https://my.cool-api.gg/license", | ||
"asset:prop:endpointDocumentation": "https://my.cool-api.gg/docs", | ||
"http://w3id.org/mds#dataCategory": "Infrastructure and Logistics", | ||
"http://w3id.org/mds#dataSubcategory": "General Information About Planning Of Routes", | ||
"http://w3id.org/mds#dataModel": "my-data-model-001", | ||
"http://w3id.org/mds#geoReferenceMethod": "my-geo-reference-method", | ||
"http://w3id.org/mds#transportMode": "Rail" | ||
}, | ||
"contractOffers": [ | ||
{ | ||
"contractOfferId": "my-contract-offer-1", | ||
"createdAt": "2023-05-26T12:02:41+02:00", | ||
"updatedAt": "2023-05-31T12:02:41+02:00", | ||
"contractPolicy": { | ||
"legacyPolicy": { | ||
"permissions": [ | ||
{ | ||
"edctype": "dataspaceconnector:permission", | ||
"action": { | ||
"type": "USE" | ||
}, | ||
"constraints": [ | ||
{ | ||
"edctype": "AtomicConstraint", | ||
"leftExpression": { | ||
"edctype": "dataspaceconnector:literalexpression", | ||
"value": "ALWAYS_TRUE" | ||
}, | ||
"rightExpression": { | ||
"edctype": "dataspaceconnector:literalexpression", | ||
"value": "true" | ||
}, | ||
"operator": "EQ" | ||
} | ||
] | ||
} | ||
], | ||
"@type": { | ||
"@policytype": "set" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"availableSortings": [ | ||
{"sorting": "MOST_RECENT", "title": "Most Recent"}, | ||
{"sorting": "TITLE", "title": "By Title"} | ||
], | ||
"paginationMetadata": { | ||
"numTotal": 2, | ||
"numVisible": 2, | ||
"pageOneBased": 2, | ||
"pageSize": 1 | ||
}, | ||
"connectors": [ | ||
{ | ||
"id": "https://example.com", | ||
"endpoint": "https://example.com/ids/data", | ||
"createdAt": "2023-05-31T14:06:21.536182+02:00", | ||
"onlineStatus": "OFFLINE", | ||
"numContractOffers": 0 | ||
}, | ||
{ | ||
"id": "https://other-connector.com", | ||
"endpoint": "https://other-connector.com/ids/data", | ||
"createdAt": "2023-05-31T14:06:21.536182+02:00", | ||
"lastSuccessfulRefreshAt": "2023-05-31T14:06:21.536182+02:00", | ||
"lastRefreshAttemptAt": "2023-05-31T14:06:21.536182+02:00", | ||
"onlineStatus": "ONLINE", | ||
"numContractOffers": 2 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.