sling-org-apache-sling-feature-modelconverter.git
13 days agoMove feature dependency to 0.8.1-SNAPSHOT master
David Bosschaert [Thu, 29 Nov 2018 17:08:38 +0000 (17:08 +0000)] 
Move feature dependency to 0.8.1-SNAPSHOT

2 weeks ago[maven-release-plugin] prepare for next development iteration
David Bosschaert [Fri, 23 Nov 2018 09:50:11 +0000 (09:50 +0000)] 
[maven-release-plugin] prepare for next development iteration

2 weeks ago[maven-release-plugin] prepare release org.apache.sling.feature.modelconverter-0.8.0 org.apache.sling.feature.modelconverter-0.8.0
David Bosschaert [Fri, 23 Nov 2018 09:49:49 +0000 (09:49 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.feature.modelconverter-0.8.0

3 weeks agoSLING-8121 Rename feature 'include' to 'prototype'
David Bosschaert [Wed, 21 Nov 2018 10:59:05 +0000 (10:59 +0000)] 
SLING-8121 Rename feature 'include' to 'prototype'

3 weeks agoMove extension constants to Extension class
Carsten Ziegeler [Wed, 21 Nov 2018 14:14:25 +0000 (15:14 +0100)] 
Move extension constants to Extension class

3 weeks agoSLING-8119 : Improve configuration handling
Carsten Ziegeler [Mon, 19 Nov 2018 07:37:10 +0000 (08:37 +0100)] 
SLING-8119 : Improve configuration handling

4 weeks agoSLING-8109 Replace KeyValueMap with Map<String,String>
David Bosschaert [Wed, 14 Nov 2018 15:18:32 +0000 (15:18 +0000)] 
SLING-8109 Replace KeyValueMap with Map<String,String>

4 weeks agoSLING-8108 : Provide setter methods for optional context info
Carsten Ziegeler [Wed, 14 Nov 2018 09:37:14 +0000 (10:37 +0100)] 
SLING-8108 : Provide setter methods for optional context info

4 weeks agoSLING-8103 Model Converter should not embed all its dependencies
David Bosschaert [Tue, 13 Nov 2018 14:47:27 +0000 (14:47 +0000)] 
SLING-8103 Model Converter should not embed all its dependencies

Remove some unnecessary deps from the pom.xml

4 weeks agoSLING-8103 Model Converter should not embed all its dependencies
David Bosschaert [Tue, 13 Nov 2018 14:42:56 +0000 (14:42 +0000)] 
SLING-8103 Model Converter should not embed all its dependencies

4 weeks agoUpdated deps to other feature model components to 0.2.1-SNAPSHOT
David Bosschaert [Tue, 13 Nov 2018 07:11:00 +0000 (07:11 +0000)] 
Updated deps to other feature model components to 0.2.1-SNAPSHOT

5 weeks ago[maven-release-plugin] prepare for next development iteration
David Bosschaert [Fri, 2 Nov 2018 10:25:58 +0000 (10:25 +0000)] 
[maven-release-plugin] prepare for next development iteration

5 weeks ago[maven-release-plugin] prepare release org.apache.sling.feature.modelconverter-0.2.0 org.apache.sling.feature.modelconverter-0.2.0
David Bosschaert [Fri, 2 Nov 2018 10:25:38 +0000 (10:25 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.feature.modelconverter-0.2.0

5 weeks agoUpdate feature dependencies to 0.2.0
David Bosschaert [Fri, 2 Nov 2018 10:24:45 +0000 (10:24 +0000)] 
Update feature dependencies to 0.2.0

5 weeks agoMove to sling parent pom version 34.
David Bosschaert [Fri, 2 Nov 2018 09:05:18 +0000 (09:05 +0000)] 
Move to sling parent pom version 34.

6 weeks agoUpdate BuilderContext constructor call to latest Feature API.
David Bosschaert [Thu, 1 Nov 2018 09:24:40 +0000 (09:24 +0000)] 
Update BuilderContext constructor call to latest Feature API.

2 months agoMerge pull request #1 from apache/issues/SLING-7968
Karl Pauls [Tue, 2 Oct 2018 08:12:17 +0000 (10:12 +0200)] 
Merge pull request #1 from apache/issues/SLING-7968

SLING-7968: Use FeatureProvider instead of ArtifactManager.

2 months agoSLING-7968: Use FeatureProvider instead of ArtifactManager. issues/SLING-7968 1/head
Karl Pauls [Mon, 1 Oct 2018 22:58:53 +0000 (00:58 +0200)] 
SLING-7968: Use FeatureProvider instead of ArtifactManager.

2 months agoMove file based artifact management into separate package
Carsten Ziegeler [Mon, 1 Oct 2018 12:18:12 +0000 (14:18 +0200)] 
Move file based artifact management into separate package

2 months agoCreate interface for ArtifactManager
Carsten Ziegeler [Mon, 1 Oct 2018 10:24:24 +0000 (12:24 +0200)] 
Create interface for ArtifactManager

2 months agoMake model converter work with feature and feature.analyser 1.3.0-SNAPSHOT
David Bosschaert [Mon, 24 Sep 2018 13:02:47 +0000 (14:02 +0100)] 
Make model converter work with feature and feature.analyser 1.3.0-SNAPSHOT

2 months agoMake model converter work with feature and feature.io 1.3.0-SNAPSHOT
David Bosschaert [Thu, 20 Sep 2018 16:22:31 +0000 (18:22 +0200)] 
Make model converter work with feature and feature.io 1.3.0-SNAPSHOT

2 months agotrivial: added license header to *.md files
Radu Cotescu [Thu, 20 Sep 2018 09:09:03 +0000 (11:09 +0200)] 
trivial: added license header to *.md files

2 months agoSLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module
Radu Cotescu [Wed, 19 Sep 2018 16:29:18 +0000 (18:29 +0200)] 
SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module

2 months agoSLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module
Radu Cotescu [Wed, 19 Sep 2018 16:04:00 +0000 (18:04 +0200)] 
SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module

2 months ago.gitignore
Bertrand Delacretaz [Thu, 13 Sep 2018 10:31:08 +0000 (12:31 +0200)] 
.gitignore

2 months agoSLING-7920 - support multiple repoinit sections in a single provmodel feature
Bertrand Delacretaz [Thu, 13 Sep 2018 10:30:48 +0000 (12:30 +0200)] 
SLING-7920 - support multiple repoinit sections in a single provmodel feature

2 months agoShow usage info on command line error
Bertrand Delacretaz [Thu, 13 Sep 2018 08:09:10 +0000 (10:09 +0200)] 
Show usage info on command line error

3 months agoSLING-7827 : Remove Application concept from feature model
Carsten Ziegeler [Wed, 15 Aug 2018 08:30:43 +0000 (10:30 +0200)] 
SLING-7827 : Remove Application concept from feature model

3 months agorepository urls are not required, there is a default configuration
Carsten Ziegeler [Tue, 14 Aug 2018 13:51:30 +0000 (15:51 +0200)] 
repository urls are not required, there is a default configuration

3 months agoRestore Main class in impl package to make jar selfrunnable
Carsten Ziegeler [Tue, 14 Aug 2018 13:48:40 +0000 (15:48 +0200)] 
Restore Main class in impl package to make jar selfrunnable

3 months agoSLING-7823 : Handle special run modes for feature to provisioning model conversion
Carsten Ziegeler [Tue, 14 Aug 2018 09:06:44 +0000 (11:06 +0200)] 
SLING-7823 : Handle special run modes for feature to provisioning model conversion

4 months agoUpdate to Configurator 1.0.4
Carsten Ziegeler [Sat, 11 Aug 2018 13:22:04 +0000 (15:22 +0200)] 
Update to Configurator 1.0.4

4 months agoUpdate to configurator 1.0.2
Carsten Ziegeler [Mon, 30 Jul 2018 05:41:48 +0000 (07:41 +0200)] 
Update to configurator 1.0.2

5 months agoSLING-7732 Feature Model Converter ignores inheritance when converting to provisionin...
David Bosschaert [Thu, 14 Jun 2018 14:04:10 +0000 (15:04 +0100)] 
SLING-7732 Feature Model Converter ignores inheritance when converting to provisioning model

This change also consults the ArtifactManager to see if the included
feature is available in Maven.

5 months agoSLING-7732 Feature Model Converter ignores inheritance when converting to provisionin...
David Bosschaert [Thu, 14 Jun 2018 13:19:08 +0000 (14:19 +0100)] 
SLING-7732 Feature Model Converter ignores inheritance when converting to provisioning model

Unit test included.

6 months agoAdding header to readme
Dan Klco [Sat, 9 Jun 2018 02:17:22 +0000 (22:17 -0400)] 
Adding header to readme

6 months ago[maven-release-plugin] prepare for next development iteration
David Bosschaert [Tue, 5 Jun 2018 13:40:36 +0000 (14:40 +0100)] 
[maven-release-plugin] prepare for next development iteration

6 months ago[maven-release-plugin] prepare release org.apache.sling.feature.modelconverter-0.1.2 org.apache.sling.feature.modelconverter-0.1.2
David Bosschaert [Tue, 5 Jun 2018 13:40:16 +0000 (14:40 +0100)] 
[maven-release-plugin] prepare release org.apache.sling.feature.modelconverter-0.1.2

6 months agoUpgrade feature model dependency to 0.1.2
David Bosschaert [Tue, 5 Jun 2018 13:38:35 +0000 (14:38 +0100)] 
Upgrade feature model dependency to 0.1.2

6 months agoSLING-7683 Support runmode in separate feature files
David Bosschaert [Tue, 29 May 2018 11:41:41 +0000 (12:41 +0100)] 
SLING-7683 Support runmode in separate feature files

6 months agoTest to ensures that two different Feature Models produce the same provisioning model
David Bosschaert [Mon, 28 May 2018 14:11:18 +0000 (15:11 +0100)] 
Test to ensures that two different Feature Models produce the same provisioning model

6 months agoSLING-7683 Support run modes in separate files
David Bosschaert [Fri, 25 May 2018 11:27:13 +0000 (12:27 +0100)] 
SLING-7683 Support run modes in separate files

When the following variable is defined in a feature model:
  "provisioning.runmode": "comma,separated,list"
Then all the bundles, configurations and extensions in this model have
the specified runmode(s) when converted into the provisioning model.

6 months agoFix incorrect test that was exposed through SLING-7677
David Bosschaert [Thu, 24 May 2018 10:36:55 +0000 (11:36 +0100)] 
Fix incorrect test that was exposed through SLING-7677

6 months agoMove dependency on lower level feature modules to 0.1.1-SNAPSHOT
David Bosschaert [Thu, 24 May 2018 10:04:34 +0000 (11:04 +0100)] 
Move dependency on lower level feature modules to 0.1.1-SNAPSHOT

6 months agoSLING-7672 The feature model converter should not overwrite exising newer file.
David Bosschaert [Wed, 16 May 2018 14:15:20 +0000 (16:15 +0200)] 
SLING-7672 The feature model converter should not overwrite exising newer file.

7 months ago[maven-release-plugin] prepare for next development iteration
David Bosschaert [Sat, 5 May 2018 19:38:14 +0000 (20:38 +0100)] 
[maven-release-plugin] prepare for next development iteration

7 months ago[maven-release-plugin] prepare release org.apache.sling.feature.modelconverter-0.1.0 org.apache.sling.feature.modelconverter-0.1.0
David Bosschaert [Sat, 5 May 2018 19:37:54 +0000 (20:37 +0100)] 
[maven-release-plugin] prepare release org.apache.sling.feature.modelconverter-0.1.0

7 months agoRemove dependency on resolver for now, until the resolver has stabilised
David Bosschaert [Sat, 5 May 2018 19:36:07 +0000 (20:36 +0100)] 
Remove dependency on resolver for now, until the resolver has stabilised

7 months agoFix SCM settings
David Bosschaert [Sat, 5 May 2018 18:59:57 +0000 (19:59 +0100)] 
Fix SCM settings

7 months agoInclude original file name in feature ID if different from feature name
David Bosschaert [Fri, 4 May 2018 08:19:39 +0000 (09:19 +0100)] 
Include original file name in feature ID if different from feature name

7 months agoPoint to overall documentation in readme.md
David Bosschaert [Thu, 3 May 2018 12:08:15 +0000 (13:08 +0100)] 
Point to overall documentation in readme.md

7 months agoDont use colons in converted file names if the feature name contained a colon
David Bosschaert [Wed, 2 May 2018 15:06:32 +0000 (16:06 +0100)] 
Dont use colons in converted file names if the feature name contained a colon

7 months agoFix name of Sling Feature Model
David Bosschaert [Wed, 2 May 2018 13:12:24 +0000 (14:12 +0100)] 
Fix name of Sling Feature Model

7 months agoAdd initial readme.md file.
David Bosschaert [Wed, 2 May 2018 12:55:03 +0000 (13:55 +0100)] 
Add initial readme.md file.

7 months agoChanging package of model converter
David Bosschaert [Tue, 1 May 2018 09:28:56 +0000 (10:28 +0100)] 
Changing package of model converter

I'm changing this from o.a.s.f.modelconverter.impl to
o.a.s.f.modelconverter as the classes don't implement an API or SPI.

7 months agoMove version to 0.1.0
David Bosschaert [Tue, 1 May 2018 09:20:49 +0000 (10:20 +0100)] 
Move version to 0.1.0

7 months agoUse Converter and Configurator 1.0.0
David Bosschaert [Mon, 30 Apr 2018 13:29:07 +0000 (14:29 +0100)] 
Use Converter and Configurator 1.0.0

7 months agoAdd LICENSE and .gitignore
David Bosschaert [Fri, 27 Apr 2018 13:36:02 +0000 (14:36 +0100)] 
Add LICENSE and .gitignore

7 months agoUse felix utils ResourceBuilder and Parser instead of the ManifestParser and Manifest...
Karl Pauls [Thu, 26 Apr 2018 10:00:25 +0000 (12:00 +0200)] 
Use felix utils ResourceBuilder and Parser instead of the ManifestParser and ManifestUtil. As with that the feature-support module is empty, remove it.

7 months ago[Feature Model] Move constants from support module to feature module
David Bosschaert [Thu, 26 Apr 2018 08:50:10 +0000 (09:50 +0100)] 
[Feature Model] Move constants from support module to feature module

EXTENSION_NAME_REPOINIT and EXTENSION_NAME_CONTENT_PACKAGES were moved
from SlingConstants in feature-support to FeatureConstants in feature.

7 months ago[Sling Feature Model] Refactor FeatureUtil out of the support module
David Bosschaert [Wed, 25 Apr 2018 12:40:18 +0000 (13:40 +0100)] 
[Sling Feature Model] Refactor FeatureUtil out of the support module

Also move the Resolver API to the resolver module.

7 months ago[Sling Feature Model] Split off IO packages into separate module.
David Bosschaert [Wed, 25 Apr 2018 09:58:43 +0000 (10:58 +0100)] 
[Sling Feature Model] Split off IO packages into separate module.

7 months agoRemove WriteOption from Feature JSON Writer.
David Bosschaert [Wed, 18 Apr 2018 17:42:07 +0000 (20:42 +0300)] 
Remove WriteOption from Feature JSON Writer.

7 months agoRename packages
Carsten Ziegeler [Wed, 18 Apr 2018 08:26:45 +0000 (10:26 +0200)] 
Rename packages

7 months agoClean up file util
Carsten Ziegeler [Wed, 18 Apr 2018 08:12:08 +0000 (10:12 +0200)] 
Clean up file util

7 months agoRename to FileUtils and use constants
Carsten Ziegeler [Wed, 18 Apr 2018 07:55:21 +0000 (09:55 +0200)] 
Rename to FileUtils and use constants

7 months agoSplit feature util into io and assembly parts
Carsten Ziegeler [Tue, 17 Apr 2018 14:56:40 +0000 (16:56 +0200)] 
Split feature util into io and assembly parts

7 months agoMove Sling specific constants into support module
Carsten Ziegeler [Tue, 17 Apr 2018 08:31:04 +0000 (10:31 +0200)] 
Move Sling specific constants into support module

7 months agoMove artifact handling to separate package
Carsten Ziegeler [Tue, 17 Apr 2018 07:51:30 +0000 (09:51 +0200)] 
Move artifact handling to separate package

7 months agoMove resolving to separate package
Carsten Ziegeler [Tue, 17 Apr 2018 07:25:12 +0000 (09:25 +0200)] 
Move resolving to separate package

7 months agoMove the process package from the feature api module to the support one.
David Bosschaert [Wed, 11 Apr 2018 15:51:50 +0000 (16:51 +0100)] 
Move the process package from the feature api module to the support one.

Also move the associated tests.

8 months agoAdd the ability to set groupId and version for generated features
David Bosschaert [Tue, 10 Apr 2018 10:31:00 +0000 (11:31 +0100)] 
Add the ability to set groupId and version for generated features

8 months agoSmall tweak to how files converted from prov model to feature are named
David Bosschaert [Mon, 9 Apr 2018 12:57:14 +0000 (13:57 +0100)] 
Small tweak to how files converted from prov model to feature are named

When converting a provisioning model to a feature, include the name of
the original provisioning model file and name of the original feature in
the filename.

8 months agoConvert repoinit sections to use JSON array representation
David Bosschaert [Wed, 4 Apr 2018 13:57:26 +0000 (14:57 +0100)] 
Convert repoinit sections to use JSON array representation

8 months agoHandle run modes in feature properties similar to configuration
David Bosschaert [Wed, 4 Apr 2018 12:49:17 +0000 (13:49 +0100)] 
Handle run modes in feature properties similar to configuration

8 months agoUse model name for feature file name when converting to feature.
David Bosschaert [Wed, 4 Apr 2018 12:30:55 +0000 (13:30 +0100)] 
Use model name for feature file name when converting to feature.

8 months agoHandle runmodes for configurations that have ':' in their name
David Bosschaert [Tue, 3 Apr 2018 14:22:47 +0000 (15:22 +0100)] 
Handle runmodes for configurations that have ':' in their name

8 months agoImprove handling of runmodes in provisioning model-feature conversions
David Bosschaert [Tue, 3 Apr 2018 13:43:49 +0000 (14:43 +0100)] 
Improve handling of runmodes in provisioning model-feature conversions

Also handle cases where ':' is used in configuration keys, something
that the OSGi configurator doesn't allow.

8 months agoChange name of runmodes in configuration
David Bosschaert [Fri, 23 Mar 2018 11:36:07 +0000 (11:36 +0000)] 
Change name of runmodes in configuration

8 months agoHandle the fact that a single provisioning model can result in multiple features
David Bosschaert [Thu, 22 Mar 2018 16:32:35 +0000 (16:32 +0000)] 
Handle the fact that a single provisioning model can result in multiple features

Also, allow multiple indentical bundles when they are associated with
different run modes.

8 months agoChange how runmodes in configuration are handled in the feature model
David Bosschaert [Thu, 22 Mar 2018 14:45:20 +0000 (14:45 +0000)] 
Change how runmodes in configuration are handled in the feature model

With this commit, the runmodes can be specified with a configuration
using the ".runmodes." property. The value is a comma-separated string.

8 months agoSupport comparing extensions in the conversion tests
David Bosschaert [Thu, 22 Mar 2018 12:03:25 +0000 (12:03 +0000)] 
Support comparing extensions in the conversion tests

8 months agoAdd roundtrip testing prov model -> feature -> prov model
David Bosschaert [Thu, 22 Mar 2018 10:39:03 +0000 (10:39 +0000)] 
Add roundtrip testing prov model -> feature -> prov model

8 months agoImprove test to property unmangle configurations when reading prov model
David Bosschaert [Wed, 21 Mar 2018 16:34:11 +0000 (16:34 +0000)] 
Improve test to property unmangle configurations when reading prov model

8 months agoWrite configurations associated with artifacts alongside these
David Bosschaert [Wed, 21 Mar 2018 16:24:39 +0000 (16:24 +0000)] 
Write configurations associated with artifacts alongside these

8 months agoPreserve variables when converting prov model to feature
David Bosschaert [Tue, 20 Mar 2018 14:14:05 +0000 (14:14 +0000)] 
Preserve variables when converting prov model to feature

8 months agoSupport writing variables when converting from provisioning model
David Bosschaert [Tue, 20 Mar 2018 12:02:58 +0000 (12:02 +0000)] 
Support writing variables when converting from provisioning model

8 months agoSupport variables in converting from features to provisioning model
David Bosschaert [Tue, 20 Mar 2018 10:46:52 +0000 (10:46 +0000)] 
Support variables in converting from features to provisioning model

8 months agoSupport for special feature names when converting to provisioning model.
David Bosschaert [Mon, 19 Mar 2018 15:09:52 +0000 (15:09 +0000)] 
Support for special feature names when converting to provisioning model.

The special feature names must be specified in the variables section
under the variable name 'provisioning.model.name'.
This commit also contains the start of a document-based set of tests for
testing between conversions of the feature model to the provisioning
model and back.

8 months agoAdditional comments for the converter classes.
David Bosschaert [Thu, 15 Mar 2018 07:45:37 +0000 (08:45 +0100)] 
Additional comments for the converter classes.

8 months agoExtra logging
David Bosschaert [Mon, 12 Mar 2018 17:29:02 +0000 (17:29 +0000)] 
Extra logging

8 months agoSupport the slinstart maven plugin by providing a model converter API
David Bosschaert [Fri, 9 Mar 2018 10:46:10 +0000 (10:46 +0000)] 
Support the slinstart maven plugin by providing a model converter API

9 months agoUpdate to parent pom 33
Carsten Ziegeler [Mon, 26 Feb 2018 12:24:32 +0000 (13:24 +0100)] 
Update to parent pom 33

9 months agoSLING-7512 Order features based on their dependencies.
David Bosschaert [Fri, 23 Feb 2018 13:42:28 +0000 (13:42 +0000)] 
SLING-7512 Order features based on their dependencies.

Very initial implementation which contains the refactoring of
Requirements and Capabilities to use the OSGi ones.

10 months agoRefactor start order handling
Carsten Ziegeler [Fri, 19 Jan 2018 07:07:53 +0000 (08:07 +0100)] 
Refactor start order handling

10 months agoStart changing start level handling to start order handling
Carsten Ziegeler [Thu, 18 Jan 2018 15:14:50 +0000 (16:14 +0100)] 
Start changing start level handling to start order handling

12 months agoFix converting latest Sling Starter app
Robert Munteanu [Tue, 28 Nov 2017 11:34:46 +0000 (13:34 +0200)] 
Fix converting latest Sling Starter app

13 months agoMove feature model to whiteboard git
Carsten Ziegeler [Fri, 3 Nov 2017 14:06:50 +0000 (15:06 +0100)] 
Move feature model to whiteboard git