|
2 | 2 |
|
3 | 3 | public abstract class SortOrderConstants { |
4 | 4 |
|
5 | | - public static Integer DEPLOY_GROUPS = 5; |
6 | | - |
7 | | - public static Integer DEPLOY_PRIVILEGES = 10; |
8 | | - public static Integer DEPLOY_ROLES = 20; |
9 | | - public static Integer DEPLOY_USERS = 30; |
10 | | - public static Integer DEPLOY_CERTIFICATE_TEMPLATES = 50; |
11 | | - public static Integer GENERATE_TEMPORARY_CERTIFICATE = 55; |
12 | | - public static Integer DEPLOY_CERTIFICATE_AUTHORITIES = 60; |
13 | | - public static Integer DEPLOY_EXTERNAL_SECURITY = 70; |
14 | | - public static Integer DEPLOY_PROTECTED_COLLECTIONS = 80; |
15 | | - public static Integer DEPLOY_MIMETYPES = 90; |
16 | | - |
17 | | - public static Integer DEPLOY_TRIGGERS_DATABASE = 100; |
18 | | - public static Integer DEPLOY_SCHEMAS_DATABASE = 100; |
19 | | - public static Integer DEPLOY_CONTENT_DATABASES = 120; |
20 | | - public static Integer DEPLOY_OTHER_DATABASES = 130; |
21 | | - public static Integer DEPLOY_FORESTS = 150; |
22 | | - |
23 | | - public static Integer DEPLOY_REST_API_SERVERS = 200; |
24 | | - public static Integer UPDATE_REST_API_SERVERS = 250; |
25 | | - public static Integer DEPLOY_OTHER_SERVERS = 300; |
26 | | - |
27 | | - public static Integer MODIFY_LOCAL_CLUSTER = 350; |
28 | | - |
29 | | - // Module code may depend on schemas, but not vice-versa. |
30 | | - public static Integer LOAD_SCHEMAS = 350; |
31 | | - |
32 | | - // Modules have to be loaded after the REST API server has been updated, for if the deployer is expecting to load |
33 | | - // modules via SSL, then the REST API server must already be configured with a certificate template |
34 | | - public static Integer LOAD_MODULES = 400; |
35 | | - |
36 | | - // The modules database must exist before we deploy amps |
37 | | - public static Integer DEPLOY_AMPS = 450; |
38 | | - |
39 | | - public static Integer DEPLOY_TRIGGERS = 700; |
40 | | - |
41 | | - public static Integer DEPLOY_TEMPORAL_AXIS = 750; |
42 | | - public static Integer DEPLOY_TEMPORAL_COLLECTIONS = 751; |
43 | | - public static Integer DEPLOY_TEMPORAL_COLLECTIONS_LSQT = 752; |
44 | | - |
45 | | - public static Integer DEPLOY_SCHEDULED_TASKS = 800; |
46 | | - |
47 | | - public static Integer DEPLOY_DEFAULT_PIPELINES = 900; |
48 | | - public static Integer DEPLOY_PIPELINES = 905; |
49 | | - public static Integer DEPLOY_DOMAINS = 910; |
50 | | - public static Integer DEPLOY_CPF_CONFIGS = 920; |
51 | | - |
52 | | - public static Integer DEPLOY_ALERT_CONFIGS = 950; |
53 | | - public static Integer DEPLOY_ALERT_ACTIONS = 960; |
54 | | - public static Integer DEPLOY_ALERT_RULES = 970; |
55 | | - |
56 | | - public static Integer DEPLOY_FLEXREP_CONFIGS = 1000; |
57 | | - public static Integer DEPLOY_FLEXREP_TARGETS = 1010; |
58 | | - |
59 | | - public static Integer DEPLOY_SQL_VIEWS = 1100; |
60 | | - |
61 | | - public static Integer DEPLOY_FOREST_REPLICAS = 1200; |
62 | | - |
63 | | - // Undo constants |
64 | | - public static Integer DELETE_GROUPS = 10000; |
65 | | - |
66 | | - public static Integer DELETE_MIMETYPES = 9500; |
67 | | - |
68 | | - public static Integer DELETE_USERS = 9000; |
69 | | - public static Integer DELETE_CERTIFICATE_TEMPLATES = 9010; |
70 | | - public static Integer DELETE_CERTIFICATE_AUTHORITIES = 9020; |
71 | | - public static Integer DELETE_EXTERNAL_SECURITY = 9030; |
72 | | - public static Integer DELETE_PROTECTED_COLLECTIONS = 9040; |
73 | | - |
74 | | - // Roles can reference privileges, so must delete roles first |
75 | | - public static Integer DELETE_ROLES = 9060; |
76 | | - public static Integer DELETE_PRIVILEGES = 9070; |
77 | | - |
78 | | - /* |
| 5 | + public static Integer DEPLOY_GROUPS = 5; |
| 6 | + |
| 7 | + public static Integer DEPLOY_PRIVILEGES = 10; |
| 8 | + public static Integer DEPLOY_ROLES = 20; |
| 9 | + public static Integer DEPLOY_USERS = 30; |
| 10 | + public static Integer DEPLOY_CERTIFICATE_TEMPLATES = 50; |
| 11 | + public static Integer GENERATE_TEMPORARY_CERTIFICATE = 55; |
| 12 | + public static Integer DEPLOY_CERTIFICATE_AUTHORITIES = 60; |
| 13 | + public static Integer DEPLOY_EXTERNAL_SECURITY = 70; |
| 14 | + public static Integer DEPLOY_PROTECTED_COLLECTIONS = 80; |
| 15 | + public static Integer DEPLOY_MIMETYPES = 90; |
| 16 | + |
| 17 | + public static Integer DEPLOY_TRIGGERS_DATABASE = 100; |
| 18 | + public static Integer DEPLOY_SCHEMAS_DATABASE = 100; |
| 19 | + public static Integer DEPLOY_CONTENT_DATABASES = 120; |
| 20 | + public static Integer DEPLOY_OTHER_DATABASES = 130; |
| 21 | + public static Integer DEPLOY_FORESTS = 150; |
| 22 | + |
| 23 | + public static Integer DEPLOY_REST_API_SERVERS = 200; |
| 24 | + public static Integer UPDATE_REST_API_SERVERS = 250; |
| 25 | + public static Integer DEPLOY_OTHER_SERVERS = 300; |
| 26 | + |
| 27 | + public static Integer MODIFY_LOCAL_CLUSTER = 350; |
| 28 | + |
| 29 | + // Module code may depend on schemas, but not vice-versa. |
| 30 | + public static Integer LOAD_SCHEMAS = 350; |
| 31 | + |
| 32 | + // Modules have to be loaded after the REST API server has been updated, for if the deployer is expecting to load |
| 33 | + // modules via SSL, then the REST API server must already be configured with a certificate template |
| 34 | + public static Integer LOAD_MODULES = 400; |
| 35 | + |
| 36 | + // The modules database must exist before we deploy amps |
| 37 | + public static Integer DEPLOY_AMPS = 450; |
| 38 | + |
| 39 | + public static Integer DEPLOY_TRIGGERS = 700; |
| 40 | + |
| 41 | + public static Integer DEPLOY_SCHEDULED_TASKS = 800; |
| 42 | + |
| 43 | + public static Integer DEPLOY_DEFAULT_PIPELINES = 900; |
| 44 | + public static Integer DEPLOY_PIPELINES = 905; |
| 45 | + public static Integer DEPLOY_DOMAINS = 910; |
| 46 | + public static Integer DEPLOY_CPF_CONFIGS = 920; |
| 47 | + |
| 48 | + public static Integer DEPLOY_ALERT_CONFIGS = 950; |
| 49 | + public static Integer DEPLOY_ALERT_ACTIONS = 960; |
| 50 | + public static Integer DEPLOY_ALERT_RULES = 970; |
| 51 | + |
| 52 | + public static Integer DEPLOY_FLEXREP_CONFIGS = 1000; |
| 53 | + public static Integer DEPLOY_FLEXREP_TARGETS = 1010; |
| 54 | + |
| 55 | + public static Integer DEPLOY_SQL_VIEWS = 1100; |
| 56 | + |
| 57 | + public static Integer DEPLOY_FOREST_REPLICAS = 1200; |
| 58 | + |
| 59 | + // Undo constants |
| 60 | + public static Integer DELETE_GROUPS = 10000; |
| 61 | + |
| 62 | + public static Integer DELETE_MIMETYPES = 9500; |
| 63 | + |
| 64 | + public static Integer DELETE_USERS = 9000; |
| 65 | + public static Integer DELETE_CERTIFICATE_TEMPLATES = 9010; |
| 66 | + public static Integer DELETE_CERTIFICATE_AUTHORITIES = 9020; |
| 67 | + public static Integer DELETE_EXTERNAL_SECURITY = 9030; |
| 68 | + public static Integer DELETE_PROTECTED_COLLECTIONS = 9040; |
| 69 | + // Amps can reference roles, so must delete amps first |
| 70 | + public static Integer DELETE_AMPS = 9050; |
| 71 | + // Roles can reference privileges, so must delete roles first |
| 72 | + public static Integer DELETE_ROLES = 9060; |
| 73 | + public static Integer DELETE_PRIVILEGES = 9070; |
| 74 | + |
| 75 | + /* |
79 | 76 | * This executes before databases are deleted, as deleting databases normally deletes the primary forests, so we |
80 | 77 | * need to make sure the replicas are deleted first. |
81 | 78 | */ |
82 | | - public static Integer DELETE_FOREST_REPLICAS = 8000; |
83 | | - |
84 | | - public static Integer DELETE_CONTENT_DATABASES = 8100; |
85 | | - public static Integer DELETE_OTHER_DATABASES = 8120; |
86 | | - public static Integer DELETE_TRIGGERS_DATABASE = 8140; |
87 | | - public static Integer DELETE_SCHEMAS_DATABASE = 8160; |
88 | | - |
89 | | - public static Integer DELETE_REST_API_SERVERS = 7000; |
90 | | - public static Integer DELETE_OTHER_SERVERS = 7010; |
| 79 | + public static Integer DELETE_FOREST_REPLICAS = 8000; |
| 80 | + |
| 81 | + public static Integer DELETE_CONTENT_DATABASES = 8100; |
| 82 | + public static Integer DELETE_OTHER_DATABASES = 8120; |
| 83 | + public static Integer DELETE_TRIGGERS_DATABASE = 8140; |
| 84 | + public static Integer DELETE_SCHEMAS_DATABASE = 8160; |
91 | 85 |
|
92 | | - // Amps can reference roles and databases, so must delete amps before both (and before deleting REST API servers |
93 | | - // too, which may delete databases) |
94 | | - public static Integer DELETE_AMPS = 2000; |
| 86 | + public static Integer DELETE_REST_API_SERVERS = 7000; |
| 87 | + public static Integer DELETE_OTHER_SERVERS = 7010; |
95 | 88 |
|
96 | | - public static Integer DELETE_SCHEDULED_TASKS = 1000; |
| 89 | + public static Integer DELETE_SCHEDULED_TASKS = 1000; |
97 | 90 | } |
0 commit comments