Skip to content

Commit

Permalink
Merge branch 'release/0.9' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
bannmann committed Nov 22, 2023
2 parents 01708e1 + fcb4085 commit b00a5d8
Show file tree
Hide file tree
Showing 28 changed files with 56 additions and 71 deletions.
44 changes: 24 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
pull_request:
branches:
- develop
- talos-testing/fake-develop

jobs:
build:
Expand All @@ -18,6 +19,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
lfs: true

- name: Prepare directories
run: mkdir -p /home/runner/work/_temp/_github_home/talos-m2-repository
Expand All @@ -31,31 +33,33 @@ jobs:
- name: Build
uses: docker://incub8softwarelabs/talos:latest
env:
# Talos-specific variables
TALOS_MAVEN_DEBUG: ${{ secrets.TALOS_MAVEN_DEBUG }}
TALOS_PARAMETERS: ${{ secrets.TALOS_PARAMETERS }}
TALOS_RELEASE_REPO_ENABLED: ${{ secrets.TALOS_RELEASE_REPO_ENABLED }}
TALOS_RELEASE_REPO_ID: ${{ secrets.TALOS_RELEASE_REPO_ID }}
TALOS_RELEASE_REPO_URL: ${{ secrets.TALOS_RELEASE_REPO_URL }}
TALOS_SERVER1_ID: ${{ secrets.TALOS_SERVER1_ID }}
# Talos-specific secrets
TALOS_SERVER1_PASSWORD: ${{ secrets.TALOS_SERVER1_PASSWORD }}
TALOS_SERVER1_USERNAME: ${{ secrets.TALOS_SERVER1_USERNAME }}
TALOS_SERVER2_ID: ${{ secrets.TALOS_SERVER2_ID }}
TALOS_SERVER2_PASSWORD: ${{ secrets.TALOS_SERVER2_PASSWORD }}
TALOS_SERVER2_USERNAME: ${{ secrets.TALOS_SERVER2_USERNAME }}
TALOS_SERVER3_ID: ${{ secrets.TALOS_SERVER3_ID }}
TALOS_SERVER3_PASSWORD: ${{ secrets.TALOS_SERVER3_PASSWORD }}
TALOS_SERVER3_USERNAME: ${{ secrets.TALOS_SERVER3_USERNAME }}
TALOS_SIGNING_ENABLED: ${{ secrets.TALOS_SIGNING_ENABLED }}
TALOS_SIGNING_KEY: ${{ secrets.TALOS_SIGNING_KEY }}
TALOS_SIGNING_PROFILE: ${{ secrets.TALOS_SIGNING_PROFILE }}
TALOS_SNAPSHOT_REPO_ENABLED: ${{ secrets.TALOS_SNAPSHOT_REPO_ENABLED }}
TALOS_SNAPSHOT_REPO_ID: ${{ secrets.TALOS_SNAPSHOT_REPO_ID }}
TALOS_SNAPSHOT_REPO_URL: ${{ secrets.TALOS_SNAPSHOT_REPO_URL }}
TALOS_SONAR_ENABLED: ${{ secrets.TALOS_SONAR_ENABLED }}
TALOS_SONAR_HOST: ${{ secrets.TALOS_SONAR_HOST }}
TALOS_SONAR_LOGIN: ${{ secrets.TALOS_SONAR_LOGIN }}
TALOS_SONAR_ORGANIZATION: ${{ secrets.TALOS_SONAR_ORGANIZATION }}

