@geode/opengeodeweb-front 9.11.3-rc.6 → 9.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/schedule.yml +18 -0
- package/.oxlintrc.json +25 -1
- package/package.json +5 -5
- package/tests/integration/microservices/back/requirements-internal.in +1 -0
- package/tests/integration/microservices/back/requirements.in +0 -1
- package/tests/integration/microservices/back/requirements.txt +20 -20
- package/tests/integration/microservices/viewer/requirements-internal.in +1 -0
- package/tests/integration/microservices/viewer/requirements.in +0 -1
- package/tests/integration/microservices/viewer/requirements.txt +114 -40
- package/tests/integration/stores/DataStyle/mesh/Edges.nuxt.test.js +1 -1
- package/utils/local.js +8 -10
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
name: Schedule
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
branch:
|
|
7
|
+
type: string
|
|
8
|
+
default: "next"
|
|
9
|
+
schedule:
|
|
10
|
+
- cron: 0 23 * * *
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
schedule:
|
|
14
|
+
uses: Geode-solutions/actions/.github/workflows/js-schedule.yml@master
|
|
15
|
+
with:
|
|
16
|
+
repos: ${{ vars.REPOS }}
|
|
17
|
+
branch: ${{ inputs.branch || 'next' }}
|
|
18
|
+
secrets: inherit
|
package/.oxlintrc.json
CHANGED
|
@@ -7,5 +7,29 @@
|
|
|
7
7
|
"style": "error",
|
|
8
8
|
"restriction": "error"
|
|
9
9
|
},
|
|
10
|
-
"plugins": ["import", "node", "oxc", "promise", "unicorn", "vitest"]
|
|
10
|
+
"plugins": ["import", "node", "oxc", "promise", "unicorn", "vitest"],
|
|
11
|
+
"rules": {
|
|
12
|
+
"unicorn/filename-case": [
|
|
13
|
+
"error",
|
|
14
|
+
{
|
|
15
|
+
"case": "snakeCase"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"eslint/func-style": [
|
|
19
|
+
"error",
|
|
20
|
+
{
|
|
21
|
+
"style:": "declaration"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"eslint/sort-keys": "off",
|
|
25
|
+
"eslint/no-ternary": "off"
|
|
26
|
+
},
|
|
27
|
+
"overrides": [
|
|
28
|
+
{
|
|
29
|
+
"files": ["**/components/*"],
|
|
30
|
+
"rules": {
|
|
31
|
+
"unicorn/filename-case": "PascalCase"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
]
|
|
11
35
|
}
|
package/package.json
CHANGED
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"vitest-environment-nuxt": "1.0.1"
|
|
37
37
|
},
|
|
38
38
|
"overrides": {
|
|
39
|
-
"vue": "
|
|
39
|
+
"vue": "latest"
|
|
40
40
|
},
|
|
41
41
|
"description": "OpenSource Vue/Vuetify framework for web applications",
|
|
42
42
|
"type": "module",
|
|
43
|
-
"version": "9.11.3
|
|
43
|
+
"version": "9.11.3",
|
|
44
44
|
"main": "./nuxt.config.js",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@geode/opengeodeweb-back": "
|
|
47
|
-
"@geode/opengeodeweb-viewer": "
|
|
46
|
+
"@geode/opengeodeweb-back": "latest",
|
|
47
|
+
"@geode/opengeodeweb-viewer": "latest",
|
|
48
48
|
"@kitware/vtk.js": "33.3.0",
|
|
49
49
|
"@mdi/font": "7.4.47",
|
|
50
50
|
"@pinia/nuxt": "0.5.4",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"is-electron": "2.2.2",
|
|
57
57
|
"js-file-download": "0.4.12",
|
|
58
58
|
"nuxt": "3.13.2",
|
|
59
|
-
"pidtree": "0.6.0",
|
|
60
59
|
"pinia": "3.0.3",
|
|
61
60
|
"sass": "1.87.0",
|
|
62
61
|
"semver": "7.7.1",
|
|
62
|
+
"tree-kill": "1.2.2",
|
|
63
63
|
"uuid": "11.1.0",
|
|
64
64
|
"vue-recaptcha": "2.0.3",
|
|
65
65
|
"vue3-carousel": "0.3.4",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
opengeodeweb-back
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
OpenGeodeWeb-Back
|
|
@@ -2,48 +2,48 @@
|
|
|
2
2
|
# This file is autogenerated by pip-compile with Python 3.12
|
|
3
3
|
# by the following command:
|
|
4
4
|
#
|
|
5
|
-
# pip-compile requirements.in
|
|
5
|
+
# pip-compile --output-file=tests/integration/microservices/back/requirements.txt tests/integration/microservices/back/requirements-internal.in tests/integration/microservices/back/requirements.in
|
|
6
6
|
#
|
|
7
|
-
asgiref
|
|
7
|
+
asgiref~=3.0
|
|
8
8
|
# via
|
|
9
9
|
# flask
|
|
10
10
|
# opengeodeweb-back
|
|
11
|
-
blinker
|
|
11
|
+
blinker~=1.0
|
|
12
12
|
# via
|
|
13
13
|
# flask
|
|
14
14
|
# opengeodeweb-back
|
|
15
|
-
click
|
|
15
|
+
click~=8.0
|
|
16
16
|
# via
|
|
17
17
|
# flask
|
|
18
18
|
# opengeodeweb-back
|
|
19
|
-
fastjsonschema
|
|
19
|
+
fastjsonschema~=2.0
|
|
20
20
|
# via opengeodeweb-back
|
|
21
|
-
flask[async]
|
|
21
|
+
flask[async]~=3.0
|
|
22
22
|
# via
|
|
23
23
|
# flask-cors
|
|
24
24
|
# opengeodeweb-back
|
|
25
|
-
flask-cors
|
|
25
|
+
flask-cors~=6.0
|
|
26
26
|
# via opengeodeweb-back
|
|
27
|
-
geode-common
|
|
27
|
+
geode-common~=33.0
|
|
28
28
|
# via
|
|
29
29
|
# geode-viewables
|
|
30
30
|
# opengeodeweb-back
|
|
31
|
-
geode-viewables
|
|
31
|
+
geode-viewables~=3.0
|
|
32
32
|
# via opengeodeweb-back
|
|
33
|
-
itsdangerous
|
|
33
|
+
itsdangerous~=2.0
|
|
34
34
|
# via
|
|
35
35
|
# flask
|
|
36
36
|
# opengeodeweb-back
|
|
37
|
-
jinja2
|
|
37
|
+
jinja2~=3.0
|
|
38
38
|
# via
|
|
39
39
|
# flask
|
|
40
40
|
# opengeodeweb-back
|
|
41
|
-
markupsafe
|
|
41
|
+
markupsafe~=3.0
|
|
42
42
|
# via
|
|
43
43
|
# jinja2
|
|
44
44
|
# opengeodeweb-back
|
|
45
45
|
# werkzeug
|
|
46
|
-
opengeode-core
|
|
46
|
+
opengeode-core~=15.0
|
|
47
47
|
# via
|
|
48
48
|
# geode-common
|
|
49
49
|
# geode-viewables
|
|
@@ -52,23 +52,23 @@ opengeode-core==15.24.2
|
|
|
52
52
|
# opengeode-inspector
|
|
53
53
|
# opengeode-io
|
|
54
54
|
# opengeodeweb-back
|
|
55
|
-
opengeode-geosciences
|
|
55
|
+
opengeode-geosciences~=9.0
|
|
56
56
|
# via
|
|
57
57
|
# geode-viewables
|
|
58
58
|
# opengeode-geosciencesio
|
|
59
59
|
# opengeodeweb-back
|
|
60
|
-
opengeode-geosciencesio
|
|
60
|
+
opengeode-geosciencesio~=5.0
|
|
61
61
|
# via opengeodeweb-back
|
|
62
|
-
opengeode-inspector
|
|
62
|
+
opengeode-inspector~=6.0
|
|
63
63
|
# via opengeodeweb-back
|
|
64
|
-
opengeode-io
|
|
64
|
+
opengeode-io~=7.0
|
|
65
65
|
# via
|
|
66
66
|
# geode-viewables
|
|
67
67
|
# opengeode-geosciencesio
|
|
68
68
|
# opengeodeweb-back
|
|
69
|
-
opengeodeweb-back
|
|
70
|
-
# via -r requirements.in
|
|
71
|
-
werkzeug
|
|
69
|
+
opengeodeweb-back~=5.0
|
|
70
|
+
# via -r tests/integration/microservices/back/requirements-internal.in
|
|
71
|
+
werkzeug~=3.0
|
|
72
72
|
# via
|
|
73
73
|
# flask
|
|
74
74
|
# flask-cors
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
opengeodeweb-viewer[cpu]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
OpenGeodeWeb-Viewer[cpu]
|
|
@@ -2,86 +2,160 @@
|
|
|
2
2
|
# This file is autogenerated by pip-compile with Python 3.12
|
|
3
3
|
# by the following command:
|
|
4
4
|
#
|
|
5
|
-
# pip-compile --
|
|
5
|
+
# pip-compile --output-file=tests/integration/microservices/viewer/requirements.txt tests/integration/microservices/viewer/requirements-internal.in tests/integration/microservices/viewer/requirements.in
|
|
6
6
|
#
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
aiohappyeyeballs==2.6.1
|
|
7
|
+
aiohappyeyeballs~=2.0
|
|
10
8
|
# via
|
|
11
9
|
# aiohttp
|
|
12
10
|
# opengeodeweb-viewer
|
|
13
|
-
aiohttp
|
|
11
|
+
aiohttp~=3.0
|
|
14
12
|
# via
|
|
15
13
|
# opengeodeweb-viewer
|
|
16
14
|
# wslink
|
|
17
|
-
aiosignal
|
|
15
|
+
aiosignal~=1.0
|
|
18
16
|
# via
|
|
19
17
|
# aiohttp
|
|
20
18
|
# opengeodeweb-viewer
|
|
21
|
-
attrs
|
|
19
|
+
attrs~=25.0
|
|
22
20
|
# via
|
|
23
21
|
# aiohttp
|
|
24
22
|
# opengeodeweb-viewer
|
|
25
|
-
|
|
26
|
-
# via
|
|
27
|
-
|
|
28
|
-
#
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
#
|
|
33
|
-
|
|
23
|
+
blinker~=1.0
|
|
24
|
+
# via
|
|
25
|
+
# flask
|
|
26
|
+
# opengeodeweb-microservice
|
|
27
|
+
# opengeodeweb-viewer
|
|
28
|
+
click~=8.0
|
|
29
|
+
# via
|
|
30
|
+
# flask
|
|
31
|
+
# opengeodeweb-microservice
|
|
32
|
+
# opengeodeweb-viewer
|
|
33
|
+
contourpy~=1.0
|
|
34
|
+
# via
|
|
35
|
+
# matplotlib
|
|
36
|
+
# opengeodeweb-viewer
|
|
37
|
+
cycler~=0.0
|
|
38
|
+
# via
|
|
39
|
+
# matplotlib
|
|
40
|
+
# opengeodeweb-viewer
|
|
41
|
+
fastjsonschema~=2.0
|
|
42
|
+
# via
|
|
43
|
+
# opengeodeweb-microservice
|
|
44
|
+
# opengeodeweb-viewer
|
|
45
|
+
flask~=3.0
|
|
46
|
+
# via
|
|
47
|
+
# flask-sqlalchemy
|
|
48
|
+
# opengeodeweb-microservice
|
|
49
|
+
# opengeodeweb-viewer
|
|
50
|
+
flask-sqlalchemy~=3.0
|
|
51
|
+
# via
|
|
52
|
+
# opengeodeweb-microservice
|
|
53
|
+
# opengeodeweb-viewer
|
|
54
|
+
fonttools~=4.0
|
|
55
|
+
# via
|
|
56
|
+
# matplotlib
|
|
57
|
+
# opengeodeweb-viewer
|
|
58
|
+
frozenlist~=1.0
|
|
34
59
|
# via
|
|
35
60
|
# aiohttp
|
|
36
61
|
# aiosignal
|
|
37
62
|
# opengeodeweb-viewer
|
|
38
|
-
|
|
63
|
+
greenlet~=3.0
|
|
64
|
+
# via
|
|
65
|
+
# opengeodeweb-microservice
|
|
66
|
+
# opengeodeweb-viewer
|
|
67
|
+
# sqlalchemy
|
|
68
|
+
idna~=3.0
|
|
39
69
|
# via
|
|
40
70
|
# opengeodeweb-viewer
|
|
41
71
|
# yarl
|
|
42
|
-
|
|
43
|
-
# via
|
|
44
|
-
|
|
45
|
-
#
|
|
46
|
-
|
|
72
|
+
itsdangerous~=2.0
|
|
73
|
+
# via
|
|
74
|
+
# flask
|
|
75
|
+
# opengeodeweb-microservice
|
|
76
|
+
# opengeodeweb-viewer
|
|
77
|
+
jinja2~=3.0
|
|
78
|
+
# via
|
|
79
|
+
# flask
|
|
80
|
+
# opengeodeweb-microservice
|
|
81
|
+
# opengeodeweb-viewer
|
|
82
|
+
kiwisolver~=1.0
|
|
83
|
+
# via
|
|
84
|
+
# matplotlib
|
|
85
|
+
# opengeodeweb-viewer
|
|
86
|
+
markupsafe~=3.0
|
|
87
|
+
# via
|
|
88
|
+
# flask
|
|
89
|
+
# jinja2
|
|
90
|
+
# opengeodeweb-microservice
|
|
91
|
+
# opengeodeweb-viewer
|
|
92
|
+
# werkzeug
|
|
93
|
+
matplotlib~=3.0
|
|
94
|
+
# via
|
|
95
|
+
# opengeodeweb-viewer
|
|
96
|
+
# vtk
|
|
97
|
+
multidict~=6.0
|
|
47
98
|
# via
|
|
48
99
|
# aiohttp
|
|
49
100
|
# opengeodeweb-viewer
|
|
50
101
|
# yarl
|
|
51
|
-
numpy
|
|
102
|
+
numpy~=2.0
|
|
52
103
|
# via
|
|
53
104
|
# contourpy
|
|
54
105
|
# matplotlib
|
|
55
|
-
opengeodeweb-viewer
|
|
106
|
+
# opengeodeweb-viewer
|
|
107
|
+
opengeodeweb-microservice~=1.0
|
|
108
|
+
# via opengeodeweb-viewer
|
|
109
|
+
opengeodeweb-viewer[cpu]~=1.0
|
|
110
|
+
# via -r tests/integration/microservices/viewer/requirements-internal.in
|
|
111
|
+
packaging~=25.0
|
|
112
|
+
# via
|
|
113
|
+
# matplotlib
|
|
114
|
+
# opengeodeweb-viewer
|
|
115
|
+
pillow~=11.0
|
|
56
116
|
# via
|
|
57
|
-
#
|
|
117
|
+
# matplotlib
|
|
58
118
|
# opengeodeweb-viewer
|
|
59
|
-
|
|
60
|
-
# via matplotlib
|
|
61
|
-
pillow==11.3.0
|
|
62
|
-
# via matplotlib
|
|
63
|
-
propcache==0.3.2
|
|
119
|
+
propcache~=0.0
|
|
64
120
|
# via
|
|
65
121
|
# aiohttp
|
|
66
122
|
# opengeodeweb-viewer
|
|
67
123
|
# yarl
|
|
68
|
-
pyparsing
|
|
69
|
-
# via
|
|
124
|
+
pyparsing~=3.0
|
|
125
|
+
# via
|
|
126
|
+
# matplotlib
|
|
127
|
+
# opengeodeweb-viewer
|
|
70
128
|
python-dateutil==2.9.0.post0
|
|
71
|
-
# via
|
|
72
|
-
|
|
73
|
-
#
|
|
74
|
-
|
|
129
|
+
# via
|
|
130
|
+
# matplotlib
|
|
131
|
+
# opengeodeweb-viewer
|
|
132
|
+
six~=1.0
|
|
133
|
+
# via
|
|
134
|
+
# opengeodeweb-viewer
|
|
135
|
+
# python-dateutil
|
|
136
|
+
sqlalchemy~=2.0
|
|
137
|
+
# via
|
|
138
|
+
# flask-sqlalchemy
|
|
139
|
+
# opengeodeweb-microservice
|
|
140
|
+
# opengeodeweb-viewer
|
|
141
|
+
typing-extensions~=4.0
|
|
75
142
|
# via
|
|
76
143
|
# aiosignal
|
|
144
|
+
# opengeodeweb-microservice
|
|
77
145
|
# opengeodeweb-viewer
|
|
78
|
-
|
|
146
|
+
# sqlalchemy
|
|
147
|
+
vtk~=9.0
|
|
79
148
|
# via opengeodeweb-viewer
|
|
80
|
-
websocket-client
|
|
149
|
+
websocket-client~=1.0
|
|
81
150
|
# via opengeodeweb-viewer
|
|
82
|
-
|
|
151
|
+
werkzeug~=3.0
|
|
152
|
+
# via
|
|
153
|
+
# flask
|
|
154
|
+
# opengeodeweb-microservice
|
|
155
|
+
# opengeodeweb-viewer
|
|
156
|
+
wslink~=1.0
|
|
83
157
|
# via opengeodeweb-viewer
|
|
84
|
-
yarl
|
|
158
|
+
yarl~=1.0
|
|
85
159
|
# via
|
|
86
160
|
# aiohttp
|
|
87
161
|
# opengeodeweb-viewer
|
|
@@ -86,7 +86,7 @@ beforeEach(async () => {
|
|
|
86
86
|
await dataBaseStore.registerObject(id, file_name, object_type)
|
|
87
87
|
await dataStyleStore.addDataStyle(id, geode_object, object_type)
|
|
88
88
|
expect(viewerStore.status).toBe(Status.CONNECTED)
|
|
89
|
-
})
|
|
89
|
+
}, 15000)
|
|
90
90
|
|
|
91
91
|
describe("Mesh edges", () => {
|
|
92
92
|
afterEach(async () => {
|
package/utils/local.js
CHANGED
|
@@ -7,7 +7,7 @@ import child_process from "child_process"
|
|
|
7
7
|
import pkg from "electron"
|
|
8
8
|
const { app, dialog } = pkg
|
|
9
9
|
import { getPort } from "get-port-please"
|
|
10
|
-
import
|
|
10
|
+
import kill from "tree-kill"
|
|
11
11
|
import isElectron from "is-electron"
|
|
12
12
|
|
|
13
13
|
import { fileURLToPath } from "url"
|
|
@@ -71,18 +71,17 @@ async function kill_processes() {
|
|
|
71
71
|
await processes.forEach(async function (proc) {
|
|
72
72
|
console.log(`Process ${proc} will be killed!`)
|
|
73
73
|
try {
|
|
74
|
-
|
|
74
|
+
kill(proc)
|
|
75
75
|
} catch (error) {
|
|
76
76
|
console.log(`${error} Process ${proc} could not be killed!`)
|
|
77
77
|
}
|
|
78
78
|
})
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
function
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
})
|
|
81
|
+
function register_process(proc) {
|
|
82
|
+
if (!processes.includes(proc.pid)) {
|
|
83
|
+
processes.push(proc.pid)
|
|
84
|
+
}
|
|
86
85
|
}
|
|
87
86
|
|
|
88
87
|
async function run_script(
|
|
@@ -99,7 +98,7 @@ async function run_script(
|
|
|
99
98
|
encoding: "utf8",
|
|
100
99
|
shell: true,
|
|
101
100
|
})
|
|
102
|
-
|
|
101
|
+
register_process(child)
|
|
103
102
|
|
|
104
103
|
// You can also use a variable to save the output for when the script closes later
|
|
105
104
|
child.stderr.setEncoding("utf8")
|
|
@@ -115,7 +114,6 @@ async function run_script(
|
|
|
115
114
|
//Here is the output
|
|
116
115
|
data = data.toString()
|
|
117
116
|
if (data.includes(expected_response)) {
|
|
118
|
-
register_children_processes(child)
|
|
119
117
|
resolve(child)
|
|
120
118
|
}
|
|
121
119
|
console.log(data)
|
|
@@ -173,7 +171,7 @@ export {
|
|
|
173
171
|
executable_path,
|
|
174
172
|
get_available_port,
|
|
175
173
|
kill_processes,
|
|
176
|
-
|
|
174
|
+
register_process,
|
|
177
175
|
run_script,
|
|
178
176
|
run_back,
|
|
179
177
|
run_viewer,
|