Skip to content

Commit 8ee1503

Browse files
authored
Merge pull request #30 from WeDataSphere/dev-0.2.0
Modify deployment issues
2 parents 121a756 + 813f4f7 commit 8ee1503

File tree

6 files changed

+14
-7
lines changed

6 files changed

+14
-7
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,8 @@ streamis-project/streamis-project-common/target
1616
streamis-project/streamis-project-server/target
1717

1818
streamis-server/target
19-
streamis-appconn/target
19+
streamis-appconn/target
20+
/logs/streamis-server.log
21+
/logs/linkis.log
22+
/test/target
23+
/test/src

conf/config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ GATEWAY_PORT=9001
4040
STREAMIS_SERVER_INSTALL_IP=127.0.0.1
4141
STREAMIS_SERVER_INSTALL_PORT=9400
4242

43-
STREAMIS_VERSION=0.1.0
43+
STREAMIS_VERSION=0.2.0
4444

4545
STREAMIS_FILE_NAME="STREAMIS-$STREAMIS_VERSION"

streamis-appconn/src/main/resources/init.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ VALUES(@jobcenter_dss_appconn_id, 1, 'StreamSQL development', 'StreamSQL开发',
2727

2828
INSERT INTO dss_appconn_instance
2929
(appconn_id, label, url, enhance_json, homepage_uri)
30-
VALUES(@dss_appconn_id, 'DEV', 'http://Streamis_INSTALL_IP:Streamis_INSTALL_PORT/', '', 'http://Streamis_INSTALL_IP:Streamis_INSTALL_PORT/#/realTimeJobCenter');
30+
VALUES(@dss_appconn_id, 'DEV', 'http://APPCONN_INSTALL_IP:APPCONN_INSTALL_PORT/', '', 'http://APPCONN_INSTALL_IP:APPCONN_INSTALL_PORT/#/realTimeJobCenter');
3131

3232
INSERT INTO dss_appconn_instance
3333
(appconn_id, label, url, enhance_json, homepage_uri)
34-
VALUES(@jobcenter_dss_appconn_id, 'DEV', 'http://Streamis_INSTALL_IP:Streamis_INSTALL_PORT/#/realTimeJobCenter', NULL, NULL);
34+
VALUES(@jobcenter_dss_appconn_id, 'DEV', 'http://APPCONN_INSTALL_IP:APPCONN_INSTALL_PORT/#/realTimeJobCenter', NULL, NULL);

streamis-project/streamis-project-server/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
<dependency>
6565
<groupId>org.apache.commons</groupId>
6666
<artifactId>commons-math3</artifactId>
67-
<scope>provided</scope>
6867
</dependency>
6968
<dependency>
7069
<groupId>com.webank.wedatasphere.dss</groupId>

web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "streamis",
3-
"version": "1.0.0",
3+
"version": "0.2.0",
44
"private": true,
55
"scripts": {
66
"serve": "vue-cli-service serve",

web/src/apps/streamis/module/jobConfig/index.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,11 @@ export default {
224224
emptyWarning = !mapKey.key || !mapKey.key.trim();
225225
if (configuration[key][mapKey.key]) warning = true;
226226
configuration[key][mapKey.key] = mapKey.value || '';
227-
})
227+
});
228+
if ((this.diyMap[key] || []).length <= 1) {
229+
const only = (this.diyMap[key] || [])[0] || {};
230+
emptyWarning = !((!only.key || !only.key.trim()) && (!only.value || !only.value.trim()))
231+
}
228232
});
229233
console.log('configuration', configuration, this.valueMap)
230234
if (emptyWarning) {

0 commit comments

Comments
 (0)