Skip to content

Make classes serializable #283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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