-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Order post-initial-import objects into waves
(To avoid error messages during first start.)
- Loading branch information
Showing
31 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 5 additions & 2 deletions
7
...cts/bulkActions/991-recompute-grouper.xml → ...Actions/910-recompute-grouper-objects.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
21 changes: 21 additions & 0 deletions
21
demo/grouper/midpoint_server/container_files/mp-home/post-initial-objects/ordering.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| Notes on objects ordering | ||
| ========================= | ||
|
|
||
| Objects are ordered to be imported in waves. Objects in each wave can depend only on objects in preceding waves. | ||
| (By depending we mean that the other object should exist in repo in order to assure warning-less import. Usually, | ||
| assigned/induced objects should exist. Objects that are referenced e.g. in groovy code are not required at the | ||
| import time.) | ||
|
|
||
| Waves are: | ||
| - 000: system configuration | ||
| - 100: resources (do not depend on anything) | ||
| root orgs (do not depend on anything) | ||
| user template (inactive until users are imported) | ||
| grouper function library (inactive until async updates come) | ||
| - 200: metaroles and roles (contain constructions i.e. references to resources) | ||
| - 300: archetypes (induce resources, root orgs, metaroles) | ||
| - 400: specific orgs i.e. org-grouper-sysadmin (has an archetype) | ||
| - 600: specific users i.e. user-banderson (is in specific orgs) | ||
| - 9xx: bulk actions (testing all resource, recomputing grouper objects) | ||
| importing scavenger task | ||
|
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.