mirror of
https://github.com/enso-org/enso.git
synced 2024-12-21 01:01:42 +03:00
736134e491
Fixes #11604 Most issues were caused by a problem with Project List flooding the network with its requests - this was fixed on develop. But one assertion was flaky - it assumed we will see the "real" run result on `write` node, but sometimes it is immediately overwritten by dry run. But the most important part of this PR is adding traces to Electron packages - it's should be much easier now to debug E2E test failures. Also renamed the previously misnamed "E2E tests" to "[GUI] integration tests".
84 lines
2.4 KiB
JSON
84 lines
2.4 KiB
JSON
{
|
|
"$schema": "https://meta.open-rpc.org/",
|
|
"openrpc": "1.2.6",
|
|
"info": {
|
|
"title": "Enso Project Manager",
|
|
"description": "Manages (lists, opens, closes) Enso projects",
|
|
"version": "1.0.0"
|
|
},
|
|
"methods": [
|
|
{
|
|
"name": "project/open",
|
|
"params": [
|
|
{ "name": "projectId", "schema": { "type": "string" } },
|
|
{
|
|
"name": "missingComponentAction",
|
|
"schema": { "enum": ["Fail", "Install", "ForceInstallBroken"] }
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "openProject",
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"engineVersion": { "type": "string" },
|
|
"languageServerJsonAddress": {
|
|
"type": "object",
|
|
"properties": {
|
|
"host": { "type": "string" },
|
|
"port": { "type": "number" }
|
|
}
|
|
},
|
|
"languageServerBinaryAddress": {
|
|
"type": "object",
|
|
"properties": {
|
|
"host": { "type": "string" },
|
|
"port": { "type": "number" }
|
|
}
|
|
},
|
|
"projectName": { "type": "string" },
|
|
"projectNormalizedName": { "type": "string" },
|
|
"projectNamespace": { "type": "string" }
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "project/close",
|
|
"params": [{ "name": "projectId", "schema": { "type": "string" } }],
|
|
"result": {
|
|
"name": "closeProject",
|
|
"schema": { "type": "null" }
|
|
}
|
|
},
|
|
{
|
|
"name": "project/list",
|
|
"params": [
|
|
{ "name": "numberOfProjects", "schema": { "type": "integer" }, "required": false }
|
|
],
|
|
"result": {
|
|
"name": "listProject",
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"projects": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": { "type": "string" },
|
|
"namespace": { "type": "string" },
|
|
"id": { "type": "string" },
|
|
"engineVersion": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
|
|
"created": { "type": "string" },
|
|
"lastOpened": { "anyOf": [{ "type": "string" }, { "type": "null" }] }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|