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.4
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Kliczewski <[email protected]>
  • Loading branch information
pkliczewski committed Mar 24, 2023
1 parent b59f7fe commit 5cb8da4
Show file tree
Hide file tree
Showing 30 changed files with 683 additions and 733 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.4-SNAPSHOT</revision>
<revision>1.0.4</revision>
</properties>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions notification-service/.flattened-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<groupId>dev.parodos</groupId>
<artifactId>parodos-parent</artifactId>
<version>1.0.4-SNAPSHOT</version>
<version>1.0.4</version>
</parent>
<groupId>dev.parodos</groupId>
<artifactId>notification-service</artifactId>
<version>1.0.4-SNAPSHOT</version>
<version>1.0.4</version>
<name>notification-service</name>
<description>Notification Service to sent out notification messages</description>
<url>https://github.com/redhat-developer/parodos</url>
Expand Down
4 changes: 2 additions & 2 deletions pattern-detection-library/.flattened-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<groupId>dev.parodos</groupId>
<artifactId>parodos-parent</artifactId>
<version>1.0.4-SNAPSHOT</version>
<version>1.0.4</version>
</parent>
<groupId>dev.parodos</groupId>
<artifactId>pattern-detection-library</artifactId>
<version>1.0.4-SNAPSHOT</version>
<version>1.0.4</version>
<name>pattern-detection-library</name>
<url>https://github.com/redhat-developer/parodos</url>
<licenses>
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.4-SNAPSHOT</revision>
<revision>1.0.4</revision>
<flatten.version>1.3.0</flatten.version>
<java.version>11</java.version>
<maven.plugins.compiler.version>3.8.1</maven.plugins.compiler.version>
Expand Down
4 changes: 2 additions & 2 deletions workflow-examples/start_workflow_service.sh
Original file line number Diff line number Diff line change
@@ -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
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.4-SNAPSHOT</version>
<version>1.0.4</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.4-SNAPSHOT"
implementation "dev.parodos:workflow-service-sdk:1.0.4"
}
```

Expand All @@ -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
Expand Down
12 changes: 6 additions & 6 deletions workflow-service-sdk/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ components:
id: id
parameters:
key:
key: parameters
key: '{}'
properties:
author:
type: string
Expand All @@ -313,7 +313,7 @@ components:
parameters:
additionalProperties:
additionalProperties:
type: string
type: object
type: object
type: object
processingType:
Expand Down Expand Up @@ -353,7 +353,7 @@ components:
id: id
parameters:
key:
key: parameters
key: '{}'
- outputs:
- EXCEPTION
- EXCEPTION
Expand All @@ -367,15 +367,15 @@ components:
id: id
parameters:
key:
key: parameters
key: '{}'
modifyDate: 2000-01-23T04:56:07.000+00:00
author: author
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
type: type
parameters:
key:
key: parameters
key: '{}'
createDate: 2000-01-23T04:56:07.000+00:00
properties:
author:
Expand All @@ -394,7 +394,7 @@ components:
parameters:
additionalProperties:
additionalProperties:
type: string
type: object
type: object
type: object
processingType:
Expand Down
2 changes: 1 addition & 1 deletion workflow-service-sdk/docs/WorkDefinitionResponseDTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Name | Type | Description | Notes
**id** | **String** | | [optional]
**name** | **String** | | [optional]
**outputs** | [**List&lt;OutputsEnum&gt;**](#List&lt;OutputsEnum&gt;) | | [optional]
**parameters** | **Map&lt;String, Map&lt;String, String&gt;&gt;** | | [optional]
**parameters** | **Map&lt;String, Map&lt;String, Object&gt;&gt;** | | [optional]
**processingType** | **String** | | [optional]
**workType** | **String** | | [optional]
**works** | [**List&lt;WorkDefinitionResponseDTO&gt;**](WorkDefinitionResponseDTO.md) | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion workflow-service-sdk/docs/WorkFlowDefinitionResponseDTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
**id** | **UUID** | | [optional]
**modifyDate** | **Date** | | [optional]
**name** | **String** | | [optional]
**parameters** | **Map&lt;String, Map&lt;String, String&gt;&gt;** | | [optional]
**parameters** | **Map&lt;String, Map&lt;String, Object&gt;&gt;** | | [optional]
**processingType** | **String** | | [optional]
**type** | **String** | | [optional]
**works** | [**List&lt;WorkDefinitionResponseDTO&gt;**](WorkDefinitionResponseDTO.md) | | [optional]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, Authentication>();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, Map<String, String>> parameters = null;
private Map<String, Map<String, Object>> parameters = null;

public static final String SERIALIZED_NAME_PROCESSING_TYPE = "processingType";
@SerializedName(SERIALIZED_NAME_PROCESSING_TYPE)
Expand Down Expand Up @@ -219,15 +219,15 @@ public void setOutputs(List<OutputsEnum> outputs) {
}


public WorkDefinitionResponseDTO parameters(Map<String, Map<String, String>> parameters) {
public WorkDefinitionResponseDTO parameters(Map<String, Map<String, Object>> parameters) {

this.parameters = parameters;
return this;
}

public WorkDefinitionResponseDTO putParametersItem(String key, Map<String, String> parametersItem) {
public WorkDefinitionResponseDTO putParametersItem(String key, Map<String, Object> parametersItem) {
if (this.parameters == null) {
this.parameters = new HashMap<String, Map<String, String>>();
this.parameters = new HashMap<String, Map<String, Object>>();
}
this.parameters.put(key, parametersItem);
return this;
Expand All @@ -240,12 +240,12 @@ public WorkDefinitionResponseDTO putParametersItem(String key, Map<String, Strin
@javax.annotation.Nullable
@ApiModelProperty(value = "")

public Map<String, Map<String, String>> getParameters() {
public Map<String, Map<String, Object>> getParameters() {
return parameters;
}


public void setParameters(Map<String, Map<String, String>> parameters) {
public void setParameters(Map<String, Map<String, Object>> parameters) {
this.parameters = parameters;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class WorkFlowDefinitionResponseDTO {

public static final String SERIALIZED_NAME_PARAMETERS = "parameters";
@SerializedName(SERIALIZED_NAME_PARAMETERS)
private Map<String, Map<String, String>> parameters = null;
private Map<String, Map<String, Object>> parameters = null;

public static final String SERIALIZED_NAME_PROCESSING_TYPE = "processingType";
@SerializedName(SERIALIZED_NAME_PROCESSING_TYPE)
Expand Down Expand Up @@ -190,15 +190,15 @@ public void setName(String name) {
}


public WorkFlowDefinitionResponseDTO parameters(Map<String, Map<String, String>> parameters) {
public WorkFlowDefinitionResponseDTO parameters(Map<String, Map<String, Object>> parameters) {

this.parameters = parameters;
return this;
}

public WorkFlowDefinitionResponseDTO putParametersItem(String key, Map<String, String> parametersItem) {
public WorkFlowDefinitionResponseDTO putParametersItem(String key, Map<String, Object> parametersItem) {
if (this.parameters == null) {
this.parameters = new HashMap<String, Map<String, String>>();
this.parameters = new HashMap<String, Map<String, Object>>();
}
this.parameters.put(key, parametersItem);
return this;
Expand All @@ -211,12 +211,12 @@ public WorkFlowDefinitionResponseDTO putParametersItem(String key, Map<String, S
@javax.annotation.Nullable
@ApiModelProperty(value = "")

public Map<String, Map<String, String>> getParameters() {
public Map<String, Map<String, Object>> getParameters() {
return parameters;
}


public void setParameters(Map<String, Map<String, String>> parameters) {
public void setParameters(Map<String, Map<String, Object>> parameters) {
this.parameters = parameters;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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<ProjectResponseDTO> 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<ProjectResponseDTO> response = api.getProjects();
// TODO: test validations
}

}
Loading

0 comments on commit 5cb8da4

Please sign in to comment.