Skip to content
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

Felix Android Support #155

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
b244c3d
[maven-release-plugin] prepare release org.apache.felix.http.jetty-4.0.0
cziegeler Apr 26, 2018
c5b90e7
[maven-release-plugin] prepare for next development iteration
cziegeler Apr 26, 2018
7a82fda
Use released converter
cziegeler Apr 26, 2018
cf49215
[maven-release-plugin] prepare release org.apache.felix.configurator-…
cziegeler Apr 27, 2018
1eca303
[maven-release-plugin] prepare for next development iteration
cziegeler Apr 27, 2018
fabd361
Use correct dependency for osgi promises
cziegeler Apr 27, 2018
502e622
FELIX-5841 : Update webconsole plugin to DS 1.4 (R7)
cziegeler Apr 27, 2018
d35bba8
Fix up some javadoc in preparation for the release.
bosschaert May 1, 2018
f28b76c
Use Felix Parent Pom v5
bosschaert May 2, 2018
56d3459
[maven-release-plugin] prepare release org.apache.felix.utils-1.11.0
bosschaert May 2, 2018
34a961d
[maven-release-plugin] prepare for next development iteration
bosschaert May 2, 2018
699fcec
Update trunk to the osgi-r7 resolver
karlpauls May 3, 2018
1878353
Update trunk to the osgi-r7 framework
karlpauls May 3, 2018
dba7b60
Delete empty osgi-r7 dir.
karlpauls May 3, 2018
4375b59
Update to latest parent pom version 5
karlpauls May 3, 2018
0b08a65
Update to latest parent pom version 5
karlpauls May 3, 2018
b3c9531
Update to latest parent pom version 5 and current framework snapshot …
karlpauls May 3, 2018
41814af
Set version as 5.9.0-SNAPSHOT
karlpauls May 3, 2018
28fcc0b
FELIX-5773 : Update implementation to EventAdmin 1.4 (R7)
cziegeler May 4, 2018
f4fd49d
Avoid dependency to osgi.compendium
cziegeler May 4, 2018
1f78518
[maven-release-plugin] prepare release org.apache.felix.eventadmin-1.5.0
cziegeler May 4, 2018
a8df099
[maven-release-plugin] prepare for next development iteration
cziegeler May 4, 2018
3055edb
FELIX-5779 : Update metatype to R7
cziegeler May 4, 2018
b26785e
[maven-release-plugin] prepare release org.apache.felix.metatype-1.2.0
cziegeler May 4, 2018
a6ae219
[maven-release-plugin] prepare for next development iteration
cziegeler May 4, 2018
43b256b
Update changelog.txt
bosschaert May 8, 2018
062c941
prepare systemready contrib
dulvac May 8, 2018
62e1003
FELIX-5845 : org.apache.felix.cm.impl.persistence.PersistenceManagerP…
cziegeler May 8, 2018
fec3651
FELIX-5848 [contribution] Contribute System Ready to felix
dulvac May 9, 2018
8bb154a
Add test for FELIX-5849
cziegeler May 10, 2018
9a2b07b
More info to the FrameworkStartCheck
dulvac May 10, 2018
4106c73
Update tests to junit annotations
cziegeler May 11, 2018
3e2fa37
[FELIX-5855] Support array subscript in expander
gnodet May 17, 2018
a2d37b6
[FELIX-5856] Coercion between Object[] and List
gnodet May 17, 2018
ad104da
[FELIX-5856] Fix coercion between typed array and List
gnodet May 17, 2018
56ba0ac
[FELIX-5857] Provide a context classloader on the session to help wit…
gnodet May 17, 2018
a25c2e1
[logbackend] first commit
rotty3000 May 18, 2018
d99ae9f
[maven-release-plugin] prepare release org.apache.felix.configadmin-1…
cziegeler May 23, 2018
764acc6
[maven-release-plugin] prepare for next development iteration
cziegeler May 23, 2018
bbeda1c
Merge branch 'FELIX-5860' into trunk
gnodet May 24, 2018
43874dd
Revert "[FELIX-5860] Upgrade to OSGi R7"
gnodet May 24, 2018
6c9ecce
Update to felix-parent 5
jbonofre May 24, 2018
3736869
[maven-release-plugin] prepare release org.apache.felix.connect-0.2.0
jbonofre May 24, 2018
6e5cde8
[maven-release-plugin] prepare for next development iteration
jbonofre May 24, 2018
4135f37
Cancel Felix Connect 0.2.0 release
jbonofre May 25, 2018
2dcfb78
Update NOTICE file using Felix Connect name and adding ASF copyright
jbonofre May 25, 2018
c630981
Update NOTICE
jbonofre May 25, 2018
01b05ea
[maven-release-plugin] prepare release org.apache.felix.connect-0.2.0
jbonofre May 25, 2018
b3c5be9
[maven-release-plugin] prepare for next development iteration
jbonofre May 25, 2018
db14dec
[logback] rename and add integration test suite
rotty3000 May 28, 2018
2755274
[logback] do less work during release/deploy
rotty3000 May 28, 2018
1d2716f
FELIX-5848 FrameworkStartCheck and general improvements
dulvac Jun 4, 2018
0f47585
[FELIX-5794] maven-bundle-plugin fails to parse meta-persistence
gnodet Jun 8, 2018
018aeba
Make the FileInstall BAR plugin easier to build
Jun 11, 2018
38bfba7
FELIX-5865 : SCR r7 logging support doesn't work on equinox framework
cziegeler Jun 12, 2018
0e4a0f9
[logback] update project configurations
rotty3000 Jun 12, 2018
a8fe38f
FELIX-5867 reference field of type Logger for service LoggerFactory i…
rotty3000 Jun 12, 2018
e86f3d1
FELIX-5866 : scr does not respect the log level set in LoggerAdmin
cziegeler Jun 13, 2018
111ed75
Update changelog
cziegeler Jun 13, 2018
9bd7fbe
[FELIX-5869] [goto][jline] Weird error if the script contains unicode…
gnodet Jun 14, 2018
1a176e7
[maven-release-plugin] prepare release gogo-parent-3
gnodet Jun 14, 2018
bfc2b3d
[maven-release-plugin] rollback the release of gogo-parent-3
gnodet Jun 14, 2018
8090dba
Upgrade to latest felix parent
gnodet Jun 14, 2018
caa0628
[maven-release-plugin] prepare release gogo-parent-3
gnodet Jun 14, 2018
f2ea0c3
[maven-release-plugin] prepare for next development iteration
gnodet Jun 14, 2018
433a0c1
Upgrade to latest parent
gnodet Jun 14, 2018
de41d04
Upgrade to latest felix parent, fix poms
gnodet Jun 14, 2018
f75edf1
[maven-release-plugin] prepare release gogo-parent-4
gnodet Jun 14, 2018
78bb837
[maven-release-plugin] prepare for next development iteration
gnodet Jun 14, 2018
1508cb8
Upgrade to gogo-parent 4
gnodet Jun 14, 2018
f809e9c
[maven-release-plugin] prepare release org.apache.felix.gogo.runtime-…
gnodet Jun 14, 2018
ebc1019
[maven-release-plugin] prepare for next development iteration
gnodet Jun 14, 2018
b02d06a
Upgrade to gogo-parent 4
gnodet Jun 14, 2018
135f6f6
[maven-release-plugin] prepare release org.apache.felix.gogo.shell-1.1.0
gnodet Jun 14, 2018
8c35aa1
[maven-release-plugin] prepare for next development iteration
gnodet Jun 14, 2018
ced5e62
[maven-release-plugin] prepare release org.apache.felix.gogo.jline-1.1.0
gnodet Jun 14, 2018
32169dd
[maven-release-plugin] prepare for next development iteration
gnodet Jun 14, 2018
9063278
[maven-release-plugin] prepare release maven-bundle-plugin-3.5.1
gnodet Jun 14, 2018
aa197fa
[maven-release-plugin] prepare for next development iteration
gnodet Jun 14, 2018
1454115
FELIX-5870: Don't allow relative path instructions in bundleclasspath…
karlpauls Jun 15, 2018
54d492f
FELIX-5800: fix a bug where we where using the wrong properties map.
karlpauls Jun 15, 2018
975b8ea
FELIX-5800: Fix a small bug when calculating osgi.ee on > java9.
karlpauls Jun 18, 2018
0a1e13e
FELIX-5828: Remove support for android.
karlpauls Jun 18, 2018
ebbdb24
cleanup old directories
rotty3000 Jun 21, 2018
227838f
[logback] pre-release preparations
rotty3000 Jun 21, 2018
307e56c
[logback] maven ignores
rotty3000 Jun 21, 2018
c48f499
[logback] maven ignores... really this time
rotty3000 Jun 21, 2018
8512cb2
[logback] isolate itests into own profile
rotty3000 Jun 21, 2018
c6d95de
[maven-release-plugin] prepare release org.apache.felix.logback.react…
rotty3000 Jun 21, 2018
0f64eda
[maven-release-plugin] prepare for next development iteration
rotty3000 Jun 21, 2018
0c7f0ed
FELIX-5800: minor refactoring to not do the prop sub twice.
karlpauls Jun 22, 2018
3164ceb
[logback] revert attempted release
rotty3000 Jun 22, 2018
592d3da
[logback] fix parent dependency so felix.logback can be released by i…
rotty3000 Jun 22, 2018
d36557e
[logback] fix parent
rotty3000 Jun 22, 2018
8a33559
[maven-release-plugin] prepare release org.apache.felix.logback-1.0.0
rotty3000 Jun 22, 2018
afb405e
[maven-release-plugin] prepare for next development iteration
rotty3000 Jun 22, 2018
0bfe4ca
FELIX-5872 Fix timing issue in FrameworkStartTest. Other fixes
cschneider Jun 25, 2018
0ec5078
FELIX-5873 - Remove servlet context select to fix servlet in karaf
cschneider Jun 26, 2018
cad8a5f
FELIX-5874: Make URLHandlersContentHandlerProxy.getBuiltIn return the…
karlpauls Jun 27, 2018
6bfe771
FELIX-5875: allow org.osgi.framework.os.name et.al. to be given via t…
karlpauls Jun 29, 2018
23f4109
Update framework version to 1.9
karlpauls Jun 29, 2018
2927f22
FELIX-5876 Update to Log Service Specification 1.4
rotty3000 Jul 2, 2018
35c829f
Update changelog for release
karlpauls Jul 3, 2018
d73f139
Update changelog for release
karlpauls Jul 3, 2018
706e9da
FELIX-5877: Add missing org.w3c.dom exports
karlpauls Jul 3, 2018
a400057
Update changelog for release
karlpauls Jul 3, 2018
20486ee
Update to gogo 1.1.0 and jansi 1.17.1
karlpauls Jul 3, 2018
25f90c7
Update changelog for release
karlpauls Jul 3, 2018
3f194f0
Update changelog for release
karlpauls Jul 3, 2018
f079c18
[maven-release-plugin] prepare release org.apache.felix.resolver-2.0.0
karlpauls Jul 3, 2018
bbb00b8
[maven-release-plugin] prepare for next development iteration
karlpauls Jul 3, 2018
ffd0c94
[maven-release-plugin] prepare release org.apache.felix.framework-6.0.0
karlpauls Jul 3, 2018
d38552b
[maven-release-plugin] prepare for next development iteration
karlpauls Jul 3, 2018
4a0ed76
[maven-release-plugin] prepare release org.apache.felix.main-6.0.0
karlpauls Jul 3, 2018
bca34dc
[maven-release-plugin] prepare for next development iteration
karlpauls Jul 3, 2018
95d7490
Set development version to 6.1.0-SNAPSHOT
karlpauls Jul 3, 2018
51172c5
Set development version to 2.1.0-SNAPSHOT
karlpauls Jul 3, 2018
4f69e23
Set development version to 6.1.0-SNAPSHOT
karlpauls Jul 3, 2018
012b216
Update dependencies for release
karlpauls Jul 3, 2018
d41f15f
[maven-release-plugin] prepare release org.apache.felix.main.distribu…
karlpauls Jul 3, 2018
28c752f
[maven-release-plugin] prepare for next development iteration
karlpauls Jul 3, 2018
d9bc53c
[log] remove dependency on ConfigurationAdmin added in FELIX-5876
rotty3000 Jul 3, 2018
c43a02b
Update dependencies after release
karlpauls Jul 3, 2018
31bdadf
[log] update changelog
rotty3000 Jul 4, 2018
c05b054
FELIX-5880 : Add a framework extension fragment which helps load Feli…
rotty3000 Jul 4, 2018
0b66567
[logback] add tests for felix log service
rotty3000 Jul 4, 2018
1dfc111
[logback] use equinox from maven central
rotty3000 Jul 4, 2018
f70eaf9
Update bnd version. Export packages by annotation
cschneider Jul 4, 2018
6feebd7
[log] make resolving config admin service dependency possible
rotty3000 Jul 5, 2018
1660ac0
[logback] sync README with the CMS page
rotty3000 Jul 6, 2018
f49f83b
[log] create a readme file for easier documentation maintenance (just…
rotty3000 Jul 6, 2018
269c00d
Update changelog
karlpauls Jul 9, 2018
bd6734d
[log] pre-release cleanup
rotty3000 Jul 9, 2018
94cdf49
[log.extension] pre-release cleanup
rotty3000 Jul 9, 2018
5d8c49d
[maven-release-plugin] prepare release org.apache.felix.log-1.2.0
rotty3000 Jul 9, 2018
40967c9
[maven-release-plugin] prepare for next development iteration
rotty3000 Jul 9, 2018
d0e51b9
[maven-release-plugin] prepare release org.apache.felix.log.extension…
rotty3000 Jul 9, 2018
6d055a7
[maven-release-plugin] prepare for next development iteration
rotty3000 Jul 9, 2018
63a615a
FELIX-5882: Update to jetty version 9.4.11.v20180605
karlpauls Jul 9, 2018
f4a05fd
[maven-release-plugin] prepare release org.apache.felix.http.jetty-4.0.2
karlpauls Jul 9, 2018
4edfadc
[maven-release-plugin] prepare for next development iteration
karlpauls Jul 9, 2018
f45516d
FELIX-5873 - Change default servlet path to not collide with system c…
cschneider Jul 11, 2018
649fd96
FELIX-5873 - Docs
cschneider Jul 11, 2018
6cf9d4a
FELIX-5866 : scr does not respect the log level set in LoggerAdmin
cziegeler Jul 12, 2018
6389492
FELIX-5883 : Add support to enable and configure the jetty GzipHandle…
cziegeler Jul 12, 2018
5c22212
Updated docs
cschneider Jul 12, 2018
ba0771c
Improve servlet docs
cschneider Jul 12, 2018
c1ffb33
Improve servlet docs
cschneider Jul 12, 2018
2cde23a
Add rat plugin config
cschneider Jul 12, 2018
050df93
Add javadoc config
cschneider Jul 12, 2018
4bae72d
Switch to felix parent, add scm entry, add signature config for java 8
Jul 12, 2018
fa1bd84
FELIX-5885 : SCR uses an overly restrictive import range for promises
cziegeler Jul 13, 2018
3d01deb
Move why systemready and add project information
cschneider Jul 13, 2018
f2b6d7e
[maven-release-plugin] prepare release org.apache.felix.systemready-0…
cschneider Jul 13, 2018
1ba0c04
[maven-release-plugin] prepare for next development iteration
cschneider Jul 13, 2018
cd3dbb5
FELIX-5886: Only log errors if we can't load the bytes of an existing…
karlpauls Jul 13, 2018
894c1aa
Simplify pom.xml
cschneider Jul 16, 2018
3c147cb
FELIX-5889: make extension bundle capabilities be indexed by the reso…
karlpauls Jul 16, 2018
f638feb
Add comment
cschneider Jul 17, 2018
5539b4f
Add build status
cschneider Jul 17, 2018
d96bfe6
Remove test results badge as it does not work
cschneider Jul 17, 2018
6ee15de
Clean-up: use StringBuilder instead of StringBuffer everywhere.
karlpauls Jul 18, 2018
e511497
FELIX-5891 : Keep order of properties and objects. Apply patch from A…
cziegeler Jul 25, 2018
6ace05b
FELIX-5891 : Keep order of properties and objects. Apply patch from A…
cziegeler Jul 25, 2018
63cc337
FELIX-5891 : Keep order of properties and objects. Apply patch from A…
cziegeler Jul 25, 2018
3748360
[maven-release-plugin] prepare release org.apache.felix.configurator-…
cziegeler Jul 26, 2018
bcd3ee6
[maven-release-plugin] prepare for next development iteration
cziegeler Jul 26, 2018
3a06422
FELIX-5892 : Repeated calls to getFactoryConfiguration return differe…
cziegeler Jul 28, 2018
6413784
Update changelog
cziegeler Jul 31, 2018
926be00
[maven-release-plugin] prepare release org.apache.felix.configadmin-1…
cziegeler Jul 31, 2018
bb983d2
[maven-release-plugin] prepare for next development iteration
cziegeler Jul 31, 2018
13fa2ee
Update changelog
cziegeler Aug 2, 2018
da57a51
[maven-release-plugin] prepare release org.apache.felix.scr-2.1.2
cziegeler Aug 2, 2018
6744029
[maven-release-plugin] prepare for next development iteration
cziegeler Aug 2, 2018
5c12c07
FELIX-5896 : Avoid runtime dependency to javax.annotation package
cziegeler Aug 2, 2018
f0e1f65
FELIX-5858 : Additional server configured through OSGi factory config…
cziegeler Aug 2, 2018
5dfd888
[maven-release-plugin] prepare release org.apache.felix.http.parent-11
cziegeler Aug 2, 2018
1abc778
[maven-release-plugin] prepare for next development iteration
cziegeler Aug 2, 2018
b321aa7
Update to released parent pom
cziegeler Aug 2, 2018
f606d87
Update to released parent pom
cziegeler Aug 2, 2018
08135b2
[maven-release-plugin] prepare release org.apache.felix.http.base-4.0.2
cziegeler Aug 2, 2018
4767a5c
[maven-release-plugin] prepare for next development iteration
cziegeler Aug 2, 2018
2933efb
Update to base 4.0.2
cziegeler Aug 2, 2018
aa71e92
[maven-release-plugin] prepare release org.apache.felix.http.bridge-4…
cziegeler Aug 2, 2018
ad044df
[maven-release-plugin] prepare for next development iteration
cziegeler Aug 2, 2018
55ebeb9
[maven-release-plugin] prepare release org.apache.felix.http.jetty-4.0.4
cziegeler Aug 2, 2018
92b6d61
[maven-release-plugin] prepare for next development iteration
cziegeler Aug 2, 2018
e9d1096
FELIX-5847 : ClassNotFoundException with complex JSON String with Array
cziegeler Aug 6, 2018
16bc79a
FELIX-5898 : java.io.NotSerializableException: org.apache.felix.confi…
cziegeler Aug 6, 2018
875444a
[maven-release-plugin] prepare release org.apache.felix.configurator-…
cziegeler Aug 6, 2018
1f1ee1d
[maven-release-plugin] prepare for next development iteration
cziegeler Aug 6, 2018
e2180ad
FELIX-5893 : JQuery Security bug CVE-2015-9251 in Web Console. Apply …
cziegeler Aug 6, 2018
da1a093
[maven-release-plugin] prepare release org.apache.felix.webconsole-4.3.6
cziegeler Aug 6, 2018
564bfef
[maven-release-plugin] prepare for next development iteration
cziegeler Aug 6, 2018
aaaefca
FELIX-5901 : Update to latest jQuery UI 1.12.1
cziegeler Aug 7, 2018
23331ad
Fix changelog
cziegeler Aug 7, 2018
1356f1d
FELIX-5899 - Add liveness checks
cschneider Aug 8, 2018
c25350b
FELIX-5903 - Fix default FrameworkStartCheck in bndtools
cschneider Aug 8, 2018
0a88679
FELIX-5902 : java.lang.IllegalArgumentException: Bundle org.apache.fe…
cziegeler Aug 9, 2018
1a29eef
[maven-release-plugin] prepare release org.apache.felix.scr-2.1.4
cziegeler Aug 9, 2018
f4c265d
[maven-release-plugin] prepare for next development iteration
cziegeler Aug 9, 2018
f72c565
Use released parent pom
cziegeler Aug 9, 2018
8a138ae
FELIX-5904 : SCR is creating a logger instance using name <null>
cziegeler Aug 13, 2018
765a586
FELIX-5906: Installing Manifest only bundles causes ArrayIndexOutOfBo…
karlpauls Aug 13, 2018
7977f1e
FELIX-5907 Add media type application/json to the reporter and ootb s…
dulvac Aug 14, 2018
d2024b6
[maven-release-plugin] prepare release org.apache.felix.systemready-0…
cschneider Aug 14, 2018
39999c1
[maven-release-plugin] prepare for next development iteration
cschneider Aug 14, 2018
90df506
FELIX-5908 : NoClassDefFoundError for the CM Security Domain combiner…
cziegeler Aug 16, 2018
70c8c7c
Update to latest parent pom
karlpauls Aug 16, 2018
5ab9a1a
Update changelog for release
karlpauls Aug 16, 2018
d2bc5bb
[maven-release-plugin] prepare release org.apache.felix.framework.sec…
karlpauls Aug 16, 2018
e6e728d
[maven-release-plugin] prepare for next development iteration
karlpauls Aug 16, 2018
d44553d
Update changelog for release
karlpauls Aug 16, 2018
46ddd3c
[maven-release-plugin] prepare release org.apache.felix.framework-6.0.1
karlpauls Aug 16, 2018
7365b97
[maven-release-plugin] prepare for next development iteration
karlpauls Aug 16, 2018
ec1f1b6
Update changelog for release
karlpauls Aug 16, 2018
1c850f7
[maven-release-plugin] prepare release org.apache.felix.main-6.0.1
karlpauls Aug 16, 2018
66f0743
[maven-release-plugin] prepare for next development iteration
karlpauls Aug 16, 2018
9bcbac6
Update changelogs for release
karlpauls Aug 16, 2018
a4a1d00
Update dependencies for release
karlpauls Aug 16, 2018
6dbaa2b
[maven-release-plugin] prepare release org.apache.felix.main.distribu…
karlpauls Aug 16, 2018
2bbe073
[maven-release-plugin] prepare for next development iteration
karlpauls Aug 16, 2018
cfa68fc
[maven-release-plugin] prepare release org.apache.felix.scr-2.1.6
cziegeler Aug 17, 2018
72c6ee8
[maven-release-plugin] prepare for next development iteration
cziegeler Aug 17, 2018
ba418bc
FELIX-5897 : org.apache.felix.http.proxy.ProxyServlet NullPointerExce…
cziegeler Aug 20, 2018
71840c7
[Converter] Added readme.md file to Converter project.
Aug 20, 2018
a7db80c
[Converter] Removed outdated Persister project.
Aug 20, 2018
d59da89
FELIX-5900 : tool to generate markdown documentation for SCR and Meta…
cziegeler Aug 21, 2018
d52cd22
Make classes immutable and more private
cschneider Aug 21, 2018
906e176
Add missing org.w3c.dom.xpath package to defaults
karlpauls Aug 23, 2018
b70ca31
FELIX-5917: Fix BundlePermission check for fragments
karlpauls Aug 24, 2018
db5c410
FELIX-5914: Workaround SecurityManager.getClassContext returning null…
karlpauls Aug 24, 2018
00d4b44
FELIX-5912: Handle empty package definitions in system package defini…
karlpauls Aug 24, 2018
f1df104
FELIX-5920 Prepare maven-bundle-plugin for release with bndlib 4.0.0
rotty3000 Aug 27, 2018
ff5e6c7
[maven-release-plugin] prepare release maven-bundle-plugin-4.0.0
rotty3000 Aug 28, 2018
33546fd
[maven-release-plugin] prepare for next development iteration
rotty3000 Aug 28, 2018
710954d
Update BundleRevisionImpl.java
phinney Sep 17, 2018
aac101b
Update FelixConstants.java
phinney Sep 17, 2018
346a85b
Update Felix.java
phinney Sep 17, 2018
70ba7d2
Update BundleWiringImpl.java
phinney Sep 17, 2018
2cfce7d
Update BundleRevisionImpl.java
phinney Sep 17, 2018
cadcc5f
Update BundleWiringImpl.java
phinney Sep 21, 2018
9e401fb
Add files via upload
phinney Sep 21, 2018
f1267df
Revert "Update BundleWiringImpl.java"
phinney Sep 21, 2018
cae913e
Revert "Revert "Update BundleWiringImpl.java""
phinney Sep 21, 2018
15f16c0
Delete BundleWiringImpl.java
phinney Sep 21, 2018
cc63888
Delete Felix.java
phinney Sep 21, 2018
a0eabc5
Delete FelixConstants.java
phinney Sep 21, 2018
9412879
Android Support
phinney Sep 21, 2018
b6084fe
revert back to original
phinney Sep 21, 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