Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Release 1.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
pkliczewski authored and openshift-merge-robot committed May 11, 2023
1 parent 4b2999e commit 37bacc3
Show file tree
Hide file tree
Showing 64 changed files with 797 additions and 364 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,14 @@ wait-kubernetes-dependencies: ## Wait for dependencies to be ready
--timeout=90s

update-version: ## update release version
find . -type f | xargs sed -i 's/$(VERSION)/${RELEASE_VERSION}/g'
find . -type f | xargs sed -i 's/$(VERSION)/$(RELEASE_VERSION)/g'

bump-version: ## update post-release version and update commit message
find . -type f | xargs sed -i 's/1.0.11-SNAPSHOT/1.0.11-SNAPSHOT/g'
find . -type f | xargs sed -i 's/$(RELEASE_VERSION)/$(NEXT_VERSION)/g'

bump-git-commit: ## adds all files and bumps the version
git add -u .
git commit -m 'Version bump to 1.0.11-SNAPSHOT'
git commit -m 'Version bump to 1.0.11'

git-release: ## adds all release files and commits
git add -u .
Expand All @@ -192,7 +192,7 @@ git-tag: ## tag commit and prepare for image release
git tag -a $(TAG) -m "$(TAG)"
$(eval TAG=$(TAG))

release-all: clean update-version release git-release git-tag build-images tag-images push-images bump-version install bump-git-commit
release-all: update-version release git-release git-tag build-images tag-images push-images bump-version install bump-git-commit

##@ Run
.PHONY: docker-run docker-stop
Expand Down
2 changes: 1 addition & 1 deletion coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<description>Compute aggregated test code coverage</description>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
<revision>1.0.11-SNAPSHOT</revision>
<revision>1.0.11</revision>
</properties>

