Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz商业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz商业套件
iBiz商业中心
提交
10597a4c
提交
10597a4c
编写于
11月 05, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
nancy_iBiz 部署微服务应用 [Spring Boot,员工]
上级
052221cf
变更
16
显示空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
501 行增加
和
16 行删除
+501
-16
data-dictionary.json
app_HR/public/assets/json/data-dictionary.json
+31
-0
codelist_en_US.ts
app_HR/src/locale/lanres/codelist/codelist_en_US.ts
+5
-0
codelist_zh_CN.ts
app_HR/src/locale/lanres/codelist/codelist_zh_CN.ts
+5
-0
hr-department_en_US.ts
...cale/lanres/entities/hr-department/hr-department_en_US.ts
+12
-0
hr-department_zh_CN.ts
...cale/lanres/entities/hr-department/hr-department_zh_CN.ts
+12
-0
codelist.ts
app_HR/src/mock/codelist/codelist.ts
+27
-0
master-grid-base.tsx
...rc/widgets/hr-department/master-grid/master-grid-base.tsx
+150
-1
master-grid-model.ts
...rc/widgets/hr-department/master-grid/master-grid-model.ts
+54
-9
master-grid.html
...HR/src/widgets/hr-department/master-grid/master-grid.html
+146
-0
Dockerfile
...ral-app/businesscentral-app-hr/src/main/docker/Dockerfile
+1
-1
businesscentral-app-hr.yaml
...entral-app-hr/src/main/docker/businesscentral-app-hr.yaml
+17
-1
Dockerfile
...pp/businesscentral-app-invoice/src/main/docker/Dockerfile
+1
-1
businesscentral-app-invoice.yaml
...-invoice/src/main/docker/businesscentral-app-invoice.yaml
+17
-1
Dockerfile
...p/businesscentral-app-purchase/src/main/docker/Dockerfile
+1
-1
businesscentral-app-purchase.yaml
...urchase/src/main/docker/businesscentral-app-purchase.yaml
+17
-1
config.xml
config.xml
+5
-0
未找到文件。
app_HR/public/assets/json/data-dictionary.json
浏览文件 @
10597a4c
...
@@ -293,6 +293,37 @@
...
@@ -293,6 +293,37 @@
}
}
]
]
},
},
{
"srfkey"
:
"Odoo_truefalse"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"false"
,
"label"
:
"否"
,
"text"
:
"否"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"False"
,
"value"
:
"false"
,
"disabled"
:
false
,
"default"
:
false
}
,
{
"id"
:
"true"
,
"label"
:
"是"
,
"text"
:
"是"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"True"
,
"value"
:
"true"
,
"disabled"
:
false
,
"default"
:
false
}
]
},
{
{
"srfkey"
:
"HR_JOB__STATE"
,
"srfkey"
:
"HR_JOB__STATE"
,
"emptytext"
:
"未定义"
,
"emptytext"
:
"未定义"
,
...
...
app_HR/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
10597a4c
...
@@ -38,6 +38,11 @@ export default {
...
@@ -38,6 +38,11 @@ export default {
"certification"
:
"认证"
,
"certification"
:
"认证"
,
"empty"
:
""
"empty"
:
""
},
},
Odoo_truefalse
:
{
"false"
:
"否"
,
"true"
:
"是"
,
"empty"
:
""
},
HR_JOB__STATE
:
{
HR_JOB__STATE
:
{
"recruit"
:
"正在招聘"
,
"recruit"
:
"正在招聘"
,
"open"
:
"停止招聘"
,
"open"
:
"停止招聘"
,
...
...
app_HR/src/locale/lanres/codelist/codelist_zh_CN.ts
浏览文件 @
10597a4c
...
@@ -38,6 +38,11 @@ export default {
...
@@ -38,6 +38,11 @@ export default {
"certification"
:
"认证"
,
"certification"
:
"认证"
,
"empty"
:
""
,
"empty"
:
""
,
},
},
Odoo_truefalse
:
{
"false"
:
"否"
,
"true"
:
"是"
,
"empty"
:
""
,
},
HR_JOB__STATE
:
{
HR_JOB__STATE
:
{
"recruit"
:
"正在招聘"
,
"recruit"
:
"正在招聘"
,
"open"
:
"停止招聘"
,
"open"
:
"停止招聘"
,
...
...
app_HR/src/locale/lanres/entities/hr-department/hr-department_en_US.ts
浏览文件 @
10597a4c
...
@@ -120,6 +120,18 @@ export default {
...
@@ -120,6 +120,18 @@ export default {
master_grid
:
{
master_grid
:
{
nodata
:
""
,
nodata
:
""
,
columns
:
{
columns
:
{
id
:
"ID"
,
name
:
"部门名称"
,
display_name
:
"显示名称"
,
complete_name
:
"完整名称"
,
manager_id
:
"经理"
,
manager_id_text
:
"经理"
,
company_id
:
"公司"
,
company_id_text
:
"公司"
,
parent_id
:
"上级部门"
,
parent_id_text
:
"上级部门"
,
active
:
"有效"
,
note
:
"笔记"
,
},
},
uiactions
:
{
uiactions
:
{
},
},
...
...
app_HR/src/locale/lanres/entities/hr-department/hr-department_zh_CN.ts
浏览文件 @
10597a4c
...
@@ -120,6 +120,18 @@ export default {
...
@@ -120,6 +120,18 @@ export default {
master_grid
:
{
master_grid
:
{
nodata
:
""
,
nodata
:
""
,
columns
:
{
columns
:
{
id
:
"ID"
,
name
:
"部门名称"
,
display_name
:
"显示名称"
,
complete_name
:
"完整名称"
,
manager_id
:
"经理"
,
manager_id_text
:
"经理"
,
company_id
:
"公司"
,
company_id_text
:
"公司"
,
parent_id
:
"上级部门"
,
parent_id_text
:
"上级部门"
,
active
:
"有效"
,
note
:
"笔记"
,
},
},
uiactions
:
{
uiactions
:
{
},
},
...
...
app_HR/src/mock/codelist/codelist.ts
浏览文件 @
10597a4c
...
@@ -259,6 +259,33 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
...
@@ -259,6 +259,33 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
},
]
]
},
},
{
srfkey
:
"Odoo_truefalse"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"false"
,
label
:
"否"
,
text
:
"否"
,
"data"
:
""
,
"codename"
:
"False"
,
value
:
"false"
,
disabled
:
false
,
},
{
id
:
"true"
,
label
:
"是"
,
text
:
"是"
,
"data"
:
""
,
"codename"
:
"True"
,
value
:
"true"
,
disabled
:
false
,
},
]
},
{
{
srfkey
:
"HR_JOB__STATE"
,
srfkey
:
"HR_JOB__STATE"
,
emptytext
:
"未定义"
,
emptytext
:
"未定义"
,
...
...
app_HR/src/widgets/hr-department/master-grid/master-grid-base.tsx
浏览文件 @
10597a4c
...
@@ -84,8 +84,15 @@ export class MasterGridBase extends GridControlBase {
...
@@ -84,8 +84,15 @@ export class MasterGridBase extends GridControlBase {
* @type {string}
* @type {string}
* @memberof MasterBase
* @memberof MasterBase
*/
*/
public
majorInfoColName
:
string
=
""
;
public
majorInfoColName
:
string
=
"
name
"
;
/**
* 列主键属性名称
*
* @type {string}
* @memberof MasterGridBase
*/
public
columnKeyName
:
string
=
"id"
;
/**
/**
* 本地缓存标识
* 本地缓存标识
...
@@ -103,6 +110,114 @@ export class MasterGridBase extends GridControlBase {
...
@@ -103,6 +110,114 @@ export class MasterGridBase extends GridControlBase {
* @memberof MasterGridBase
* @memberof MasterGridBase
*/
*/
public
allColumns
:
any
[]
=
[
public
allColumns
:
any
[]
=
[
{
name
:
'id'
,
label
:
'ID'
,
langtag
:
'entities.hr_department.master_grid.columns.id'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
{
name
:
'name'
,
label
:
'部门名称'
,
langtag
:
'entities.hr_department.master_grid.columns.name'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
{
name
:
'display_name'
,
label
:
'显示名称'
,
langtag
:
'entities.hr_department.master_grid.columns.display_name'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
{
name
:
'complete_name'
,
label
:
'完整名称'
,
langtag
:
'entities.hr_department.master_grid.columns.complete_name'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
{
name
:
'manager_id'
,
label
:
'经理'
,
langtag
:
'entities.hr_department.master_grid.columns.manager_id'
,
show
:
false
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
{
name
:
'manager_id_text'
,
label
:
'经理'
,
langtag
:
'entities.hr_department.master_grid.columns.manager_id_text'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
{
name
:
'company_id'
,
label
:
'公司'
,
langtag
:
'entities.hr_department.master_grid.columns.company_id'
,
show
:
false
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
{
name
:
'company_id_text'
,
label
:
'公司'
,
langtag
:
'entities.hr_department.master_grid.columns.company_id_text'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
{
name
:
'parent_id'
,
label
:
'上级部门'
,
langtag
:
'entities.hr_department.master_grid.columns.parent_id'
,
show
:
false
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
{
name
:
'parent_id_text'
,
label
:
'上级部门'
,
langtag
:
'entities.hr_department.master_grid.columns.parent_id_text'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
{
name
:
'active'
,
label
:
'有效'
,
langtag
:
'entities.hr_department.master_grid.columns.active'
,
show
:
true
,
unit
:
'STAR'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
{
name
:
'note'
,
label
:
'笔记'
,
langtag
:
'entities.hr_department.master_grid.columns.note'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
]
]
/**
/**
...
@@ -146,6 +261,18 @@ export class MasterGridBase extends GridControlBase {
...
@@ -146,6 +261,18 @@ export class MasterGridBase extends GridControlBase {
* @memberof MasterBase
* @memberof MasterBase
*/
*/
public
hasRowEdit
:
any
=
{
public
hasRowEdit
:
any
=
{
'id'
:
false
,
'name'
:
false
,
'display_name'
:
false
,
'complete_name'
:
false
,
'manager_id'
:
false
,
'manager_id_text'
:
false
,
'company_id'
:
false
,
'company_id_text'
:
false
,
'parent_id'
:
false
,
'parent_id_text'
:
false
,
'active'
:
false
,
'note'
:
false
,
};
};
/**
/**
...
@@ -160,6 +287,28 @@ export class MasterGridBase extends GridControlBase {
...
@@ -160,6 +287,28 @@ export class MasterGridBase extends GridControlBase {
}
}
/**
* 导出数据格式化
*
* @param {*} filterVal
* @param {*} jsonData
* @param {any[]} [codelistColumns=[]]
* @returns {Promise<any>}
* @memberof MasterGridBase
*/
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
,
codelistColumns
?:
any
[]):
Promise
<
any
>
{
return
super
.
formatExcelData
(
filterVal
,
jsonData
,
[
{
name
:
'active'
,
srfkey
:
'Odoo_truefalse'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
]);
}
/**
/**
* 更新默认值
* 更新默认值
...
...
app_HR/src/widgets/hr-department/master-grid/master-grid-model.ts
浏览文件 @
10597a4c
...
@@ -26,19 +26,69 @@ export default class MasterModel {
...
@@ -26,19 +26,69 @@ export default class MasterModel {
]
]
}
else
{
}
else
{
return
[
return
[
{
name
:
'id'
,
prop
:
'id'
,
dataType
:
'ACID'
,
},
{
name
:
'name'
,
prop
:
'name'
,
dataType
:
'TEXT'
,
},
{
name
:
'display_name'
,
prop
:
'display_name'
,
dataType
:
'TEXT'
,
},
{
name
:
'complete_name'
,
prop
:
'complete_name'
,
dataType
:
'TEXT'
,
},
{
name
:
'manager_id'
,
prop
:
'manager_id'
,
dataType
:
'PICKUP'
,
},
{
name
:
'manager_id_text'
,
prop
:
'manager_id_text'
,
dataType
:
'PICKUPTEXT'
,
},
{
{
name
:
'company_id'
,
name
:
'company_id'
,
prop
:
'company_id'
,
prop
:
'company_id'
,
dataType
:
'PICKUP'
,
dataType
:
'PICKUP'
,
},
},
{
{
name
:
'write_uid'
,
name
:
'company_id_text'
,
prop
:
'write_uid'
,
prop
:
'company_id_text'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'parent_id'
,
prop
:
'parent_id'
,
dataType
:
'PICKUP'
,
dataType
:
'PICKUP'
,
},
},
{
{
name
:
'manager_id'
,
name
:
'parent_id_text'
,
prop
:
'manager_id'
,
prop
:
'parent_id_text'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'active'
,
prop
:
'active'
,
dataType
:
'TRUEFALSE'
,
},
{
name
:
'note'
,
prop
:
'note'
,
dataType
:
'LONGTEXT'
,
},
{
name
:
'write_uid'
,
prop
:
'write_uid'
,
dataType
:
'PICKUP'
,
dataType
:
'PICKUP'
,
},
},
{
{
...
@@ -62,11 +112,6 @@ export default class MasterModel {
...
@@ -62,11 +112,6 @@ export default class MasterModel {
dataType
:
'ACID'
,
dataType
:
'ACID'
,
isEditable
:
true
isEditable
:
true
},
},
{
name
:
'parent_id'
,
prop
:
'parent_id'
,
dataType
:
'PICKUP'
,
},
{
{
name
:
'hr_department'
,
name
:
'hr_department'
,
prop
:
'id'
,
prop
:
'id'
,
...
...
app_HR/src/widgets/hr-department/master-grid/master-grid.html
浏览文件 @
10597a4c
...
@@ -25,6 +25,152 @@
...
@@ -25,6 +25,152 @@
<template
v-if=
"!isSingleSelect"
>
<template
v-if=
"!isSingleSelect"
>
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
</template>
</template>
<template
v-if=
"getColumnState('id')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'id'"
:label=
"$t('entities.hr_department.master_grid.columns.id')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hr_department.master_grid.columns.id')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.id}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('name')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'name'"
:label=
"$t('entities.hr_department.master_grid.columns.name')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hr_department.master_grid.columns.name')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.name}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('display_name')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'display_name'"
:label=
"$t('entities.hr_department.master_grid.columns.display_name')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hr_department.master_grid.columns.display_name')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.display_name}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('complete_name')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'complete_name'"
:label=
"$t('entities.hr_department.master_grid.columns.complete_name')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hr_department.master_grid.columns.complete_name')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.complete_name}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('manager_id')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'manager_id'"
:label=
"$t('entities.hr_department.master_grid.columns.manager_id')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hr_department.master_grid.columns.manager_id')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.manager_id}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('manager_id_text')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'manager_id_text'"
:label=
"$t('entities.hr_department.master_grid.columns.manager_id_text')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hr_department.master_grid.columns.manager_id_text')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.manager_id_text}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('company_id')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'company_id'"
:label=
"$t('entities.hr_department.master_grid.columns.company_id')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hr_department.master_grid.columns.company_id')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.company_id}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('company_id_text')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'company_id_text'"
:label=
"$t('entities.hr_department.master_grid.columns.company_id_text')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hr_department.master_grid.columns.company_id_text')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.company_id_text}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('parent_id')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'parent_id'"
:label=
"$t('entities.hr_department.master_grid.columns.parent_id')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hr_department.master_grid.columns.parent_id')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.parent_id}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('parent_id_text')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'parent_id_text'"
:label=
"$t('entities.hr_department.master_grid.columns.parent_id_text')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hr_department.master_grid.columns.parent_id_text')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.parent_id_text}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('active')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'active'"
:label=
"$t('entities.hr_department.master_grid.columns.active')"
:min-width=
"200"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hr_department.master_grid.columns.active')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.active"
tag=
'Odoo_truefalse'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('note')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'note'"
:label=
"$t('entities.hr_department.master_grid.columns.note')"
:width=
"100"
:align=
"'left'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.hr_department.master_grid.columns.note')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.note}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"adaptiveState"
>
<template
v-if=
"adaptiveState"
>
<el-table-column></el-table-column>
<el-table-column></el-table-column>
</template>
</template>
...
...
businesscentral-app/businesscentral-app-hr/src/main/docker/Dockerfile
浏览文件 @
10597a4c
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-app-hr.jar
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-app-hr.jar
EXPOSE
808
0
EXPOSE
3113
0
ADD
businesscentral-app-hr.jar /businesscentral-app-hr.jar
ADD
businesscentral-app-hr.jar /businesscentral-app-hr.jar
businesscentral-app/businesscentral-app-hr/src/main/docker/businesscentral-app-hr.yaml
浏览文件 @
10597a4c
...
@@ -3,9 +3,25 @@ services:
...
@@ -3,9 +3,25 @@ services:
businesscentral-app-hr
:
businesscentral-app-hr
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-app-hr:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-app-hr:latest
ports
:
ports
:
-
"
8080:808
0"
-
"
31130:3113
0"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=31130
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.240.110
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=odoo
-
SPRING_DATASOURCE_PASSWORD=odoo
-
SPRING_DATASOURCE_URL=jdbc:postgresql://172.16.240.158:15432/odoo
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=org.postgresql.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=odoo
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
-
SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
-
SEATA_ENABLED=true
deploy
:
deploy
:
resources
:
resources
:
limits
:
limits
:
...
...
businesscentral-app/businesscentral-app-invoice/src/main/docker/Dockerfile
浏览文件 @
10597a4c
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-app-invoice.jar
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-app-invoice.jar
EXPOSE
808
0
EXPOSE
3113
0
ADD
businesscentral-app-invoice.jar /businesscentral-app-invoice.jar
ADD
businesscentral-app-invoice.jar /businesscentral-app-invoice.jar
businesscentral-app/businesscentral-app-invoice/src/main/docker/businesscentral-app-invoice.yaml
浏览文件 @
10597a4c
...
@@ -3,9 +3,25 @@ services:
...
@@ -3,9 +3,25 @@ services:
businesscentral-app-invoice
:
businesscentral-app-invoice
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-app-invoice:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-app-invoice:latest
ports
:
ports
:
-
"
8080:808
0"
-
"
31130:3113
0"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=31130
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.240.110
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=odoo
-
SPRING_DATASOURCE_PASSWORD=odoo
-
SPRING_DATASOURCE_URL=jdbc:postgresql://172.16.240.158:15432/odoo
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=org.postgresql.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=odoo
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
-
SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
-
SEATA_ENABLED=true
deploy
:
deploy
:
resources
:
resources
:
limits
:
limits
:
...
...
businesscentral-app/businesscentral-app-purchase/src/main/docker/Dockerfile
浏览文件 @
10597a4c
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-app-purchase.jar
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-app-purchase.jar
EXPOSE
808
0
EXPOSE
3113
0
ADD
businesscentral-app-purchase.jar /businesscentral-app-purchase.jar
ADD
businesscentral-app-purchase.jar /businesscentral-app-purchase.jar
businesscentral-app/businesscentral-app-purchase/src/main/docker/businesscentral-app-purchase.yaml
浏览文件 @
10597a4c
...
@@ -3,9 +3,25 @@ services:
...
@@ -3,9 +3,25 @@ services:
businesscentral-app-purchase
:
businesscentral-app-purchase
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-app-purchase:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-app-purchase:latest
ports
:
ports
:
-
"
8080:808
0"
-
"
31130:3113
0"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=31130
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.240.110
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=odoo
-
SPRING_DATASOURCE_PASSWORD=odoo
-
SPRING_DATASOURCE_URL=jdbc:postgresql://172.16.240.158:15432/odoo
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=org.postgresql.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=odoo
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
-
SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
-
SEATA_ENABLED=true
deploy
:
deploy
:
resources
:
resources
:
limits
:
limits
:
...
...
config.xml
浏览文件 @
10597a4c
...
@@ -37,6 +37,11 @@
...
@@ -37,6 +37,11 @@
git clone -b master $para2 ibizbusinesscentral/
git clone -b master $para2 ibizbusinesscentral/
export NODE_OPTIONS=--max-old-space-size=4096
export NODE_OPTIONS=--max-old-space-size=4096
cd ibizbusinesscentral/
cd ibizbusinesscentral/
mvn clean package -Phr
cd businesscentral-app/businesscentral-app-hr
mvn -Phr docker:build
mvn -Phr docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/businesscentral-app-hr.yaml iBizEE --with-registry-auth
</command>
</command>
</hudson.tasks.Shell>
</hudson.tasks.Shell>
</builders>
</builders>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录