[MGNLCT-47] Make JackrabbitInitializer aware of node-types from the model, for registration Created: 11/Jul/18 Updated: 06/Aug/18 Resolved: 19/Jul/18 |
|
| Status: | Closed |
| Project: | Content Types |
| Component/s: | None |
| Affects Version/s: | 1.0 |
| Fix Version/s: | 1.0 |
| Type: | Task | Priority: | Neutral |
| Reporter: | Hieu Nguyen Duc | Assignee: | Hieu Nguyen Duc |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 2d 4.5h | ||
| Original Estimate: | 2d | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoR: |
Empty
|
| Epic Link: | Content types foundation |
| Sprint: | Saigon 149 |
| Story Points: | 3 |
| Description |
|
(Sorry, I can't find any ticket to put this subtask into.)
Acceptance criteria Given a content type like this: modules/content-types/contentTypes/pizza.yaml
datasource:
class: info.magnolia.types.datasource.jcr.JcrDataSourceDefinition
workspace: cuisine
namespaces:
pizza: https://www.magnolia-cms.com/jcr/namespace/pizza
autoCreate: true
model:
nodeType: pizza:pepperoni
subModels:
- name: test1
nodeType: pizza:newyork
- name: test2
nodeType: pizza:california
subModels:
- name: test3
nodeType: pizza:meat
subModels:
- name: test4
nodeType: pizza:onion
- name: test5
nodeType: pizza:green
Then
Mind that datasource.nodeTypes no longer exists |