GitHub user CMoH opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/962
Brooklyn OSGification - step 1 (brooklyn-core)
Create base projects for karaf, next work on karaf features until
brooklyn-core is installable in karaf.
I've created the PR for review, leaving all commits as they were so one can
understand the intention of each change. However, I would like to reword them
and reference an OSGification jira issue.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/CMoH/incubator-brooklyn karaf-container
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/962.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #962
----
commit 4840d7f1bb257fd64cbfede3eca063a769a5325d
Author: Hadrian Zbarcea <[email protected]>
Date: 2015-09-23T00:05:01Z
Skeleton for karaf container
commit 429ab2d6385c78ad7b289855e2d63d270342e2cc
Author: Ciprian Ciubotariu <[email protected]>
Date: 2015-09-24T14:37:59Z
Skeleton of karaf shell commands project
commit 309eda7a15be63d34f554893bcb6de8068aab5bd
Author: Ciprian Ciubotariu <[email protected]>
Date: 2015-09-24T16:22:17Z
Use java.version property from brooklyn-parent
commit fda49f58b77ffebca9bb020f04c8452bd9e0d69c
Author: Ciprian Ciubotariu <[email protected]>
Date: 2015-10-01T11:46:06Z
Add description to existing features
commit 18d200e1d12df0e807e2ba46612df2744a4f1d43
Author: Ciprian Ciubotariu <[email protected]>
Date: 2015-10-02T09:00:05Z
Work on karaf features project
* convert karaf feature project to use karaf-maven-plugin
* reparent karaf project on brooklyn-parent instead of root brooklyn pom
(needed to access version properties)
* add license files as directed by rat plugin
* add version properties for transitive dependencies explicit within
features
* attempt to have brooklyn-core loadable in karaf as a feature; not yet done
commit 155928b8c6a23515ad9d1bcd5a44a3d17a3c37d9
Author: Ciprian Ciubotariu <[email protected]>
Date: 2015-10-02T16:11:46Z
Add pax-exam integration tests stub project
commit b1902c13cefc770fc44ae0a0dd22c42e4ff2d3c8
Author: Ciprian Ciubotariu <[email protected]>
Date: 2015-10-03T22:58:56Z
Don't hide system bundles from local shell user
commit e80441362cb0a312c13a337041ee38ad583a433f
Author: Ciprian Ciubotariu <[email protected]>
Date: 2015-10-04T20:36:13Z
Reparent karaf features to brooklyn root pom
Fixes pax-exam stub tests crashing because of missing custom surefire
reporter.
Move version properties from brooklyn-parent to brooklyn root pom.
commit 42d3b45434c0b69a23cdbcaa4f6204b3deaff885
Author: Ciprian Ciubotariu <[email protected]>
Date: 2015-10-05T12:50:34Z
Use brooklyn-itest project to signal bundle resolution problems
Add brooklyn-core feature to boot features in apache-brooklyn karaf
assembly. Remove custom setting of org.osgi.framework.system.packages.extra.
Depend on apache-brooklyn assembly in brooklyn-itest. Use
apache-brooklyn as OSGi runtime for AssemblyTest.
commit 48098c27109a9cdb4771d5a8e5f897093b26959d
Author: Ciprian Ciubotariu <[email protected]>
Date: 2015-10-08T21:38:14Z
Don't use of HierarchicalStreams.readClassType
Replaced with UnmarshallingContext.getRequiredType() -
although it does not have the same implementation.
commit bdcd1c7124d5a390ea8c236d448172bb95204071
Author: Ciprian Ciubotariu <[email protected]>
Date: 2015-10-08T22:40:21Z
Copy bundle-private code from xstreams into XmlMementoSerializer
Temporarily until osgification is complete.
commit 9962aefb8ae7ed521ed890b407156e784c140cdb
Author: Ciprian Ciubotariu <[email protected]>
Date: 2015-10-10T20:43:19Z
Split brooklyn-* bundles into different features.
Add more bundle dependencies to each feature to make them installable
standalone.
commit 8e2cbef7a3e2d8dfb5b53753c7b680ff6917cc67
Author: Ciprian Ciubotariu <[email protected]>
Date: 2015-10-12T15:05:58Z
Allow use of OSGi container-provided framework
Test if we are running inside an OSGi container and use container
services instead of relying on manifest resource on classpath.
Defer to previous implementation when not running inside a container.
TODO: OsgiStandaloneTest.testDuplicateBundle() fails; unsure which
changes make it fail
commit 3f0efa01c05b5570253498974e5c6da6d1f53d97
Author: Ciprian Ciubotariu <[email protected]>
Date: 2015-10-14T00:11:56Z
Move Apache Felix code into specific jar
Move code that manages the Apache Felix framework into
brooklyn-rt-felix, with support code in brooklyn-rt-osgi (utilities,
mostly).
Also pull the OSGi test resources into brooklyn-rt-osgi.
commit 0dab3905325d3d5a7e551ee9b7e2fc7e4409095f
Author: Ciprian Ciubotariu <[email protected]>
Date: 2015-10-14T07:46:33Z
Don't import packages from brooklyn-rt-felix in OSGi bundle
commit 2e938b856a9fe4d2ebc80de2c2466e8c827c4029
Author: Ciprian Ciubotariu <[email protected]>
Date: 2015-10-14T07:47:19Z
More dependencies of brooklyn-core bundle
commit 42a39e69b2e51321c77bd8852591c54069b8ba50
Author: Ciprian Ciubotariu <[email protected]>
Date: 2015-10-14T23:34:35Z
Completed brooklyn-core as an installable Karaf feature
Remove winrm4j and add last remaining dependencies.
commit 987b68a7cd58758f1f9c061a365059c1dca759ec
Author: Ciprian Ciubotariu <[email protected]>
Date: 2015-10-15T12:00:42Z
Disable failing test on duplicate bundles
The bundle installation is subject to change during osgification; it
will be handled by karaf.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---