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

Commit

Permalink
Release v1.0.7
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Kliczewski <piotr.kliczewski@gmail.com>
  • Loading branch information
pkliczewski committed Apr 18, 2023
1 parent 5693adf commit 033844b
Show file tree
Hide file tree
Showing 44 changed files with 6,273 additions and 6,941 deletions.
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.7-SNAPSHOT</revision>
<revision>1.0.7</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.7-SNAPSHOT</version>
<version>1.0.7</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.7-SNAPSHOT"
implementation "dev.parodos:notification-service-sdk:1.0.7"
}
```

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

Then manually install the following JARs:

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

## Getting Started
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ private void init() {
json = new JSON();

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

authentications = new HashMap<String, Authentication>();
}
Expand Down
2 changes: 1 addition & 1 deletion notification-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ From the root of the 'notification-service' folder, the follow command will star

```shell

java -jar -Dspring.profiles.active=local -Dserver.port=8081 target/notification-service-1.0.7-SNAPSHOT.jar
java -jar -Dspring.profiles.active=local -Dserver.port=8081 target/notification-service-1.0.7.jar

```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</developer>
</developers>
<properties>
<revision>1.0.7-SNAPSHOT</revision>
<revision>1.0.7</revision>
<flatten.version>1.3.0</flatten.version>
<java.version>11</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
6 changes: 3 additions & 3 deletions workflow-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>workflow-service-sdk</artifactId>
<version>1.0.7-SNAPSHOT</version>
<version>1.0.7</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -55,7 +55,7 @@ Add this dependency to your project's build file:
}
dependencies {
implementation "dev.parodos:workflow-service-sdk:1.0.7-SNAPSHOT"
implementation "dev.parodos:workflow-service-sdk:1.0.7"
}
```

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

Then manually install the following JARs:

* `target/workflow-service-sdk-1.0.7-SNAPSHOT.jar`
* `target/workflow-service-sdk-1.0.7.jar`
* `target/lib/*.jar`

## Getting Started
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
* This is the API documentation for the Parodos Workflow Service. It provides operations to execute assessments to determine infrastructure options (tooling + environments). Also executes infrastructure task workflows to call downstream systems to stand-up an infrastructure option.
*
* The version of the OpenAPI document: v1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/


package com.redhat.parodos.sdk.api;

import java.io.IOException;
Expand All @@ -23,38 +24,39 @@
* @param <T> The return type
*/
public interface ApiCallback<T> {

/**
* This is called when the API call fails.
* @param e The exception causing the failure
* @param statusCode Status code of the response if available, otherwise it would be 0
* @param responseHeaders Headers of the response if available, otherwise it would be
* null
*/
void onFailure(ApiException e, int statusCode, Map<String, List<String>> responseHeaders);

/**
* This is called when the API call succeeded.
* @param result The result deserialized from response
* @param statusCode Status code of the response
* @param responseHeaders Headers of the response
*/
void onSuccess(T result, int statusCode, Map<String, List<String>> responseHeaders);

/**
* This is called when the API upload processing.
* @param bytesWritten bytes Written
* @param contentLength content length of request body
* @param done write end
*/
void onUploadProgress(long bytesWritten, long contentLength, boolean done);

/**
* This is called when the API download processing.
* @param bytesRead bytes Read
* @param contentLength content length of the response
* @param done Read end
*/
void onDownloadProgress(long bytesRead, long contentLength, boolean done);

/**
* This is called when the API call fails.
*
* @param e The exception causing the failure
* @param statusCode Status code of the response if available, otherwise it would be 0
* @param responseHeaders Headers of the response if available, otherwise it would be null
*/
void onFailure(ApiException e, int statusCode, Map<String, List<String>> responseHeaders);

/**
* This is called when the API call succeeded.
*
* @param result The result deserialized from response
* @param statusCode Status code of the response
* @param responseHeaders Headers of the response
*/
void onSuccess(T result, int statusCode, Map<String, List<String>> responseHeaders);

/**
* This is called when the API upload processing.
*
* @param bytesWritten bytes Written
* @param contentLength content length of request body
* @param done write end
*/
void onUploadProgress(long bytesWritten, long contentLength, boolean done);

/**
* This is called when the API download processing.
*
* @param bytesRead bytes Read
* @param contentLength content length of the response
* @param done Read end
*/
void onDownloadProgress(long bytesRead, long contentLength, boolean done);
}
Loading

0 comments on commit 033844b

Please sign in to comment.