-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathprofiles.zcml
82 lines (68 loc) · 2.1 KB
/
profiles.zcml
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
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
i18n_domain="collective.elasticsearch"
>
<genericsetup:registerProfile
name="default"
title="Elastic Search"
description="Installs the Elastic Search plone integration package"
provides="Products.GenericSetup.interfaces.EXTENSION"
directory="profiles/default"
post_handler=".setuphandlers.post_install"
/>
<genericsetup:registerProfile
name="docker-dev"
title="Elastic Search used within a docker setup"
description="Installs the Elastic Search plone integration package"
provides="Products.GenericSetup.interfaces.EXTENSION"
directory="profiles/docker-dev"
/>
<genericsetup:registerProfile
name="uninstall"
title="Elastic Search (uninstall)"
description="Uninstalls package Elastic Search."
provides="Products.GenericSetup.interfaces.EXTENSION"
directory="profiles/uninstall"
post_handler=".setuphandlers.uninstall"
/>
<genericsetup:upgradeSteps
profile="collective.elasticsearch:default"
source="*"
destination="1"
>
</genericsetup:upgradeSteps>
<genericsetup:upgradeSteps
profile="collective.elasticsearch:default"
source="1"
destination="2"
>
<genericsetup:upgradeStep
title="Update registry."
description=""
handler=".upgrades.update_registry"
/>
</genericsetup:upgradeSteps>
<genericsetup:upgradeSteps
profile="collective.elasticsearch:default"
source="2"
destination="3"
>
<genericsetup:upgradeStep
title="Update registry."
description=""
handler=".upgrades.update_registry"
/>
</genericsetup:upgradeSteps>
<genericsetup:upgradeSteps
profile="collective.elasticsearch:default"
source="3"
destination="4"
>
<genericsetup:upgradeStep
title="Update registry."
description=""
handler=".upgrades.update_registry"
/>
</genericsetup:upgradeSteps>
</configure>