Skip to content

Commit

Permalink
Merge pull request #283 from visheshruparelia/patch-4
Browse files Browse the repository at this point in the history
Make classes serializable
  • Loading branch information
ricardozanini authored May 27, 2024
2 parents e2c7ecd + 51147bb commit 67a6786
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
package io.serverlessworkflow.api.workflow;

import io.serverlessworkflow.api.auth.AuthDefinition;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Auth {
public class Auth implements Serializable {
private String refValue;
private List<AuthDefinition> authDefs;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
package io.serverlessworkflow.api.workflow;

import com.fasterxml.jackson.databind.JsonNode;
import java.io.Serializable;

public class Constants {
public class Constants implements Serializable {
private String refValue;
private JsonNode constantsDef;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
package io.serverlessworkflow.api.workflow;

import com.fasterxml.jackson.databind.JsonNode;
import java.io.Serializable;

public class DataInputSchema {
public class DataInputSchema implements Serializable {
private String refValue;
private JsonNode schemaDef;
private boolean failOnValidationErrors = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
package io.serverlessworkflow.api.workflow;

import io.serverlessworkflow.api.error.ErrorDefinition;
import java.io.Serializable;
import java.util.List;

public class Errors {
public class Errors implements Serializable {
private String refValue;
private List<ErrorDefinition> errorDefs;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
package io.serverlessworkflow.api.workflow;

import io.serverlessworkflow.api.functions.FunctionDefinition;
import java.io.Serializable;
import java.util.List;

public class Functions {
public class Functions implements Serializable {
private String refValue;
private List<FunctionDefinition> functionDefs;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
package io.serverlessworkflow.api.workflow;

import io.serverlessworkflow.api.retry.RetryDefinition;
import java.io.Serializable;
import java.util.List;

public class Retries {
public class Retries implements Serializable {
private String refValue;
private List<RetryDefinition> retryDefs;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
*/
package io.serverlessworkflow.api.workflow;

import java.io.Serializable;
import java.util.List;

public class Secrets {
public class Secrets implements Serializable {
private String refValue;
private List<String> secretDefs;

Expand Down

0 comments on commit 67a6786

Please sign in to comment.