From 5cb8da4c39683783725f2f185d0fdae768e2efb1 Mon Sep 17 00:00:00 2001 From: Piotr Kliczewski Date: Fri, 24 Mar 2023 15:29:10 +0100 Subject: [PATCH] Release v1.0.4 Signed-off-by: Piotr Kliczewski --- coverage/pom.xml | 2 +- notification-service/.flattened-pom.xml | 4 +- pattern-detection-library/.flattened-pom.xml | 4 +- pom.xml | 2 +- workflow-examples/start_workflow_service.sh | 4 +- workflow-service-sdk/README.md | 6 +- workflow-service-sdk/api/openapi.yaml | 12 +- .../docs/WorkDefinitionResponseDTO.md | 2 +- .../docs/WorkFlowDefinitionResponseDTO.md | 2 +- .../com/redhat/parodos/sdk/api/ApiClient.java | 2 +- .../sdk/model/WorkDefinitionResponseDTO.java | 12 +- .../model/WorkFlowDefinitionResponseDTO.java | 12 +- .../parodos/sdk/api/ProjectApiTest.java | 82 ++++----- .../parodos/sdk/api/WorkflowApiTest.java | 89 ++++------ .../sdk/api/WorkflowDefinitionApiTest.java | 58 +++--- .../sdk/model/ArgumentRequestDTOTest.java | 55 +++--- .../sdk/model/ProjectRequestDTOTest.java | 55 +++--- .../sdk/model/ProjectResponseDTOTest.java | 105 ++++++----- .../model/WorkDefinitionResponseDTOTest.java | 133 +++++++------- .../WorkFlowCheckerTaskRequestDTOTest.java | 37 ++-- .../WorkFlowDefinitionResponseDTOTest.java | 165 +++++++++--------- .../parodos/sdk/model/WorkFlowOptionTest.java | 91 +++++----- .../sdk/model/WorkFlowOptionsTest.java | 119 +++++++------ .../sdk/model/WorkFlowRequestDTOTest.java | 77 ++++---- .../sdk/model/WorkFlowResponseDTOTest.java | 63 ++++--- .../model/WorkFlowStatusResponseDTOTest.java | 77 ++++---- .../parodos/sdk/model/WorkRequestDTOTest.java | 63 ++++--- .../sdk/model/WorkStatusResponseDTOTest.java | 77 ++++---- .../generated/openapi/api-docs.json | 2 +- workflow-service/start_workflow_service.sh | 4 +- 30 files changed, 683 insertions(+), 733 deletions(-) diff --git a/coverage/pom.xml b/coverage/pom.xml index b40d2c92f..0c1269b2d 100644 --- a/coverage/pom.xml +++ b/coverage/pom.xml @@ -12,7 +12,7 @@ Compute aggregated test code coverage true - 1.0.4-SNAPSHOT + 1.0.4 diff --git a/notification-service/.flattened-pom.xml b/notification-service/.flattened-pom.xml index 95395d06d..73e807669 100644 --- a/notification-service/.flattened-pom.xml +++ b/notification-service/.flattened-pom.xml @@ -5,11 +5,11 @@ dev.parodos parodos-parent - 1.0.4-SNAPSHOT + 1.0.4 dev.parodos notification-service - 1.0.4-SNAPSHOT + 1.0.4 notification-service Notification Service to sent out notification messages https://github.com/redhat-developer/parodos diff --git a/pattern-detection-library/.flattened-pom.xml b/pattern-detection-library/.flattened-pom.xml index e8dcae386..53e0dc381 100644 --- a/pattern-detection-library/.flattened-pom.xml +++ b/pattern-detection-library/.flattened-pom.xml @@ -5,11 +5,11 @@ dev.parodos parodos-parent - 1.0.4-SNAPSHOT + 1.0.4 dev.parodos pattern-detection-library - 1.0.4-SNAPSHOT + 1.0.4 pattern-detection-library https://github.com/redhat-developer/parodos diff --git a/pom.xml b/pom.xml index 0001f087a..98a6704d9 100644 --- a/pom.xml +++ b/pom.xml @@ -42,7 +42,7 @@ - 1.0.4-SNAPSHOT + 1.0.4 1.3.0 11 3.8.1 diff --git a/workflow-examples/start_workflow_service.sh b/workflow-examples/start_workflow_service.sh index f00810a6e..5a3e8db96 100755 --- a/workflow-examples/start_workflow_service.sh +++ b/workflow-examples/start_workflow_service.sh @@ -1,3 +1,3 @@ java -jar -Dspring.profiles.active=local \ - -Dloader.path=../workflow-examples/target/workflow-examples-1.0.4-SNAPSHOT-jar-with-dependencies.jar \ - ../workflow-service/target/workflow-service-1.0.4-SNAPSHOT.jar + -Dloader.path=../workflow-examples/target/workflow-examples-1.0.4-jar-with-dependencies.jar \ + ../workflow-service/target/workflow-service-1.0.4.jar diff --git a/workflow-service-sdk/README.md b/workflow-service-sdk/README.md index 74177faa4..5507cde97 100644 --- a/workflow-service-sdk/README.md +++ b/workflow-service-sdk/README.md @@ -39,7 +39,7 @@ Add this dependency to your project's POM: dev.parodos workflow-service-sdk - 1.0.4-SNAPSHOT + 1.0.4 compile ``` @@ -55,7 +55,7 @@ Add this dependency to your project's build file: } dependencies { - implementation "dev.parodos:workflow-service-sdk:1.0.4-SNAPSHOT" + implementation "dev.parodos:workflow-service-sdk:1.0.4" } ``` @@ -69,7 +69,7 @@ mvn clean package Then manually install the following JARs: -* `target/workflow-service-sdk-1.0.4-SNAPSHOT.jar` +* `target/workflow-service-sdk-1.0.4.jar` * `target/lib/*.jar` ## Getting Started diff --git a/workflow-service-sdk/api/openapi.yaml b/workflow-service-sdk/api/openapi.yaml index a7061bc07..c10a00285 100644 --- a/workflow-service-sdk/api/openapi.yaml +++ b/workflow-service-sdk/api/openapi.yaml @@ -293,7 +293,7 @@ components: id: id parameters: key: - key: parameters + key: '{}' properties: author: type: string @@ -313,7 +313,7 @@ components: parameters: additionalProperties: additionalProperties: - type: string + type: object type: object type: object processingType: @@ -353,7 +353,7 @@ components: id: id parameters: key: - key: parameters + key: '{}' - outputs: - EXCEPTION - EXCEPTION @@ -367,7 +367,7 @@ components: id: id parameters: key: - key: parameters + key: '{}' modifyDate: 2000-01-23T04:56:07.000+00:00 author: author name: name @@ -375,7 +375,7 @@ components: type: type parameters: key: - key: parameters + key: '{}' createDate: 2000-01-23T04:56:07.000+00:00 properties: author: @@ -394,7 +394,7 @@ components: parameters: additionalProperties: additionalProperties: - type: string + type: object type: object type: object processingType: diff --git a/workflow-service-sdk/docs/WorkDefinitionResponseDTO.md b/workflow-service-sdk/docs/WorkDefinitionResponseDTO.md index 779073190..296882a61 100644 --- a/workflow-service-sdk/docs/WorkDefinitionResponseDTO.md +++ b/workflow-service-sdk/docs/WorkDefinitionResponseDTO.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **id** | **String** | | [optional] **name** | **String** | | [optional] **outputs** | [**List<OutputsEnum>**](#List<OutputsEnum>) | | [optional] -**parameters** | **Map<String, Map<String, String>>** | | [optional] +**parameters** | **Map<String, Map<String, Object>>** | | [optional] **processingType** | **String** | | [optional] **workType** | **String** | | [optional] **works** | [**List<WorkDefinitionResponseDTO>**](WorkDefinitionResponseDTO.md) | | [optional] diff --git a/workflow-service-sdk/docs/WorkFlowDefinitionResponseDTO.md b/workflow-service-sdk/docs/WorkFlowDefinitionResponseDTO.md index 19c181cc2..d10e3996d 100644 --- a/workflow-service-sdk/docs/WorkFlowDefinitionResponseDTO.md +++ b/workflow-service-sdk/docs/WorkFlowDefinitionResponseDTO.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **id** | **UUID** | | [optional] **modifyDate** | **Date** | | [optional] **name** | **String** | | [optional] -**parameters** | **Map<String, Map<String, String>>** | | [optional] +**parameters** | **Map<String, Map<String, Object>>** | | [optional] **processingType** | **String** | | [optional] **type** | **String** | | [optional] **works** | [**List<WorkDefinitionResponseDTO>**](WorkDefinitionResponseDTO.md) | | [optional] diff --git a/workflow-service-sdk/src/main/java/com/redhat/parodos/sdk/api/ApiClient.java b/workflow-service-sdk/src/main/java/com/redhat/parodos/sdk/api/ApiClient.java index 8eef92807..aae2b052f 100644 --- a/workflow-service-sdk/src/main/java/com/redhat/parodos/sdk/api/ApiClient.java +++ b/workflow-service-sdk/src/main/java/com/redhat/parodos/sdk/api/ApiClient.java @@ -126,7 +126,7 @@ private void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/1.0.4-SNAPSHOT/java"); + setUserAgent("OpenAPI-Generator/1.0.4/java"); authentications = new HashMap(); } diff --git a/workflow-service-sdk/src/main/java/com/redhat/parodos/sdk/model/WorkDefinitionResponseDTO.java b/workflow-service-sdk/src/main/java/com/redhat/parodos/sdk/model/WorkDefinitionResponseDTO.java index 207b4cf07..c0269ef4a 100644 --- a/workflow-service-sdk/src/main/java/com/redhat/parodos/sdk/model/WorkDefinitionResponseDTO.java +++ b/workflow-service-sdk/src/main/java/com/redhat/parodos/sdk/model/WorkDefinitionResponseDTO.java @@ -102,7 +102,7 @@ public OutputsEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_PARAMETERS = "parameters"; @SerializedName(SERIALIZED_NAME_PARAMETERS) - private Map> parameters = null; + private Map> parameters = null; public static final String SERIALIZED_NAME_PROCESSING_TYPE = "processingType"; @SerializedName(SERIALIZED_NAME_PROCESSING_TYPE) @@ -219,15 +219,15 @@ public void setOutputs(List outputs) { } - public WorkDefinitionResponseDTO parameters(Map> parameters) { + public WorkDefinitionResponseDTO parameters(Map> parameters) { this.parameters = parameters; return this; } - public WorkDefinitionResponseDTO putParametersItem(String key, Map parametersItem) { + public WorkDefinitionResponseDTO putParametersItem(String key, Map parametersItem) { if (this.parameters == null) { - this.parameters = new HashMap>(); + this.parameters = new HashMap>(); } this.parameters.put(key, parametersItem); return this; @@ -240,12 +240,12 @@ public WorkDefinitionResponseDTO putParametersItem(String key, Map> getParameters() { + public Map> getParameters() { return parameters; } - public void setParameters(Map> parameters) { + public void setParameters(Map> parameters) { this.parameters = parameters; } diff --git a/workflow-service-sdk/src/main/java/com/redhat/parodos/sdk/model/WorkFlowDefinitionResponseDTO.java b/workflow-service-sdk/src/main/java/com/redhat/parodos/sdk/model/WorkFlowDefinitionResponseDTO.java index 4b46bc24b..d8ae47923 100644 --- a/workflow-service-sdk/src/main/java/com/redhat/parodos/sdk/model/WorkFlowDefinitionResponseDTO.java +++ b/workflow-service-sdk/src/main/java/com/redhat/parodos/sdk/model/WorkFlowDefinitionResponseDTO.java @@ -58,7 +58,7 @@ public class WorkFlowDefinitionResponseDTO { public static final String SERIALIZED_NAME_PARAMETERS = "parameters"; @SerializedName(SERIALIZED_NAME_PARAMETERS) - private Map> parameters = null; + private Map> parameters = null; public static final String SERIALIZED_NAME_PROCESSING_TYPE = "processingType"; @SerializedName(SERIALIZED_NAME_PROCESSING_TYPE) @@ -190,15 +190,15 @@ public void setName(String name) { } - public WorkFlowDefinitionResponseDTO parameters(Map> parameters) { + public WorkFlowDefinitionResponseDTO parameters(Map> parameters) { this.parameters = parameters; return this; } - public WorkFlowDefinitionResponseDTO putParametersItem(String key, Map parametersItem) { + public WorkFlowDefinitionResponseDTO putParametersItem(String key, Map parametersItem) { if (this.parameters == null) { - this.parameters = new HashMap>(); + this.parameters = new HashMap>(); } this.parameters.put(key, parametersItem); return this; @@ -211,12 +211,12 @@ public WorkFlowDefinitionResponseDTO putParametersItem(String key, Map> getParameters() { + public Map> getParameters() { return parameters; } - public void setParameters(Map> parameters) { + public void setParameters(Map> parameters) { this.parameters = parameters; } diff --git a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/api/ProjectApiTest.java b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/api/ProjectApiTest.java index 31842ba25..be8b8485e 100644 --- a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/api/ProjectApiTest.java +++ b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/api/ProjectApiTest.java @@ -3,14 +3,13 @@ * 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 com.redhat.parodos.sdk.api.ApiException; @@ -30,51 +29,38 @@ @Ignore public class ProjectApiTest { - private final ProjectApi api = new ProjectApi(); + private final ProjectApi api = new ProjectApi(); + + /** + * Creates a new project + * @throws ApiException if the Api call fails + */ + @Test + public void createProjectTest() throws ApiException { + ProjectRequestDTO projectRequestDTO = null; + ProjectResponseDTO response = api.createProject(projectRequestDTO); + // TODO: test validations + } + + /** + * Returns information about a specified project + * @throws ApiException if the Api call fails + */ + @Test + public void getProjectByIdTest() throws ApiException { + String id = null; + ProjectResponseDTO response = api.getProjectById(id); + // TODO: test validations + } + + /** + * Returns a list of project + * @throws ApiException if the Api call fails + */ + @Test + public void getProjectsTest() throws ApiException { + List response = api.getProjects(); + // TODO: test validations + } - - /** - * Creates a new project - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createProjectTest() throws ApiException { - ProjectRequestDTO projectRequestDTO = null; - ProjectResponseDTO response = api.createProject(projectRequestDTO); - // TODO: test validations - } - - /** - * Returns information about a specified project - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getProjectByIdTest() throws ApiException { - String id = null; - ProjectResponseDTO response = api.getProjectById(id); - // TODO: test validations - } - - /** - * Returns a list of project - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getProjectsTest() throws ApiException { - List response = api.getProjects(); - // TODO: test validations - } - } diff --git a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/api/WorkflowApiTest.java b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/api/WorkflowApiTest.java index 5af0d5f21..94f2d92f7 100644 --- a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/api/WorkflowApiTest.java +++ b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/api/WorkflowApiTest.java @@ -3,14 +3,13 @@ * 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 com.redhat.parodos.sdk.api.ApiException; @@ -32,54 +31,42 @@ @Ignore public class WorkflowApiTest { - private final WorkflowApi api = new WorkflowApi(); + private final WorkflowApi api = new WorkflowApi(); + + /** + * Executes a workflow + * @throws ApiException if the Api call fails + */ + @Test + public void executeTest() throws ApiException { + WorkFlowRequestDTO workFlowRequestDTO = null; + WorkFlowResponseDTO response = api.execute(workFlowRequestDTO); + // TODO: test validations + } + + /** + * Returns a workflow status + * @throws ApiException if the Api call fails + */ + @Test + public void getStatusTest() throws ApiException { + String workFlowExecutionId = null; + WorkFlowStatusResponseDTO response = api.getStatus(workFlowExecutionId); + // TODO: test validations + } + + /** + * Updates a workflow checker task status + * @throws ApiException if the Api call fails + */ + @Test + public void updateWorkFlowCheckerTaskStatusTest() throws ApiException { + String workFlowExecutionId = null; + String workFlowCheckerTaskName = null; + WorkFlowCheckerTaskRequestDTO workFlowCheckerTaskRequestDTO = null; + String response = api.updateWorkFlowCheckerTaskStatus(workFlowExecutionId, workFlowCheckerTaskName, + workFlowCheckerTaskRequestDTO); + // TODO: test validations + } - - /** - * Executes a workflow - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void executeTest() throws ApiException { - WorkFlowRequestDTO workFlowRequestDTO = null; - WorkFlowResponseDTO response = api.execute(workFlowRequestDTO); - // TODO: test validations - } - - /** - * Returns a workflow status - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getStatusTest() throws ApiException { - String workFlowExecutionId = null; - WorkFlowStatusResponseDTO response = api.getStatus(workFlowExecutionId); - // TODO: test validations - } - - /** - * Updates a workflow checker task status - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void updateWorkFlowCheckerTaskStatusTest() throws ApiException { - String workFlowExecutionId = null; - String workFlowCheckerTaskName = null; - WorkFlowCheckerTaskRequestDTO workFlowCheckerTaskRequestDTO = null; - String response = api.updateWorkFlowCheckerTaskStatus(workFlowExecutionId, workFlowCheckerTaskName, workFlowCheckerTaskRequestDTO); - // TODO: test validations - } - } diff --git a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/api/WorkflowDefinitionApiTest.java b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/api/WorkflowDefinitionApiTest.java index 68ed72d65..2e78f0019 100644 --- a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/api/WorkflowDefinitionApiTest.java +++ b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/api/WorkflowDefinitionApiTest.java @@ -3,14 +3,13 @@ * 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 com.redhat.parodos.sdk.api.ApiException; @@ -29,37 +28,28 @@ @Ignore public class WorkflowDefinitionApiTest { - private final WorkflowDefinitionApi api = new WorkflowDefinitionApi(); + private final WorkflowDefinitionApi api = new WorkflowDefinitionApi(); + + /** + * Returns information about a workflow definition by id + * @throws ApiException if the Api call fails + */ + @Test + public void getWorkFlowDefinitionByIdTest() throws ApiException { + String id = null; + WorkFlowDefinitionResponseDTO response = api.getWorkFlowDefinitionById(id); + // TODO: test validations + } + + /** + * Returns a list of workflow definition + * @throws ApiException if the Api call fails + */ + @Test + public void getWorkFlowDefinitionsTest() throws ApiException { + String name = null; + List response = api.getWorkFlowDefinitions(name); + // TODO: test validations + } - - /** - * Returns information about a workflow definition by id - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getWorkFlowDefinitionByIdTest() throws ApiException { - String id = null; - WorkFlowDefinitionResponseDTO response = api.getWorkFlowDefinitionById(id); - // TODO: test validations - } - - /** - * Returns a list of workflow definition - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getWorkFlowDefinitionsTest() throws ApiException { - String name = null; - List response = api.getWorkFlowDefinitions(name); - // TODO: test validations - } - } diff --git a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/ArgumentRequestDTOTest.java b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/ArgumentRequestDTOTest.java index 527102e25..e12324c11 100644 --- a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/ArgumentRequestDTOTest.java +++ b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/ArgumentRequestDTOTest.java @@ -3,14 +3,13 @@ * 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.model; import com.google.gson.TypeAdapter; @@ -25,35 +24,35 @@ import org.junit.Ignore; import org.junit.Test; - /** * Model tests for ArgumentRequestDTO */ public class ArgumentRequestDTOTest { - private final ArgumentRequestDTO model = new ArgumentRequestDTO(); - - /** - * Model tests for ArgumentRequestDTO - */ - @Test - public void testArgumentRequestDTO() { - // TODO: test ArgumentRequestDTO - } - - /** - * Test the property 'key' - */ - @Test - public void keyTest() { - // TODO: test key - } - - /** - * Test the property 'value' - */ - @Test - public void valueTest() { - // TODO: test value - } + + private final ArgumentRequestDTO model = new ArgumentRequestDTO(); + + /** + * Model tests for ArgumentRequestDTO + */ + @Test + public void testArgumentRequestDTO() { + // TODO: test ArgumentRequestDTO + } + + /** + * Test the property 'key' + */ + @Test + public void keyTest() { + // TODO: test key + } + + /** + * Test the property 'value' + */ + @Test + public void valueTest() { + // TODO: test value + } } diff --git a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/ProjectRequestDTOTest.java b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/ProjectRequestDTOTest.java index fce4e94cc..719cf9289 100644 --- a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/ProjectRequestDTOTest.java +++ b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/ProjectRequestDTOTest.java @@ -3,14 +3,13 @@ * 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.model; import com.google.gson.TypeAdapter; @@ -25,35 +24,35 @@ import org.junit.Ignore; import org.junit.Test; - /** * Model tests for ProjectRequestDTO */ public class ProjectRequestDTOTest { - private final ProjectRequestDTO model = new ProjectRequestDTO(); - - /** - * Model tests for ProjectRequestDTO - */ - @Test - public void testProjectRequestDTO() { - // TODO: test ProjectRequestDTO - } - - /** - * Test the property 'description' - */ - @Test - public void descriptionTest() { - // TODO: test description - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } + + private final ProjectRequestDTO model = new ProjectRequestDTO(); + + /** + * Model tests for ProjectRequestDTO + */ + @Test + public void testProjectRequestDTO() { + // TODO: test ProjectRequestDTO + } + + /** + * Test the property 'description' + */ + @Test + public void descriptionTest() { + // TODO: test description + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } } diff --git a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/ProjectResponseDTOTest.java b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/ProjectResponseDTOTest.java index 40ea158b9..8f16865ce 100644 --- a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/ProjectResponseDTOTest.java +++ b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/ProjectResponseDTOTest.java @@ -3,14 +3,13 @@ * 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.model; import com.google.gson.TypeAdapter; @@ -26,67 +25,67 @@ import org.junit.Ignore; import org.junit.Test; - /** * Model tests for ProjectResponseDTO */ public class ProjectResponseDTOTest { - private final ProjectResponseDTO model = new ProjectResponseDTO(); - /** - * Model tests for ProjectResponseDTO - */ - @Test - public void testProjectResponseDTO() { - // TODO: test ProjectResponseDTO - } + private final ProjectResponseDTO model = new ProjectResponseDTO(); + + /** + * Model tests for ProjectResponseDTO + */ + @Test + public void testProjectResponseDTO() { + // TODO: test ProjectResponseDTO + } - /** - * Test the property 'createDate' - */ - @Test - public void createDateTest() { - // TODO: test createDate - } + /** + * Test the property 'createDate' + */ + @Test + public void createDateTest() { + // TODO: test createDate + } - /** - * Test the property 'description' - */ - @Test - public void descriptionTest() { - // TODO: test description - } + /** + * Test the property 'description' + */ + @Test + public void descriptionTest() { + // TODO: test description + } - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } - /** - * Test the property 'modifyDate' - */ - @Test - public void modifyDateTest() { - // TODO: test modifyDate - } + /** + * Test the property 'modifyDate' + */ + @Test + public void modifyDateTest() { + // TODO: test modifyDate + } - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } - /** - * Test the property 'username' - */ - @Test - public void usernameTest() { - // TODO: test username - } + /** + * Test the property 'username' + */ + @Test + public void usernameTest() { + // TODO: test username + } } diff --git a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkDefinitionResponseDTOTest.java b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkDefinitionResponseDTOTest.java index 36250d927..dee6c4735 100644 --- a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkDefinitionResponseDTOTest.java +++ b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkDefinitionResponseDTOTest.java @@ -3,14 +3,13 @@ * 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.model; import com.google.gson.TypeAdapter; @@ -29,83 +28,83 @@ import org.junit.Ignore; import org.junit.Test; - /** * Model tests for WorkDefinitionResponseDTO */ public class WorkDefinitionResponseDTOTest { - private final WorkDefinitionResponseDTO model = new WorkDefinitionResponseDTO(); - /** - * Model tests for WorkDefinitionResponseDTO - */ - @Test - public void testWorkDefinitionResponseDTO() { - // TODO: test WorkDefinitionResponseDTO - } + private final WorkDefinitionResponseDTO model = new WorkDefinitionResponseDTO(); + + /** + * Model tests for WorkDefinitionResponseDTO + */ + @Test + public void testWorkDefinitionResponseDTO() { + // TODO: test WorkDefinitionResponseDTO + } - /** - * Test the property 'author' - */ - @Test - public void authorTest() { - // TODO: test author - } + /** + * Test the property 'author' + */ + @Test + public void authorTest() { + // TODO: test author + } - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } - /** - * Test the property 'outputs' - */ - @Test - public void outputsTest() { - // TODO: test outputs - } + /** + * Test the property 'outputs' + */ + @Test + public void outputsTest() { + // TODO: test outputs + } - /** - * Test the property 'parameters' - */ - @Test - public void parametersTest() { - // TODO: test parameters - } + /** + * Test the property 'parameters' + */ + @Test + public void parametersTest() { + // TODO: test parameters + } - /** - * Test the property 'processingType' - */ - @Test - public void processingTypeTest() { - // TODO: test processingType - } + /** + * Test the property 'processingType' + */ + @Test + public void processingTypeTest() { + // TODO: test processingType + } - /** - * Test the property 'workType' - */ - @Test - public void workTypeTest() { - // TODO: test workType - } + /** + * Test the property 'workType' + */ + @Test + public void workTypeTest() { + // TODO: test workType + } - /** - * Test the property 'works' - */ - @Test - public void worksTest() { - // TODO: test works - } + /** + * Test the property 'works' + */ + @Test + public void worksTest() { + // TODO: test works + } } diff --git a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowCheckerTaskRequestDTOTest.java b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowCheckerTaskRequestDTOTest.java index e5f0d79c7..171f50860 100644 --- a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowCheckerTaskRequestDTOTest.java +++ b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowCheckerTaskRequestDTOTest.java @@ -3,14 +3,13 @@ * 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.model; import com.google.gson.TypeAdapter; @@ -25,27 +24,27 @@ import org.junit.Ignore; import org.junit.Test; - /** * Model tests for WorkFlowCheckerTaskRequestDTO */ public class WorkFlowCheckerTaskRequestDTOTest { - private final WorkFlowCheckerTaskRequestDTO model = new WorkFlowCheckerTaskRequestDTO(); - - /** - * Model tests for WorkFlowCheckerTaskRequestDTO - */ - @Test - public void testWorkFlowCheckerTaskRequestDTO() { - // TODO: test WorkFlowCheckerTaskRequestDTO - } - /** - * Test the property 'status' - */ - @Test - public void statusTest() { - // TODO: test status - } + private final WorkFlowCheckerTaskRequestDTO model = new WorkFlowCheckerTaskRequestDTO(); + + /** + * Model tests for WorkFlowCheckerTaskRequestDTO + */ + @Test + public void testWorkFlowCheckerTaskRequestDTO() { + // TODO: test WorkFlowCheckerTaskRequestDTO + } + + /** + * Test the property 'status' + */ + @Test + public void statusTest() { + // TODO: test status + } } diff --git a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowDefinitionResponseDTOTest.java b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowDefinitionResponseDTOTest.java index d2072cfd8..fdce43b95 100644 --- a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowDefinitionResponseDTOTest.java +++ b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowDefinitionResponseDTOTest.java @@ -3,14 +3,13 @@ * 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.model; import com.google.gson.TypeAdapter; @@ -32,91 +31,91 @@ import org.junit.Ignore; import org.junit.Test; - /** * Model tests for WorkFlowDefinitionResponseDTO */ public class WorkFlowDefinitionResponseDTOTest { - private final WorkFlowDefinitionResponseDTO model = new WorkFlowDefinitionResponseDTO(); - - /** - * Model tests for WorkFlowDefinitionResponseDTO - */ - @Test - public void testWorkFlowDefinitionResponseDTO() { - // TODO: test WorkFlowDefinitionResponseDTO - } - - /** - * Test the property 'author' - */ - @Test - public void authorTest() { - // TODO: test author - } - - /** - * Test the property 'createDate' - */ - @Test - public void createDateTest() { - // TODO: test createDate - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'modifyDate' - */ - @Test - public void modifyDateTest() { - // TODO: test modifyDate - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'parameters' - */ - @Test - public void parametersTest() { - // TODO: test parameters - } - - /** - * Test the property 'processingType' - */ - @Test - public void processingTypeTest() { - // TODO: test processingType - } - - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - /** - * Test the property 'works' - */ - @Test - public void worksTest() { - // TODO: test works - } + private final WorkFlowDefinitionResponseDTO model = new WorkFlowDefinitionResponseDTO(); + + /** + * Model tests for WorkFlowDefinitionResponseDTO + */ + @Test + public void testWorkFlowDefinitionResponseDTO() { + // TODO: test WorkFlowDefinitionResponseDTO + } + + /** + * Test the property 'author' + */ + @Test + public void authorTest() { + // TODO: test author + } + + /** + * Test the property 'createDate' + */ + @Test + public void createDateTest() { + // TODO: test createDate + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'modifyDate' + */ + @Test + public void modifyDateTest() { + // TODO: test modifyDate + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'parameters' + */ + @Test + public void parametersTest() { + // TODO: test parameters + } + + /** + * Test the property 'processingType' + */ + @Test + public void processingTypeTest() { + // TODO: test processingType + } + + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } + + /** + * Test the property 'works' + */ + @Test + public void worksTest() { + // TODO: test works + } } diff --git a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowOptionTest.java b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowOptionTest.java index 9931182a7..a448bac2b 100644 --- a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowOptionTest.java +++ b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowOptionTest.java @@ -3,14 +3,13 @@ * 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.model; import com.google.gson.TypeAdapter; @@ -27,59 +26,59 @@ import org.junit.Ignore; import org.junit.Test; - /** * Model tests for WorkFlowOption */ public class WorkFlowOptionTest { - private final WorkFlowOption model = new WorkFlowOption(); - /** - * Model tests for WorkFlowOption - */ - @Test - public void testWorkFlowOption() { - // TODO: test WorkFlowOption - } + private final WorkFlowOption model = new WorkFlowOption(); + + /** + * Model tests for WorkFlowOption + */ + @Test + public void testWorkFlowOption() { + // TODO: test WorkFlowOption + } - /** - * Test the property 'description' - */ - @Test - public void descriptionTest() { - // TODO: test description - } + /** + * Test the property 'description' + */ + @Test + public void descriptionTest() { + // TODO: test description + } - /** - * Test the property 'details' - */ - @Test - public void detailsTest() { - // TODO: test details - } + /** + * Test the property 'details' + */ + @Test + public void detailsTest() { + // TODO: test details + } - /** - * Test the property 'displayName' - */ - @Test - public void displayNameTest() { - // TODO: test displayName - } + /** + * Test the property 'displayName' + */ + @Test + public void displayNameTest() { + // TODO: test displayName + } - /** - * Test the property 'identifier' - */ - @Test - public void identifierTest() { - // TODO: test identifier - } + /** + * Test the property 'identifier' + */ + @Test + public void identifierTest() { + // TODO: test identifier + } - /** - * Test the property 'workFlowName' - */ - @Test - public void workFlowNameTest() { - // TODO: test workFlowName - } + /** + * Test the property 'workFlowName' + */ + @Test + public void workFlowNameTest() { + // TODO: test workFlowName + } } diff --git a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowOptionsTest.java b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowOptionsTest.java index ea5061476..9c47e3ac2 100644 --- a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowOptionsTest.java +++ b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowOptionsTest.java @@ -3,14 +3,13 @@ * 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.model; import com.google.gson.TypeAdapter; @@ -28,75 +27,75 @@ import org.junit.Ignore; import org.junit.Test; - /** * Model tests for WorkFlowOptions */ public class WorkFlowOptionsTest { - private final WorkFlowOptions model = new WorkFlowOptions(); - /** - * Model tests for WorkFlowOptions - */ - @Test - public void testWorkFlowOptions() { - // TODO: test WorkFlowOptions - } + private final WorkFlowOptions model = new WorkFlowOptions(); + + /** + * Model tests for WorkFlowOptions + */ + @Test + public void testWorkFlowOptions() { + // TODO: test WorkFlowOptions + } - /** - * Test the property 'continuationOptions' - */ - @Test - public void continuationOptionsTest() { - // TODO: test continuationOptions - } + /** + * Test the property 'continuationOptions' + */ + @Test + public void continuationOptionsTest() { + // TODO: test continuationOptions + } - /** - * Test the property 'currentVersion' - */ - @Test - public void currentVersionTest() { - // TODO: test currentVersion - } + /** + * Test the property 'currentVersion' + */ + @Test + public void currentVersionTest() { + // TODO: test currentVersion + } - /** - * Test the property 'migrationOptions' - */ - @Test - public void migrationOptionsTest() { - // TODO: test migrationOptions - } + /** + * Test the property 'migrationOptions' + */ + @Test + public void migrationOptionsTest() { + // TODO: test migrationOptions + } - /** - * Test the property 'newOptions' - */ - @Test - public void newOptionsTest() { - // TODO: test newOptions - } + /** + * Test the property 'newOptions' + */ + @Test + public void newOptionsTest() { + // TODO: test newOptions + } - /** - * Test the property 'optionsAvailable' - */ - @Test - public void optionsAvailableTest() { - // TODO: test optionsAvailable - } + /** + * Test the property 'optionsAvailable' + */ + @Test + public void optionsAvailableTest() { + // TODO: test optionsAvailable + } - /** - * Test the property 'otherOptions' - */ - @Test - public void otherOptionsTest() { - // TODO: test otherOptions - } + /** + * Test the property 'otherOptions' + */ + @Test + public void otherOptionsTest() { + // TODO: test otherOptions + } - /** - * Test the property 'upgradeOptions' - */ - @Test - public void upgradeOptionsTest() { - // TODO: test upgradeOptions - } + /** + * Test the property 'upgradeOptions' + */ + @Test + public void upgradeOptionsTest() { + // TODO: test upgradeOptions + } } diff --git a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowRequestDTOTest.java b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowRequestDTOTest.java index 62e996784..a04b9b98d 100644 --- a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowRequestDTOTest.java +++ b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowRequestDTOTest.java @@ -3,14 +3,13 @@ * 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.model; import com.google.gson.TypeAdapter; @@ -29,51 +28,51 @@ import org.junit.Ignore; import org.junit.Test; - /** * Model tests for WorkFlowRequestDTO */ public class WorkFlowRequestDTOTest { - private final WorkFlowRequestDTO model = new WorkFlowRequestDTO(); - /** - * Model tests for WorkFlowRequestDTO - */ - @Test - public void testWorkFlowRequestDTO() { - // TODO: test WorkFlowRequestDTO - } + private final WorkFlowRequestDTO model = new WorkFlowRequestDTO(); + + /** + * Model tests for WorkFlowRequestDTO + */ + @Test + public void testWorkFlowRequestDTO() { + // TODO: test WorkFlowRequestDTO + } - /** - * Test the property 'arguments' - */ - @Test - public void argumentsTest() { - // TODO: test arguments - } + /** + * Test the property 'arguments' + */ + @Test + public void argumentsTest() { + // TODO: test arguments + } - /** - * Test the property 'projectId' - */ - @Test - public void projectIdTest() { - // TODO: test projectId - } + /** + * Test the property 'projectId' + */ + @Test + public void projectIdTest() { + // TODO: test projectId + } - /** - * Test the property 'workFlowName' - */ - @Test - public void workFlowNameTest() { - // TODO: test workFlowName - } + /** + * Test the property 'workFlowName' + */ + @Test + public void workFlowNameTest() { + // TODO: test workFlowName + } - /** - * Test the property 'works' - */ - @Test - public void worksTest() { - // TODO: test works - } + /** + * Test the property 'works' + */ + @Test + public void worksTest() { + // TODO: test works + } } diff --git a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowResponseDTOTest.java b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowResponseDTOTest.java index 8d22a6977..70b0add9d 100644 --- a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowResponseDTOTest.java +++ b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowResponseDTOTest.java @@ -3,14 +3,13 @@ * 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.model; import com.google.gson.TypeAdapter; @@ -26,43 +25,43 @@ import org.junit.Ignore; import org.junit.Test; - /** * Model tests for WorkFlowResponseDTO */ public class WorkFlowResponseDTOTest { - private final WorkFlowResponseDTO model = new WorkFlowResponseDTO(); - /** - * Model tests for WorkFlowResponseDTO - */ - @Test - public void testWorkFlowResponseDTO() { - // TODO: test WorkFlowResponseDTO - } + private final WorkFlowResponseDTO model = new WorkFlowResponseDTO(); + + /** + * Model tests for WorkFlowResponseDTO + */ + @Test + public void testWorkFlowResponseDTO() { + // TODO: test WorkFlowResponseDTO + } - /** - * Test the property 'workFlowExecutionId' - */ - @Test - public void workFlowExecutionIdTest() { - // TODO: test workFlowExecutionId - } + /** + * Test the property 'workFlowExecutionId' + */ + @Test + public void workFlowExecutionIdTest() { + // TODO: test workFlowExecutionId + } - /** - * Test the property 'workFlowOptions' - */ - @Test - public void workFlowOptionsTest() { - // TODO: test workFlowOptions - } + /** + * Test the property 'workFlowOptions' + */ + @Test + public void workFlowOptionsTest() { + // TODO: test workFlowOptions + } - /** - * Test the property 'workStatus' - */ - @Test - public void workStatusTest() { - // TODO: test workStatus - } + /** + * Test the property 'workStatus' + */ + @Test + public void workStatusTest() { + // TODO: test workStatus + } } diff --git a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowStatusResponseDTOTest.java b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowStatusResponseDTOTest.java index fa9dbe9d6..813ba1681 100644 --- a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowStatusResponseDTOTest.java +++ b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkFlowStatusResponseDTOTest.java @@ -3,14 +3,13 @@ * 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.model; import com.google.gson.TypeAdapter; @@ -28,51 +27,51 @@ import org.junit.Ignore; import org.junit.Test; - /** * Model tests for WorkFlowStatusResponseDTO */ public class WorkFlowStatusResponseDTOTest { - private final WorkFlowStatusResponseDTO model = new WorkFlowStatusResponseDTO(); - /** - * Model tests for WorkFlowStatusResponseDTO - */ - @Test - public void testWorkFlowStatusResponseDTO() { - // TODO: test WorkFlowStatusResponseDTO - } + private final WorkFlowStatusResponseDTO model = new WorkFlowStatusResponseDTO(); + + /** + * Model tests for WorkFlowStatusResponseDTO + */ + @Test + public void testWorkFlowStatusResponseDTO() { + // TODO: test WorkFlowStatusResponseDTO + } - /** - * Test the property 'status' - */ - @Test - public void statusTest() { - // TODO: test status - } + /** + * Test the property 'status' + */ + @Test + public void statusTest() { + // TODO: test status + } - /** - * Test the property 'workFlowExecutionId' - */ - @Test - public void workFlowExecutionIdTest() { - // TODO: test workFlowExecutionId - } + /** + * Test the property 'workFlowExecutionId' + */ + @Test + public void workFlowExecutionIdTest() { + // TODO: test workFlowExecutionId + } - /** - * Test the property 'workFlowName' - */ - @Test - public void workFlowNameTest() { - // TODO: test workFlowName - } + /** + * Test the property 'workFlowName' + */ + @Test + public void workFlowNameTest() { + // TODO: test workFlowName + } - /** - * Test the property 'works' - */ - @Test - public void worksTest() { - // TODO: test works - } + /** + * Test the property 'works' + */ + @Test + public void worksTest() { + // TODO: test works + } } diff --git a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkRequestDTOTest.java b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkRequestDTOTest.java index 2def893af..c48c50593 100644 --- a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkRequestDTOTest.java +++ b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkRequestDTOTest.java @@ -3,14 +3,13 @@ * 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.model; import com.google.gson.TypeAdapter; @@ -28,43 +27,43 @@ import org.junit.Ignore; import org.junit.Test; - /** * Model tests for WorkRequestDTO */ public class WorkRequestDTOTest { - private final WorkRequestDTO model = new WorkRequestDTO(); - /** - * Model tests for WorkRequestDTO - */ - @Test - public void testWorkRequestDTO() { - // TODO: test WorkRequestDTO - } + private final WorkRequestDTO model = new WorkRequestDTO(); + + /** + * Model tests for WorkRequestDTO + */ + @Test + public void testWorkRequestDTO() { + // TODO: test WorkRequestDTO + } - /** - * Test the property 'arguments' - */ - @Test - public void argumentsTest() { - // TODO: test arguments - } + /** + * Test the property 'arguments' + */ + @Test + public void argumentsTest() { + // TODO: test arguments + } - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } - /** - * Test the property 'workName' - */ - @Test - public void workNameTest() { - // TODO: test workName - } + /** + * Test the property 'workName' + */ + @Test + public void workNameTest() { + // TODO: test workName + } } diff --git a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkStatusResponseDTOTest.java b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkStatusResponseDTOTest.java index 379c16ab2..020b87a97 100644 --- a/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkStatusResponseDTOTest.java +++ b/workflow-service-sdk/src/test/java/com/redhat/parodos/sdk/model/WorkStatusResponseDTOTest.java @@ -3,14 +3,13 @@ * 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.model; import com.google.gson.TypeAdapter; @@ -27,51 +26,51 @@ import org.junit.Ignore; import org.junit.Test; - /** * Model tests for WorkStatusResponseDTO */ public class WorkStatusResponseDTOTest { - private final WorkStatusResponseDTO model = new WorkStatusResponseDTO(); - /** - * Model tests for WorkStatusResponseDTO - */ - @Test - public void testWorkStatusResponseDTO() { - // TODO: test WorkStatusResponseDTO - } + private final WorkStatusResponseDTO model = new WorkStatusResponseDTO(); + + /** + * Model tests for WorkStatusResponseDTO + */ + @Test + public void testWorkStatusResponseDTO() { + // TODO: test WorkStatusResponseDTO + } - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } - /** - * Test the property 'status' - */ - @Test - public void statusTest() { - // TODO: test status - } + /** + * Test the property 'status' + */ + @Test + public void statusTest() { + // TODO: test status + } - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } - /** - * Test the property 'works' - */ - @Test - public void worksTest() { - // TODO: test works - } + /** + * Test the property 'works' + */ + @Test + public void worksTest() { + // TODO: test works + } } diff --git a/workflow-service/generated/openapi/api-docs.json b/workflow-service/generated/openapi/api-docs.json index 636ce7229..40f62baee 100644 --- a/workflow-service/generated/openapi/api-docs.json +++ b/workflow-service/generated/openapi/api-docs.json @@ -1 +1 @@ -{"openapi":"3.0.1","info":{"title":"Parodos Workflow Service API","description":"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.","version":"v1.0.0"},"servers":[{"url":"http://localhost:8080","description":"Generated server url"}],"tags":[{"description":"Operations about workflow","name":"Workflow"},{"description":"Operations about project","name":"Project"},{"description":"Operations about workflow definition","name":"Workflow Definition"}],"paths":{"/api/v1/projects":{"get":{"operationId":"getProjects","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectResponseDTO"}}}},"description":"Succeeded"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Returns a list of project","tags":["Project"]},"post":{"operationId":"createProject","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectRequestDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectResponseDTO"}}},"description":"Created"},"401":{"description":"Unauthorized"}},"summary":"Creates a new project","tags":["Project"]}},"/api/v1/projects/{id}":{"get":{"operationId":"getProjectById","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectResponseDTO"}}},"description":"Succeeded"},"401":{"description":"Unauthorized"},"404":{"description":"Not found"}},"summary":"Returns information about a specified project","tags":["Project"]}},"/api/v1/workflowdefinitions":{"get":{"operationId":"getWorkFlowDefinitions","parameters":[{"in":"query","name":"name","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkFlowDefinitionResponseDTO"}}}},"description":"Succeeded"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Returns a list of workflow definition","tags":["Workflow Definition"]}},"/api/v1/workflowdefinitions/{id}":{"get":{"operationId":"getWorkFlowDefinitionById","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkFlowDefinitionResponseDTO"}}},"description":"Succeeded"},"401":{"description":"Unauthorized"},"404":{"description":"Not found"}},"summary":"Returns information about a workflow definition by id","tags":["Workflow Definition"]}},"/api/v1/workflows":{"post":{"operationId":"execute","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkFlowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkFlowResponseDTO"}}},"description":"Succeeded"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Executes a workflow","tags":["Workflow"]}},"/api/v1/workflows/{workFlowExecutionId}/checkers/{workFlowCheckerTaskName}":{"post":{"operationId":"updateWorkFlowCheckerTaskStatus","parameters":[{"in":"path","name":"workFlowExecutionId","required":true,"schema":{"type":"string"}},{"in":"path","name":"workFlowCheckerTaskName","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkFlowCheckerTaskRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"string"}}},"description":"Succeeded"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"}},"summary":"Updates a workflow checker task status","tags":["Workflow"]}},"/api/v1/workflows/{workFlowExecutionId}/status":{"get":{"operationId":"getStatus","parameters":[{"in":"path","name":"workFlowExecutionId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkFlowStatusResponseDTO"}}},"description":"Succeeded"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Returns a workflow status","tags":["Workflow"]}}},"components":{"schemas":{"ArgumentRequestDTO":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}},"ProjectRequestDTO":{"type":"object","properties":{"description":{"type":"string"},"name":{"type":"string"}}},"ProjectResponseDTO":{"type":"object","properties":{"createDate":{"type":"string","format":"date-time"},"description":{"type":"string"},"id":{"type":"string"},"modifyDate":{"type":"string","format":"date-time"},"name":{"type":"string"},"username":{"type":"string"}}},"WorkDefinitionResponseDTO":{"type":"object","properties":{"author":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"outputs":{"type":"array","items":{"type":"string","enum":["EXCEPTION","HTTP2XX","NO_EXCEPTION","OTHER"]}},"parameters":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"processingType":{"type":"string"},"workType":{"type":"string"},"works":{"type":"array","items":{"$ref":"#/components/schemas/WorkDefinitionResponseDTO"}}}},"WorkFlowCheckerTaskRequestDTO":{"type":"object","properties":{"status":{"type":"string","enum":["FAILED","COMPLETED","IN_PROGRESS"]}}},"WorkFlowDefinitionResponseDTO":{"type":"object","properties":{"author":{"type":"string"},"createDate":{"type":"string","format":"date-time"},"id":{"type":"string","format":"uuid"},"modifyDate":{"type":"string","format":"date-time"},"name":{"type":"string"},"parameters":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"processingType":{"type":"string"},"type":{"type":"string"},"works":{"type":"array","items":{"$ref":"#/components/schemas/WorkDefinitionResponseDTO"}}}},"WorkFlowOption":{"type":"object","properties":{"description":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"displayName":{"type":"string"},"identifier":{"type":"string"},"workFlowName":{"type":"string"}}},"WorkFlowOptions":{"type":"object","properties":{"continuationOptions":{"type":"array","items":{"$ref":"#/components/schemas/WorkFlowOption"}},"currentVersion":{"$ref":"#/components/schemas/WorkFlowOption"},"migrationOptions":{"type":"array","items":{"$ref":"#/components/schemas/WorkFlowOption"}},"newOptions":{"type":"array","items":{"$ref":"#/components/schemas/WorkFlowOption"}},"optionsAvailable":{"type":"boolean"},"otherOptions":{"type":"array","items":{"$ref":"#/components/schemas/WorkFlowOption"}},"upgradeOptions":{"type":"array","items":{"$ref":"#/components/schemas/WorkFlowOption"}}}},"WorkFlowRequestDTO":{"type":"object","properties":{"arguments":{"type":"array","items":{"$ref":"#/components/schemas/ArgumentRequestDTO"}},"projectId":{"type":"string"},"workFlowName":{"type":"string"},"works":{"type":"array","items":{"$ref":"#/components/schemas/WorkRequestDTO"}}}},"WorkFlowResponseDTO":{"type":"object","properties":{"workFlowExecutionId":{"type":"string"},"workFlowOptions":{"$ref":"#/components/schemas/WorkFlowOptions"},"workStatus":{"type":"string","enum":["FAILED","COMPLETED"]}}},"WorkFlowStatusResponseDTO":{"type":"object","properties":{"status":{"type":"string"},"workFlowExecutionId":{"type":"string"},"workFlowName":{"type":"string"},"works":{"type":"array","items":{"$ref":"#/components/schemas/WorkStatusResponseDTO"}}}},"WorkRequestDTO":{"type":"object","properties":{"arguments":{"type":"array","items":{"$ref":"#/components/schemas/ArgumentRequestDTO"}},"type":{"type":"string"},"workName":{"type":"string"}}},"WorkStatusResponseDTO":{"type":"object","properties":{"name":{"type":"string"},"status":{"type":"string","enum":["FAILED","COMPLETED","PENDING"]},"type":{"type":"string","enum":["TASK","WORKFLOW"]},"works":{"type":"array","items":{"$ref":"#/components/schemas/WorkStatusResponseDTO"}}}}}}} \ No newline at end of file +{"openapi":"3.0.1","info":{"title":"Parodos Workflow Service API","description":"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.","version":"v1.0.0"},"servers":[{"url":"http://localhost:8080","description":"Generated server url"}],"tags":[{"description":"Operations about workflow","name":"Workflow"},{"description":"Operations about project","name":"Project"},{"description":"Operations about workflow definition","name":"Workflow Definition"}],"paths":{"/api/v1/projects":{"get":{"operationId":"getProjects","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectResponseDTO"}}}},"description":"Succeeded"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Returns a list of project","tags":["Project"]},"post":{"operationId":"createProject","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectRequestDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectResponseDTO"}}},"description":"Created"},"401":{"description":"Unauthorized"}},"summary":"Creates a new project","tags":["Project"]}},"/api/v1/projects/{id}":{"get":{"operationId":"getProjectById","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectResponseDTO"}}},"description":"Succeeded"},"401":{"description":"Unauthorized"},"404":{"description":"Not found"}},"summary":"Returns information about a specified project","tags":["Project"]}},"/api/v1/workflowdefinitions":{"get":{"operationId":"getWorkFlowDefinitions","parameters":[{"in":"query","name":"name","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkFlowDefinitionResponseDTO"}}}},"description":"Succeeded"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Returns a list of workflow definition","tags":["Workflow Definition"]}},"/api/v1/workflowdefinitions/{id}":{"get":{"operationId":"getWorkFlowDefinitionById","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkFlowDefinitionResponseDTO"}}},"description":"Succeeded"},"401":{"description":"Unauthorized"},"404":{"description":"Not found"}},"summary":"Returns information about a workflow definition by id","tags":["Workflow Definition"]}},"/api/v1/workflows":{"post":{"operationId":"execute","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkFlowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkFlowResponseDTO"}}},"description":"Succeeded"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Executes a workflow","tags":["Workflow"]}},"/api/v1/workflows/{workFlowExecutionId}/checkers/{workFlowCheckerTaskName}":{"post":{"operationId":"updateWorkFlowCheckerTaskStatus","parameters":[{"in":"path","name":"workFlowExecutionId","required":true,"schema":{"type":"string"}},{"in":"path","name":"workFlowCheckerTaskName","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkFlowCheckerTaskRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"string"}}},"description":"Succeeded"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"}},"summary":"Updates a workflow checker task status","tags":["Workflow"]}},"/api/v1/workflows/{workFlowExecutionId}/status":{"get":{"operationId":"getStatus","parameters":[{"in":"path","name":"workFlowExecutionId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkFlowStatusResponseDTO"}}},"description":"Succeeded"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Returns a workflow status","tags":["Workflow"]}}},"components":{"schemas":{"ArgumentRequestDTO":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}},"ProjectRequestDTO":{"type":"object","properties":{"description":{"type":"string"},"name":{"type":"string"}}},"ProjectResponseDTO":{"type":"object","properties":{"createDate":{"type":"string","format":"date-time"},"description":{"type":"string"},"id":{"type":"string"},"modifyDate":{"type":"string","format":"date-time"},"name":{"type":"string"},"username":{"type":"string"}}},"WorkDefinitionResponseDTO":{"type":"object","properties":{"author":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"outputs":{"type":"array","items":{"type":"string","enum":["EXCEPTION","HTTP2XX","NO_EXCEPTION","OTHER"]}},"parameters":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"object"}}},"processingType":{"type":"string"},"workType":{"type":"string"},"works":{"type":"array","items":{"$ref":"#/components/schemas/WorkDefinitionResponseDTO"}}}},"WorkFlowCheckerTaskRequestDTO":{"type":"object","properties":{"status":{"type":"string","enum":["FAILED","COMPLETED","IN_PROGRESS"]}}},"WorkFlowDefinitionResponseDTO":{"type":"object","properties":{"author":{"type":"string"},"createDate":{"type":"string","format":"date-time"},"id":{"type":"string","format":"uuid"},"modifyDate":{"type":"string","format":"date-time"},"name":{"type":"string"},"parameters":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"object"}}},"processingType":{"type":"string"},"type":{"type":"string"},"works":{"type":"array","items":{"$ref":"#/components/schemas/WorkDefinitionResponseDTO"}}}},"WorkFlowOption":{"type":"object","properties":{"description":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"displayName":{"type":"string"},"identifier":{"type":"string"},"workFlowName":{"type":"string"}}},"WorkFlowOptions":{"type":"object","properties":{"continuationOptions":{"type":"array","items":{"$ref":"#/components/schemas/WorkFlowOption"}},"currentVersion":{"$ref":"#/components/schemas/WorkFlowOption"},"migrationOptions":{"type":"array","items":{"$ref":"#/components/schemas/WorkFlowOption"}},"newOptions":{"type":"array","items":{"$ref":"#/components/schemas/WorkFlowOption"}},"optionsAvailable":{"type":"boolean"},"otherOptions":{"type":"array","items":{"$ref":"#/components/schemas/WorkFlowOption"}},"upgradeOptions":{"type":"array","items":{"$ref":"#/components/schemas/WorkFlowOption"}}}},"WorkFlowRequestDTO":{"type":"object","properties":{"arguments":{"type":"array","items":{"$ref":"#/components/schemas/ArgumentRequestDTO"}},"projectId":{"type":"string"},"workFlowName":{"type":"string"},"works":{"type":"array","items":{"$ref":"#/components/schemas/WorkRequestDTO"}}}},"WorkFlowResponseDTO":{"type":"object","properties":{"workFlowExecutionId":{"type":"string"},"workFlowOptions":{"$ref":"#/components/schemas/WorkFlowOptions"},"workStatus":{"type":"string","enum":["FAILED","COMPLETED"]}}},"WorkFlowStatusResponseDTO":{"type":"object","properties":{"status":{"type":"string"},"workFlowExecutionId":{"type":"string"},"workFlowName":{"type":"string"},"works":{"type":"array","items":{"$ref":"#/components/schemas/WorkStatusResponseDTO"}}}},"WorkRequestDTO":{"type":"object","properties":{"arguments":{"type":"array","items":{"$ref":"#/components/schemas/ArgumentRequestDTO"}},"type":{"type":"string"},"workName":{"type":"string"}}},"WorkStatusResponseDTO":{"type":"object","properties":{"name":{"type":"string"},"status":{"type":"string","enum":["FAILED","COMPLETED","PENDING"]},"type":{"type":"string","enum":["TASK","WORKFLOW"]},"works":{"type":"array","items":{"$ref":"#/components/schemas/WorkStatusResponseDTO"}}}}}}} \ No newline at end of file diff --git a/workflow-service/start_workflow_service.sh b/workflow-service/start_workflow_service.sh index 3769e226a..88b51cba4 100755 --- a/workflow-service/start_workflow_service.sh +++ b/workflow-service/start_workflow_service.sh @@ -1,3 +1,3 @@ java -jar -Dspring.profiles.active=local \ - -Dloader.path=../workflow-examples/target/workflow-examples-1.0.4-SNAPSHOT-jar-with-dependencies.jar \ - target/workflow-service-1.0.4-SNAPSHOT.jar + -Dloader.path=../workflow-examples/target/workflow-examples-1.0.4-jar-with-dependencies.jar \ + target/workflow-service-1.0.4.jar