[felix-atomos] branch master updated: [maven-release-plugin] prepare for next development iteration

2021-02-17 Thread tjwatson
This is an automated email from the ASF dual-hosted git repository.

tjwatson pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-atomos.git


The following commit(s) were added to refs/heads/master by this push:
 new ab9bb23  [maven-release-plugin] prepare for next development iteration
ab9bb23 is described below

commit ab9bb233277f5eb18c203f2f2b38945dc820a527
Author: Thomas Watson 
AuthorDate: Wed Feb 17 15:37:40 2021 -0600

[maven-release-plugin] prepare for next development iteration
---
 atomos-parent/pom.xml  |  4 ++--
 atomos.examples/atomos.examples.index/pom.xml  |  8 +++
 .../atomos.examples.jaxrs.bundle/pom.xml   |  2 +-
 atomos.examples/atomos.examples.jaxrs/pom.xml  | 10 
 atomos.examples/atomos.examples.jlink/pom.xml  | 14 +--
 .../atomos.examples.springloader/pom.xml   |  6 ++---
 .../atomos.examples.substrate.lib/pom.xml  | 14 +--
 .../atomos.examples.substrate.maven/pom.xml| 10 
 .../atomos.examples.webconsole.bom/pom.xml |  2 +-
 atomos.examples/pom.xml|  2 +-
 atomos.maven/pom.xml   |  8 +++
 atomos.osgi.core/pom.xml   |  6 ++---
 .../atomos.tests.classpath.service/pom.xml | 14 +--
 atomos.tests/atomos.tests.index.bundles/pom.xml|  6 ++---
 .../atomos.tests.modulepath.service/pom.xml| 28 +++---
 .../atomos.tests.testbundles.bom/pom.xml   | 22 -
 .../atomos.tests.testbundles.dependency.a/pom.xml  |  2 +-
 .../atomos.tests.testbundles.dependency.b/pom.xml  |  2 +-
 .../atomos.tests.testbundles.dependent.x/pom.xml   |  6 ++---
 .../pom.xml|  2 +-
 .../atomos.tests.testbundles.reflect.dto/pom.xml   |  2 +-
 .../atomos.tests.testbundles.resources.a/pom.xml   |  4 ++--
 .../pom.xml|  2 +-
 .../pom.xml|  4 ++--
 .../pom.xml|  4 ++--
 .../pom.xml|  4 ++--
 .../atomos.tests.testbundles.service.impl/pom.xml  |  4 ++--
 .../pom.xml|  2 +-
 .../atomos.tests.testbundles.service.user/pom.xml  |  6 ++---
 atomos.tests/atomos.tests.testbundles/pom.xml  |  2 +-
 atomos.tests/pom.xml   |  2 +-
 atomos.utils/atomos.utils.api/pom.xml  |  6 ++---
 atomos.utils/atomos.utils.core/pom.xml | 12 +-
 atomos.utils/atomos.utils.substrate.api/pom.xml|  4 ++--
 atomos.utils/atomos.utils.substrate.impl/pom.xml   |  6 ++---
 atomos.utils/pom.xml   |  6 ++---
 atomos/pom.xml |  8 +++
 pom.xml|  4 ++--
 38 files changed, 125 insertions(+), 125 deletions(-)

diff --git a/atomos-parent/pom.xml b/atomos-parent/pom.xml
index 6aadc49..b031d57 100644
--- a/atomos-parent/pom.xml
+++ b/atomos-parent/pom.xml
@@ -8,7 +8,7 @@
 
 
 atomos-parent
-1.0.0
+1.0.1-SNAPSHOT
 pom
 atomos-parent
 
@@ -26,7 +26,7 @@
 
scm:git:https://github.com/apache/felix-atomos.git
 
scm:git:https://github.com/apache/felix-atomos.git
 https://github.com/apache/felix-atomos
-atomos-1.0.0
+HEAD
 
 
 
diff --git a/atomos.examples/atomos.examples.index/pom.xml 
b/atomos.examples/atomos.examples.index/pom.xml
index c0ba97b..57de84b 100644
--- a/atomos.examples/atomos.examples.index/pom.xml
+++ b/atomos.examples/atomos.examples.index/pom.xml
@@ -4,7 +4,7 @@
 
 org.apache.felix.atomos.examples
 org.apache.felix.atomos.examples
-1.0.0
+1.0.1-SNAPSHOT
 
 org.apache.felix.atomos.examples.index
 atomos.examples.index
@@ -46,7 +46,7 @@
 
 org.apache.felix
 org.apache.felix.atomos
-1.0.0
+1.0.1-SNAPSHOT
 
 
 *
@@ -57,7 +57,7 @@
 
 org.apache.felix.atomos.examples
 
org.apache.felix.atomos.examples.webconsole.bom
-1.0.0
+1.0.1-SNAPSHOT
 pom
 
 
@@ -67,7 +67,7 @@
 
 org.apache.felix
 atomos-maven-plugin
-0.9.0
+0.9.1-SNAPSHOT
 
 
 
diff --git a/atomos.examples/atomos.examples.jaxrs.bundle/pom.xml 
b/atomos.examples/atomos.examples.jaxrs.bundle/pom.xml
index 6db4606..7df42bc 100644
--- a/atomos.examples/atomos.examples.jaxrs.bundle/pom.xml
+++ b/atomos.examples/atomos.examples.jaxrs.bundle/pom.xml
@@ -3,7 +3,7 @@
 
 org.apache.felix.atomos.examples
 org.apache.felix.atomos.examples
-

[felix-atomos] annotated tag atomos-1.0.0 updated (7ae7bfd -> 76ffda4)

2021-02-17 Thread tjwatson
This is an automated email from the ASF dual-hosted git repository.

tjwatson pushed a change to annotated tag atomos-1.0.0
in repository https://gitbox.apache.org/repos/asf/felix-atomos.git.


*** WARNING: tag atomos-1.0.0 was modified! ***

from 7ae7bfd  (commit)
  to 76ffda4  (tag)
 tagging 7ae7bfd0b9011983d21df514159b1820e95e2e7b (commit)
  by Thomas Watson
  on Wed Feb 17 15:37:36 2021 -0600

- Log -
[maven-release-plugin] copy for tag atomos-1.0.0
---


No new revisions were added by this update.

Summary of changes:



[felix-atomos] branch master updated (43b3a72 -> 7ae7bfd)

2021-02-17 Thread tjwatson
This is an automated email from the ASF dual-hosted git repository.

tjwatson pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/felix-atomos.git.


from 43b3a72  Comment out unit-test profile
 add 7ae7bfd  [maven-release-plugin] prepare release atomos-1.0.0

No new revisions were added by this update.

Summary of changes:
 atomos-parent/pom.xml  |  6 ++---
 atomos.examples/atomos.examples.index/pom.xml  |  8 +++---
 .../atomos.examples.jaxrs.bundle/pom.xml   |  2 +-
 atomos.examples/atomos.examples.jaxrs/pom.xml  | 12 -
 atomos.examples/atomos.examples.jlink/pom.xml  | 18 ++---
 .../atomos.examples.springloader/pom.xml   |  6 ++---
 .../atomos.examples.substrate.lib/pom.xml  | 18 ++---
 .../atomos.examples.substrate.maven/pom.xml| 10 
 .../atomos.examples.webconsole.bom/pom.xml |  4 +--
 atomos.examples/pom.xml|  2 +-
 atomos.maven/pom.xml   | 12 -
 atomos.osgi.core/pom.xml   |  8 +++---
 .../atomos.tests.classpath.service/pom.xml | 16 ++--
 atomos.tests/atomos.tests.index.bundles/pom.xml|  8 +++---
 .../atomos.tests.modulepath.service/pom.xml| 30 +++---
 .../atomos.tests.testbundles.bom/pom.xml   | 24 -
 .../atomos.tests.testbundles.dependency.a/pom.xml  |  4 +--
 .../atomos.tests.testbundles.dependency.b/pom.xml  |  4 +--
 .../atomos.tests.testbundles.dependent.x/pom.xml   |  8 +++---
 .../pom.xml|  2 +-
 .../atomos.tests.testbundles.reflect.dto/pom.xml   |  2 +-
 .../atomos.tests.testbundles.resources.a/pom.xml   |  4 +--
 .../pom.xml|  4 +--
 .../pom.xml|  4 +--
 .../pom.xml|  6 ++---
 .../pom.xml|  4 +--
 .../atomos.tests.testbundles.service.impl/pom.xml  |  4 +--
 .../pom.xml|  4 +--
 .../atomos.tests.testbundles.service.user/pom.xml  |  6 ++---
 atomos.tests/atomos.tests.testbundles/pom.xml  |  2 +-
 atomos.tests/pom.xml   |  2 +-
 atomos.utils/atomos.utils.api/pom.xml  |  8 +++---
 atomos.utils/atomos.utils.core/pom.xml | 14 +-
 atomos.utils/atomos.utils.substrate.api/pom.xml|  6 ++---
 atomos.utils/atomos.utils.substrate.impl/pom.xml   |  8 +++---
 atomos.utils/pom.xml   |  6 ++---
 atomos/pom.xml | 10 
 pom.xml|  6 ++---
 38 files changed, 151 insertions(+), 151 deletions(-)



[felix-atomos] branch master updated: Comment out unit-test profile

2021-02-17 Thread tjwatson
This is an automated email from the ASF dual-hosted git repository.

tjwatson pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-atomos.git


The following commit(s) were added to refs/heads/master by this push:
 new 43b3a72  Comment out unit-test profile
43b3a72 is described below

commit 43b3a72d41f51a079f7943c075a88e265ee28ba8
Author: Thomas Watson 
AuthorDate: Wed Feb 17 14:09:27 2021 -0600

Comment out unit-test profile
---
 atomos/pom.xml | 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/atomos/pom.xml b/atomos/pom.xml
index c0c7a18..94c6c76 100644
--- a/atomos/pom.xml
+++ b/atomos/pom.xml
@@ -46,6 +46,14 @@
 true
 
 
+
 
 equinox
 



[felix-dev] 01/02: Update change log for 2.1.26

2021-02-17 Thread tjwatson
This is an automated email from the ASF dual-hosted git repository.

tjwatson pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-dev.git

commit bf03b9d8427994daf25287210e5e67d6f6be3d76
Author: Thomas Watson 
AuthorDate: Wed Feb 17 10:44:57 2021 -0600

Update change log for 2.1.26

Also add missing sections for previous releases
---
 scr/changelog.txt | 28 
 1 file changed, 28 insertions(+)

diff --git a/scr/changelog.txt b/scr/changelog.txt
index 7b64209..26f9371 100644
--- a/scr/changelog.txt
+++ b/scr/changelog.txt
@@ -1,3 +1,31 @@
+Changes in 2.1.26
+-
+** Bug
+* [FELIX-6352] - SCR should protect against unregistered 
IllegalStateException for its ConfigurationListener registrations
+* [FELIX-6361] - IllegalArgumentException possible from 
LoggerFactory.getLogger(Bundle, String, Class)
+* [FELIX-6353] - Constructor injection: activation with optional reference 
fails if service not available
+* [FELIX-6351] - EventDispatcher: Error during dispatch. 
(java.lang.IllegalStateException: Service already unregistered.)
+* [FELIX-6349] - Possible NullPointerException on modified event in 
DependencyManager
+
+Changes in 2.1.24
+-
+** Bug
+* [FELIX-6327] - NoSuchElementException can occur with 
SingleDynamicCustomizer when services are removed
+* [FELIX-6315] - Factory components are eagerly deactivated
+* [FELIX-6325] - OSGi log package is mandatory but imported as optional
+
+Changes in 2.1.22
+-
+** Bug
+* [FELIX-6314] - NullPointerException in 
SingleComponentManager.disposeImplementationObject
+* [FELIX-6108] - SCR activation log-messages cannot be disabled with R7 
LogService
+* [FELIX-6274] - Potential Class Space problems with multiple Log Service 
APIs
+* [FELIX-6317] - dynamic greedy optional/mandatory references can get 
wrong service ranking
+* [FELIX-6161] - SCR: Method of resolving references limits Service 
ListenerHook implementations
+** Improvement
+* [FELIX-6307] - SCR logging uses null name for logger in 
LogServiceEnabledLogger.getLogger()
+* [FELIX-6293] - Apache Felix SCR Logging
+
 Changes in 2.1.20
 -
 ** Bug



[felix-dev] 02/02: [maven-release-plugin] prepare release org.apache.felix.scr-2.1.26

2021-02-17 Thread tjwatson
This is an automated email from the ASF dual-hosted git repository.

tjwatson pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-dev.git

commit 67fae3d26734032748916686bf65f8afd9ca1f81
Author: Thomas Watson 
AuthorDate: Wed Feb 17 13:30:34 2021 -0600

[maven-release-plugin] prepare release org.apache.felix.scr-2.1.26
---
 scr/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scr/pom.xml b/scr/pom.xml
index c4cff2d..5909c57 100644
--- a/scr/pom.xml
+++ b/scr/pom.xml
@@ -30,12 +30,12 @@
 Implementation of the Declarative Services specification 1.4
 
 org.apache.felix.scr
-2.1.25-SNAPSHOT
+2.1.26
 
 
scm:git:https://github.com/apache/felix-dev.git
 
scm:git:https://github.com/apache/felix-dev.git
 https://gitbox.apache.org/repos/asf?p=felix-dev.git
-  HEAD
+  org.apache.felix.scr-2.1.26
   
 
 

[felix-dev] annotated tag org.apache.felix.scr-2.1.26 updated (67fae3d -> 5cf55c9)

2021-02-17 Thread tjwatson
This is an automated email from the ASF dual-hosted git repository.

tjwatson pushed a change to annotated tag org.apache.felix.scr-2.1.26
in repository https://gitbox.apache.org/repos/asf/felix-dev.git.


*** WARNING: tag org.apache.felix.scr-2.1.26 was modified! ***

from 67fae3d  (commit)
  to 5cf55c9  (tag)
 tagging 67fae3d26734032748916686bf65f8afd9ca1f81 (commit)
 replaces org.apache.felix.configadmin.plugin.interpolation-1.1.2
  by Thomas Watson
  on Wed Feb 17 13:30:48 2021 -0600

- Log -
[maven-release-plugin] copy for tag org.apache.felix.scr-2.1.26
---


No new revisions were added by this update.

Summary of changes:



[felix-dev] branch master updated: [maven-release-plugin] prepare for next development iteration

2021-02-17 Thread tjwatson
This is an automated email from the ASF dual-hosted git repository.

tjwatson pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-dev.git


The following commit(s) were added to refs/heads/master by this push:
 new e8fbf5b  [maven-release-plugin] prepare for next development iteration
e8fbf5b is described below

commit e8fbf5bae0b736e187f603ae05d5b2ebeafb7973
Author: Thomas Watson 
AuthorDate: Wed Feb 17 13:30:53 2021 -0600

[maven-release-plugin] prepare for next development iteration
---
 scr/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scr/pom.xml b/scr/pom.xml
index 5909c57..fa63fe9 100644
--- a/scr/pom.xml
+++ b/scr/pom.xml
@@ -30,12 +30,12 @@
 Implementation of the Declarative Services specification 1.4
 
 org.apache.felix.scr
-2.1.26
+2.1.27-SNAPSHOT
 
 
scm:git:https://github.com/apache/felix-dev.git
 
scm:git:https://github.com/apache/felix-dev.git
 https://gitbox.apache.org/repos/asf?p=felix-dev.git
-  org.apache.felix.scr-2.1.26
+  HEAD
   
 
 

[felix-dev] branch master updated (22bc647 -> 67fae3d)

2021-02-17 Thread tjwatson
This is an automated email from the ASF dual-hosted git repository.

tjwatson pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/felix-dev.git.


from 22bc647  [maven-release-plugin] prepare for next development iteration
 new bf03b9d  Update change log for 2.1.26
 new 67fae3d  [maven-release-plugin] prepare release 
org.apache.felix.scr-2.1.26

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:
 scr/changelog.txt | 28 
 scr/pom.xml   |  4 ++--
 2 files changed, 30 insertions(+), 2 deletions(-)



[felix-dev] branch master updated: [maven-release-plugin] prepare for next development iteration

2021-02-17 Thread davidb
This is an automated email from the ASF dual-hosted git repository.

davidb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-dev.git


The following commit(s) were added to refs/heads/master by this push:
 new 22bc647  [maven-release-plugin] prepare for next development iteration
22bc647 is described below

commit 22bc647defd15b71b78b7f42ba5d1917cb03c1b0
Author: David Bosschaert 
AuthorDate: Wed Feb 17 15:55:23 2021 +

[maven-release-plugin] prepare for next development iteration
---
 configadmin-plugins/interpolation/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configadmin-plugins/interpolation/pom.xml 
b/configadmin-plugins/interpolation/pom.xml
index 2a0efab..a8f15e3 100644
--- a/configadmin-plugins/interpolation/pom.xml
+++ b/configadmin-plugins/interpolation/pom.xml
@@ -28,7 +28,7 @@
 
 org.apache.felix.configadmin.plugin.interpolation
 jar
-1.1.2
+1.1.3-SNAPSHOT
 
 Apache Felix Configuration Admin Values Interpolation Plugin
 
@@ -44,7 +44,7 @@
 
scm:git:https://github.com/apache/felix-dev.git
 
scm:git:https://github.com/apache/felix-dev.git
 https://gitbox.apache.org/repos/asf?p=felix-dev.git
-  org.apache.felix.configadmin.plugin.interpolation-1.1.2
+  HEAD
   
 
 



[felix-dev] annotated tag org.apache.felix.configadmin.plugin.interpolation-1.1.2 updated (b3c1ba1 -> 4293904)

2021-02-17 Thread davidb
This is an automated email from the ASF dual-hosted git repository.

davidb pushed a change to annotated tag 
org.apache.felix.configadmin.plugin.interpolation-1.1.2
in repository https://gitbox.apache.org/repos/asf/felix-dev.git.


*** WARNING: tag org.apache.felix.configadmin.plugin.interpolation-1.1.2 was 
modified! ***

from b3c1ba1  (commit)
  to 4293904  (tag)
 tagging b3c1ba140f148007536bfc06164d218faebe50f2 (commit)
 replaces org.apache.felix.cm.json-1.0.6
  by David Bosschaert
  on Wed Feb 17 15:55:19 2021 +

- Log -
[maven-release-plugin] copy for tag 
org.apache.felix.configadmin.plugin.interpolation-1.1.2
---


No new revisions were added by this update.

Summary of changes:



[felix-dev] branch master updated (56da82c -> b3c1ba1)

2021-02-17 Thread davidb
This is an automated email from the ASF dual-hosted git repository.

davidb pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/felix-dev.git.


from 56da82c  Update dependencies to latest version
 add b3c1ba1  [maven-release-plugin] prepare release 
org.apache.felix.configadmin.plugin.interpolation-1.1.2

No new revisions were added by this update.

Summary of changes:
 configadmin-plugins/interpolation/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



[felix-dev] branch master updated: Update dependencies to latest version

2021-02-17 Thread davidb
This is an automated email from the ASF dual-hosted git repository.

davidb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-dev.git


The following commit(s) were added to refs/heads/master by this push:
 new 56da82c  Update dependencies to latest version
56da82c is described below

commit 56da82cfe995bf72dda9b9e1282cead91aea88b3
Author: David Bosschaert 
AuthorDate: Wed Feb 17 15:53:47 2021 +

Update dependencies to latest version
---
 configadmin-plugins/interpolation/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configadmin-plugins/interpolation/pom.xml 
b/configadmin-plugins/interpolation/pom.xml
index c379cd8..882f54a 100644
--- a/configadmin-plugins/interpolation/pom.xml
+++ b/configadmin-plugins/interpolation/pom.xml
@@ -22,7 +22,7 @@
 
 org.apache.felix
 felix-parent
-6
+7
 ../../../pom/pom.xml
 
 
