Skip to content

Commit 1b2a041

Browse files
committed
Synchronize the latest backend code to adapt dss1.1.0 and linkis1.1.1.
1 parent 1aa7d3a commit 1b2a041

File tree

79 files changed

+2040
-2195
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+2040
-2195
lines changed

server/README.md

Whitespace-only changes.

server/pom.xml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<artifactId>visualis</artifactId>
66
<groupId>com.webank.wedatasphere.dss</groupId>
7-
<version>1.0.0-rc1</version>
7+
<version>1.2.4</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010

@@ -22,8 +22,8 @@
2222
<jdk.compile.version>1.8</jdk.compile.version>
2323
<skipTests>true</skipTests>
2424

25-
<apache.linkis.version>1.1.1</apache.linkis.version>
26-
<opensource.dss.version>1.0.1</opensource.dss.version>
25+
<apache.linkis.version>1.1.0</apache.linkis.version>
26+
<opensource.dss.version>1.1.0</opensource.dss.version>
2727

2828
<elasticsearch.version>5.1.2</elasticsearch.version>
2929
<spring.boot.version>2.3.7.RELEASE</spring.boot.version>
@@ -37,6 +37,14 @@
3737
</properties>
3838

3939
<dependencies>
40+
41+
<!--行内差异化变量改造-->
42+
<dependency>
43+
<groupId>cn.webank.bsp</groupId>
44+
<artifactId>encrypt</artifactId>
45+
<version>1.0.2</version>
46+
</dependency>
47+
4048
<dependency>
4149
<groupId>com.thoughtworks.xstream</groupId>
4250
<artifactId>xstream</artifactId>
@@ -431,7 +439,7 @@
431439
<dependency>
432440
<groupId>com.alibaba</groupId>
433441
<artifactId>fastjson</artifactId>
434-
<version>1.2.83</version>
442+
<version>1.2.70</version>
435443
</dependency>
436444

437445
<dependency>
@@ -693,4 +701,4 @@
693701
</build>
694702

695703

696-
</project>
704+
</project>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.webank.wedatasphere.dss.visualis.content;
2+
3+
public class CommonContant {
4+
public static String URL = "url";
5+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package com.webank.wedatasphere.dss.visualis.content;
2+
3+
public class DashboardContant {
4+
5+
public static String DASHBOARD_ID = "dashboardId";
6+
7+
public static String DASHBOARD = "dashboard";
8+
9+
public static String NAME = "name";
10+
11+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package com.webank.wedatasphere.dss.visualis.content;
2+
3+
public class DisplayContant {
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package com.webank.wedatasphere.dss.visualis.content;
2+
3+
public class ProjectContant {
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package com.webank.wedatasphere.dss.visualis.content;
2+
3+
public class SourceContant {
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package com.webank.wedatasphere.dss.visualis.content;
2+
3+
public class UserContant {
4+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package com.webank.wedatasphere.dss.visualis.content;
2+
3+
public class ViewContant {
4+
5+
public static String VIEW_ID = "viewId";
6+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
package com.webank.wedatasphere.dss.visualis.content;
2+
3+
public class WidgetContant {
4+
5+
public static String WIDGET_CONFIG_TEMPLATE = "{${context_info}\"data\":[],\"cols\":[],\"rows\":[]," +
6+
"\"metrics\":[],\"filters\":[],\"color\":{\"title\":\"颜色\",\"type\":\"category\"," +
7+
"\"value\":{\"all\":\"#509af2\"},\"items\":[]},\"chartStyles\":{\"pivot\":{\"fontFamily\":\"PingFang SC\"," +
8+
"\"fontSize\":\"12\",\"color\":\"#666\",\"lineStyle\":\"solid\",\"lineColor\":\"#D9D9D9\"," +
9+
"\"headerBackgroundColor\":\"#f7f7f7\"}},\"selectedChart\":1,\"pagination\":{\"pageNo\":0," +
10+
"\"pageSize\":0,\"withPaging\":false,\"totalCount\":0},\"renderType\":\"clear\",\"orders\":[]," +
11+
"\"mode\":\"pivot\",\"model\":${model_content},\"controls\":[],\"computed\":[],\"cache\":false,\"expired\":300,\"autoLoadData\":true}";
12+
13+
public static String WIDGET_CHART_CONFIG_TEMPLE = "{${context_info}\"data\":[],\"pagination\":{\"pageNo\":0," +
14+
"\"pageSize\":0,\"totalCount\":0,\"withPaging\":false}," +
15+
"\"cols\":[],\"rows\":[],\"metrics\":[],\"secondaryMetrics\":[]," +
16+
"\"filters\":[],\"chartStyles\":{\"pivot\":{\"fontFamily\":\"PingFangSC\"," +
17+
"\"fontSize\":\"12\",\"color\":\"#666\",\"lineStyle\":\"solid\"," +
18+
"\"lineColor\":\"#D9D9D9\",\"headerBackgroundColor\":\"#f7f7f7\"}," +
19+
"\"table\":{\"fontFamily\":\"PingFangSC\",\"fontSize\":\"12\"," +
20+
"\"color\":\"#666\",\"lineStyle\":\"solid\",\"lineColor\":\"#D9D9D9\"," +
21+
"\"headerBackgroundColor\":\"#f7f7f7\",\"headerConfig\":[],\"columnsConfig\":[]," +
22+
"\"leftFixedColumns\":[],\"rightFixedColumns\":[],\"headerFixed\":true," +
23+
"\"autoMergeCell\":false,\"bordered\":true,\"size\":\"small\",\"withPaging\":true," +
24+
"\"pageSize\":\"5000\",\"withNoAggregators\":false}},\"selectedChart\":1," +
25+
"\"orders\":[],\"mode\":\"chart\",\"model\":${model_content},\"controls\":[],\"computed\":[]," +
26+
"\"cache\":false,\"expired\":300,\"autoLoadData\":true,\"query\":null}";
27+
28+
public static String WIDGET_ID = "widgetId";
29+
30+
public static String NAME = "name";
31+
32+
public static String WIDGET = "widget";
33+
34+
public static String WIDGETS = "widgets";
35+
36+
37+
}

0 commit comments

Comments
 (0)