This is an automated email from the ASF dual-hosted git repository.
andysch pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git.
from b5382d8 Initial import of the Declarative Dynamic Resource which
allows to add resources to a target where the source is in another place
new 26ea9fe Removed the Setup and made the DDR configurable through the
source resources through primary type and property
new b1e3a74 Fixed an issue with the Event Listener and added
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
org.apache.sling.ddr/README.md | 32 ++
.../ddr/api/DeclarativeDynamicResourceSetup.java | 23 --
org.apache.sling.ddr/core/pom.xml | 3 +
.../DeclarativeDynamicResourceManagerService.java | 185 ++++++++---
.../DeclarativeDynamicResourceSetupService.java | 362 ---------------------
...g.jcr.repoinit.RepositoryInitializer-ddr.config | 2 -
.../main/resources/SLING-CONTENT/nodetypes/ddr.cnd | 23 ++
org.apache.sling.ddr/sample/Readme.md | 37 +++
org.apache.sling.ddr/sample/pom.xml | 1 +
.../SLING-CONTENT/apps/ddr-dynamic/components.json | 4 +-
.../resources/SLING-CONTENT/apps/ddr-sample.json | 4 +-
...iveDynamicResourceManagerService-ddrsample.json | 4 -
...ativeDynamicResourceSetupService-ddrsample.json | 16 -
...repoinit.RepositoryInitializer-ddrsample.config | 38 ---
.../apps/ddr-static/{container.json => text.json} | 0
.../{container/container.html => text/text.html} | 2 +-
.../resources/SLING-CONTENT/conf/ddr-sample.json | 4 +
.../SLING-CONTENT/conf/ddr-sample/settings.json | 23 ++
.../SLING-CONTENT/content/ddr-sample/text.json | 4 +
org.apache.sling.ddr/sample2/Readme.md | 24 ++
org.apache.sling.ddr/{api => sample2}/pom.xml | 42 +--
.../resources/SLING-CONTENT/apps/ddr-after.json} | 0
.../SLING-CONTENT/apps/ddr-after/components.json | 5 +
.../resources/SLING-CONTENT/apps/ddr-static2.json} | 0
.../SLING-CONTENT/apps/ddr-static2}/button.json | 0
.../apps/ddr-static2}/button/button.html | 2 +-
.../SLING-CONTENT/apps/ddr-static2/text.json} | 0
.../SLING-CONTENT/apps/ddr-static2/text/text.html} | 2 +-
.../resources/SLING-CONTENT/conf/ddr-after.json | 4 +
.../SLING-CONTENT/conf/ddr-after/settings.json | 23 ++
.../SLING-CONTENT/content/ddr-after.json} | 0
.../SLING-CONTENT/content/ddr-after/button.json | 4 +
.../SLING-CONTENT/content/ddr-after/text.json | 4 +
33 files changed, 355 insertions(+), 522 deletions(-)
create mode 100644 org.apache.sling.ddr/README.md
delete mode 100644
org.apache.sling.ddr/api/src/main/java/org/apache/sling/ddr/api/DeclarativeDynamicResourceSetup.java
delete mode 100644
org.apache.sling.ddr/core/src/main/java/org/apache/sling/ddr/core/setup/DeclarativeDynamicResourceSetupService.java
create mode 100644
org.apache.sling.ddr/core/src/main/resources/SLING-CONTENT/nodetypes/ddr.cnd
create mode 100644 org.apache.sling.ddr/sample/Readme.md
delete mode 100644
org.apache.sling.ddr/sample/src/main/resources/SLING-CONTENT/apps/ddr-sample/config/org.apache.sling.ddr.core.DeclarativeDynamicResourceManagerService-ddrsample.json
delete mode 100644
org.apache.sling.ddr/sample/src/main/resources/SLING-CONTENT/apps/ddr-sample/config/org.apache.sling.ddr.core.setup.DeclarativeDynamicResourceSetupService-ddrsample.json
delete mode 100644
org.apache.sling.ddr/sample/src/main/resources/SLING-CONTENT/apps/ddr-sample/config/org.apache.sling.jcr.repoinit.RepositoryInitializer-ddrsample.config
rename
org.apache.sling.ddr/sample/src/main/resources/SLING-CONTENT/apps/ddr-static/{container.json
=> text.json} (100%)
rename
org.apache.sling.ddr/sample/src/main/resources/SLING-CONTENT/apps/ddr-static/{container/container.html
=> text/text.html} (97%)
create mode 100644
org.apache.sling.ddr/sample/src/main/resources/SLING-CONTENT/conf/ddr-sample.json
create mode 100644
org.apache.sling.ddr/sample/src/main/resources/SLING-CONTENT/conf/ddr-sample/settings.json
create mode 100644
org.apache.sling.ddr/sample/src/main/resources/SLING-CONTENT/content/ddr-sample/text.json
create mode 100644 org.apache.sling.ddr/sample2/Readme.md
copy org.apache.sling.ddr/{api => sample2}/pom.xml (62%)
copy
org.apache.sling.ddr/{sample/src/main/resources/SLING-CONTENT/content/ddr-sample.json
=> sample2/src/main/resources/SLING-CONTENT/apps/ddr-after.json} (100%)
create mode 100644
org.apache.sling.ddr/sample2/src/main/resources/SLING-CONTENT/apps/ddr-after/components.json
copy
org.apache.sling.ddr/{sample/src/main/resources/SLING-CONTENT/content/ddr-sample.json
=> sample2/src/main/resources/SLING-CONTENT/apps/ddr-static2.json} (100%)
copy
org.apache.sling.ddr/{sample/src/main/resources/SLING-CONTENT/apps/ddr-static
=> sample2/src/main/resources/SLING-CONTENT/apps/ddr-static2}/button.json (100%)
copy
org.apache.sling.ddr/{sample/src/main/resources/SLING-CONTENT/apps/ddr-static
=>
sample2/src/main/resources/SLING-CONTENT/apps/ddr-static2}/button/button.html
(96%)
copy
org.apache.sling.ddr/{sample/src/main/resources/SLING-CONTENT/content/ddr-sample.json
=> sample2/src/main/resources/SLING-CONTENT/apps/ddr-static2/text.json} (100%)
copy
org.apache.sling.ddr/{sample/src/main/resources/SLING-CONTENT/apps/ddr-static/button/button.html
=> sample2/src/main/resources/SLING-CONTENT/apps/ddr-static2/text/text.html}
(97%)
create mode 100644
org.apache.sling.ddr/sample2/src/main/resources/SLING-CONTENT/conf/ddr-after.json
create mode 100644
org.apache.sling.ddr/sample2/src/main/resources/SLING-CONTENT/conf/ddr-after/settings.json
copy
org.apache.sling.ddr/{sample/src/main/resources/SLING-CONTENT/content/ddr-sample.json
=> sample2/src/main/resources/SLING-CONTENT/content/ddr-after.json} (100%)
create mode 100644
org.apache.sling.ddr/sample2/src/main/resources/SLING-CONTENT/content/ddr-after/button.json
create mode 100644
org.apache.sling.ddr/sample2/src/main/resources/SLING-CONTENT/content/ddr-after/text.json