Sync OSGi handling with Apache JClouds Project
authorgurkerl83 <markus_gritsch@gmx.de>
Sat, 17 Oct 2020 23:49:25 +0000 (01:49 +0200)
committerAndrew Gaul <andrew@gaul.org>
Mon, 26 Oct 2020 14:31:00 +0000 (23:31 +0900)
commite7885359a7755ac5ad6298f35b7547a31e1c5548
tree51e17a3a63b1c1f28989918cbf92eb8882a0b224
parent0b9344b440af6b1803788ef7b2401b441a0857b2
Sync OSGi handling with Apache JClouds Project

This project, the lab version of Apache JCloud, share the exact build instructions as the primary Apache JCloud project with all its modules.
Apache JCloud is shifting its strategy in handling OSGi configuration. Instead of using the Maven Bundle Plugin, a wrapper of the BND plugin, the BND plugin gets used directly.
Remove the OSGi configuration from each module. The configuration gets served to the BND through dedicated configuration / bnd files.

Onboard bnd-configuration files, one per module

Change packaging structure of cloud-sigma regions

Move provider classes from implementation and test from org.jclouds.cloudsigma2 to the respective package, e.g., org.jclouds.cloudsigma2.hnl to avoid a collision by identical package name served from different bundles.

Adjust GSON handling

Instead of repacking GSON in the Apache JCloud on a package name level, only the OSGi Metadata gets changed. This means the original GSON packing stays intact.

Ignore bnd files

