Skip to content

[FELIX-5832] Only handle ConfigurationEvents for config objects managed by us #134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10,000 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
f5fa6af
FELIX-5457 : [R7] Logger Support. Pass in bundle as well
cziegeler Oct 30, 2017
2eecc14
FELIX-5457 : Logger Support
cziegeler Nov 2, 2017
39e328e
FELIX-5455 : [R7] Constructor Injection
cziegeler Nov 2, 2017
9770da8
Update changelog
cziegeler Nov 2, 2017
367495a
FELIX-5736 : forward custom properties in a configuration to HttpRunt…
cziegeler Nov 2, 2017
9f3a098
FELIX-5736 : forward custom properties in a configuration to HttpRunt…
cziegeler Nov 2, 2017
1b234cd
FELIX-5740 : Update to jetty 9.3.22.v20171030
cziegeler Nov 2, 2017
fbdac7e
[maven-release-plugin] prepare release org.apache.felix.http.jetty-3.4.6
cziegeler Nov 2, 2017
01fee57
[maven-release-plugin] prepare for next development iteration
cziegeler Nov 2, 2017
4443a8e
Update to latest jetty snapshot
cziegeler Nov 2, 2017
041bb5b
FELIX-5740 : Update to jetty 9.3.22.v20171030
cziegeler Nov 2, 2017
14654f2
FELIX-5742: Add a felix.detect.jpms property that maps to jpms and us…
karlpauls Nov 7, 2017
b8086f1
Update jetty version
cziegeler Nov 8, 2017
5644991
FELIX-5455 : [R7] Constructor Injection
cziegeler Nov 8, 2017
3291042
FELIX-5730 : Different separators in localization attribute
cziegeler Nov 8, 2017
0f5f5bb
FELIX-5729 : NoSuchFieldError when @Reference referenceInterface type…
cziegeler Nov 8, 2017
696eaa4
FELIX-5464 : java.lang.NullPointerException at org.apache.felix.scrpl…
cziegeler Nov 8, 2017
92d647c
FELIX-5739 : Strange behaviour with Lazy-ActivationPolicy and autostart
cziegeler Nov 9, 2017
3bb0015
FELIX-5739 : Strange behaviour with Lazy-ActivationPolicy and autostart
cziegeler Nov 9, 2017
66bf4c7
Update changelog
karlpauls Nov 10, 2017
fdb7994
Update changelog
karlpauls Nov 10, 2017
23ccb31
Update to latest gogo and jline
karlpauls Nov 10, 2017
28d6f14
Update to latest gogo and jline and update changelog
karlpauls Nov 10, 2017
abeb41b
Use resolver 1.14.0
karlpauls Nov 10, 2017
485419f
[maven-release-plugin] prepare release org.apache.felix.framework-5.6.10
karlpauls Nov 10, 2017
ae9df05
[maven-release-plugin] prepare for next development iteration
karlpauls Nov 10, 2017
90b6a8c
[maven-release-plugin] prepare release org.apache.felix.main-5.6.10
karlpauls Nov 10, 2017
a558604
[maven-release-plugin] prepare for next development iteration
karlpauls Nov 10, 2017
517be32
Update dependency for release
karlpauls Nov 10, 2017
0332c6c
[maven-release-plugin] prepare release org.apache.felix.main.distribu…
karlpauls Nov 10, 2017
3c2764c
[maven-release-plugin] prepare for next development iteration
karlpauls Nov 10, 2017
b37ef81
Support null default values for Converter
bosschaert Nov 14, 2017
6ab0166
Update to converter test
bosschaert Nov 14, 2017
0c1c9cf
Fix default handling in Converter
bosschaert Nov 14, 2017
2c152df
Fix Converter default handling for collections
bosschaert Nov 14, 2017
cf69b1c
Update to latest converter and add handling of special cases incl tes…
cziegeler Nov 14, 2017
29ffbe5
Implement HTTP request logging. This closes #127
Nov 14, 2017
552d840
Fix missing import
Nov 14, 2017
1c6b006
FELIX-5744 Felix HTTP Jetty does not support request logging
Nov 14, 2017
ec3aeac
Update to latest OSGi API. Rev 05584aa
cziegeler Nov 15, 2017
478bc08
FELIX-5745 : Empty collections should be allowed as property value
cziegeler Nov 15, 2017
90402e6
FELIX-5745 : Empty collections should be allowed as property value
cziegeler Nov 15, 2017
083d232
Update logging, make log service optional
cziegeler Nov 15, 2017
bdda9f1
Updates to latest OSGi API
cziegeler Nov 15, 2017
9dbb9fe
Updates to latest OSGi API
cziegeler Nov 15, 2017
97aad30
Fix conversion of empty array to untyped collection
cziegeler Nov 15, 2017
960a68a
Remove todo statements
cziegeler Nov 15, 2017
b093dee
Move OSGi Converter Implementation to OSGi package to make it usable …
bosschaert Nov 16, 2017
6fa474b
Use latest converter
cziegeler Nov 16, 2017
1a469ae
Remove some empty directories
bosschaert Nov 16, 2017
34d86d1
Fix live map conversion
bosschaert Nov 16, 2017
21e5b86
Fix an issue with the converter Map Delegate.
bosschaert Nov 16, 2017
c74b5c3
Support additional collection interfaces in the converter.
bosschaert Nov 16, 2017
dad4f57
Converter fixes to get the OSGi CT to pass
bosschaert Nov 17, 2017
02699f3
Updates to the Converter to handle name mangling better.
bosschaert Nov 17, 2017
8bc2592
Converter fixes needed to pass the OSGi Converter CT.
bosschaert Nov 17, 2017
c2088c1
Additional fixes to the converter
bosschaert Nov 17, 2017
d56eeca
Bring OSGi converter API to avoid circular dependency
bosschaert Nov 17, 2017
db8e78e
Fix to Felix Converter to pass CT
bosschaert Nov 17, 2017
1cd82a2
FELIX-5296 : Implement Http Whiteboard Service Updates (RFC 223)
cziegeler Nov 20, 2017
9ce111a
FELIX-5747 : Implement proprietary whiteboard based on R7 whiteboard
cziegeler Nov 21, 2017
634fca9
FELIX-5747 : Implement proprietary whiteboard based on R7 whiteboard
cziegeler Nov 21, 2017
f26edd7
FELIX-5748 : Remove ExtHttpManager support
cziegeler Nov 21, 2017
7d12fcd
FELIX-5747 : Implement proprietary whiteboard based on R7 whiteboard
cziegeler Nov 21, 2017
2571942
FELIX-5748 : Remove ExtHttpManager support
cziegeler Nov 21, 2017
f23d2f5
FELIX-5746 : Make optional dependencies runtime optional
cziegeler Nov 21, 2017
739d96b
FELIX-5746 : Make optional dependencies runtime optional
cziegeler Nov 21, 2017
27185d0
FELIX-5746 : Make optional dependencies runtime optional
cziegeler Nov 21, 2017
f757e8c
FELIX-5746 : Make optional dependencies runtime optional
cziegeler Nov 21, 2017
5c231cb
FELIX-5746 : Make optional dependencies runtime optional
cziegeler Nov 21, 2017
49757a9
Use latest R7 API snapshots directly
cziegeler Nov 22, 2017
56ad597
FELIX-5457 : Logger Support
cziegeler Nov 24, 2017
a186bf5
FELIX-5753 : Wrong require capability for http whiteboard
cziegeler Nov 28, 2017
05f1e3a
[maven-release-plugin] prepare release org.apache.felix.http.sslfilte…
cziegeler Nov 28, 2017
08a1504
[maven-release-plugin] prepare for next development iteration
cziegeler Nov 28, 2017
f725ad2
[Converter] Implementation of live collections and unit tests for these.
bosschaert Nov 29, 2017
534a1e5
[Converter] Fix some of the generics.
bosschaert Nov 29, 2017
0fb8f15
Fix synchronization issue
cziegeler Nov 30, 2017
42bfa64
Fixed a sync problem related to the change count
cziegeler Nov 30, 2017
3836d20
[converter] update the source to follow OSGi formatting guidelines
bosschaert Dec 1, 2017
dc803b5
[Converter] Improved name mangling implementation committed on behalf…
bosschaert Dec 1, 2017
2be208a
Update change count handling
cziegeler Dec 1, 2017
5b558aa
Update change count handling
cziegeler Dec 1, 2017
2c99b70
Update change count handling
cziegeler Dec 1, 2017
bd0b3f3
[converter] fix compilation error on java 7
bosschaert Dec 1, 2017
e76ac33
Update to latest converter
cziegeler Dec 4, 2017
f335654
FELIX-5755 : Servlet API should be optional
cziegeler Dec 5, 2017
8e67e56
FELIX-5755 : Servlet API should be optional
cziegeler Dec 5, 2017
6be2cb2
[maven-release-plugin] prepare release org.apache.felix.inventory-1.0.6
karlpauls Dec 5, 2017
6b948d4
[maven-release-plugin] prepare for next development iteration
karlpauls Dec 5, 2017
ac1ce0c
[converter] update to the latest OSGi API.
bosschaert Dec 7, 2017
ab24474
[maven-release-plugin] prepare release org.apache.felix.http.jetty-3.4.8
karlpauls Dec 7, 2017
a21f695
[maven-release-plugin] prepare for next development iteration
karlpauls Dec 7, 2017
a84e25b
FELIX-5754: remove an unnessary continutation from the system package…
karlpauls Dec 7, 2017
fc81481
FELIX-5759: map protocol instead of URLHandler to URL for builtin han…
karlpauls Dec 7, 2017
6bfce26
FELIX-5712 set correct website url for bundle plugin documentation
stefanseifert Dec 8, 2017
cf5672e
FELIX-5760 Update to latest bnd 3.5.0
Dec 11, 2017
3791bca
FELIX-5592 Maven bundle plugin does not support Java 9 Multi-Release …
Dec 11, 2017
24236d7
FELIX-5592 Fix missing = in fixupmessages directive
Dec 12, 2017
ec86c46
FELIX-5592 Ensure user can override fixups:
Dec 12, 2017
69f1bad
FELIX-5760 Update to bnd version 3.4
Dec 12, 2017
f42b50d
Update changelog
karlpauls Dec 13, 2017
92203f8
[maven-release-plugin] prepare release org.apache.felix.scr-2.0.14
karlpauls Dec 13, 2017
78bbf74
[maven-release-plugin] prepare for next development iteration
karlpauls Dec 13, 2017
cfc0525
[maven-release-plugin] prepare release maven-bundle-plugin-3.4.0
karlpauls Dec 14, 2017
32f2199
[maven-release-plugin] prepare for next development iteration
karlpauls Dec 14, 2017
71ee26a
FELIX-5764 Update to bnd version 3.5
Dec 19, 2017
5f9e349
[FELIX-5766] Bring Converter sister projects up to date with recent c…
Dec 20, 2017
cb0882b
add missing goals
stefanseifert Dec 22, 2017
c5d2d3d
do not link to wiki pages which are supposedly even older than the fe…
stefanseifert Dec 22, 2017
83a98a0
update changelog
stefanseifert Jan 3, 2018
72be38d
[maven-release-plugin] prepare release maven-bundle-plugin-3.5.0
stefanseifert Jan 3, 2018
6eddc46
[maven-release-plugin] prepare for next development iteration
stefanseifert Jan 3, 2018
782e3ed
FELIX-5768: Added test for this issue.
Jan 7, 2018
94d6daa
FELIX-5768: DM Lambda stop callback not being called.
Jan 7, 2018
b740de5
Update changelog
cziegeler Jan 8, 2018
281133f
FELIX-5460 : DTO Updates - add service reference to ComponentConfigur…
cziegeler Jan 8, 2018
7b3cae5
FELIX-5769 : SCR should not bind prototype_required reference to bund…
cziegeler Jan 9, 2018
6e89927
FELIX-5769 : SCR should not bind prototype_required reference to bund…
cziegeler Jan 9, 2018
cdbb181
[converter] Avoid losing generics information in nested types
bosschaert Jan 9, 2018
ea17d18
[converter] Avoid losing generics information in nested types
bosschaert Jan 9, 2018
d024a84
Update the converter codebase to the latest version from OSGi.
bosschaert Jan 10, 2018
c251030
Felix Converter - support for converting to marker annotations.
bosschaert Jan 10, 2018
5c6ef9e
Felix Converter - Fix a number of coding style issues. No functionali…
bosschaert Jan 10, 2018
1577dc0
FELIX-5771 : Metatype generation via bnd plugin creates incorrect fil…
cziegeler Jan 11, 2018
8911a59
[maven-release-plugin] prepare release org.apache.felix.scr.generator…
cziegeler Jan 11, 2018
6ae1210
[maven-release-plugin] prepare for next development iteration
cziegeler Jan 11, 2018
b450aef
Use generator 1.18.0
cziegeler Jan 11, 2018
eefd19f
[maven-release-plugin] prepare release maven-scr-plugin-1.26.0
cziegeler Jan 11, 2018
f960f98
[maven-release-plugin] prepare for next development iteration
cziegeler Jan 11, 2018
c764a74
Switch to generator 1.18.1-SNAPSHOT
cziegeler Jan 11, 2018
e60669b
Use generator 1.18.0
cziegeler Jan 11, 2018
6a0bf53
[maven-release-plugin] prepare release org.apache.felix.scr.ant-1.18.0
cziegeler Jan 11, 2018
6288903
[maven-release-plugin] prepare for next development iteration
cziegeler Jan 11, 2018
ad520db
Switch to generator 1.18.1-SNAPSHOT
cziegeler Jan 11, 2018
ee0e338
Use generator 1.18.0
cziegeler Jan 11, 2018
d555506
[maven-release-plugin] prepare release org.apache.felix.scr.bnd-1.9.0
cziegeler Jan 11, 2018
e5a043e
[maven-release-plugin] prepare for next development iteration
cziegeler Jan 11, 2018
07b97a4
Switch to generator 1.18.1-SNAPSHOT
cziegeler Jan 11, 2018
d6232f9
New SCR component commands
Jan 11, 2018
0469113
SCR commands: cleanup minor output glitch
Jan 12, 2018
36c2710
FELIX-5733 : Update implementation to EventAdmin 1.4 (R7)
cziegeler Jan 16, 2018
6bbb41b
Fix NPE for initial configurations and ignore internal properties
cziegeler Jan 19, 2018
4ca423d
FELIX-5775 : Service properties not updated for lazy service when con…
cziegeler Jan 20, 2018
432efad
FELIX-5775 : Service properties not updated for lazy service when con…
cziegeler Jan 20, 2018
287590b
FELIX-5776 : Memory Leak by Config Admin. Adding basic test for facto…
cziegeler Jan 23, 2018
1b0aca8
FELIX-5776 : Memory Leak by Config Admin. Adding basic test for facto…
cziegeler Jan 23, 2018
7d3ee54
FELIX-5776 : Memory Leak by Config Admin. Adding basic test for facto…
cziegeler Jan 23, 2018
37ccf5e
FELIX-5778 : Refactor factory configuration handling
cziegeler Jan 24, 2018
84fd05f
FELIX-5778 : Refactor factory configuration handling
cziegeler Jan 24, 2018
b9ab61e
Require version and symbolic name for initial configurations (not in …
cziegeler Jan 24, 2018
fecba1d
Update permission handling
cziegeler Jan 26, 2018
51a5f20
[converter] Some fixes to pass the OSGi CT tests.
bosschaert Jan 26, 2018
8ded84f
FELIX-5778 : Refactor factory configuration handling. Remove unused b…
cziegeler Jan 26, 2018
3fdc405
FELIX-5457 : Logger Support. Delegate to parent logger if log is disa…
cziegeler Jan 28, 2018
39394e8
Update to latest R7 api
cziegeler Jan 31, 2018
c4ab01c
Update to latest R7 api
cziegeler Jan 31, 2018
1673d2c
FELIX-5781 : Http endpoint property must be set
cziegeler Feb 1, 2018
12041a6
Add unit test for Version conversion.
bosschaert Feb 8, 2018
6166183
Correct typo in comment
cziegeler Feb 10, 2018
c2899c4
FELIX-5787 : Wrong port 433 instread of 443 used as default port for …
cziegeler Feb 10, 2018
1cc1298
FELIX-5787 : Wrong port 433 instread of 443 used as default port for …
cziegeler Feb 10, 2018
8403de7
FELIX-5351 : Close tracker before setting configurationmanager to nul…
cziegeler Feb 15, 2018
7664ea1
FELIX-5290 : [R7] Locking Configuration Records
cziegeler Feb 16, 2018
eacfc3a
Remove unused imports
cziegeler Feb 16, 2018
94c9579
FELIX-5789: make dynamic imports optional to prevent deadlocks.
karlpauls Feb 21, 2018
584c085
Update svn:ignore
karlpauls Feb 22, 2018
f6827f5
[maven-release-plugin] prepare release org.apache.felix.webconsole.pl…
karlpauls Feb 22, 2018
57e3ea2
[maven-release-plugin] prepare for next development iteration
karlpauls Feb 22, 2018
e14bf47
Merge FELIX-5601 into the r7 resolver, update to the latest OSGi sour…
karlpauls Feb 23, 2018
60eb6cd
Branch the framework for R7 work with updated osgi classes, removed p…
karlpauls Feb 23, 2018
42d0457
Update to parent pom version 4, add animal-sniffer, exclude transitiv…
karlpauls Feb 23, 2018
da63007
FELIX-5792: Add basic support for java.* exports and imports and remo…
karlpauls Feb 23, 2018
fea3857
FELIX-5793 : Update to Jetty 9.4.x
cziegeler Feb 26, 2018
dd9eebb
FELIX-5793 : Update to Jetty 9.4.x
cziegeler Feb 27, 2018
d1994b7
Remove unused imports
cziegeler Feb 27, 2018
a6c97ef
Add missing field for serialization
cziegeler Mar 2, 2018
db22db6
FELIX-5793 : Update to Jetty 9.4.x
cziegeler Mar 5, 2018
bd389e2
Initial contribution of Bundle Archive File Installer Extension
Mar 8, 2018
7bce10c
FELIX-5782 allow resolver errors to be introspected
rotty3000 Mar 8, 2018
b085fff
Update changelog for release
karlpauls Mar 9, 2018
05c5962
Update svn:ignore
karlpauls Mar 9, 2018
b05546d
[maven-release-plugin] prepare release org.apache.felix.resolver-1.16.0
karlpauls Mar 9, 2018
48586b5
[maven-release-plugin] prepare for next development iteration
karlpauls Mar 9, 2018
eb48bbf
FELIX-5803: Auto refresh uninstalled bundle graph if possible
karlpauls Mar 12, 2018
381f49f
FELIX-5798: Implement FrameworkWiringDTO
karlpauls Mar 12, 2018
52de272
FELIX-5804: Improve framework lookup for bundle protocol urls
karlpauls Mar 13, 2018
c047d3b
FELIX-5804: Improve framework lookup for bundle protocol urls
karlpauls Mar 13, 2018
6f2bbc5
Reformat some code
karlpauls Mar 13, 2018
4751ce6
[FELIX-5805][gogo][runtime] OOM caused by endless loop when parsing "]"
gnodet Mar 14, 2018
5ec08ea
[FELIX-5806] EventAdmin webconsole plugins displays wrong value for B…
gnodet Mar 14, 2018
f820b4c
[FELIX-5807] Do not hide the cause when a problem occurs in URLHandle…
gnodet Mar 14, 2018
21e98c6
FELIX-5807: Do not hide the cause when a problem occurs in URLHandler…
karlpauls Mar 14, 2018
f6003b5
FELIX-5808: Clean-up bundlecache manifest parsing and entry reading
karlpauls Mar 14, 2018
975a806
FELIX-5796: Implement multi-release jar support.
karlpauls Mar 14, 2018
525386e
FELIX-5809: Capture context for bundle: protocol urls if possible.
karlpauls Mar 14, 2018
c571a52
FELIX-5810: add sun.awt.www.content to the default search list for co…
karlpauls Mar 16, 2018
f76aaea
FELIX-5811: Prevent bundles from providing ee capabilities.
karlpauls Mar 16, 2018
8d6f7f2
FELIX-5797: Allow extension bundles to have imports and handle them l…
karlpauls Mar 16, 2018
1f911eb
FELIX-5797: Improve the check if we need to try to resolve pending ex…
karlpauls Mar 16, 2018
3aadaec
FELIX-5799: Catch Throwable instead of Exception when calling a servi…
karlpauls Mar 17, 2018
4dbe43e
FELIX-5808: Add a test case for the different kind of bundle revision…
karlpauls Mar 20, 2018
2f7bea9
Update to latest jetty snapshot
cziegeler Mar 20, 2018
6a3190a
FELIX-5812 : External session id differs from internal session id
cziegeler Mar 20, 2018
74275ae
FELIX-5812 : External session id differs from internal session id
cziegeler Mar 20, 2018
8f4d067
FELIX-5808: Add checks for proper manifest header handling and native…
karlpauls Mar 20, 2018
23c159c
FELIX-5813 : EventAdmin async threads should be named. Apply patch fr…
cziegeler Mar 21, 2018
447c6f5
FELIX-5814 : Unstable service id should not be used for session attri…
cziegeler Mar 22, 2018
7c0d4b8
FELIX-5814 : Unstable service id should not be used for session attri…
cziegeler Mar 22, 2018
2ac9171
FELIX-5815 : Duplicate events send to session listener for http context
cziegeler Mar 22, 2018
09bc050
FELIX-5815 : Duplicate events send to session listener for http context
cziegeler Mar 22, 2018
49fb461
FELIX-5819 : Container session should not be invalidated
cziegeler Mar 29, 2018
f86428f
FELIX-5819 : Container session should not be invalidated
cziegeler Mar 29, 2018
4354733
FELIX-5716: Applied the patch attached to the jira issue.
Mar 29, 2018
597c8ad
FELIX-5818: Only resolve fragments that are required on dynamic import.
karlpauls Apr 3, 2018
743f391
FELIX-5800: Clean-up default properties handling to make it easier to…
karlpauls Apr 3, 2018
885effb
FELIX-5816: make random configurable (SecureRandom v.s. normal) for u…
karlpauls Apr 3, 2018
d983d21
Set version to 5.9.0-SNAPSHOT, make tests work with java6, and remove…
karlpauls Apr 3, 2018
e38df75
FELIX-5819 : Add test case
cziegeler Apr 4, 2018
acb3b23
FELIX-5819 : Add test case
cziegeler Apr 4, 2018
9676863
FELIX-5820 : Update parent pom
cziegeler Apr 4, 2018
72890e1
Adjust to latest parent pom and remove dependency to easymock
cziegeler Apr 4, 2018
cc6d160
Adjust to latest parent pom and remove dependency to easymock
cziegeler Apr 4, 2018
398f864
Update to latest parent pom
cziegeler Apr 4, 2018
dd810ac
[FELIX-5821][gogo][runtime] Hitting Ctrl+C may kill the console outpu…
gnodet Apr 4, 2018
c24321c
Update to latest parent pom 5-SNAPSHOT.
karlpauls Apr 4, 2018
d58d091
FELIX-5793 : Update to Jetty 9.4.x
cziegeler Apr 4, 2018
ca7a330
[FELIX-5822][gogo][jline] Improve syntax of procedural functions
gnodet Apr 4, 2018
f54360d
FELIX-5823: Remove support for old multi-file bundle cache format.
karlpauls Apr 6, 2018
df2f114
[maven-release-plugin] prepare release org.apache.felix.gogo.runtime-…
gnodet Apr 9, 2018
30683d8
[maven-release-plugin] prepare for next development iteration
gnodet Apr 9, 2018
467dff5
[maven-release-plugin] prepare release org.apache.felix.gogo.jline-1.…
gnodet Apr 9, 2018
770f3e9
[maven-release-plugin] prepare for next development iteration
gnodet Apr 9, 2018
a51c356
Fix a comment
karlpauls Apr 13, 2018
3b1e849
Add a method for getCanonicalPath and generic PrivilegedActivions to …
karlpauls Apr 13, 2018
3e970fc
FELIX-5800: calculate system package exports at runtime on jpms, opti…
karlpauls Apr 13, 2018
bfc541e
FELIX-5800: add some simple test to see that we have at least some sy…
karlpauls Apr 13, 2018
1d388e4
FELIX-5824: Use VersionRange from OSGi and remove our own.
karlpauls Apr 13, 2018
ed1d547
FELIX-5825: Use ReentrantLock inside WeakZipFileFactory/WeakZipFile a…
karlpauls Apr 13, 2018
659c640
FELIX-5826: Remove FelixBundleContext interface.
karlpauls Apr 13, 2018
8f6cdcd
FELIX-5800: Add animal sniffer annotations
karlpauls Apr 13, 2018
e220bc3
FELIX-5827: Use less synchronized in the BundleWiring and BundleClass…
karlpauls Apr 13, 2018
1efba85
Fix a parameter ordering mistake.
karlpauls Apr 13, 2018
51371a5
FELIX-5738 : EventAdmin IgnoreTopic config. property doesn't support …
cziegeler Apr 16, 2018
22c331e
FELIX-5831 : Async/sync Thread Pool Ratio is not changeable at runtim…
cziegeler Apr 17, 2018
500fd28
Change JSON classloading and fix permissions. Apply patch provided by…
cziegeler Apr 19, 2018
53443ba
Update changelog
cziegeler Apr 19, 2018
4fa272a
[maven-release-plugin] prepare release felix-parent-5
cziegeler Apr 19, 2018
1eb4721
[maven-release-plugin] prepare for next development iteration
cziegeler Apr 19, 2018
afc29f9
[FELIX-5832] Only handle ConfigurationEvents for config objects manag…
cgdrake Apr 19, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.checkstyle
.classpath
.pmd
.project
.ruleset
.settings/
target/
*.iml
*.iws
*.ipr
velocity.log
maven-eclipse.xml
.externalToolBuilders
.idea/
*~
dependency-reduced-pom.xml
6 changes: 0 additions & 6 deletions build_run.sh

This file was deleted.

101 changes: 101 additions & 0 deletions bundlerepository.osgi-ct/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.felix</groupId>
<artifactId>felix-parent</artifactId>
<version>2.1</version>
<relativePath>../../pom/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>bundle</packaging>
<name>Apache Felix Bundle Repository - OSGi CT integration</name>
<description>
Bundle repository service OSGi CT integration. To run a Repository implementation in the
OSGi CT, a small integration layer needs to be provided by the implementation that knows
how to prime the repository with the provided repository xml file.
</description>
<artifactId>org.apache.felix.bundlerepository.osgi-ct</artifactId>
<version>2.0.3-SNAPSHOT</version>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/bundlerepository.osgi-ct</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/bundlerepository.osgi-ct</developerConnection>
<url>http://svn.apache.org/repos/asf/felix/trunk/bundlerepository.osgi-ct</url>
</scm>
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<version>5.0.0</version>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
<version>5.0.0</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>org.apache.felix.bundlerepository</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<target>1.5</target>
<source>1.5</source>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.4</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package></Export-Package>
<Private-Package>org.apache.felix.bundlerepository.osgict</Private-Package>
<Bundle-Activator>org.apache.felix.bundlerepository.osgict.Activator</Bundle-Activator>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludeSubProjects>false</excludeSubProjects>
<useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
<useMavenDefaultExcludes>true</useMavenDefaultExcludes>
<excludes>
<param>doc/*</param>
<param>maven-eclipse.xml</param>
<param>.checkstyle</param>
<param>.externalToolBuilders/*</param>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.felix.bundlerepository.osgict;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Dictionary;
import java.util.Hashtable;

import org.apache.felix.bundlerepository.RepositoryAdmin;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import org.osgi.framework.Filter;
import org.osgi.framework.ServiceReference;
import org.osgi.util.tracker.ServiceTracker;

/**
* This Activator implements the required glue between an OSGi Repository implementation and the
* OSGi CT. It is needed to prime the repository with the data needed by the CT and works as
* follows:
* <ul>
* <li>The CT registers a String service with as property {@code repository-xml}. This service is
* literally the repository XML needed by the test, and must be fed to the repository implementation.
* <li>When that's done this glue code registers another service with as property
* {@code repository-populated} to signal to the CT that the priming is done.
* </ul>
*/
public class Activator implements BundleActivator
{
private BundleContext bundleContext;
private ServiceTracker<String, String> repoXMLTracker;
private ServiceTracker<RepositoryAdmin, RepositoryAdmin> repoTracker;

public void start(BundleContext context) throws Exception
{
bundleContext = context;
Filter f = context.createFilter("(&(objectClass=java.lang.String)(repository-xml=*))");
repoXMLTracker = new ServiceTracker<String, String>(context, f, null) {
@Override
public String addingService(ServiceReference<String> reference)
{
try
{
String xml = super.addingService(reference);
handleRepositoryXML(reference, xml);
return xml;
}
catch (Exception e)
{
throw new RuntimeException(e);
}
}
};
repoXMLTracker.open();
}

public void stop(BundleContext context) throws Exception
{
repoXMLTracker.close();
if (repoTracker != null)
repoTracker.close();
}

private void handleRepositoryXML(ServiceReference<String> reference, String xml) throws Exception
{
File tempXMLFile = bundleContext.getDataFile("repo-" + reference.getProperty("repository-xml") + ".xml");
writeXMLToFile(tempXMLFile, xml);

repoTracker = new ServiceTracker<RepositoryAdmin, RepositoryAdmin>(bundleContext, RepositoryAdmin.class, null);
repoTracker.open();
RepositoryAdmin repo = repoTracker.waitForService(30000);
repo.addRepository(tempXMLFile.toURI().toURL());
tempXMLFile.delete();

Dictionary<String, Object> props = new Hashtable<String, Object>();
props.put("repository-populated", reference.getProperty("repository-xml"));
bundleContext.registerService(String.class, "", props);
}

private void writeXMLToFile(File tempXMLFile, String xml) throws IOException
{
FileOutputStream fos = new FileOutputStream(tempXMLFile);
try
{
fos.write(xml.getBytes());
}
finally
{
fos.close();
}
}
}
32 changes: 32 additions & 0 deletions bundlerepository/DEPENDENCIES
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Apache Felix OSGi Bundle Repository
Copyright 2014 The Apache Software Foundation

This software was developed at the Apache Software Foundation
(http://www.apache.org) and may have dependencies on other
Apache software licensed under Apache License 2.0.

I. Included Third-Party Software

This product includes software from http://kxml.sourceforge.net.
Copyright (c) 2002,2003, Stefan Haustein, Oberhausen, Rhld., Germany.
Licensed under BSD License.

This product includes software developed at
The OSGi Alliance (http://www.osgi.org/).
Copyright (c) OSGi Alliance (2000, 2012).
Licensed under the Apache License 2.0.

II. Used Third-Party Software

This product uses software developed at
The OSGi Alliance (http://www.osgi.org/).
Copyright (c) OSGi Alliance (2000, 2012).
Licensed under the Apache License 2.0.

This product uses software developed at
The Codehaus (http://www.codehaus.org)
Licensed under the Apache License 2.0.

III. License Summary
- Apache License 2.0
- BSD License
File renamed without changes.
19 changes: 19 additions & 0 deletions bundlerepository/LICENSE.kxml2
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2002,2003, Stefan Haustein, Oberhausen, Rhld., Germany

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
16 changes: 16 additions & 0 deletions bundlerepository/NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Apache Felix OSGi Bundle Repository
Copyright 2014 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Licensed under the Apache License 2.0.

This product includes software from http://kxml.sourceforge.net.
Copyright (c) 2002,2003, Stefan Haustein, Oberhausen, Rhld., Germany.
Licensed under BSD License.

This product includes software developed at
The OSGi Alliance (http://www.osgi.org/).
Copyright (c) OSGi Alliance (2000, 2012).
Licensed under the Apache License 2.0.

Loading