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

Commit 5e60e88

Browse files
committed
Release 1.0.15
1 parent 181db01 commit 5e60e88

35 files changed

+5349
-5777
lines changed

coverage/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<description>Compute aggregated test code coverage</description>
1313
<properties>
1414
<maven.deploy.skip>true</maven.deploy.skip>
15-
<revision>1.0.15-SNAPSHOT</revision>
15+
<revision>1.0.15</revision>
1616
</properties>
1717

1818
<dependencies>

notification-service-sdk/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Add this dependency to your project's POM:
3939
<dependency>
4040
<groupId>dev.parodos</groupId>
4141
<artifactId>notification-service-sdk</artifactId>
42-
<version>1.0.15-SNAPSHOT</version>
42+
<version>1.0.15</version>
4343
<scope>compile</scope>
4444
</dependency>
4545
```
@@ -55,7 +55,7 @@ Add this dependency to your project's build file:
5555
}
5656
5757
dependencies {
58-
implementation "dev.parodos:notification-service-sdk:1.0.15-SNAPSHOT"
58+
implementation "dev.parodos:notification-service-sdk:1.0.15"
5959
}
6060
```
6161

@@ -69,7 +69,7 @@ mvn clean package
6969

7070
Then manually install the following JARs:
7171

72-
* `target/notification-service-sdk-1.0.15-SNAPSHOT.jar`
72+
* `target/notification-service-sdk-1.0.15.jar`
7373
* `target/lib/*.jar`
7474

7575
## Getting Started

notification-service-sdk/src/main/java/com/redhat/parodos/notification/sdk/api/ApiCallback.java

Lines changed: 40 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -3,56 +3,60 @@
33
* This is the API documentation for the Parodos Notification Service. It provides operations to send out and check notification. The endpoints are secured with oAuth2/OpenID and cannot be accessed without a valid token.
44
*
55
* The version of the OpenAPI document: v1.0.0
6-
*
6+
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech
1010
* Do not edit the class manually.
1111
*/
1212

13+
1314
package com.redhat.parodos.notification.sdk.api;
1415

15-
import java.util.List;
16+
import java.io.IOException;
17+
1618
import java.util.Map;
19+
import java.util.List;
1720

1821
/**
1922
* Callback for asynchronous API call.
2023
*
2124
* @param <T> The return type
2225
*/
2326
public interface ApiCallback<T> {
24-
25-
/**
26-
* This is called when the API call fails.
27-
* @param e The exception causing the failure
28-
* @param statusCode Status code of the response if available, otherwise it would be 0
29-
* @param responseHeaders Headers of the response if available, otherwise it would be
30-
* null
31-
*/
32-
void onFailure(ApiException e, int statusCode, Map<String, List<String>> responseHeaders);
33-
34-
/**
35-
* This is called when the API call succeeded.
36-
* @param result The result deserialized from response
37-
* @param statusCode Status code of the response
38-
* @param responseHeaders Headers of the response
39-
*/
40-
void onSuccess(T result, int statusCode, Map<String, List<String>> responseHeaders);
41-
42-
/**
43-
* This is called when the API upload processing.
44-
* @param bytesWritten bytes Written
45-
* @param contentLength content length of request body
46-
* @param done write end
47-
*/
48-
void onUploadProgress(long bytesWritten, long contentLength, boolean done);
49-
50-
/**
51-
* This is called when the API download processing.
52-
* @param bytesRead bytes Read
53-
* @param contentLength content length of the response
54-
* @param done Read end
55-
*/
56-
void onDownloadProgress(long bytesRead, long contentLength, boolean done);
57-
27+
/**
28+
* This is called when the API call fails.
29+
*
30+
* @param e The exception causing the failure
31+
* @param statusCode Status code of the response if available, otherwise it would be 0
32+
* @param responseHeaders Headers of the response if available, otherwise it would be null
33+
*/
34+
void onFailure(ApiException e, int statusCode, Map<String, List<String>> responseHeaders);
35+
36+
/**
37+
* This is called when the API call succeeded.
38+
*
39+
* @param result The result deserialized from response
40+
* @param statusCode Status code of the response
41+
* @param responseHeaders Headers of the response
42+
*/
43+
void onSuccess(T result, int statusCode, Map<String, List<String>> responseHeaders);
44+
45+
/**
46+
* This is called when the API upload processing.
47+
*
48+
* @param bytesWritten bytes Written
49+
* @param contentLength content length of request body
50+
* @param done write end
51+
*/
52+
void onUploadProgress(long bytesWritten, long contentLength, boolean done);
53+
54+
/**
55+
* This is called when the API download processing.
56+
*
57+
* @param bytesRead bytes Read
58+
* @param contentLength content length of the response
59+
* @param done Read end
60+
*/
61+
void onDownloadProgress(long bytesRead, long contentLength, boolean done);
5862
}

0 commit comments

Comments
 (0)