Skip to content

Commit

Permalink
Merge pull request #100 from assimbly/4795-phasing-out-bundle_id
Browse files Browse the repository at this point in the history
Phasing out bundle_id
  • Loading branch information
skin27 authored Nov 5, 2024
2 parents adeb0f1 + 98065cd commit bbfa50b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
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

0 comments on commit bbfa50b

Please sign in to comment.