Implement ops-hub bootstrap compatibility
This commit is contained in:
parent
1e87adbcbb
commit
c532ad8731
21 changed files with 1330 additions and 402 deletions
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"data": [],
|
||||
"count": 0
|
||||
}
|
||||
4
contracts/fixtures/api-v2/protected/hubs-empty.json
Normal file
4
contracts/fixtures/api-v2/protected/hubs-empty.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"data": [],
|
||||
"count": 0
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"ok": true,
|
||||
"hub": {"slug": "ops-hub", "created": true},
|
||||
"manifest": {"status": "active", "created": true, "activated": true},
|
||||
"apiConsumer": {"name": "ops-hub", "created": true},
|
||||
"runtimeKey": {"created": true, "keyPrefix": "ch_example", "field": "OPS_HUB_KEY"},
|
||||
"widgets": {"created": 14, "reused": 0},
|
||||
"event": {"eventType": "ops-endpoint-verified"}
|
||||
}
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
[
|
||||
{
|
||||
"hub_slug": "core-hub",
|
||||
"manifest_version": "0.1.0",
|
||||
"capabilities": [
|
||||
"capability.infotech.core-hub",
|
||||
"api.v2.compatibility",
|
||||
"contract.ir"
|
||||
],
|
||||
"endpoints": [
|
||||
{"rel": "hubs", "href": "/api/v2/hubs"},
|
||||
{"rel": "events", "href": "/api/v2/interaction-events"},
|
||||
{"rel": "widgets", "href": "/api/v2/widgets"}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
[
|
||||
{
|
||||
"slug": "core-hub",
|
||||
"name": "Core Hub",
|
||||
"status": "active",
|
||||
"description": "Third-generation production interaction framework.",
|
||||
"capabilities": [
|
||||
"hub-registry",
|
||||
"interaction-events",
|
||||
"workplan-coordination",
|
||||
"operator-console"
|
||||
],
|
||||
"links": [
|
||||
{"rel": "self", "href": "/api/v2/hubs/core-hub"}
|
||||
]
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue