-
Notifications
You must be signed in to change notification settings - Fork 3
/
ServiceCatalog.sopm
133 lines (131 loc) · 8.56 KB
/
ServiceCatalog.sopm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<?xml version="1.0" encoding="utf-8" ?>
<otobo_package version="1.1">
<Name>ServiceCatalog</Name>
<Version>11.0.0</Version>
<Framework>11.0.x</Framework>
<PackageRequired Version="11.0.0">ITSMCore</PackageRequired>
<Vendor>Rother OSS GmbH</Vendor>
<URL>https://otobo.io/</URL>
<License>GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007</License>
<Description Lang="en">A detailed service catalog.</Description>
<Filelist>
<File Permission="660" Location="Custom/Kernel/Modules/AdminService.pm" />
<File Permission="660" Location="Custom/Kernel/Modules/AgentITSMServiceZoom.pm" />
<File Permission="660" Location="Custom/Kernel/Modules/CustomerTicketMessage.pm" />
<File Permission="660" Location="Custom/Kernel/Output/HTML/Templates/Standard/AdminService.tt" />
<File Permission="660" Location="Custom/Kernel/Output/HTML/Templates/Standard/AgentITSMService.tt" />
<File Permission="660" Location="Custom/Kernel/Output/HTML/Templates/Standard/AgentITSMServiceZoom.tt" />
<File Permission="660" Location="Custom/Kernel/Output/HTML/Templates/Standard/AgentITSMSLAZoom.tt" />
<File Permission="660" Location="Custom/Kernel/System/Service.pm" />
<File Permission="660" Location="Kernel/Config/Files/XML/ServiceCatalog.xml" />
<File Permission="660" Location="Kernel/Language/de_ServiceCatalog.pm" />
<File Permission="660" Location="Kernel/Modules/CustomerTileServiceCatalog.pm" />
<File Permission="660" Location="Kernel/Output/HTML/CustomerDashboard/TileServiceCatalog.pm" />
<File Permission="660" Location="Kernel/Output/HTML/Templates/Standard/Dashboard/TileServiceCatalog.tt" />
<File Permission="660" Location="Kernel/Output/HTML/Templates/Standard/Dashboard/TileServiceCatalogDynamicFields.tt" />
<File Permission="660" Location="Kernel/Output/JavaScript/Templates/Standard/Customer/TileServiceCatalogContainer.html.tmpl" />
<File Permission="660" Location="Kernel/Output/JavaScript/Templates/Standard/Customer/TileServiceCatalogDetailed.html.tmpl" />
<File Permission="660" Location="Kernel/Output/JavaScript/Templates/Standard/Customer/TileServiceCatalogModal.html.tmpl" />
<File Permission="660" Location="Kernel/System/DynamicField/ObjectType/Service.pm" />
<File Permission="660" Location="var/httpd/htdocs/js/Core.Customer.TileServiceCatalog.js" />
<File Permission="660" Location="var/httpd/htdocs/skins/Customer/default/css/Core.Dashboard.TileServiceCatalog.css" />
<File Permission="660" Location="var/httpd/htdocs/common/fonts/otobo.svg" />
<File Permission="660" Location="var/httpd/htdocs/skins/Customer/default/css/Core.Icons.css" />
<File Permission="660" Location="Kernel/System/Console/Command/Admin/ServiceCatalog/AddBulkACL.pm" />
<File Permission="660" Location="Kernel/System/Ticket/Event/SetDynamicFieldCriticalityFromService.pm" />
<File Permission="660" Location="Kernel/System/Ticket/Event/SetPriorityFromCriticalityAndImpactMatrix.pm" />
<File Permission="660" Location="Custom/Kernel/Output/HTML/Templates/Standard/AgentTicketPhone.tt" />
<File Permission="660" Location="Custom/Kernel/Output/HTML/Templates/Standard/AgentTicketEmail.tt" />
<File Permission="660" Location="var/httpd/htdocs/skins/Agent/default/css/Core.InputFields.css" />
<File Permission="660" Location="var/httpd/htdocs/js/Core.UI.Dialog.js" />
<File Permission="660" Location="var/httpd/htdocs/js/Core.Agent.ITSMServiceZoom.js" />
</Filelist>
<PackageMerge Name="RotherOSS-ServiceCatalog" TargetVersion="10.0.4"></PackageMerge>
<DatabaseInstall Type="post">
<TableCreate Name="service_type">
<Column Name="service_id" Required="true" Type="INTEGER"></Column>
<Column Name="ticket_type_id" Required="false" Type="SMALLINT"></Column>
<Column Name="create_time" Required="true" Type="DATE"></Column>
<Column Name="create_by" Required="true" Type="INTEGER"></Column>
<ForeignKey ForeignTable="service">
<Reference Foreign="id" Local="service_id">
</Reference>
</ForeignKey>
<ForeignKey ForeignTable="ticket_type">
<Reference Foreign="id" Local="ticket_type_id">
</Reference>
</ForeignKey>
<ForeignKey ForeignTable="users">
<Reference Foreign="id" Local="create_by">
</Reference>
</ForeignKey>
</TableCreate>
<TableCreate Name="service_attachment">
<Column AutoIncrement="true" Name="id" PrimaryKey="true" Required="true" Type="BIGINT"></Column>
<Column Name="service_id" Required="true" Size="11" Type="INTEGER"></Column>
<Column Name="filename" Required="false" Size="250" Type="VARCHAR"></Column>
<Column Name="content_size" Required="false" Size="30" Type="VARCHAR"></Column>
<Column Name="content_type" Required="false" Size="250" Type="VARCHAR"></Column>
<Column Name="content" Required="true" Type="LONGBLOB"></Column>
<Column Default="0" Name="inlineattachment" Required="true" Type="SMALLINT"></Column>
<Column Name="created" Required="true" Type="DATE"></Column>
<Column Name="created_by" Required="true" Type="INTEGER"></Column>
<Column Name="changed" Required="true" Type="DATE"></Column>
<Column Name="changed_by" Required="true" Type="INTEGER"></Column>
<Index Name="service_attachment_service_id">
<IndexColumn Name="service_id">
</IndexColumn>
</Index>
</TableCreate>
<TableAlter Name="service">
<ColumnAdd Name="description_short" Required="false" Size="191" Type="VARCHAR"></ColumnAdd>
<ColumnAdd Name="description_long" Required="false" Size="3000" Type="VARCHAR"></ColumnAdd>
<ColumnAdd Name="dest_queueid" Required="false" Size="255" Type="VARCHAR"></ColumnAdd>
</TableAlter>
</DatabaseInstall>
<DatabaseUpgrade>
<TableCreate Name="service_attachment" Version="10.0.2">
<Column AutoIncrement="true" Name="id" PrimaryKey="true" Required="true" Type="BIGINT"></Column>
<Column Name="service_id" Required="true" Size="11" Type="INTEGER"></Column>
<Column Name="filename" Required="false" Size="250" Type="VARCHAR"></Column>
<Column Name="content_size" Required="false" Size="30" Type="VARCHAR"></Column>
<Column Name="content_type" Required="false" Size="250" Type="VARCHAR"></Column>
<Column Name="content" Required="true" Type="LONGBLOB"></Column>
<Column Default="0" Name="inlineattachment" Required="true" Type="SMALLINT"></Column>
<Column Name="created" Required="true" Type="DATE"></Column>
<Column Name="created_by" Required="true" Type="INTEGER"></Column>
<Column Name="changed" Required="true" Type="DATE"></Column>
<Column Name="changed_by" Required="true" Type="INTEGER"></Column>
<Index Name="service_attachment_service_id">
<IndexColumn Name="service_id">
</IndexColumn>
</Index>
</TableCreate>
<TableAlter Name="service">
<ColumnAdd Name="description_short" Required="false" Size="191" Type="VARCHAR"></ColumnAdd>
<ColumnAdd Name="description_long" Required="false" Size="3000" Type="VARCHAR"></ColumnAdd>
<ColumnAdd Name="dest_queueid" Required="false" Size="255" Type="VARCHAR"></ColumnAdd>
</TableAlter>
</DatabaseUpgrade>
<DatabaseUninstall Type="pre">
<TableDrop Name="service_type">
</TableDrop>
<TableAlter Name="service">
<ColumnDrop Name="description_short"></ColumnDrop>
<ColumnDrop Name="description_long"></ColumnDrop>
<ColumnDrop Name="dest_queueid"></ColumnDrop>
</TableAlter>
</DatabaseUninstall>
<IntroInstall Type="post" Title="Installation Information" Lang="en"><![CDATA[
<br/>
<strong>NOTICE</strong>
<br/>
<br/>
For the service catalog to show in the customer dashboard, please activate CustomerDashboard::Tiles###ServiceCatalog-01, optionally change the order (default 7) and/or adapt
var/httpd/htdocs/skins/Customer/default/css/Core.Dashboard.Default.css to show #Tile07 (or the respective order you chose) to show in the desired position.
<br/>
<br/>
((enjoy))<br/>
<br/>
]]></IntroInstall>
</otobo_package>