@geode/opengeodeweb-front 10.29.0-rc.8 → 10.29.0
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/app/components/Viewer/Options/ColorMapList.vue +3 -2
- package/app/stores/app.js +2 -2
- package/app/stores/back.js +1 -1
- package/app/stores/cloud.js +1 -1
- package/app/stores/viewer.js +1 -1
- package/app/utils/extension.js +2 -2
- package/nuxt.config.js +2 -0
- package/package.json +3 -3
- package/server/utils/cloud.js +3 -0
- package/tests/unit/stores/cloud.nuxt.test.js +2 -2
- package/tests/unit/stores/infra.nuxt.test.js +1 -1
- /package/server/api/{app → local}/kill.post.js +0 -0
- /package/server/api/{app → local}/project_folder_path.post.js +0 -0
- /package/server/api/{app → local}/run_back.post.js +0 -0
- /package/server/api/{app → local}/run_viewer.post.js +0 -0
- /package/server/api/{extensions → microservice/extensions}/kill.post.js +0 -0
- /package/server/api/{extensions → microservice/extensions}/run.post.js +0 -0
- /package/server/api/{extensions → microservice/extensions}/upload.put.js +0 -0
- /package/server/api/{app → serverless}/run_cloud.js +0 -0
|
@@ -78,7 +78,8 @@ watch(filteredPresets, drawAllCanvases);
|
|
|
78
78
|
<template>
|
|
79
79
|
<GlassCard width="320" variant="panel" padding="pa-3" rounded="lg" class="overflow-hidden">
|
|
80
80
|
<v-overlay
|
|
81
|
-
v-
|
|
81
|
+
v-if="loading"
|
|
82
|
+
data-testid="colorMapListLoading"
|
|
82
83
|
contained
|
|
83
84
|
persistent
|
|
84
85
|
class="align-center justify-center"
|
|
@@ -87,9 +88,9 @@ watch(filteredPresets, drawAllCanvases);
|
|
|
87
88
|
>
|
|
88
89
|
<v-progress-circular indeterminate color="primary" />
|
|
89
90
|
</v-overlay>
|
|
90
|
-
|
|
91
91
|
<v-text-field
|
|
92
92
|
v-model="filterText"
|
|
93
|
+
data-testid="colorMapListFilter"
|
|
93
94
|
placeholder="Search presets..."
|
|
94
95
|
density="compact"
|
|
95
96
|
hide-details
|
package/app/stores/app.js
CHANGED
|
@@ -196,7 +196,7 @@ export const useAppStore = defineStore("app", () => {
|
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
function upload(file, callbacks = {}) {
|
|
199
|
-
const route = "/api/extensions/upload";
|
|
199
|
+
const route = "/api/microservice/extensions/upload";
|
|
200
200
|
const store = useAppStore();
|
|
201
201
|
return upload_file(
|
|
202
202
|
store,
|
|
@@ -244,7 +244,7 @@ export const useAppStore = defineStore("app", () => {
|
|
|
244
244
|
function createProjectFolder() {
|
|
245
245
|
const { PROJECT } = useRuntimeConfig().public;
|
|
246
246
|
const schema = {
|
|
247
|
-
$id: "/api/
|
|
247
|
+
$id: "/api/local/project_folder_path",
|
|
248
248
|
methods: ["POST"],
|
|
249
249
|
type: "object",
|
|
250
250
|
properties: { PROJECT: { type: "string" } },
|
package/app/stores/back.js
CHANGED
|
@@ -81,7 +81,7 @@ export const useBackStore = defineStore("back", {
|
|
|
81
81
|
const appStore = useAppStore();
|
|
82
82
|
const { COMMAND_BACK, NUXT_ROOT_PATH } = useRuntimeConfig().public;
|
|
83
83
|
const schema = {
|
|
84
|
-
$id: "/api/
|
|
84
|
+
$id: "/api/local/run_back",
|
|
85
85
|
methods: ["POST"],
|
|
86
86
|
type: "object",
|
|
87
87
|
properties: {
|
package/app/stores/cloud.js
CHANGED
|
@@ -12,7 +12,7 @@ export const useCloudStore = defineStore("cloud", {
|
|
|
12
12
|
this.status = Status.CONNECTING;
|
|
13
13
|
console.log("[CLOUD] Launching cloud backend...");
|
|
14
14
|
const schema = {
|
|
15
|
-
$id: "/api/
|
|
15
|
+
$id: "/api/serverless/run_cloud",
|
|
16
16
|
methods: ["POST"],
|
|
17
17
|
type: "object",
|
|
18
18
|
properties: {
|
package/app/stores/viewer.js
CHANGED
|
@@ -133,7 +133,7 @@ export const useViewerStore = defineStore(
|
|
|
133
133
|
|
|
134
134
|
const { COMMAND_VIEWER, NUXT_ROOT_PATH } = useRuntimeConfig().public;
|
|
135
135
|
const schema = {
|
|
136
|
-
$id: "/api/
|
|
136
|
+
$id: "/api/local/run_viewer",
|
|
137
137
|
methods: ["POST"],
|
|
138
138
|
type: "object",
|
|
139
139
|
properties: { COMMAND_VIEWER: { type: "string" }, NUXT_ROOT_PATH: { type: "string" } },
|
package/app/utils/extension.js
CHANGED
|
@@ -81,7 +81,7 @@ function runExtensions() {
|
|
|
81
81
|
const params = { projectFolderPath, projectName };
|
|
82
82
|
|
|
83
83
|
const schema = {
|
|
84
|
-
$id: "/api/extensions/run",
|
|
84
|
+
$id: "/api/microservice/extensions/run",
|
|
85
85
|
methods: ["POST"],
|
|
86
86
|
type: "object",
|
|
87
87
|
properties: {
|
|
@@ -104,7 +104,7 @@ function killExtension(extensionId) {
|
|
|
104
104
|
console.log(`[AppStore] Killing extension: ${extensionId}`, { params });
|
|
105
105
|
|
|
106
106
|
const schema = {
|
|
107
|
-
$id: "/api/extensions/kill",
|
|
107
|
+
$id: "/api/microservice/extensions/kill",
|
|
108
108
|
methods: ["POST"],
|
|
109
109
|
type: "object",
|
|
110
110
|
properties: {
|
package/nuxt.config.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geode/opengeodeweb-front",
|
|
3
|
-
"version": "10.29.0
|
|
3
|
+
"version": "10.29.0",
|
|
4
4
|
"description": "OpenSource Vue/Nuxt/Pinia/Vuetify framework for web applications",
|
|
5
5
|
"homepage": "https://github.com/Geode-solutions/OpenGeodeWeb-Front",
|
|
6
6
|
"bugs": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"build": ""
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@geode/opengeodeweb-back": "
|
|
38
|
-
"@geode/opengeodeweb-viewer": "
|
|
37
|
+
"@geode/opengeodeweb-back": "latest",
|
|
38
|
+
"@geode/opengeodeweb-viewer": "latest",
|
|
39
39
|
"@google-cloud/run": "3.2.0",
|
|
40
40
|
"@kitware/vtk.js": "33.3.0",
|
|
41
41
|
"@mdi/font": "7.4.47",
|
package/server/utils/cloud.js
CHANGED
|
@@ -42,6 +42,8 @@ function requestConfig(parent, image, email, projectName) {
|
|
|
42
42
|
cpu: "2000m",
|
|
43
43
|
memory: "3Gi",
|
|
44
44
|
},
|
|
45
|
+
cpuIdle: false,
|
|
46
|
+
startup_cpu_boost: true,
|
|
45
47
|
};
|
|
46
48
|
const labels = {
|
|
47
49
|
user: sanitizeLabelValue(email),
|
|
@@ -59,6 +61,7 @@ function requestConfig(parent, image, email, projectName) {
|
|
|
59
61
|
},
|
|
60
62
|
template: {
|
|
61
63
|
labels,
|
|
64
|
+
timeout: { seconds: 3600 },
|
|
62
65
|
containers: [
|
|
63
66
|
{
|
|
64
67
|
image,
|
|
@@ -38,7 +38,7 @@ describe("cloud store", () => {
|
|
|
38
38
|
const cloudStore = useCloudStore();
|
|
39
39
|
const feedbackStore = useFeedbackStore();
|
|
40
40
|
|
|
41
|
-
registerEndpoint("/api/
|
|
41
|
+
registerEndpoint("/api/serverless/run_cloud", {
|
|
42
42
|
method: "POST",
|
|
43
43
|
handler: postFakeCall,
|
|
44
44
|
});
|
|
@@ -58,7 +58,7 @@ describe("cloud store", () => {
|
|
|
58
58
|
const cloudStore = useCloudStore();
|
|
59
59
|
const feedbackStore = useFeedbackStore();
|
|
60
60
|
|
|
61
|
-
registerEndpoint("/api/
|
|
61
|
+
registerEndpoint("/api/serverless/run_cloud", {
|
|
62
62
|
method: "POST",
|
|
63
63
|
handler: postFakeCall,
|
|
64
64
|
});
|
|
@@ -291,7 +291,7 @@ describe("infra store", () => {
|
|
|
291
291
|
|
|
292
292
|
infraStore.app_mode = appMode.CLOUD;
|
|
293
293
|
const url = "test.com";
|
|
294
|
-
registerEndpoint("/api/
|
|
294
|
+
registerEndpoint("/api/serverless/run_cloud", {
|
|
295
295
|
method: "POST",
|
|
296
296
|
handler: () => ({ url }),
|
|
297
297
|
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|