Skip to content
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

Phasing out bundle_id #100

Merged
merged 1 commit into from
Nov 5, 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
10 changes: 5 additions & 5 deletions utils/src/main/java/org/assimbly/util/domain/AssimblyEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ public class AssimblyEvent implements Serializable {

private final String timestamp;
private final String expiryDate;
private final String bundleId;
private final String flowId;
private final int flowVersion;
private final String component;
private final String body;
private final Map<String, Object> headers;

public AssimblyEvent(String timestamp, String expiryDate, String bundleId, int flowVersion, String component, String body, Map<String, Object> headers) {
public AssimblyEvent(String timestamp, String expiryDate, String flowId, int flowVersion, String component, String body, Map<String, Object> headers) {
this.timestamp = timestamp;
this.expiryDate = expiryDate;
this.bundleId = bundleId;
this.flowId = flowId;
this.flowVersion = flowVersion;
this.component = component;
this.body = body;
Expand All @@ -34,8 +34,8 @@ public String getTimestamp() {
return timestamp;
}

public String getBundleId() {
return bundleId;
public String getFlowId() {
return flowId;
}

public int getFlowVersion() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public FlowInfo getFlow(String flowId) {

public HashMap<String, FlowInfo> getRegisteredFlows() { return new HashMap<>(registeredFlows); }

public void unregister(String bundleId) { registeredFlows.remove(bundleId); }
public void unregister(String flowId) { registeredFlows.remove(flowId); }

public static FlowRegistry getInstance() {
return INSTANCE;
Expand Down