Skip to content

Commit

Permalink
4.2 (#155)
Browse files Browse the repository at this point in the history
* Fix to use 3 digit versions

* Publicly expose lane collection API

---------

Co-authored-by: ajay-gov <ajay@swimos.org>
  • Loading branch information
brohitbrose and ajay-gov authored Dec 1, 2023
1 parent f88f98b commit 4349b6a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ pipeline {
when {
anyOf {
branch 'main';
branch pattern: "^\\d+.\\d+.\\d+", comparator: "REGEXP"
branch pattern: "^\\d+.\\d+", comparator: "REGEXP"
}
}
environment {
Expand Down
2 changes: 1 addition & 1 deletion swim-java/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
swim.version=4.1.0-SNAPSHOT
swim.version=4.2-SNAPSHOT
graal.version=21.0.0.2
2 changes: 1 addition & 1 deletion swim-java/swim-runtime/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
swim.version=4.1.0-SNAPSHOT
swim.version=4.2-SNAPSHOT
graal.version=21.0.0.2
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import swim.api.policy.Policy;
import swim.api.ws.WsLane;
import swim.collections.FingerTrieSeq;
import swim.collections.HashTrieMap;
import swim.concurrent.Schedule;
import swim.concurrent.Stage;
import swim.math.R2Shape;
Expand All @@ -48,6 +49,7 @@
import swim.structure.Text;
import swim.structure.Value;
import swim.system.AbstractTierBinding;
import swim.system.LaneBinding;
import swim.system.LaneView;
import swim.system.LinkBinding;
import swim.system.Metric;
Expand Down Expand Up @@ -211,6 +213,10 @@ public FingerTrieSeq<Agent> agents() {
return this.node.agents();
}

public HashTrieMap<Uri, LaneBinding> lanes() {
return this.node.lanes();
}

@Override
public Agent getAgent(Value id) {
final AgentView view = this.node.getAgentView(id);
Expand Down

0 comments on commit 4349b6a

Please sign in to comment.