feat(ontology): add core service catalog
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"assistantRole": "admin",
|
||||
"launcherUserStatus": "active",
|
||||
"launcherGlobalRole": "client_admin",
|
||||
"membershipRole": "client_admin",
|
||||
"membershipStatus": "active",
|
||||
"groups": []
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"assistantRole": "admin",
|
||||
"launcherUserStatus": "blocked",
|
||||
"launcherGlobalRole": "client_admin",
|
||||
"membershipRole": "client_admin",
|
||||
"membershipStatus": "active",
|
||||
"groups": []
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"assistantRole": "member",
|
||||
"launcherUserStatus": "active",
|
||||
"launcherGlobalRole": "member",
|
||||
"membershipRole": "member",
|
||||
"membershipStatus": "active",
|
||||
"groups": []
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"launcherUserStatus": "active",
|
||||
"launcherGlobalRole": "root_admin",
|
||||
"membershipStatus": "active",
|
||||
"groups": ["nodedc:superadmin"]
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"intent": "заблокируй пользователя",
|
||||
"assistantRole": "admin",
|
||||
"membershipRole": "client_admin",
|
||||
"actorUserId": "user_root",
|
||||
"targetUserId": "user_silver_psih",
|
||||
"confirmed": true
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"actionId": "hub.assistant_access.change_role",
|
||||
"assistantRole": "admin",
|
||||
"membershipRole": "client_admin",
|
||||
"actorUserId": "user_root",
|
||||
"targetUserId": "user_silver_psih",
|
||||
"membershipId": "mem_client_public_pool_user_silver_psih",
|
||||
"targetAssistantRole": "blocked",
|
||||
"confirmed": true,
|
||||
"idempotencyKey": "example:assistant-role:user_silver_psih:blocked"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"actionId": "hub.user.delete",
|
||||
"assistantRole": "admin",
|
||||
"membershipRole": "client_admin",
|
||||
"actorUserId": "user_root",
|
||||
"targetUserId": "user_silver_psih",
|
||||
"confirmed": true
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"actionId": "engine.workflow.share",
|
||||
"assistantRole": "admin",
|
||||
"membershipRole": "client_admin",
|
||||
"actorUserId": "user_root",
|
||||
"targetUserId": "user_silver_psih",
|
||||
"confirmed": true
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"actionId": "hub.membership.disable",
|
||||
"assistantRole": "admin",
|
||||
"membershipRole": "client_admin",
|
||||
"actorUserId": "user_root",
|
||||
"targetUserId": "user_root",
|
||||
"confirmed": true,
|
||||
"removesOwnAccess": true,
|
||||
"hasAlternativeAdminPath": false
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"phase": "preview",
|
||||
"input": {
|
||||
"actionId": "hub.user.block",
|
||||
"assistantRole": "admin",
|
||||
"membershipRole": "client_admin",
|
||||
"actorUserId": "user_root",
|
||||
"targetUserId": "user_silver_psih",
|
||||
"confirmed": true,
|
||||
"idempotencyKey": "example:caller:block:user_silver_psih"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"id": "context.engine.example.workflow",
|
||||
"surface": "engine",
|
||||
"entityId": "engine.workflow_l1",
|
||||
"sourceSystem": "nodedc-engine",
|
||||
"label": "Example Engine Workflow",
|
||||
"status": "planned",
|
||||
"refs": {
|
||||
"workflow_id": "example-workflow-id",
|
||||
"node_id": "example-node-id"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"surface": "engine",
|
||||
"entityId": "engine.workflow_l1",
|
||||
"intent": "создай карточку в ops по текущему workflow",
|
||||
"refs": {
|
||||
"workflow_id": "example-workflow-id",
|
||||
"node_id": "example-node-id"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"workflow": {
|
||||
"id": "example-workflow-id",
|
||||
"label": "Example Engine Workflow",
|
||||
"nodeId": "example-node-id",
|
||||
"runtimeWorkflowId": "example-n8n-runtime-workflow-id",
|
||||
"n8nInstanceId": "example-n8n-instance"
|
||||
},
|
||||
"context": {
|
||||
"status": "planned",
|
||||
"sourceSystem": "nodedc-engine"
|
||||
},
|
||||
"bindToOps": {
|
||||
"enabled": true,
|
||||
"status": "planned",
|
||||
"fromContextId": "context.ops.nodedc.ndc_platform.ontology_core_card",
|
||||
"summary": "Example planned binding from Ontology Core OPS card to an Engine workflow context."
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"surface": "ops",
|
||||
"alias": "issue",
|
||||
"intent": "inspect engine workflow for this ontology card",
|
||||
"refs": {
|
||||
"workspace_slug": "nodedc",
|
||||
"project_id": "86629a11-eaff-4ad2-9f89-e5245a344fcc",
|
||||
"issue_id": "1312519a-0eda-4ea0-9e34-2113c3724ecf"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"id": "binding.ops.ontology_core_card.engine.example_workflow",
|
||||
"typeId": "binding_type.ops_card_to_engine_workflow",
|
||||
"status": "planned",
|
||||
"fromContextId": "context.ops.nodedc.ndc_platform.ontology_core_card",
|
||||
"toContextId": "context.engine.example.workflow",
|
||||
"summary": "Example planned binding from Ontology Core OPS card to an Engine workflow context."
|
||||
}
|
||||
Reference in New Issue
Block a user