# Talos-specific variables
TALOS_MAVEN_DEBUG: ${{ vars.TALOS_MAVEN_DEBUG }}
TALOS_PARAMETERS: ${{ vars.TALOS_PARAMETERS }}
TALOS_RELEASE_REPO_ENABLED: ${{ vars.TALOS_RELEASE_REPO_ENABLED }}
TALOS_RELEASE_REPO_ID: ${{ vars.TALOS_RELEASE_REPO_ID }}
TALOS_RELEASE_REPO_URL: ${{ vars.TALOS_RELEASE_REPO_URL }}
TALOS_SERVER1_ID: ${{ vars.TALOS_SERVER1_ID }}
TALOS_SERVER1_USERNAME: ${{ vars.TALOS_SERVER1_USERNAME }}
TALOS_SERVER2_ID: ${{ vars.TALOS_SERVER2_ID }}
TALOS_SERVER2_USERNAME: ${{ vars.TALOS_SERVER2_USERNAME }}
TALOS_SERVER3_ID: ${{ vars.TALOS_SERVER3_ID }}
TALOS_SERVER3_USERNAME: ${{ vars.TALOS_SERVER3_USERNAME }}
TALOS_SIGNING_ENABLED: ${{ vars.TALOS_SIGNING_ENABLED }}
TALOS_SIGNING_PROFILE: ${{ vars.TALOS_SIGNING_PROFILE }}
TALOS_SNAPSHOT_REPO_ENABLED: ${{ vars.TALOS_SNAPSHOT_REPO_ENABLED }}
TALOS_SNAPSHOT_REPO_ID: ${{ vars.TALOS_SNAPSHOT_REPO_ID }}
TALOS_SNAPSHOT_REPO_URL: ${{ vars.TALOS_SNAPSHOT_REPO_URL }}
TALOS_SONAR_ENABLED: ${{ vars.TALOS_SONAR_ENABLED }}
TALOS_SONAR_HOST: ${{ vars.TALOS_SONAR_HOST }}
TALOS_SONAR_ORGANIZATION: ${{ vars.TALOS_SONAR_ORGANIZATION }}

# Token to use when SonarScanner invokes Github APIs
# https://docs.github.com/en/actions/reference/authentication-in-a-workflow#about-the-github_token-secret
Expand Down
27 changes: 4 additions & 23 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.github.bannmann</groupId>
<groupId>dev.bannmann</groupId>
<artifactId>base</artifactId>
<version>1.3</version>
<version>1.5</version>
</parent>

<groupId>com.github.bannmann.restflow</groupId>
<groupId>dev.bannmann.restflow</groupId>
<artifactId>restflow</artifactId>
<version>0.8</version>
<version>0.9</version>

<name>${project.groupId}:${project.artifactId}</name>
<description>Fluent API for Java 11 HTTP Client with JSON-B support</description>
Expand Down Expand Up @@ -124,25 +124,6 @@

<build>
<defaultGoal>install</defaultGoal>

<pluginManagement>
<plugins>
<plugin>
<groupId>com.amashchenko.maven.plugin</groupId>
<artifactId>gitflow-maven-plugin</artifactId>
<configuration>
<gitFlowConfig>
<productionBranch>main</productionBranch>
</gitFlowConfig>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
</plugin>
</plugins>
</pluginManagement>
</build>

<profiles>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.net.http.HttpRequest;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.net.http.HttpClient;
import java.net.http.HttpResponse;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.util.concurrent.CompletableFuture;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.util.Optional;
import java.util.concurrent.CompletableFuture;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.net.http.HttpResponse;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.net.http.HttpResponse;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.net.http.HttpRequest;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.net.http.HttpRequest;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.net.http.HttpRequest;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.net.http.HttpRequest;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.io.InputStream;
import java.lang.reflect.Type;
Expand All @@ -12,7 +12,7 @@
import lombok.AccessLevel;
import lombok.RequiredArgsConstructor;

import com.github.bannmann.restflow.util.Types;
import dev.bannmann.restflow.util.Types;

@RequiredArgsConstructor(access = AccessLevel.PACKAGE)
public final class RequestHandle
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.net.http.HttpRequest;

Expand All @@ -7,7 +7,7 @@
import lombok.Getter;
import lombok.RequiredArgsConstructor;

import com.github.bannmann.restflow.util.HttpRequests;
import dev.bannmann.restflow.util.HttpRequests;

@Builder(toBuilder = true)
@RequiredArgsConstructor(access = AccessLevel.PACKAGE)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.net.http.HttpRequest;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.util.concurrent.CompletableFuture;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.net.http.HttpResponse;
import java.util.function.Function;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.net.http.HttpRequest;
import java.nio.charset.StandardCharsets;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow.util;
package dev.bannmann.restflow.util;

import java.net.http.HttpRequest;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow.util;
package dev.bannmann.restflow.util;

import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import static org.assertj.core.api.Assertions.as;
import static org.assertj.core.api.Assertions.assertThat;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import static java.net.http.HttpRequest.BodyPublishers.noBody;
import static org.mockserver.model.HttpRequest.request;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import org.testng.annotations.Test;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow;
package dev.bannmann.restflow;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bannmann.restflow.util;
package dev.bannmann.restflow.util;

import static org.assertj.core.api.Assertions.assertThat;

Expand Down

0 comments on commit b00a5d8

Please sign in to comment.