Repository: servicemix-bundles Updated Branches: refs/heads/master ff1f51ef4 -> 32ad54858
[SM-3139] Create OSGi bundles for hystrix 1.5.6 Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/32ad5485 Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/32ad5485 Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/32ad5485 Branch: refs/heads/master Commit: 32ad548588b0ef8136efcea04520d2003cf5df49 Parents: ff1f51e Author: Jean-Baptiste Onofré <[email protected]> Authored: Mon Oct 31 14:37:31 2016 +0100 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Mon Oct 31 14:37:31 2016 +0100 ---------------------------------------------------------------------- hystrix-1.5.6/pom.xml | 123 +++++++++++++++++++ .../src/main/resources/OSGI-INF/bundle.info | 13 ++ hystrix-event-stream-1.5.6/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/32ad5485/hystrix-1.5.6/pom.xml ---------------------------------------------------------------------- diff --git a/hystrix-1.5.6/pom.xml b/hystrix-1.5.6/pom.xml new file mode 100644 index 0000000..d7c93af --- /dev/null +++ b/hystrix-1.5.6/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.6_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.6</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/32ad5485/hystrix-1.5.6/src/main/resources/OSGI-INF/bundle.info ---------------------------------------------------------------------- diff --git a/hystrix-1.5.6/src/main/resources/OSGI-INF/bundle.info b/hystrix-1.5.6/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000..bb11f6d --- /dev/null +++ b/hystrix-1.5.6/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/32ad5485/hystrix-event-stream-1.5.6/pom.xml ---------------------------------------------------------------------- diff --git a/hystrix-event-stream-1.5.6/pom.xml b/hystrix-event-stream-1.5.6/pom.xml new file mode 100644 index 0000000..e1d9e3f --- /dev/null +++ b/hystrix-event-stream-1.5.6/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.6_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.6</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/32ad5485/hystrix-event-stream-1.5.6/src/main/resources/OSGI-INF/bundle.info ---------------------------------------------------------------------- diff --git a/hystrix-event-stream-1.5.6/src/main/resources/OSGI-INF/bundle.info b/hystrix-event-stream-1.5.6/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000..bb11f6d --- /dev/null +++ b/hystrix-event-stream-1.5.6/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/32ad5485/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index f2c7544..ada4663 100644 --- a/pom.xml +++ b/pom.xml @@ -75,6 +75,8 @@ <module>solr-solrj-6.2.1</module> <module>docker-java-3.0.6</module> <module>ognl-3.1.12</module> + <module>hystrix-1.5.6</module> + <module>hystrix-event-stream-1.5.6</module> </modules> </project>
