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

Commit

Permalink
Fix: invoker sdk package
Browse files Browse the repository at this point in the history
Signed-off-by: Gloria Ciavarrini <[email protected]>
  • Loading branch information
gciavarrini authored and sergiubodiu committed Apr 17, 2023
1 parent 6a1aa81 commit e17372c
Show file tree
Hide file tree
Showing 35 changed files with 117 additions and 117 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.redhat.parodos.examples.integration;

import com.redhat.parodos.examples.integration.utils.ExamplesUtils;
import com.redhat.parodos.sdk.api.ApiClient;
import com.redhat.parodos.sdk.api.ApiException;
import com.redhat.parodos.sdk.api.Configuration;
import com.redhat.parodos.sdk.api.ProjectApi;
import com.redhat.parodos.sdk.api.WorkflowApi;
import com.redhat.parodos.sdk.api.WorkflowDefinitionApi;
import com.redhat.parodos.sdk.invoker.ApiClient;
import com.redhat.parodos.sdk.invoker.ApiException;
import com.redhat.parodos.sdk.invoker.Configuration;
import com.redhat.parodos.sdk.model.ArgumentRequestDTO;
import com.redhat.parodos.sdk.model.ProjectRequestDTO;
import com.redhat.parodos.sdk.model.ProjectResponseDTO;
Expand Down Expand Up @@ -68,7 +68,6 @@ public void runSimpleWorkFlow() throws ApiException, InterruptedException {
// RETRIEVE ALL PROJECTS AVAILABLE
log.info("Get all available projects");
List<ProjectResponseDTO> projects = projectApi.getProjects();

// CHECK IF testProject ALREADY EXISTS
testProject = getProjectByNameAndDescription(projects, projectName, projectDescription);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.redhat.parodos.examples.integration;

import com.redhat.parodos.sdk.api.ApiClient;
import com.redhat.parodos.sdk.api.ApiException;
import com.redhat.parodos.sdk.api.Configuration;
import com.redhat.parodos.sdk.api.ProjectApi;
import com.redhat.parodos.sdk.api.WorkflowApi;
import com.redhat.parodos.sdk.api.WorkflowDefinitionApi;
import com.redhat.parodos.sdk.invoker.ApiClient;
import com.redhat.parodos.sdk.invoker.ApiException;
import com.redhat.parodos.sdk.invoker.Configuration;
import com.redhat.parodos.sdk.model.ArgumentRequestDTO;
import com.redhat.parodos.sdk.model.ProjectRequestDTO;
import com.redhat.parodos.sdk.model.ProjectResponseDTO;
Expand Down Expand Up @@ -43,7 +43,7 @@ public class UseSDKExample {
private final String testPrjDescription = "Test Project Description";

@Test
public void runSimpleFlow() {
public void runSimpleFlow() throws ApiException {
ApiClient defaultClient = Configuration.getDefaultApiClient();

defaultClient.addDefaultHeader(HttpHeaders.AUTHORIZATION, "Basic " + CredUtils.getBase64Creds("test", "test"));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@

package com.redhat.parodos.examples.integration.utils;

import com.redhat.parodos.sdk.api.ApiCallback;
import com.redhat.parodos.sdk.api.ApiException;
import com.redhat.parodos.sdk.api.ProjectApi;
import com.redhat.parodos.sdk.api.WorkflowApi;
import com.redhat.parodos.sdk.invoker.ApiCallback;
import com.redhat.parodos.sdk.invoker.ApiException;
import com.redhat.parodos.sdk.model.ProjectResponseDTO;
import lombok.Data;
import org.assertj.core.util.Strings;
Expand Down
8 changes: 4 additions & 4 deletions workflow-service-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ Please follow the [installation](#installation) instruction and execute the foll
```java

// Import classes:
import com.redhat.parodos.sdk.api.ApiClient;
import com.redhat.parodos.sdk.api.ApiException;
import com.redhat.parodos.sdk.api.Configuration;
import com.redhat.parodos.sdk.api.models.*;
import com.redhat.parodos.sdk.invoker.ApiClient;
import com.redhat.parodos.sdk.invoker.ApiException;
import com.redhat.parodos.sdk.invoker.Configuration;
import com.redhat.parodos.sdk.invoker.models.*;
import com.redhat.parodos.sdk.api.LoginApi;

public class Example {
Expand Down
8 changes: 4 additions & 4 deletions workflow-service-sdk/docs/LoginApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ Login
### Example
```java
// Import classes:
import com.redhat.parodos.sdk.api.ApiClient;
import com.redhat.parodos.sdk.api.ApiException;
import com.redhat.parodos.sdk.api.Configuration;
import com.redhat.parodos.sdk.api.models.*;
import com.redhat.parodos.sdk.invoker.ApiClient;
import com.redhat.parodos.sdk.invoker.ApiException;
import com.redhat.parodos.sdk.invoker.Configuration;
import com.redhat.parodos.sdk.invoker.models.*;
import com.redhat.parodos.sdk.api.LoginApi;

public class Example {
Expand Down
24 changes: 12 additions & 12 deletions workflow-service-sdk/docs/ProjectApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ Creates a new project
### Example
```java
// Import classes:
import com.redhat.parodos.sdk.api.ApiClient;
import com.redhat.parodos.sdk.api.ApiException;
import com.redhat.parodos.sdk.api.Configuration;
import com.redhat.parodos.sdk.api.models.*;
import com.redhat.parodos.sdk.invoker.ApiClient;
import com.redhat.parodos.sdk.invoker.ApiException;
import com.redhat.parodos.sdk.invoker.Configuration;
import com.redhat.parodos.sdk.invoker.models.*;
import com.redhat.parodos.sdk.api.ProjectApi;

public class Example {
Expand Down Expand Up @@ -79,10 +79,10 @@ Returns information about a specified project
### Example
```java
// Import classes:
import com.redhat.parodos.sdk.api.ApiClient;
import com.redhat.parodos.sdk.api.ApiException;
import com.redhat.parodos.sdk.api.Configuration;
import com.redhat.parodos.sdk.api.models.*;
import com.redhat.parodos.sdk.invoker.ApiClient;
import com.redhat.parodos.sdk.invoker.ApiException;
import com.redhat.parodos.sdk.invoker.Configuration;
import com.redhat.parodos.sdk.invoker.models.*;
import com.redhat.parodos.sdk.api.ProjectApi;

public class Example {
Expand Down Expand Up @@ -141,10 +141,10 @@ Returns a list of project
### Example
```java
// Import classes:
import com.redhat.parodos.sdk.api.ApiClient;
import com.redhat.parodos.sdk.api.ApiException;
import com.redhat.parodos.sdk.api.Configuration;
import com.redhat.parodos.sdk.api.models.*;
import com.redhat.parodos.sdk.invoker.ApiClient;
import com.redhat.parodos.sdk.invoker.ApiException;
import com.redhat.parodos.sdk.invoker.Configuration;
import com.redhat.parodos.sdk.invoker.models.*;
import com.redhat.parodos.sdk.api.ProjectApi;

public class Example {
Expand Down
24 changes: 12 additions & 12 deletions workflow-service-sdk/docs/WorkflowApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ Executes a workflow
### Example
```java
// Import classes:
import com.redhat.parodos.sdk.api.ApiClient;
import com.redhat.parodos.sdk.api.ApiException;
import com.redhat.parodos.sdk.api.Configuration;
import com.redhat.parodos.sdk.api.models.*;
import com.redhat.parodos.sdk.invoker.ApiClient;
import com.redhat.parodos.sdk.invoker.ApiException;
import com.redhat.parodos.sdk.invoker.Configuration;
import com.redhat.parodos.sdk.invoker.models.*;
import com.redhat.parodos.sdk.api.WorkflowApi;

public class Example {
Expand Down Expand Up @@ -80,10 +80,10 @@ Returns a workflow status
### Example
```java
// Import classes:
import com.redhat.parodos.sdk.api.ApiClient;
import com.redhat.parodos.sdk.api.ApiException;
import com.redhat.parodos.sdk.api.Configuration;
import com.redhat.parodos.sdk.api.models.*;
import com.redhat.parodos.sdk.invoker.ApiClient;
import com.redhat.parodos.sdk.invoker.ApiException;
import com.redhat.parodos.sdk.invoker.Configuration;
import com.redhat.parodos.sdk.invoker.models.*;
import com.redhat.parodos.sdk.api.WorkflowApi;

public class Example {
Expand Down Expand Up @@ -142,10 +142,10 @@ Updates a workflow checker task status
### Example
```java
// Import classes:
import com.redhat.parodos.sdk.api.ApiClient;
import com.redhat.parodos.sdk.api.ApiException;
import com.redhat.parodos.sdk.api.Configuration;
import com.redhat.parodos.sdk.api.models.*;
import com.redhat.parodos.sdk.invoker.ApiClient;
import com.redhat.parodos.sdk.invoker.ApiException;
import com.redhat.parodos.sdk.invoker.Configuration;
import com.redhat.parodos.sdk.invoker.models.*;
import com.redhat.parodos.sdk.api.WorkflowApi;

public class Example {
Expand Down
16 changes: 8 additions & 8 deletions workflow-service-sdk/docs/WorkflowDefinitionApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ Returns information about a workflow definition by id
### Example
```java
// Import classes:
import com.redhat.parodos.sdk.api.ApiClient;
import com.redhat.parodos.sdk.api.ApiException;
import com.redhat.parodos.sdk.api.Configuration;
import com.redhat.parodos.sdk.api.models.*;
import com.redhat.parodos.sdk.invoker.ApiClient;
import com.redhat.parodos.sdk.invoker.ApiException;
import com.redhat.parodos.sdk.invoker.Configuration;
import com.redhat.parodos.sdk.invoker.models.*;
import com.redhat.parodos.sdk.api.WorkflowDefinitionApi;

public class Example {
Expand Down Expand Up @@ -79,10 +79,10 @@ Returns a list of workflow definition
### Example
```java
// Import classes:
import com.redhat.parodos.sdk.api.ApiClient;
import com.redhat.parodos.sdk.api.ApiException;
import com.redhat.parodos.sdk.api.Configuration;
import com.redhat.parodos.sdk.api.models.*;
import com.redhat.parodos.sdk.invoker.ApiClient;
import com.redhat.parodos.sdk.invoker.ApiException;
import com.redhat.parodos.sdk.invoker.Configuration;
import com.redhat.parodos.sdk.invoker.models.*;
import com.redhat.parodos.sdk.api.WorkflowDefinitionApi;

public class Example {
Expand Down
2 changes: 1 addition & 1 deletion workflow-service-sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
</inputSpec>
<output>${basedir}</output>

<invokerPackage>com.redhat.parodos.sdk.api</invokerPackage>
<invokerPackage>com.redhat.parodos.sdk.invoker</invokerPackage>
<apiPackage>com.redhat.parodos.sdk.api</apiPackage>
<modelPackage>com.redhat.parodos.sdk.model</modelPackage>
<addCompileSourceRoot>true</addCompileSourceRoot>
Expand Down
2 changes: 1 addition & 1 deletion workflow-service-sdk/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<manifest package="com.redhat.parodos.sdk.api" xmlns:android="http://schemas.android.com/apk/res/android">
<manifest package="com.redhat.parodos.sdk.invoker" xmlns:android="http://schemas.android.com/apk/res/android">
<application />
</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@

package com.redhat.parodos.sdk.api;

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

import com.google.gson.reflect.TypeToken;

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

package com.redhat.parodos.sdk.api;

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

import com.google.gson.reflect.TypeToken;

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

package com.redhat.parodos.sdk.api;

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

import com.google.gson.reflect.TypeToken;

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

package com.redhat.parodos.sdk.api;

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

import com.google.gson.reflect.TypeToken;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

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

import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

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

import okhttp3.*;
import okhttp3.internal.http.HttpMethod;
Expand Down Expand Up @@ -46,10 +46,10 @@
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import com.redhat.parodos.sdk.api.auth.Authentication;
import com.redhat.parodos.sdk.api.auth.HttpBasicAuth;
import com.redhat.parodos.sdk.api.auth.HttpBearerAuth;
import com.redhat.parodos.sdk.api.auth.ApiKeyAuth;
import com.redhat.parodos.sdk.invoker.auth.Authentication;
import com.redhat.parodos.sdk.invoker.auth.HttpBasicAuth;
import com.redhat.parodos.sdk.invoker.auth.HttpBearerAuth;
import com.redhat.parodos.sdk.invoker.auth.ApiKeyAuth;

/**
* <p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

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

import java.util.Map;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

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

import java.util.List;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

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

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Configuration {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

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

import okhttp3.*;
import okio.Buffer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

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

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
Expand Down
Loading

0 comments on commit e17372c

Please sign in to comment.