<dependencies>
Expand Down
6 changes: 3 additions & 3 deletions notification-service-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>dev.parodos</groupId>
<artifactId>notification-service-sdk</artifactId>
<version>1.0.11-SNAPSHOT</version>
<version>1.0.11</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -55,7 +55,7 @@ Add this dependency to your project's build file:
}
dependencies {
implementation "dev.parodos:notification-service-sdk:1.0.11-SNAPSHOT"
implementation "dev.parodos:notification-service-sdk:1.0.11"
}
```

Expand All @@ -69,7 +69,7 @@ mvn clean package

Then manually install the following JARs:

* `target/notification-service-sdk-1.0.11-SNAPSHOT.jar`
* `target/notification-service-sdk-1.0.11.jar`
* `target/lib/*.jar`

## Getting Started
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@

package com.redhat.parodos.notification.sdk.api;

import java.util.List;
import java.io.IOException;

import java.util.Map;
import java.util.List;

/**
* Callback for asynchronous API call.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@

package com.redhat.parodos.notification.sdk.api;

import okhttp3.*;
import okhttp3.internal.http.HttpMethod;
import okhttp3.internal.tls.OkHostnameVerifier;
import okhttp3.logging.HttpLoggingInterceptor;
import okhttp3.logging.HttpLoggingInterceptor.Level;
import okio.Buffer;
import okio.BufferedSink;
import okio.Okio;

import javax.net.ssl.*;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
Expand All @@ -30,25 +40,19 @@
import java.security.cert.CertificateFactory;
import java.security.cert.X509Certificate;
import java.text.DateFormat;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.time.format.DateTimeFormatter;
import java.util.*;
import java.util.Map.Entry;
import java.util.concurrent.TimeUnit;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import javax.net.ssl.*;

import com.redhat.parodos.notification.sdk.api.auth.ApiKeyAuth;
import com.redhat.parodos.notification.sdk.api.auth.Authentication;
import com.redhat.parodos.notification.sdk.api.auth.HttpBasicAuth;
import okhttp3.*;
import okhttp3.internal.http.HttpMethod;
import okhttp3.internal.tls.OkHostnameVerifier;
import okhttp3.logging.HttpLoggingInterceptor;
import okhttp3.logging.HttpLoggingInterceptor.Level;
import okio.Buffer;
import okio.BufferedSink;
import okio.Okio;
import com.redhat.parodos.notification.sdk.api.auth.HttpBearerAuth;
import com.redhat.parodos.notification.sdk.api.auth.ApiKeyAuth;

/**
* <p>
Expand Down Expand Up @@ -143,7 +147,7 @@ private void init() {
json = new JSON();

// Set default User-Agent.
setUserAgent("OpenAPI-Generator/1.0.11-SNAPSHOT/java");
setUserAgent("OpenAPI-Generator/1.0.11/java");

authentications = new HashMap<String, Authentication>();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@

package com.redhat.parodos.notification.sdk.api;

import java.util.List;
import java.util.Map;
import java.util.List;

import javax.ws.rs.core.GenericType;

/**
* <p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@

package com.redhat.parodos.notification.sdk.api;

import java.io.IOException;

import okhttp3.*;
import okio.Buffer;
import okio.BufferedSink;
import okio.GzipSink;
import okio.Okio;

import java.io.IOException;

/**
* Encodes request bodies using gzip.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,33 @@

package com.redhat.parodos.notification.sdk.api;

import java.io.IOException;
import java.io.StringReader;
import java.lang.reflect.Type;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.ParsePosition;
import java.util.Date;
import java.util.Map;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;
import com.google.gson.TypeAdapter;
import com.google.gson.internal.bind.util.ISO8601Utils;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.google.gson.JsonElement;
import io.gsonfire.GsonFireBuilder;
import io.gsonfire.TypeSelector;

import okio.ByteString;

import java.io.IOException;
import java.io.StringReader;
import java.lang.reflect.Type;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.ParsePosition;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Date;
import java.util.Locale;
import java.util.Map;
import java.util.HashMap;

/*
* A JSON utility class
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,27 @@

package com.redhat.parodos.notification.sdk.api;

import com.redhat.parodos.notification.sdk.api.ApiCallback;
import com.redhat.parodos.notification.sdk.api.ApiClient;
import com.redhat.parodos.notification.sdk.api.ApiException;
import com.redhat.parodos.notification.sdk.api.ApiResponse;
import com.redhat.parodos.notification.sdk.api.Configuration;
import com.redhat.parodos.notification.sdk.api.Pair;
import com.redhat.parodos.notification.sdk.api.ProgressRequestBody;
import com.redhat.parodos.notification.sdk.api.ProgressResponseBody;

import com.google.gson.reflect.TypeToken;

import java.io.IOException;

import com.redhat.parodos.notification.sdk.model.NotificationMessageCreateRequestDTO;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.redhat.parodos.notification.sdk.model.NotificationMessageCreateRequestDTO;
import javax.ws.rs.core.GenericType;

public class NotificationMessageApi {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,30 @@

package com.redhat.parodos.notification.sdk.api;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import com.redhat.parodos.notification.sdk.api.ApiCallback;
import com.redhat.parodos.notification.sdk.api.ApiClient;
import com.redhat.parodos.notification.sdk.api.ApiException;
import com.redhat.parodos.notification.sdk.api.ApiResponse;
import com.redhat.parodos.notification.sdk.api.Configuration;
import com.redhat.parodos.notification.sdk.api.Pair;
import com.redhat.parodos.notification.sdk.api.ProgressRequestBody;
import com.redhat.parodos.notification.sdk.api.ProgressResponseBody;

import com.google.gson.reflect.TypeToken;

import java.io.IOException;

import com.redhat.parodos.notification.sdk.model.NotificationRecordResponseDTO;
import com.redhat.parodos.notification.sdk.model.PageNotificationRecordResponseDTO;
import com.redhat.parodos.notification.sdk.model.Pageable;
import java.util.UUID;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.ws.rs.core.GenericType;

public class NotificationRecordApi {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@

package com.redhat.parodos.notification.sdk.api;

import java.io.IOException;

import okhttp3.MediaType;
import okhttp3.RequestBody;

import java.io.IOException;

import okio.Buffer;
import okio.BufferedSink;
import okio.ForwardingSink;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@

package com.redhat.parodos.notification.sdk.api;

import java.io.IOException;

import okhttp3.MediaType;
import okhttp3.ResponseBody;

import java.io.IOException;

import okio.Buffer;
import okio.BufferedSource;
import okio.ForwardingSource;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

package com.redhat.parodos.notification.sdk.api.auth;

import java.net.URI;
import java.util.List;
import java.util.Map;

import com.redhat.parodos.notification.sdk.api.ApiException;
import com.redhat.parodos.notification.sdk.api.Pair;

import java.net.URI;
import java.util.Map;
import java.util.List;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class ApiKeyAuth implements Authentication {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@

package com.redhat.parodos.notification.sdk.api.auth;

import com.redhat.parodos.notification.sdk.api.Pair;
import com.redhat.parodos.notification.sdk.api.ApiException;

import java.net.URI;
import java.util.List;
import java.util.Map;

import com.redhat.parodos.notification.sdk.api.ApiException;
import com.redhat.parodos.notification.sdk.api.Pair;
import java.util.List;

public interface Authentication {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@

package com.redhat.parodos.notification.sdk.api.auth;

import com.redhat.parodos.notification.sdk.api.Pair;
import com.redhat.parodos.notification.sdk.api.ApiException;

import okhttp3.Credentials;

import java.net.URI;
import java.util.List;
import java.util.Map;
import java.util.List;

import com.redhat.parodos.notification.sdk.api.ApiException;
import com.redhat.parodos.notification.sdk.api.Pair;
import okhttp3.Credentials;
import java.io.UnsupportedEncodingException;

public class HttpBasicAuth implements Authentication {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

package com.redhat.parodos.notification.sdk.api.auth;

import java.net.URI;
import java.util.List;
import java.util.Map;

import com.redhat.parodos.notification.sdk.api.ApiException;
import com.redhat.parodos.notification.sdk.api.Pair;

import java.net.URI;
import java.util.Map;
import java.util.List;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class HttpBearerAuth implements Authentication {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@

package com.redhat.parodos.notification.sdk.model;

import java.util.Map;
import com.redhat.parodos.notification.sdk.api.ApiException;
import java.util.Objects;

import java.lang.reflect.Type;
import java.util.Map;
import javax.ws.rs.core.GenericType;

//import com.fasterxml.jackson.annotation.JsonValue;
Expand Down
Loading

0 comments on commit 37bacc3

Please sign in to comment.