Skip to content

Commit bb549e3

Browse files
wuayeeXinLi-cyber
authored andcommitted
[appBuilder] 分域问题修复
1 parent 318491a commit bb549e3

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

app-builder/plugins/aipp-plugin/src/main/resources/application.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,6 @@ aipp:
9797
chat:
9898
session:
9999
file:
100-
path: /var/share/backup/chat-session/
100+
path: /var/share/backup/chat-session/
101+
domain-division:
102+
isEnable: false

app-builder/plugins/aipp-plugin/src/test/java/modelengine/fit/jober/aipp/domains/appversion/AppVersionTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,8 @@ public void testRestartNormally() {
702702

703703
// when.
704704
AtomicReference<RunContext> contextAtomicReference = new AtomicReference<>();
705+
when(AppVersionTest.this.appVersionRepository.selectById(anyString())).thenReturn(
706+
Optional.of(appVersion));
705707
appVersion.restart(instance, new HashMap<>(), null, new OperationContext(),
706708
contextAtomicReference::set);
707709

@@ -754,6 +756,7 @@ public void testRestartWithAtChatId() {
754756
.appSuiteId("app_1")
755757
.appId("app_version_2")
756758
.version("1.0.2")
759+
.createBy("Jade")
757760
.build());
758761

759762
doNothing().when(AppVersionTest.this.appChatRepository).saveChat(any(), any());
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
fit:
22
beans:
33
packages:
4-
- 'modelengine.jade.store.common'
4+
- 'modelengine.jade.store.common'
5+
domain-division:
6+
isEnable: false

store/plugins/store-repository-postgresql/src/main/resources/application.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,7 @@ fit:
2424
testOnReturn: false
2525

2626
mybatis:
27-
mapper-locations: 'mapper/*Mapper.xml'
27+
mapper-locations: 'mapper/*Mapper.xml'
28+
29+
domain-division:
30+
isEnable: false

store/plugins/store-tool-uploader/src/main/resources/application.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ store:
88
uploader:
99
maxPluginNumber: 3000
1010
maxStorageRatio: 0.9
11-
toolsPath: '/var/store/tools/'
11+
toolsPath: '/var/store/tools/'
12+
domain-division:
13+
isEnable: false

0 commit comments

Comments
 (0)