Skip to content

Commit 5ea803f

Browse files
committed
恢复为了启动项目修改的代码
1 parent 604a251 commit 5ea803f

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

common/plugins/schema-validator-everit-h1/src/test/java/modelengine/jade/common/schema/validator/SchemaValidatorImplTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
* Licensed under the MIT License. See License.txt in the project root for license information.
55
*--------------------------------------------------------------------------------------------*/
66

7-
package modelengine.jade.common.schema.validator;
7+
package modelengine.jade.app.engine.schema;
88

99
import static modelengine.fitframework.util.IoUtils.content;
1010
import static org.assertj.core.api.Assertions.assertThatThrownBy;
1111
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
12-
import modelengine.jade.app.engine.schema.SchemaValidatorImplTestCaseParam;
12+
1313
import modelengine.jade.common.schema.validator.SchemaValidatorImpl;
1414
import modelengine.jade.schema.SchemaValidator;
1515
import modelengine.jade.schema.exception.JsonContentInvalidException;
@@ -64,7 +64,7 @@ public Stream<? extends Arguments> provideArguments(ExtensionContext extensionCo
6464
String jsonContent = content(ValidateTestCaseProvider.class, resourceName);
6565

6666
List<SchemaValidatorImplTestCaseParam> testCase = objectSerializer.deserialize(jsonContent,
67-
TypeUtils.parameterized(List.class, new Type[] {modelengine.jade.app.engine.schema.SchemaValidatorImplTestCaseParam.class}));
67+
TypeUtils.parameterized(List.class, new Type[] {SchemaValidatorImplTestCaseParam.class}));
6868

6969
return testCase.stream().map(test -> Arguments.of(test.getSchema(), test.getContent()));
7070
}

frontend/proxy.conf.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"/api": {
3-
"target": "http://localhost:8080",
3+
"target": "http://{ip}:{port}",
44
"secure": false,
55
"changeOrigin": true,
66
"pathRewrite": {
@@ -9,87 +9,87 @@
99
}
1010
},
1111
"/aiApi": {
12-
"target": "http://localhost:8080",
12+
"target": "http://{ip}:{port}",
1313
"pathRewrite": {
1414
"^/aiApi": "/tzaip/api/hisp"
1515
},
1616
"secure": false,
1717
"changeOrigin": true
1818
},
1919
"/aippApi": {
20-
"target": "http://localhost:8080",
20+
"target": "http://{ip}:{port}",
2121
"pathRewrite": { "^/aippApi": "/v1/api" },
2222
"secure": false,
2323
"changeOrigin": true
2424
},
2525
"/modelApi": {
26-
"target": "http://localhost:8080",
26+
"target": "http://{ip}:{port}",
2727
"pathRewrite": {
2828
"^/modelApi": "/"
2929
},
3030
"secure": false,
3131
"changeOrigin": true
3232
},
3333
"/knowledge": {
34-
"target": "http://localhost:8080",
34+
"target": "http://{ip}:{port}",
3535
"pathRewrite": {
3636
"^/knowledge": ""
3737
},
3838
"secure": false,
3939
"changeOrigin": true
4040
},
4141
"/v1": {
42-
"target": "http://localhost:8080",
42+
"target": "http://{ip}:{port}",
4343
"pathRewrite": { "^/v1": "/v1" },
4444
"secure": false,
4545
"changeOrigin": true
4646
},
4747
"/elsaApi": {
48-
"target": "http://localhost:8080",
48+
"target": "http://{ip}:{port}",
4949
"pathRewrite": {
5050
"^/elsaApi": ""
5151
},
5252
"secure": false,
5353
"changeOrigin": true
5454
},
5555
"/llmApi": {
56-
"target": "http://localhost:8080",
56+
"target": "http://{ip}:{port}",
5757
"pathRewrite": {
5858
"^/llmApi": ""
5959
},
6060
"secure": false,
6161
"changeOrigin": true
6262
},
6363
"/modelbase": {
64-
"target": "http://localhost:8080",
64+
"target": "http://{ip}:{port}",
6565
"pathRewrite": {
6666
"^/modelbase": "/api/model_manage"
6767
},
6868
"secure": false,
6969
"changeOrigin": true
7070
},
7171
"/modeltrain": {
72-
"target": "http://localhost:8080",
72+
"target": "http://{ip}:{port}",
7373
"pathRewrite": {
7474
"^/modeltrain": "/api/model_finetune"
7575
},
7676
"secure": false,
7777
"changeOrigin": true
7878
},
7979
"/ttApi": {
80-
"target": "http://localhost:8080",
80+
"target": "http://{ip1}:{port1}",
8181
"pathRewrite": { "^/ttApi": "" },
8282
"secure": false,
8383
"changeOrigin": true
8484
},
8585
"/evaluate": {
86-
"target": "http://localhost:8080",
86+
"target": "http://{ip1}:{port1}",
8787
"pathRewrite": { "^/evaluate": "" },
8888
"secure": false,
8989
"changeOrigin": true
9090
},
9191
"/apps": {
92-
"target": "http://localhost:8080",
92+
"target": "http://{ip2}:{port2}",
9393
"pathRewrite": { "^/apps/appengine": "" },
9494
"secure": false,
9595
"changeOrigin": true

frontend/src/pages/addFlow/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export const configMap = {
105105
},{
106106
node: 'queryOptimizationNodeState',
107107
urls: {
108-
llmModelEndpoint: `/llmApi/v1/api/fetch/model-list`,
108+
llmModelEndpoint: ``,
109109
},
110110
}, {
111111
node: 'textExtractionNodeState',

0 commit comments

Comments
 (0)