Disable broken unit test
53 files changed:
abiquo/bnd.bnd [new file with mode: 0644]
abiquo/pom.xml
aliyun-ecs/bnd.bnd [new file with mode: 0644]
aliyun-ecs/pom.xml
cdmi/bnd.bnd [new file with mode: 0644]
cdmi/pom.xml
cloudsigma2-hnl/bnd.bnd [new file with mode: 0644]
cloudsigma2-hnl/pom.xml
cloudsigma2-hnl/src/main/java/org/jclouds/cloudsigma2/hnl/CloudSigma2HonoluluProviderMetadata.java [moved from cloudsigma2-hnl/src/main/java/org/jclouds/cloudsigma2/CloudSigma2HonoluluProviderMetadata.java with 96% similarity]
cloudsigma2-hnl/src/test/java/org/jclouds/cloudsigma2/hnl/CloudSigma2HonoluluLiveTest.java [moved from cloudsigma2-hnl/src/test/java/org/jclouds/cloudsigma2/CloudSigma2HonoluluLiveTest.java with 92% similarity]
cloudsigma2-hnl/src/test/java/org/jclouds/cloudsigma2/hnl/compute/CloudSigma2HonoluluComputeServiceLiveTest.java [moved from cloudsigma2-hnl/src/test/java/org/jclouds/cloudsigma2/compute/CloudSigma2HonoluluComputeServiceLiveTest.java with 90% similarity]
cloudsigma2-lvs/bnd.bnd [new file with mode: 0644]
cloudsigma2-lvs/pom.xml
cloudsigma2-lvs/src/main/java/org/jclouds/cloudsigma2/lvs/CloudSigma2LasVegasProviderMetadata.java [moved from cloudsigma2-lvs/src/main/java/org/jclouds/cloudsigma2/CloudSigma2LasVegasProviderMetadata.java with 96% similarity]
cloudsigma2-lvs/src/test/java/org/jclouds/cloudsigma2/lvs/CloudSigma2LasVegasLiveTest.java [moved from cloudsigma2-lvs/src/test/java/org/jclouds/cloudsigma2/CloudSigma2LasVegasLiveTest.java with 92% similarity]
cloudsigma2-lvs/src/test/java/org/jclouds/cloudsigma2/lvs/compute/CloudSigma2LasVegasComputeServiceLiveTest.java [moved from cloudsigma2-lvs/src/test/java/org/jclouds/cloudsigma2/compute/CloudSigma2LasVegasComputeServiceLiveTest.java with 90% similarity]
cloudsigma2-mia/bnd.bnd [new file with mode: 0644]
cloudsigma2-mia/pom.xml
cloudsigma2-mia/src/main/java/org/jclouds/cloudsigma2/mia/CloudSigma2MiamiProviderMetadata.java [moved from cloudsigma2-mia/src/main/java/org/jclouds/cloudsigma2/CloudSigma2MiamiProviderMetadata.java with 96% similarity]
cloudsigma2-mia/src/test/java/org/jclouds/cloudsigma2/mia/CloudSigma2MiamiLiveTest.java [moved from cloudsigma2-mia/src/test/java/org/jclouds/cloudsigma2/CloudSigma2MiamiLiveTest.java with 91% similarity]
cloudsigma2-mia/src/test/java/org/jclouds/cloudsigma2/mia/compute/CloudSigma2MiamiComputeServiceLiveTest.java [moved from cloudsigma2-mia/src/test/java/org/jclouds/cloudsigma2/compute/CloudSigma2MiamiComputeServiceLiveTest.java with 90% similarity]
cloudsigma2-sjc/bnd.bnd [new file with mode: 0644]
cloudsigma2-sjc/pom.xml
cloudsigma2-sjc/src/main/java/org/jclouds/cloudsigma2/sjc/CloudSigma2SanJoseProviderMetadata.java [moved from cloudsigma2-sjc/src/main/java/org/jclouds/cloudsigma2/CloudSigma2SanJoseProviderMetadata.java with 96% similarity]
cloudsigma2-sjc/src/test/java/org/jclouds/cloudsigma2/sjc/CloudSigma2SanJoseLiveTest.java [moved from cloudsigma2-sjc/src/test/java/org/jclouds/cloudsigma2/CloudSigma2SanJoseLiveTest.java with 92% similarity]
cloudsigma2-sjc/src/test/java/org/jclouds/cloudsigma2/sjc/compute/CloudSigma2SanJoseComputeServiceLiveTest.java [moved from cloudsigma2-sjc/src/test/java/org/jclouds/cloudsigma2/compute/CloudSigma2SanJoseComputeServiceLiveTest.java with 90% similarity]
cloudsigma2-wdc/bnd.bnd [new file with mode: 0644]
cloudsigma2-wdc/pom.xml
cloudsigma2-wdc/src/main/java/org/jclouds/cloudsigma2/wdc/CloudSigma2WashingtonProviderMetadata.java [moved from cloudsigma2-wdc/src/main/java/org/jclouds/cloudsigma2/CloudSigma2WashingtonProviderMetadata.java with 96% similarity]
cloudsigma2-wdc/src/test/java/org/jclouds/cloudsigma2/wdc/CloudSigma2WashingtonLiveTest.java [moved from cloudsigma2-wdc/src/test/java/org/jclouds/cloudsigma2/CloudSigma2WashingtonLiveTest.java with 92% similarity]
cloudsigma2-wdc/src/test/java/org/jclouds/cloudsigma2/wdc/compute/CloudSigma2WashingtonComputeServiceLiveTest.java [moved from cloudsigma2-wdc/src/test/java/org/jclouds/cloudsigma2/compute/CloudSigma2WashingtonComputeServiceLiveTest.java with 90% similarity]
cloudsigma2-zrh/bnd.bnd [new file with mode: 0644]
cloudsigma2-zrh/pom.xml
cloudsigma2-zrh/src/main/java/org/jclouds/cloudsigma2/zrh/CloudSigma2ZurichProviderMetadata.java [moved from cloudsigma2-zrh/src/main/java/org/jclouds/cloudsigma2/CloudSigma2ZurichProviderMetadata.java with 96% similarity]
cloudsigma2-zrh/src/test/java/org/jclouds/cloudsigma2/zrh/CloudSigma2ZurichLiveTest.java [moved from cloudsigma2-zrh/src/test/java/org/jclouds/cloudsigma2/CloudSigma2ZurichLiveTest.java with 92% similarity]
cloudsigma2-zrh/src/test/java/org/jclouds/cloudsigma2/zrh/compute/CloudSigma2ZurichComputeServiceLiveTest.java [moved from cloudsigma2-zrh/src/test/java/org/jclouds/cloudsigma2/compute/CloudSigma2ZurichComputeServiceLiveTest.java with 90% similarity]
cloudsigma2/bnd.bnd [new file with mode: 0644]
cloudsigma2/pom.xml
dimensiondata/bnd.bnd [new file with mode: 0644]
dimensiondata/pom.xml
dimensiondata/src/test/java/org/jclouds/dimensiondata/cloudcontrol/compute/function/ServerToServerWithExternalIpTest.java
joyent-cloudapi/bnd.bnd [new file with mode: 0644]
joyent-cloudapi/pom.xml
joyentcloud/bnd.bnd [new file with mode: 0644]
joyentcloud/pom.xml
oneandone/bnd.bnd [new file with mode: 0644]
oneandone/pom.xml
oneandone/src/main/java/org/apache/jclouds/oneandone/rest/util/ServerApplianceParser.java
pom.xml
profitbricks-rest/bnd.bnd [new file with mode: 0644]
profitbricks-rest/pom.xml
vagrant/bnd.bnd [new file with mode: 0644]
vagrant/pom.xml