Skip to content
Merged
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 @@ -35,6 +35,10 @@ public class Plugin implements Serializable {

private boolean active;

private boolean healthCheckEnabled;

private String healthCheckUrl;

/**
* Map of {@link EntryPoint}, key of the map is equivalent to EntryPoint.getName
*
Expand All @@ -49,7 +53,10 @@ public Plugin() {
}

@Builder
public Plugin(String identifier, String name, String version, String description, String url, int restPort, int grpcPort, Map<String, EntryPoint> entryPoints, boolean active, Map<String, String> metadata) {
public Plugin(String identifier, String name, String version, String description, String url, int restPort,
int grpcPort, Map<String, EntryPoint> entryPoints, boolean active, Map<String, String> metadata,
boolean healthCheckEnabled, String healthCheckUrl
) {
this.identifier = identifier;
this.name = name;
this.version = version;
Expand All @@ -60,5 +67,7 @@ public Plugin(String identifier, String name, String version, String description
this.entryPoints = entryPoints;
this.active = active;
this.metadata = metadata;
this.healthCheckEnabled = healthCheckEnabled;
this.healthCheckUrl = healthCheckUrl;
}
}
Loading