Repository: servicemix-bundles Updated Branches: refs/heads/master fbdb4b8d8 -> f20f6fdb6
[SM-3278] Create OSGi bundles for Hystrix 1.5.10 Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/f20f6fdb Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/f20f6fdb Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/f20f6fdb Branch: refs/heads/master Commit: f20f6fdb64574da1de4f129d1f5f85f7e6c5fc1c Parents: fbdb4b8 Author: Andrea Cosentino <[email protected]> Authored: Tue Mar 14 09:56:14 2017 +0100 Committer: Andrea Cosentino <[email protected]> Committed: Tue Mar 14 09:56:14 2017 +0100 ---------------------------------------------------------------------- hystrix-1.5.10/pom.xml | 123 +++++++++++++++++++ .../src/main/resources/OSGI-INF/bundle.info | 13 ++ hystrix-event-stream-1.5.10/pom.xml | 117 ++++++++++++++++++ .../src/main/resources/OSGI-INF/bundle.info | 13 ++ pom.xml | 2 + 5 files changed, 268 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/f20f6fdb/hystrix-1.5.10/pom.xml ---------------------------------------------------------------------- diff --git a/hystrix-1.5.10/pom.xml b/hystrix-1.5.10/pom.xml new file mode 100644 index 0000000..144e448 --- /dev/null +++ b/hystrix-1.5.10/pom.xml @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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/xsd/maven-4.0.0.xsd"> + + <!-- + + 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. + --> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.servicemix.bundles</groupId> + <artifactId>bundles-pom</artifactId> + <version>12</version> + <relativePath>../bundles-pom/pom.xml</relativePath> + </parent> + + <groupId>org.apache.servicemix.bundles</groupId> + <artifactId>org.apache.servicemix.bundles.hystrix</artifactId> + <version>1.5.10_1-SNAPSHOT</version> + <packaging>bundle</packaging> + <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name> + <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description> + + <scm> + <connection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</connection> + <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</developerConnection> + <url>https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git</url> + <tag>HEAD</tag> + </scm> + + <properties> + <pkgGroupId>com.netflix.hystrix</pkgGroupId> + <pkgArtifactId>hystrix-core</pkgArtifactId> + <pkgVersion>1.5.10</pkgVersion> + <servicemix.osgi.export.pkg> + com.netflix.hystrix + </servicemix.osgi.export.pkg> + <servicemix.osgi.import.pkg> + javax.management, + javax.sql;resolution:=optional, + org.apache.commons.configuration*;resolution:=optional, + org.junit;resolution:=optional, + org.slf4j;resolution:=optional, + sun.misc;resolution:=optional, + org.HdrHistogram;resolution:=optional, + rx* + </servicemix.osgi.import.pkg> + <servicemix.osgi.private.pkg> + com.netflix.config* + </servicemix.osgi.private.pkg> + <servicemix.spi.consumer> + * + </servicemix.spi.consumer> + </properties> + + <dependencies> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>${pkgArtifactId}</artifactId> + <version>${pkgVersion}</version> + <exclusions> + <exclusion> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + </exclusion> + </exclusions> + </dependency> + + <!-- sources --> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>${pkgArtifactId}</artifactId> + <version>${pkgVersion}</version> + <classifier>sources</classifier> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + <configuration> + <artifactSet> + <includes> + <include>${pkgGroupId}:${pkgArtifactId}</include> + </includes> + </artifactSet> + <filters> + <filter> + <artifact>${pkgGroupId}:${pkgArtifactId}</artifact> + <excludes> + <exclude>**/*</exclude> + </excludes> + </filter> + </filters> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/f20f6fdb/hystrix-1.5.10/src/main/resources/OSGI-INF/bundle.info ---------------------------------------------------------------------- diff --git a/hystrix-1.5.10/src/main/resources/OSGI-INF/bundle.info b/hystrix-1.5.10/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000..bb11f6d --- /dev/null +++ b/hystrix-1.5.10/src/main/resources/OSGI-INF/bundle.info @@ -0,0 +1,13 @@ +\u001B[1mSYNOPSIS\u001B[0m + ${project.description} + + Original Maven URL: + \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m + +\u001B[1mDESCRIPTION\u001B[0m + Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services + and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where + failure is inevitable. + +\u001B[1mSEE ALSO\u001B[0m + \u001B[36mhttps://github.com/Netflix/Hystrix\u001B[0m http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/f20f6fdb/hystrix-event-stream-1.5.10/pom.xml ---------------------------------------------------------------------- diff --git a/hystrix-event-stream-1.5.10/pom.xml b/hystrix-event-stream-1.5.10/pom.xml new file mode 100644 index 0000000..ed4086a --- /dev/null +++ b/hystrix-event-stream-1.5.10/pom.xml @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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/xsd/maven-4.0.0.xsd"> + + <!-- + + 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. + --> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.servicemix.bundles</groupId> + <artifactId>bundles-pom</artifactId> + <version>12</version> + <relativePath>../bundles-pom/pom.xml</relativePath> + </parent> + + <groupId>org.apache.servicemix.bundles</groupId> + <artifactId>org.apache.servicemix.bundles.hystrix-event-stream</artifactId> + <version>1.5.10_1-SNAPSHOT</version> + <packaging>bundle</packaging> + <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name> + <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description> + + <scm> + <connection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</connection> + <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</developerConnection> + <url>https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git</url> + <tag>HEAD</tag> + </scm> + + <properties> + <pkgGroupId>com.netflix.hystrix</pkgGroupId> + <pkgArtifactId>hystrix-metrics-event-stream</pkgArtifactId> + <pkgVersion>1.5.10</pkgVersion> + <servicemix.osgi.export.pkg> + com.netflix.hystrix.contrib + </servicemix.osgi.export.pkg> + <servicemix.osgi.import.pkg> + com.fasterxml.jackson.core;version="[2.5,3)";resolution:=optional, + com.netflix.config;resolution:=optional, + com.netflix.hystrix;version="[1.5,2)";resolution:=optional, + com.netflix.hystrix.config;version="[1.5,2)";resolution:=optional, + com.netflix.hystrix.metric;version="[1.5,2)";resolution:=optional, + com.netflix.hystrix.serial;version="[1.5,2)";resolution:=optional, + com.netflix.hystrix.metric.consumer;version="[1.5,2)";resolution:=optional, + com.netflix.hystrix.metric.sample;version="[1.5,2)";resolution:=optional, + com.netflix.hystrix.strategy.properties;version="[1.5,2)";resolution:=optional, + com.netflix.hystrix.util;version="[1.5,2)";resolution:=optional, + javax.servlet,javax.servlet.http,org.slf4j;version="[1.7,2)";resolution:=optional, + rx;version="[1.1,2)";resolution:=optional, + rx.functions;version="[1.1,2)";resolution:=optional, + rx.schedulers;version="[1.1,2)";resolution:=optional + </servicemix.osgi.import.pkg> + </properties> + + <dependencies> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>${pkgArtifactId}</artifactId> + <version>${pkgVersion}</version> + </dependency> + + <!-- sources --> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>${pkgArtifactId}</artifactId> + <version>${pkgVersion}</version> + <classifier>sources</classifier> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + <configuration> + <artifactSet> + <includes> + <include>${pkgGroupId}:${pkgArtifactId}</include> + </includes> + </artifactSet> + <filters> + <filter> + <artifact>${pkgGroupId}:${pkgArtifactId}</artifact> + <excludes> + <exclude>**/*</exclude> + </excludes> + </filter> + </filters> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/f20f6fdb/hystrix-event-stream-1.5.10/src/main/resources/OSGI-INF/bundle.info ---------------------------------------------------------------------- diff --git a/hystrix-event-stream-1.5.10/src/main/resources/OSGI-INF/bundle.info b/hystrix-event-stream-1.5.10/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000..bb11f6d --- /dev/null +++ b/hystrix-event-stream-1.5.10/src/main/resources/OSGI-INF/bundle.info @@ -0,0 +1,13 @@ +\u001B[1mSYNOPSIS\u001B[0m + ${project.description} + + Original Maven URL: + \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m + +\u001B[1mDESCRIPTION\u001B[0m + Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services + and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where + failure is inevitable. + +\u001B[1mSEE ALSO\u001B[0m + \u001B[36mhttps://github.com/Netflix/Hystrix\u001B[0m http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/f20f6fdb/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 8806f36..2f943e0 100644 --- a/pom.xml +++ b/pom.xml @@ -54,6 +54,8 @@ <module>spring-security-taglibs-4.2.2.RELEASE</module> <module>spring-security-web-4.2.2.RELEASE</module> <module>retrofit-2.2.0</module> + <module>hystrix-1.5.10</module> + <module>hystrix-event-stream-1.5.10</module> </modules> </project>
