You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2020/04/23 11:21:09 UTC
[sling-org-apache-sling-feature] branch master updated (4085cd9 ->
3272f7e)
This is an automated email from the ASF dual-hosted git repository.
cziegeler pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature.git.
from 4085cd9 SLING-9362 : Use Apache Felix cm.json for JSON handling
new 2eaca8f [Sling Feature Model] Split off IO packages into separate module.
new 9cd33e8 [Sling Feature Model] Refactor FeatureUtil out of the support module
new 24a281e Move version to 0.1.0
new 32503e4 Add some missing Javadoc
new 027e32a SLING-7677 - FeatureJSONWriter uses isOptional instead of isRequired
new 0da0538 SLING-7765 Application creation missing variable declarations
new ad948a7 SLING-7765 Application creation missing variable declarations
new f28157c SLING-7784 : Unable to add comments to the removals → bundles section
new 9478f2c SLING-7827 : Remove Application concept from feature model
new 96f6682 SLING-7841: Add support for basic auth in repo urls.
new 8ae6880 Use Felix Framework 6.0.1 by default.
new 7e2a58f Make ArtifactManager AutoCloseable
new c34f756 Change variable handling to not allow variables to be defined twice
new 8bc632a Support for null variable values
new d35a849 Fix check type to not fail if class is null and more than a null value is present.
new 252cc31 SLING-7829: Change the includes to be include and from a list to a single (optional) field
new 35f5af7 Merge pull request #3 from apache/issues/SLING-7829
new 3d39d57 The runmodes bundle attribute needs to be written out as 'run-modes'
new 41bb2b5 SLING-7941 - Use streaming APIs to marshall the Feature to JSON
new 45c9a75 Remove unuse method
new 4c4c2e7 Create interface for ArtifactManager
new c9225ff Move file based artifact management into separate package
new 13337b0 SLING-7998 - The FeatureJSONReader doesn't report in which file it encountered an error when the location information is available
new c46b4e5 SLING-8027 - Malformed JSON when serialising "include" elements
new e129a7c Fix Text Extension Serialization.
new 39a9acd Move all json handling methods into base class
new e00e354 Back to dictionary for configurations
new be03a53 Make subclassing of JSON IO easier
new d33f758 SLING-8064 : Support marking a feature as final
new 3b443fa Fix up Javadoc
new e98564e SLING-8100 : Add complete flag to Feature
new ed3be5d SLING-8109 Replace KeyValueMap with Map<String,String>
new 5968ce0 SLING-8112: encoded path to local repository correctly on windows.
new 74cbb2d SLING-8119 : Improve configuration handling
new 3426f7d SLING-8124 : Remove method to get framework id
new 84e5e4c SLING-8121 Rename feature 'include' to 'prototype'
new a8ec38a SLING-8133 Feature IO doesn't allow for bundles with same ID and different versions.
new 8646f79 SLING-8476 : Packages are exported with 0.x
new 93fa88e SLING-8478 : Adding method to match Requirements and Capabilities
new e15cb54 SLING-8421: Allow artifact providers that work with URLs instead of Files
new a843e85 SLING-8421: add getFileFromURL and getJarFileFromURL method to IOUtils.
new 96c3872 SLING-8421: add getFileFromURL and getJarFileFromURL method to IOUtils.
new 3743d14 Merge pull request #13 from apache/issues/SLING-8421-2
new 0682791 SLING-8502 : Update to latest Apache Felix Utils
new 965cf5e @trivial removed unused imports
new de17f82 SLING-8631 : Introduce state for extensions
new a208d56 SLING-8632 : Add a method to get a JSON object from an extension
new e50cab0 SLING-8419 refactor method to serialize OSGi configs as JSON
new b1488f1 refactor API
new e098978 SLING-8935 support primitive arrays and collection types
new 282c341 SLING-8419 move JSON configuration serialization code to dedicated package with no dependencies to Sling Feature
new 10cffb8 SLING-9038 - Catch File Not Found Exception and only report it as trace message as it might be resolved later in another try
new 946a9d4 SLING-9080 : Support ArtifactProvider and FeatureProvider through ArtifactManager
new fb1136f SLING-9087 : Support creation of feature archives
new 9290ce0 SLING-9087 : Support creation of feature archives
new 38dc0a2 Remove unused imports
new 09fce04 SLING-9087 : Support creation of feature archives
new cae30dc SLING-9087 : Support creation of feature archives
new d88d855 SLING-9098 : Provide support for directly downloading artifacts through mvn
new 02c86b3 SLING-9098 : Support creation of feature archives
new c957ee6 SLING-9087 : Support creation of feature archives. Add unit tests
new cf17696 SLING-8676 : Prototype does not allow to remove requirements and capabilities
new 2c6644a SLING-9087 : Support creation of feature archives. Change format of archive to a pure repository archive, make sure to exclude META-INF
new 927ddd7 SLING-9258 : Provide features to consumer when reading feature archive
new 68514a5 SLING-9261 : Do not compress feature archive at all
new ce9ae2a SLING-9262 : Add prototype feature to feature archive
new f67482f SLING-9263 : Allow feature ids and urls in manifest header
new 3f2e175 SLING-9362 : Use Apache Felix cm.json for JSON handling
new 03ba567 SLING-9362 : Use Apache Felix cm.json for JSON handling
new 338b0d0 SLING-9362 : Use Apache Felix cm.json for JSON handling
new 3115ff6 SLING-9362 : Use Apache Felix cm.json for JSON handling
new d219b3c SLING-9362 : Use Apache Felix cm.json for JSON handling
new 9e773fe Prepare for move to feature
new 3272f7e Merge branch 'master' of /tmp/sling-org-apache-sling-feature-io
The 74 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:
.../Extensions.java => io/CloseShieldWriter.java | 38 +-
io/ConfiguratorUtil.java | 80 +++
io/IOUtils.java | 300 +++++++++
io/archive/ArchiveReader.java | 180 ++++++
io/archive/ArchiveWriter.java | 191 ++++++
.../builder => io/archive}/package-info.java | 4 +-
io/artifacts/ArtifactHandler.java | 71 ++
io/artifacts/ArtifactManager.java | 527 +++++++++++++++
io/artifacts/ArtifactManagerConfig.java | 183 ++++++
.../builder => io/artifacts}/package-info.java | 4 +-
io/artifacts/spi/ArtifactProvider.java | 58 ++
.../artifacts/spi/ArtifactProviderContext.java | 42 +-
.../builder => io/artifacts/spi}/package-info.java | 4 +-
io/json/ConfigurationJSONReader.java | 73 +++
io/json/ConfigurationJSONWriter.java | 69 ++
io/json/FeatureJSONReader.java | 716 +++++++++++++++++++++
io/json/FeatureJSONWriter.java | 415 ++++++++++++
io/json/JSONConstants.java | 85 +++
io/json/ManifestUtils.java | 518 +++++++++++++++
.../feature/builder => io/json}/package-info.java | 4 +-
.../apache/sling/feature => io}/package-info.java | 4 +-
21 files changed, 3519 insertions(+), 47 deletions(-)
copy src/main/java/org/apache/sling/feature/Extensions.java => io/CloseShieldWriter.java (56%)
create mode 100644 io/ConfiguratorUtil.java
create mode 100644 io/IOUtils.java
create mode 100644 io/archive/ArchiveReader.java
create mode 100644 io/archive/ArchiveWriter.java
copy {src/main/java/org/apache/sling/feature/builder => io/archive}/package-info.java (89%)
create mode 100644 io/artifacts/ArtifactHandler.java
create mode 100644 io/artifacts/ArtifactManager.java
create mode 100644 io/artifacts/ArtifactManagerConfig.java
copy {src/main/java/org/apache/sling/feature/builder => io/artifacts}/package-info.java (89%)
create mode 100644 io/artifacts/spi/ArtifactProvider.java
copy src/main/java/org/apache/sling/feature/Extensions.java => io/artifacts/spi/ArtifactProviderContext.java (57%)
copy {src/main/java/org/apache/sling/feature/builder => io/artifacts/spi}/package-info.java (89%)
create mode 100644 io/json/ConfigurationJSONReader.java
create mode 100644 io/json/ConfigurationJSONWriter.java
create mode 100644 io/json/FeatureJSONReader.java
create mode 100644 io/json/FeatureJSONWriter.java
create mode 100644 io/json/JSONConstants.java
create mode 100644 io/json/ManifestUtils.java
copy {src/main/java/org/apache/sling/feature/builder => io/json}/package-info.java (89%)
copy {src/main/java/org/apache/sling/feature => io}/package-info.java (90%)