Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
djscrm
/
scrm-account-doc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7395bd46
authored
May 12, 2022
by
chizw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
配置和数据库脚本
1 parent
255293a4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
53 additions
and
23 deletions
2.1.0_魔方聚合五月份版本515/03-数据魔方表结构.sql
2.1.0_魔方聚合五月份版本515/04-数据魔方测试数据.sql
2.1.0_魔方聚合五月份版本515/rpc-scrm-entmicro配置中心配置.txt
2.1.0_魔方聚合五月份版本515/魔方聚合配置中心添加配置.txt
2.1.0_魔方聚合五月份版本515/03-数据魔方表结构.sql
View file @
7395bd4
...
@@ -13,6 +13,10 @@ CREATE TABLE `data_cube_file_upload_log` (
...
@@ -13,6 +13,10 @@ CREATE TABLE `data_cube_file_upload_log` (
`rc_file_name`
varchar
(
60
)
DEFAULT
NULL
COMMENT
'上传RestCloud文件名称,格式:商户号_业务类型_批次号'
,
`rc_file_name`
varchar
(
60
)
DEFAULT
NULL
COMMENT
'上传RestCloud文件名称,格式:商户号_业务类型_批次号'
,
`fail_data_url`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'异常数据url'
,
`fail_data_url`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'异常数据url'
,
`notice`
tinyint
(
4
)
DEFAULT
NULL
COMMENT
'处理完成PC端通知 0=未通知 1=已通知'
,
`notice`
tinyint
(
4
)
DEFAULT
NULL
COMMENT
'处理完成PC端通知 0=未通知 1=已通知'
,
`result`
int
(
11
)
DEFAULT
NULL
COMMENT
'RestCloud流程执行结果标志 1=成功 0=失败'
,
`in_put_file`
varchar
(
50
)
DEFAULT
NULL
COMMENT
'RestCloud导入文件名称'
,
`file_exist`
int
(
11
)
DEFAULT
NULL
COMMENT
'RestCloud文件校验标志 1=成功 0=失败'
,
`key_value_check`
int
(
11
)
DEFAULT
NULL
COMMENT
'RestCloud字段名校验 1=成功 0=失败'
,
`process_name`
varchar
(
50
)
DEFAULT
NULL
COMMENT
'RestCloud流程名称'
,
`process_name`
varchar
(
50
)
DEFAULT
NULL
COMMENT
'RestCloud流程名称'
,
`transaction_id`
int
(
11
)
DEFAULT
NULL
COMMENT
'RestCloud事务Id'
,
`transaction_id`
int
(
11
)
DEFAULT
NULL
COMMENT
'RestCloud事务Id'
,
`start_time`
datetime
DEFAULT
NULL
COMMENT
'RestCloud开始时间'
,
`start_time`
datetime
DEFAULT
NULL
COMMENT
'RestCloud开始时间'
,
...
@@ -21,21 +25,17 @@ CREATE TABLE `data_cube_file_upload_log` (
...
@@ -21,21 +25,17 @@ CREATE TABLE `data_cube_file_upload_log` (
`total_success_count`
int
(
11
)
DEFAULT
NULL
COMMENT
'RestCloud成功传输数据量'
,
`total_success_count`
int
(
11
)
DEFAULT
NULL
COMMENT
'RestCloud成功传输数据量'
,
`total_failed_count`
int
(
11
)
DEFAULT
NULL
COMMENT
'RestCloud失败传输数据量'
,
`total_failed_count`
int
(
11
)
DEFAULT
NULL
COMMENT
'RestCloud失败传输数据量'
,
`message`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'RestCloud执行结果'
,
`message`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'RestCloud执行结果'
,
`key_value_check_1`
varchar
(
50
)
DEFAULT
NULL
COMMENT
'RestCloud销售表字段名校验'
,
`key_value_check_2`
varchar
(
50
)
DEFAULT
NULL
COMMENT
'RestCloud售后表字段名校验'
,
`key_value_check_3`
varchar
(
50
)
DEFAULT
NULL
COMMENT
'RestCloud新保表字段名校验'
,
`key_value_check_4`
varchar
(
50
)
DEFAULT
NULL
COMMENT
'RestCloud续保表字段名校验'
,
`del_flag`
tinyint
(
2
)
DEFAULT
NULL
COMMENT
'是否删除:0=正常,-1=删除'
,
`del_flag`
tinyint
(
2
)
DEFAULT
NULL
COMMENT
'是否删除:0=正常,-1=删除'
,
`created_by`
int
(
11
)
DEFAULT
NULL
COMMENT
'创建人'
,
`created_by`
int
(
11
)
DEFAULT
NULL
COMMENT
'创建人'
,
`created_time`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
`created_time`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
`updated_by`
int
(
11
)
DEFAULT
NULL
COMMENT
'更新人'
,
`updated_by`
int
(
11
)
DEFAULT
NULL
COMMENT
'更新人'
,
`updated_time`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
`updated_time`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
PRIMARY
KEY
(
`id`
)
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
26
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'数据魔方文件上传日志表'
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
775
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'数据魔方文件上传日志表'
;
CREATE
TABLE
`data_cube_merchant_config`
(
CREATE
TABLE
`data_cube_merchant_config`
(
`id`
int
(
11
)
NOT
NULL
COMMENT
'id'
,
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'id'
,
`merchant_id`
int
(
11
)
DEFAULT
NULL
COMMENT
'商户号'
,
`merchant_id`
int
(
11
)
DEFAULT
NULL
COMMENT
'商户号'
,
`merchant_name`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'门店名称'
,
`merchant_name`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'门店名称'
,
`business_type`
int
(
5
)
DEFAULT
NULL
COMMENT
'业务类型id'
,
`business_type`
int
(
5
)
DEFAULT
NULL
COMMENT
'业务类型id'
,
...
@@ -50,11 +50,11 @@ CREATE TABLE `data_cube_merchant_config` (
...
@@ -50,11 +50,11 @@ CREATE TABLE `data_cube_merchant_config` (
`updated_by`
int
(
11
)
DEFAULT
NULL
COMMENT
'更新人'
,
`updated_by`
int
(
11
)
DEFAULT
NULL
COMMENT
'更新人'
,
`updated_time`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
`updated_time`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
PRIMARY
KEY
(
`id`
)
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'数据魔方文件路径配置表'
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
25
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'数据魔方文件路径配置表'
;
CREATE
TABLE
`data_cube_template_config`
(
CREATE
TABLE
`data_cube_template_config`
(
`id`
int
(
11
)
NOT
NULL
COMMENT
'id'
,
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'id'
,
`template_id`
int
(
11
)
DEFAULT
NULL
COMMENT
'模板配置id'
,
`template_id`
int
(
11
)
DEFAULT
NULL
COMMENT
'模板配置id'
,
`template_name`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'模板名称'
,
`template_name`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'模板名称'
,
`template_url`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'配置模板url'
,
`template_url`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'配置模板url'
,
...
@@ -67,5 +67,5 @@ CREATE TABLE `data_cube_template_config` (
...
@@ -67,5 +67,5 @@ CREATE TABLE `data_cube_template_config` (
`updated_by`
int
(
11
)
DEFAULT
NULL
COMMENT
'更新人'
,
`updated_by`
int
(
11
)
DEFAULT
NULL
COMMENT
'更新人'
,
`updated_time`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
`updated_time`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
PRIMARY
KEY
(
`id`
)
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'数据魔方文件路径配置表'
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
24
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'数据魔方文件路径配置表'
;
2.1.0_魔方聚合五月份版本515/04-数据魔方测试数据.sql
View file @
7395bd4
This diff is collapsed.
Click to expand it.
2.1.0_魔方聚合五月份版本515/rpc-scrm-entmicro配置中心配置.txt
0 → 100644
View file @
7395bd4
########################### 测试环境 ###########################
#restcloudkafka配置
assign.zookeeper.connect.restcloud=192.168.3.241:2181
assign.group.id.restcloud=test16
topic.restCloudNoticeComsumer=restcloud_notice_topic
# RestCloud服务器连接信息
scrm.datacube.restcloud.ip=192.168.3.241
scrm.datacube.restcloud.port=9413
scrm.datacube.restcloud.user=jdkapp
scrm.datacube.restcloud.password=glsx123456
scrm.datacube.restcloud.default.path=/tmp/etl/admin
scrm.datacube.restcloud.exception.path=/tmp/etl/admin/%s/BaseFile/%s
########################### 预发布环境 ###########################
#restcloudkafka配置
assign.zookeeper.connect.restcloud=192.168.3.241:2181
assign.group.id.restcloud=test16
topic.restCloudNoticeComsumer=restcloud_notice_topic
# RestCloud服务器连接信息
scrm.datacube.restcloud.ip=192.168.3.241
scrm.datacube.restcloud.port=9413
scrm.datacube.restcloud.user=jdkapp
scrm.datacube.restcloud.password=glsx123456
scrm.datacube.restcloud.default.path=/tmp/etl/stage
scrm.datacube.restcloud.exception.path=/tmp/etl/admin/%s/BaseFile/%s
########################### 生产环境 ###########################
#restcloudkafka配置
assign.zookeeper.connect.restcloud=192.168.3.241:2181
assign.group.id.restcloud=test16
topic.restCloudNoticeComsumer=restcloud_notice_topic
# RestCloud服务器连接信息
scrm.datacube.restcloud.ip=192.168.3.241
scrm.datacube.restcloud.port=9413
scrm.datacube.restcloud.user=jdkapp
scrm.datacube.restcloud.password=glsx123456
scrm.datacube.restcloud.default.path=/tmp/etl/prod
scrm.datacube.restcloud.exception.path=/tmp/etl/admin/%s/BaseFile/%s
\ No newline at end of file
\ No newline at end of file
2.1.0_魔方聚合五月份版本515/魔方聚合配置中心添加配置.txt
View file @
7395bd4
...
@@ -2,17 +2,3 @@
...
@@ -2,17 +2,3 @@
assign.zookeeper.connect.magic=192.168.3.241:9092
assign.zookeeper.connect.magic=192.168.3.241:9092
topic.dataModelAnalysisConsumer=customer_aggregation_topic
topic.dataModelAnalysisConsumer=customer_aggregation_topic
#restcloudkafka配置
assign.zookeeper.connect.restcloud=192.168.3.241:2181
assign.group.id.restcloud=test16
topic.restCloudNoticeComsumer=restcloud_notice_topic
# RestCloud服务器连接信息
scrm.datacube.restcloud.ip=192.168.3.241
scrm.datacube.restcloud.port=9413
scrm.datacube.restcloud.user=jdkapp
scrm.datacube.restcloud.password=glsx123456
scrm.datacube.restcloud.default.path=/tmp/etl/admin
scrm.datacube.restcloud.exception.path=/tmp/etl/admin/%s/BaseFile/%s
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment