You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by cs...@apache.org on 2019/09/11 16:20:52 UTC
[aries-jax-rs-whiteboard] branch master updated: [ARIES-1928] These
are still needed
This is an automated email from the ASF dual-hosted git repository.
csierra pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/aries-jax-rs-whiteboard.git
The following commit(s) were added to refs/heads/master by this push:
new 14d481f [ARIES-1928] These are still needed
14d481f is described below
commit 14d481f5442f54515093e2d702cd5ca0d2d1a7b4
Author: Carlos Sierra <cs...@apache.org>
AuthorDate: Wed Sep 11 18:19:26 2019 +0200
[ARIES-1928] These are still needed
to be able to track which the services that triggered the registrations.
---
.../org/apache/aries/jax/rs/whiteboard/internal/Whiteboard.java | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/internal/Whiteboard.java b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/internal/Whiteboard.java
index 733adec..f4cc52c 100644
--- a/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/internal/Whiteboard.java
+++ b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/internal/Whiteboard.java
@@ -615,6 +615,14 @@ public class Whiteboard {
Map<String, Object> properties = getApplicationProperties(
serviceReference);
+ properties.put(
+ "original.service.id",
+ serviceReference.getProperty("service.id"));
+
+ properties.put(
+ "original.service.bundleid",
+ serviceReference.getProperty("service.bundleid"));
+
return
getCxfExtensions(tuple.getCachingServiceReference()).
flatMap(extensions ->