@@ -121,7 +121,7 @@
 
 org.apache.felix
 org.apache.felix.converter
-1.0.12
+1.0.14
 provided
 
 



[felix-atomos] branch master updated: Add a headers provider hook (#46)

2021-02-17 Thread pauls
This is an automated email from the ASF dual-hosted git repository.

pauls pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-atomos.git


The following commit(s) were added to refs/heads/master by this push:
 new eb3a410  Add a headers provider hook (#46)
eb3a410 is described below

commit eb3a41073ea7c89e3f0a0d0297cd58d2c0a1cc86
Author: Karl Pauls 
AuthorDate: Wed Feb 17 14:56:07 2021 +0100

Add a headers provider hook (#46)

* Add a new HeaderProvider that can be used to augment existing bundle 
manifest headers or add completely new bundle manifest headers that are not 
present in the existing headers.
* Allow the HeaderProvider to provide headers for content that has no 
headers

Co-authored-by: Thomas Watson 
---
 .../service/test/ClasspathLaunchTest.java  | 103 +++
 .../tests/index/bundles/IndexLaunchTest.java   | 104 +++
 .../modulepath/service/ModulepathLaunchTest.java   | 132 -
 atomos/pom.xml |  16 ++
 .../main/java/org/apache/felix/atomos/Atomos.java  | 100 ++-
 .../org/apache/felix/atomos/AtomosContent.java |   2 +
 .../java/org/apache/felix/atomos/AtomosLayer.java  |   3 +
 .../apache/felix/atomos/impl/base/AtomosBase.java  | 271 +-
 .../felix/atomos/impl/base/AtomosClassPath.java|   4 +-
 .../impl/content/ConnectContentCloseableJar.java   |   6 +-
 .../atomos/impl/content/ConnectContentFile.java|   8 +-
 .../atomos/impl/content/ConnectContentIndexed.java |   7 +-
 .../atomos/impl/content/ConnectContentJar.java |  11 +-
 .../felix/atomos/impl/modules/AtomosModules.java   | 309 -
 .../atomos/impl/modules/ConnectContentModule.java  | 191 +
 15 files changed, 901 insertions(+), 366 deletions(-)

diff --git 
a/atomos.tests/atomos.tests.classpath.service/src/test/java/org/apache/felix/atomos/tests/classpath/service/test/ClasspathLaunchTest.java
 
b/atomos.tests/atomos.tests.classpath.service/src/test/java/org/apache/felix/atomos/tests/classpath/service/test/ClasspathLaunchTest.java
index 9851280..bf53a12 100644
--- 
a/atomos.tests/atomos.tests.classpath.service/src/test/java/org/apache/felix/atomos/tests/classpath/service/test/ClasspathLaunchTest.java
+++ 
b/atomos.tests/atomos.tests.classpath.service/src/test/java/org/apache/felix/atomos/tests/classpath/service/test/ClasspathLaunchTest.java
@@ -26,16 +26,20 @@ import java.nio.file.Path;
 import java.util.Arrays;
 import java.util.Collection;
 import java.util.Collections;
+import java.util.HashMap;
 import java.util.Map;
 import java.util.Optional;
+import java.util.concurrent.atomic.AtomicBoolean;
 
 import org.apache.felix.atomos.Atomos;
+import org.apache.felix.atomos.Atomos.HeaderProvider;
 import org.apache.felix.atomos.AtomosContent;
 import org.apache.felix.atomos.AtomosLayer;
 import org.apache.felix.atomos.AtomosLayer.LoaderType;
 import org.apache.felix.atomos.impl.base.AtomosCommands;
 import org.apache.felix.atomos.tests.testbundles.service.contract.Echo;
 import org.junit.jupiter.api.AfterEach;
+import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.io.TempDir;
 import org.osgi.framework.Bundle;
@@ -45,6 +49,7 @@ import org.osgi.framework.Constants;
 import org.osgi.framework.FrameworkUtil;
 import org.osgi.framework.InvalidSyntaxException;
 import org.osgi.framework.ServiceReference;
+import org.osgi.framework.Version;
 import org.osgi.framework.launch.Framework;
 import org.osgi.framework.namespace.PackageNamespace;
 import org.osgi.framework.wiring.BundleCapability;
@@ -171,6 +176,104 @@ public class ClasspathLaunchTest
 assertNotNull(mf, "No manifest found.");
 }
 
+@Test
+void testUnmodifiableExistingHeaders(@TempDir Path storage) throws 
BundleException
+{
+AtomicBoolean fail = new AtomicBoolean(true);
+HeaderProvider attemptModification = (location, headers) -> {
+try
+{
+headers.put(Constants.BUNDLE_SYMBOLICNAME, "should.fail");
+fail.set(true);
+}
+catch (UnsupportedOperationException e)
+{
+// expected
+fail.set(false);
+}
+return Optional.empty();
+};
+testFramework = Atomos.newAtomos(attemptModification).newFramework(
+Map.of(Constants.FRAMEWORK_STORAGE, 
storage.toFile().getAbsolutePath()));
+testFramework.start();
+if (fail.get())
+{
+Assertions.fail("Was able to modify the existing headers");
+}
+}
+
+@Test
+void testBundleWithCustomHeader(@TempDir Path storage) throws 
BundleException, InterruptedException
+{
+HeaderProvider headerProvider = (
+location, headers) -> {
+headers = new HashMap<>(headers);
+headers.put("X-TEST", location);
+return 

[felix-atomos] branch manifestProvider updated (d9a19d3 -> 871726a)

2021-02-17 Thread pauls
This is an automated email from the ASF dual-hosted git repository.

pauls pushed a change to branch manifestProvider
in repository https://gitbox.apache.org/repos/asf/felix-atomos.git.


from d9a19d3  Defensively copy provided headers to avoid modifications at 
runtime and to ensure we can modify the result.
 add 871726a  Add another wait for stop and only recalculate requires if 
needed

No new revisions were added by this update.

Summary of changes:
 .../tests/classpath/service/test/ClasspathLaunchTest.java  |  3 ++-
 .../org/apache/felix/atomos/impl/modules/AtomosModules.java| 10 +-
 2 files changed, 11 insertions(+), 2 deletions(-)



[felix-atomos] branch manifestProvider updated (3ba79d2 -> d9a19d3)

2021-02-17 Thread pauls
This is an automated email from the ASF dual-hosted git repository.

pauls pushed a change to branch manifestProvider
in repository https://gitbox.apache.org/repos/asf/felix-atomos.git.


from 3ba79d2  Add more wait for stop and fix some javadoc
 add d9a19d3  Defensively copy provided headers to avoid modifications at 
runtime and to ensure we can modify the result.

No new revisions were added by this update.

Summary of changes:
 .../java/org/apache/felix/atomos/impl/base/AtomosBase.java | 14 ++
 1 file changed, 10 insertions(+), 4 deletions(-)



[felix-atomos] branch manifestProvider updated (66d0ed6 -> 3ba79d2)

2021-02-17 Thread pauls
This is an automated email from the ASF dual-hosted git repository.

pauls pushed a change to branch manifestProvider
in repository https://gitbox.apache.org/repos/asf/felix-atomos.git.


from 66d0ed6  Add wait for stop to test
 add 3ba79d2  Add more wait for stop and fix some javadoc

No new revisions were added by this update.

Summary of changes:
 .../org/apache/felix/atomos/tests/index/bundles/IndexLaunchTest.java  | 3 ++-
 atomos/src/main/java/org/apache/felix/atomos/Atomos.java  | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)



[felix-atomos] branch manifestProvider updated (1737e86 -> 66d0ed6)

2021-02-17 Thread pauls
This is an automated email from the ASF dual-hosted git repository.

pauls pushed a change to branch manifestProvider
in repository https://gitbox.apache.org/repos/asf/felix-atomos.git.


from 1737e86  Add more tests for HeaderProvider
 add 66d0ed6  Add wait for stop to test

No new revisions were added by this update.

Summary of changes:
 .../felix/atomos/tests/modulepath/service/ModulepathLaunchTest.java| 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)