[
https://issues.apache.org/jira/browse/JCRVLT-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tobias Bocanegra updated JCRVLT-194:
------------------------------------
Description:
possible formats:
{code}
<!-- xml execution plan -->
<executionPlan>
<tasks>
<task cmd="install" packageid="a:b:c"/>
<task cmd="install" packageId="d:e:f" importOptions="default" />
<task cmd="install" packageId="g:h:i" importOptions="opt-1" />
</tasks>
<importOptions>
<importOption id="default">
<acHandling>update</acHandling>
</importOption>
</importOptions>
</executionPlan>
{code}
{code}
{
"#": JSON Execution plan
tasks: [
{
cmd: "install"
id: "a:b:c"
opts: "default"
},
{
cmd: "install"
id: "d:e:f"
opts: "opt-1"
}
],
opts: {
"default": {
acHandling: "update"
},
"opt-1": {
acHandling: "merge"
}
}
}
{code}
{code}
# yaml execution plan
importOptions:
- id: &default
acHandling: merge
- id: &opt-1
acHandling: update
tasks:
- id: a:b:c
cmd: install
opts: *default
- id: d:e:f
cmd: install
opts: #opt-1
{code}
was:
possible formats:
{code}
<!-- xml execution plan -->
<executionPlan>
<tasks>
<task cmd="install" packageid="a:b:c"/>
<task cmd="install" packageId="d:e:f" importOptions="default" />
<task cmd="install" packageId="g:h:i" importOptions="opt-1" />
</tasks>
<importOptions>
<importOption id="default">
<acHandling>update</acHandling>
</importOption>
</importOptions>
</executionPlan>
{code}
{code}
{
"#": JSON Execution plan
tasks: [
{
cmd: "install"
id: "a:b:c"
opts: "default"
},
{
cmd: "install"
id: "d:e:f"
opts: "opt-1"
}
],
opts: {
"default": {
acHandling: "update"
},
"opt-1": {
acHandling: "merge"
}
}
}
{code}
{code}
# yaml execution plan
importOptions:
- id: &default
acHandling: merge
- id: &opt-1
acHandling: update
tasks:
- id: a:b:c
cmd: install
opts: *default
- id: d:e:f
cmd: install
opts: #opt-1
{code}
> add export/import serialization for execution / installation plan
> -----------------------------------------------------------------
>
> Key: JCRVLT-194
> URL: https://issues.apache.org/jira/browse/JCRVLT-194
> Project: Jackrabbit FileVault
> Issue Type: Sub-task
> Components: Packaging
> Reporter: Tobias Bocanegra
>
> possible formats:
> {code}
> <!-- xml execution plan -->
> <executionPlan>
> <tasks>
> <task cmd="install" packageid="a:b:c"/>
> <task cmd="install" packageId="d:e:f" importOptions="default" />
> <task cmd="install" packageId="g:h:i" importOptions="opt-1" />
> </tasks>
> <importOptions>
> <importOption id="default">
> <acHandling>update</acHandling>
> </importOption>
> </importOptions>
> </executionPlan>
> {code}
> {code}
> {
> "#": JSON Execution plan
> tasks: [
> {
> cmd: "install"
> id: "a:b:c"
> opts: "default"
> },
> {
> cmd: "install"
> id: "d:e:f"
> opts: "opt-1"
> }
> ],
> opts: {
> "default": {
> acHandling: "update"
> },
> "opt-1": {
> acHandling: "merge"
> }
> }
> }
> {code}
> {code}
> # yaml execution plan
> importOptions:
> - id: &default
> acHandling: merge
> - id: &opt-1
> acHandling: update
> tasks:
> - id: a:b:c
> cmd: install
> opts: *default
> - id: d:e:f
> cmd: install
> opts: #opt-1
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)