[go: nahoru, domu]

Skip to content

Commit

Permalink
published 0.5.0 to bintray
Browse files Browse the repository at this point in the history
  • Loading branch information
skarpenko committed Mar 30, 2018
1 parent 16e4ce8 commit 0862324
Show file tree
Hide file tree
Showing 9 changed files with 119 additions and 30 deletions.
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,23 @@ Flux<Mixin> mixins = icecreamApi.getAvailableMixins();
```xml
<repositories>
<repository>
<id>jcenter</id>
<url>https://jcenter.bintray.com/</url>
<id>bintray-kptfh-feign-reactive</id>
<name>bintray</name>
<url>https://dl.bintray.com/kptfh/feign-reactive</url>
</repository>
</repositories>
...
<dependencies>
...
<dependency>
<groupId>io.github.openfeign</groupId>
<artifactId>feign-reactive</artifactId>
<version>0.1.0</version>
<groupId>io.github.reactivefeign</groupId>
<artifactId>feign-reactive-core</artifactId>
<version>0.5.0</version>
</dependency>
<dependency>
<groupId>io.github.reactivefeign</groupId>
<artifactId>feign-reactive-cloud</artifactId>
<version>0.5.0</version>
</dependency>
...
</dependencies>
Expand Down
6 changes: 2 additions & 4 deletions feign-reactive-cloud/pom.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?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">
<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">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.github.reactivefeign</groupId>
<artifactId>feign-reactive</artifactId>
<version>0.3.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>

<artifactId>feign-reactive-cloud</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

import static com.github.tomakehurst.wiremock.client.WireMock.aResponse;
import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig;
import static org.apache.http.HttpStatus.SC_SERVICE_UNAVAILABLE;
import static org.assertj.core.api.Assertions.assertThat;
import static org.hamcrest.Matchers.containsString;

Expand Down Expand Up @@ -97,7 +98,7 @@ public void shouldOpenCircuitBreaker() throws IOException, InterruptedException

String body = "success!";
int callsNo = 10;
LoadBalancingReactiveHttpClientTest.mockSuccessAfterSeveralAttempts(server, "/", callsNo, 598,
LoadBalancingReactiveHttpClientTest.mockSuccessAfterSeveralAttempts(server, "/", callsNo, SC_SERVICE_UNAVAILABLE,
aResponse()
.withStatus(200)
.withHeader("Content-Type", "application/json")
Expand Down
6 changes: 2 additions & 4 deletions feign-reactive-core/pom.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?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">
<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">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.github.reactivefeign</groupId>
<artifactId>feign-reactive</artifactId>
<version>0.3.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>

<artifactId>feign-reactive-core</artifactId>
Expand Down
6 changes: 2 additions & 4 deletions feign-reactive-load-tests/pom.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?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">
<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">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.github.reactivefeign</groupId>
<artifactId>feign-reactive</artifactId>
<version>0.3.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
</parent>

<artifactId>feign-reactive-load-tests</artifactId>
Expand Down
100 changes: 88 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
<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">
<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">

<modelVersion>4.0.0</modelVersion>

<groupId>io.github.reactivefeign</groupId>
<artifactId>feign-reactive</artifactId>
<version>0.3.0-SNAPSHOT</version>
<version>0.5.0-SNAPSHOT</version>
<packaging>pom</packaging>

<modules>
Expand All @@ -30,12 +27,12 @@
<url>https://github.com/kptfh/feign-reactive/issues</url>
</issueManagement>

<scm>
<url>https://github.com/kptfh/feign-reactive</url>
<connection>scm:git:https://github.com/kptfh/feign-reactive/feign-reactive.git</connection>
<developerConnection>scm:git:https://github.com/kptfh/feign-reactive/feign-reactive.git</developerConnection>
<tag>HEAD</tag>
</scm>
<!--<scm>-->
<!--<url>https://github.com/kptfh/feign-reactive</url>-->
<!--<connection>scm:git:https://github.com/kptfh/feign-reactive.git</connection>-->
<!--<developerConnection>scm:git:https://github.com/kptfh/feign-reactive.git</developerConnection>-->
<!--<tag>feign-reactive-0.4.0</tag>-->
<!--</scm>-->

<licenses>
<license>
Expand Down Expand Up @@ -87,7 +84,7 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.0.RELEASE</version>
<relativePath/>
<relativePath />
</parent>

<dependencyManagement>
Expand Down Expand Up @@ -201,7 +198,86 @@
</plugin>
</plugins>
</pluginManagement>

<plugins>
<!-- Jacoco Code Coverage -->
<!--<plugin>-->
<!--<groupId>org.jacoco</groupId>-->
<!--<artifactId>jacoco-maven-plugin</artifactId>-->
<!--<executions>-->
<!--<execution>-->
<!--<id>prepare-agent</id>-->
<!--<goals>-->
<!--<goal>prepare-agent</goal>-->
<!--</goals>-->
<!--</execution>-->
<!--<execution>-->
<!--<id>report</id>-->
<!--<phase>prepare-package</phase>-->
<!--<goals>-->
<!--<goal>report</goal>-->
<!--</goals>-->
<!--</execution>-->
<!--<execution>-->
<!--<id>post-unit-test</id>-->
<!--<phase>test</phase>-->
<!--<goals>-->
<!--<goal>report</goal>-->
<!--</goals>-->
<!--<configuration>-->
<!--&lt;!&ndash; Sets the path to the file which contains the execution data. &ndash;&gt;-->

<!--<dataFile>target/jacoco.exec</dataFile>-->
<!--&lt;!&ndash; Sets the output directory for the code coverage report. &ndash;&gt;-->
<!--<outputDirectory>target/jacoco-ut</outputDirectory>-->
<!--</configuration>-->
<!--</execution>-->
<!--</executions>-->
<!--</plugin>-->
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.4.1</version>
<configuration>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
</plugins>
</build>

<!-- Push binary to JCenter -->
<distributionManagement>
<repository>
<id>bintray-kptfh-feign-reactive</id>
<name>kptfh-feign-reactive</name>
<url>https://api.bintray.com/maven/kptfh/feign-reactive/client/;publish=1</url>
</repository>
</distributionManagement>
<!--<distributionManagement>-->
<!--<repository>-->
<!--<id>bintray</id>-->
<!--<url>https://api.bintray.com/maven/kptfh/feign-reactive/client/;publish=1</url>-->
<!--</repository>-->
<!--</distributionManagement>-->

<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>${versions-maven-plugin.version}</version>
<reportSets>
<reportSet>
<reports>
<report>dependency-updates-report</report>
<report>plugin-updates-report</report>
<report>property-updates-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>

</project>
12 changes: 12 additions & 0 deletions settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
https://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>bintray-kptfh-feign-reactive</id>
<username>kptfh</username>
<password>4b4f2162048b2d8f2950ebd29fd604232bf5b2e4</password>
</server>
</servers>
</settings>

0 comments on commit 0862324

Please sign in to comment.