You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ac...@apache.org on 2017/04/18 11:45:09 UTC

servicemix-bundles git commit: [SM-3302] Create OSGi bundles for Hystrix 1.5.11

Repository: servicemix-bundles
Updated Branches:
  refs/heads/master c5cd2de65 -> 937d191ec


[SM-3302] Create OSGi bundles for Hystrix 1.5.11


Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/937d191e
Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/937d191e
Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/937d191e

Branch: refs/heads/master
Commit: 937d191ec55f4d5abe604b843e1db61173ffceec
Parents: c5cd2de
Author: Andrea Cosentino <an...@gmail.com>
Authored: Tue Apr 18 13:44:16 2017 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Tue Apr 18 13:44:16 2017 +0200

----------------------------------------------------------------------
 hystrix-1.5.11/pom.xml                          | 123 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  13 ++
 hystrix-event-stream-1.5.11/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/937d191e/hystrix-1.5.11/pom.xml
----------------------------------------------------------------------
diff --git a/hystrix-1.5.11/pom.xml b/hystrix-1.5.11/pom.xml
new file mode 100644
index 0000000..eee5873
--- /dev/null
+++ b/hystrix-1.5.11/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>13</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.hystrix</artifactId>
+    <version>1.5.11_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.11</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/937d191e/hystrix-1.5.11/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/hystrix-1.5.11/src/main/resources/OSGI-INF/bundle.info b/hystrix-1.5.11/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..bb11f6d
--- /dev/null
+++ b/hystrix-1.5.11/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/937d191e/hystrix-event-stream-1.5.11/pom.xml
----------------------------------------------------------------------
diff --git a/hystrix-event-stream-1.5.11/pom.xml b/hystrix-event-stream-1.5.11/pom.xml
new file mode 100644
index 0000000..66a130f
--- /dev/null
+++ b/hystrix-event-stream-1.5.11/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>13</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.11_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.11</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/937d191e/hystrix-event-stream-1.5.11/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/hystrix-event-stream-1.5.11/src/main/resources/OSGI-INF/bundle.info b/hystrix-event-stream-1.5.11/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..bb11f6d
--- /dev/null
+++ b/hystrix-event-stream-1.5.11/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/937d191e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 8aa085f..426eb9f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,6 +46,8 @@
         <module>digitalocean-api-client-2.9</module>
         <module>docker-java-3.0.9</module>
         <module>okhttp-3.7.0</module>
+        <module>hystrix-1.5.11</module>
+        <module>hystrix-event-stream-1.5.11</module>
     </modules>
 
 </project>